Archivio per la categoria ‘Sistema

MOC (mocp): Very high cpu usage in raspberrypi

MOC is available on the repositories in Raspbian (2.5.0-alpha4 release). Recently an high CPU usage has been signaled by using ‘mocp’ player on RaspberryPi (http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=24647&p=257780).

This bad behavior is currently undergoing review, in the meantime those who uses MOC can run the following command to bypass this problem and reduce (very) the CPU usage:

$ mocp -O "ALSADevice=hw:0,0"

It should use the ALSA hardware directly without the software layer in between format conversion and resampling.

Update (January,23 2013): according to the MOC forum, this issue is tied with a bug in ALSA, probably the one fixed in alsa-lib commit 3fd4ab9b, and is sensitive to sampling rate and sample width.
Version 1.0.26 on Fedora does not exhibit this bug on the RPi.
(Here the MOC rpm for Fedora 17 ARM).

Schermata del 2013-01-18 11:47:24

About these ads

Supporto delle librerie LibRCC in MOC

Da poche settimane le LibRCC sono disponibili nei repository ufficiali Fedora. Queste librerie permettono l’encoding di varie lingue europee (cliccare sull’immagine –> ‘View Source’ per la visione intera):

$ yum info librcc
Plugin abilitati:langpacks, presto, refresh-packagekit
Pacchetti installati
Nome         : librcc
Arch         : x86_64
Versione     : 0.2.9
Rilascio     : 3.fc18
Dimensione   : 210 k
Repo         : installed
Dal repo     : fedora
Sommario     : RusXMMS Charset Conversion Library
URL          : http://rusxmms.sourceforge.net
Licenza      : LGPLv2+
Descrizione  : The Abilities of LibRCC Library
             : 
             : - Language Autodetection.
             : - On the fly translation between languages, using online-services!
             : - Encoding Autodetection for most of European Languages.
             : - Support for encoding detection plugins (besides Enca and LibRCD)
             : - Recoding/translation of multi-language playlists!
             : - Cache to speed-up re-recoding.
             : - Possibility to configure new languages and encodings.
             : - Shared configuration file. For example mentioned TagLib and LibID3
             :   patches do not have their own user interface, but will utilize the
             :   same recoding configuration as XMMS.
             : - As well the separate program for configuration adjustment is
             :   available.
             : - GTK2 UI Library: you can add properties page to your GTK application
             :   with 3 lines of code.
             : - Menu localization opportunity

Ho aggiunto tale supporto in MOC negli RPM moc-2.5.0-0.3-beta1 che mantengo online a questo indirizzo.

Schermata del 2012-12-27 14:26:20

Pubblicato dicembre 27, 2012 da sagitters in MOC, music, player, Sistema, Software

Taggato con , , , , , ,

RMS: boicottare Ubuntu

Finalmente arrivano come una sentenza inappellabile (e personalmente le aspetto sempre con gran fervore) le parole, le sensazioni, le riflessioni del grande Richard Matthew Stallman in uno dei suoi ultimi interventi altisonanti a dire “state attenti, perché Canonical ve lo sta mettendo in quel posto; Ubuntu si comporta come un malware“.

E cavolo se ha ragione. Perché non se ne può più di dichiarazioni d’amore verso il free software che celano comportamenti da persecutori del closed software.

Si capisce sin dalle prime righe del suo articolo cosa Richard vuole dire:

One of the major advantages of free software is that the community protects users from malicious software. Now Ubuntu GNU/Linux has become a counterexample. What should we do?

Ubuntu è diventato un controesempio con la strada che ha intrapreso attraverso le politiche di Canonical ed allora sarà la comunità stessa ad autodifendersi dai malware truccati, forkando il software inquinato, ripulendolo dal codice malevolo che va contro il diritto alla privacy di ogni utente che vuole essere libero, e rilasciandolo ad uso della stessa comunità.

Richard è stato chiaro nel suo intervento: “Quando si raccomandano o si ridistribuiscono distro GNU/Linux, è meglio rimuovere Ubuntu dalla lista poiché in esso si distribuisce software nonfree e si raccomanda altro software nonfree; Ubuntu si evita perché veicolo di spionaggio“.

Più chiaro di così …

Iscriviti

Ricevi al tuo indirizzo email tutti i nuovi post del sito.

Unisciti agli altri 36 follower

%d bloggers like this: