Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ALSA smette di funzionare all'improvviso
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
malteo
Tux's lil' helper
Tux's lil' helper


Joined: 12 Mar 2003
Posts: 101
Location: Pescara, Italy

PostPosted: Fri Sep 15, 2006 11:10 pm    Post subject: ALSA smette di funzionare all'improvviso Reply with quote

... e senza un apparente motivo!
Mi capita per esempio che smetta di funzionare SENZA programmi che possano usare la scheda audio attivi o che torni al computer dopo averlo lasciato per qualche ora e non sentire più suoni!
L'unica soluzione è
Code:
/etc/init.d/alsasound restart

In questi "momenti di silenzio" se provo a sparare un .wav con aplay in console ricevo questa poco rassicurante risposta:
Quote:
ALSA lib pcm_dmix.c:864:(snd_pcm_dmix_open) unable to open slave
aplay: main:550: audio open error: Dispositivo o risorsa occupata

Naturalmente ho provato a cercare sui forum ma non ho trovato soluzione.
Per la cronaca uso ~amd64 e media-sound/alsa-driver-1.0.12 e non ho /etc/asoundrc o ~/.asoundrc di sorta.

Aspetto una mano :?
Back to top
View user's profile Send private message
MeMyselfAndI
l33t
l33t


Joined: 15 Nov 2005
Posts: 784
Location: Between the monitor and the chair

PostPosted: Sat Sep 16, 2006 12:39 am    Post subject: Reply with quote

senon hai nessun /etc/asoundrc devi usare un altro software per il mixing delle traccie audio oppure non ti funzionera' mai in contemporanea due programmi. Prova a seguire la guida per configurare dmix dovrebbe risolverti ogni problema; assicurati anche di aver disabilitato oss e al massimo usa alsa-oss per la retrocompatibilita' cosi' eviti altre possibili rogne (firefox, realplayer).
Ciao
Back to top
View user's profile Send private message
malteo
Tux's lil' helper
Tux's lil' helper


Joined: 12 Mar 2003
Posts: 101
Location: Pescara, Italy

PostPosted: Sat Sep 16, 2006 6:19 am    Post subject: Reply with quote

Ma la mia versione di alsa-lib (1.0.12) dopo l'emerge mi dice:
Quote:
WARN (postinst)
Starting from alsa 1.0.11_rc3 the configuration for dmix is changed.
Leaving around old asound.conf or ~/.asoundrc might make all apps
using ALSA output crash.
Note that dmix output is enabled by default on the 'default' device
since ALSA 1.0.9.

Inoltre mi pareva di aver letto che il chipset audio (intel8x0) della mia scheda madre (basata su nForce4) avesse il supporto al dmix hardware...

EDIT:
Ecco, comunque a leggere Dmix Plugin sul wiki di ALSA:
Quote:
NOTE: For ALSA 1.0.9rc2 and higher you don't need to setup dmix. Dmix is enabled as default for soundcards which don't support hw mixing.

Inoltre ho fatto questo test:
Code:

alsaplayer -o alsa -d plug:dmix some.mp3 &
aplay -D plug:dmix some.wav &
alsaplayer -o alsa -d plug:dmix some.mp3 &

e ridà perfettamente, il mixing funziona!

Ma il problema principale resta...
Back to top
View user's profile Send private message
MeMyselfAndI
l33t
l33t


Joined: 15 Nov 2005
Posts: 784
Location: Between the monitor and the chair

PostPosted: Sat Sep 16, 2006 3:48 pm    Post subject: Reply with quote

ops allora scusa non sapevo di questo cambiamento...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum