Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problemi con le librerie alsa
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
beltsasar
n00b
n00b


Joined: 12 Aug 2004
Posts: 8

PostPosted: Mon Sep 20, 2004 12:57 pm    Post subject: problemi con le librerie alsa Reply with quote

Salve a tutti.

Ho un problema con la configurazione delle librerie alsa: dopo l'installazione e la configurazione non ho problemi se lancio alsaplayer <nome.mp3> come root.
Ma se lo faccio con in altro utente questo è ciò che ottengo:

alsaplayer
snd_pcm_open: Permission denied (default)
Failed to initialize plugin!
Failed to register plugin: /usr/lib/alsaplayer/output/libalsa_out.so
Failed to load output plugin "alsa". Trying defaults.
snd_pcm_open: Permission denied (default)
Failed to initialize plugin!
/usr/lib/alsaplayer/output/libalsa_out.so failed to load
error opening /dev/dsp
Failed to initialize plugin!
/usr/lib/alsaplayer/output/liboss_out.so failed to load
NOTE: THIS IS THE NULL PLUGIN. YOU WILL NOT HEAR SOUND!!

Qualcuno sa darmi qualche suggerimento?

Grazie
Daniele
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Mon Sep 20, 2004 1:04 pm    Post subject: Re: problemi con le librerie alsa Reply with quote

beltsasar wrote:
Qualcuno sa darmi qualche suggerimento?


L'utente é nel gruppo audio?
_________________
Ciao da me!
Back to top
View user's profile Send private message
=DvD=
Veteran
Veteran


Joined: 25 Mar 2004
Posts: 1353

PostPosted: Mon Sep 20, 2004 1:22 pm    Post subject: Reply with quote

Bah c'entra poco, hai fatto l'unmute anche da utente?
Non è che root sta usando l'audio? magari in bg o in un altro terminale / sessione?
Back to top
View user's profile Send private message
beltsasar
n00b
n00b


Joined: 12 Aug 2004
Posts: 8

PostPosted: Mon Sep 20, 2004 1:26 pm    Post subject: Reply with quote

Hai ragione, grazie mille, risolto.

Adesso ho un problema che sembra più grave. In effetti è il motivo per cui ho provato a reinstallare le alsa_utils


Alcuni esempi: Riesco a giocare a tuxkart ma trovo nei log:
slDSP: open: Device or resource busy
WARNING: slScheduler: soundcard init failed.

Altri giochi e applicazioni non riescono ad inizializzare l'audio e falliscono più o meno tutti in maniera simile:

init: sound
ALSA lib pcm_hw.c:1155:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: Device or resource busy
Fatal signal: Segmentation Fault (SDL Parachute Deployed)

questo è l'output di lsof
lsof | grep snd
artsd 6558 daniele mem CHR 116,16 1373 /dev/snd/pcmC0D0p
artsd 6558 daniele 11u CHR 116,16 1373 /dev/snd/pcmC0D0p

Devo stoppare artsd?
Nel caso come devo fare?
Se killo il processo riparte automaticamente e non trovo uno script tipo /etc/init.d/artsd.

Qualche indicazione?

Grazie ancora
Daniele
Back to top
View user's profile Send private message
=DvD=
Veteran
Veteran


Joined: 25 Mar 2004
Posts: 1353

PostPosted: Mon Sep 20, 2004 2:12 pm    Post subject: Reply with quote

Arts tiene occupato l'audio e non lo lacia ai giochi.
Quindi o fai partire il gioco da fluxbox (hehe non so se va) o cerchi sul forum... qualcosa avevo trovato al riguardo...
Bisogna cambiare qualche file di configurazione ma non mi ricordo cosa!
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30991
Location: here

PostPosted: Mon Sep 20, 2004 3:40 pm    Post subject: Reply with quote

[MOD]Usate per favore il phpbb code se no restano poco leggibili i messaggio[/MOD]
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
=DvD=
Veteran
Veteran


Joined: 25 Mar 2004
Posts: 1353

PostPosted: Mon Sep 20, 2004 4:44 pm    Post subject: Reply with quote

beltsasar wrote:
Hai ragione, grazie mille, risolto.

Quale era il problema?


Fai partire le applicazioni che ti creano problemi con
Code:
artsdsp <programma>

Dovresti risolvere, per esempio per tuxkart vai in un terminale (konsole) e prova con
Code:
artsdsp tuxkart
Back to top
View user's profile Send private message
beltsasar
n00b
n00b


Joined: 12 Aug 2004
Posts: 8

PostPosted: Mon Sep 20, 2004 5:53 pm    Post subject: Reply with quote

=DvD= wrote:
beltsasar wrote:
Hai ragione, grazie mille, risolto.

Quale era il problema?


Alsaplayer funzionava solo come root. La soluzione è stata assegnarlo al gruppo audio.

=DvD= wrote:

Fai partire le applicazioni che ti creano problemi con
Code:
artsdsp <programma>

Dovresti risolvere, per esempio per tuxkart vai in un terminale (konsole) e prova con
Code:
artsdsp tuxkart



Grazie, domani proverò.

Daniele
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