Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problemi con il suono [Risolto]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
masterbrian
Guru
Guru


Joined: 13 Feb 2004
Posts: 461

PostPosted: Tue Feb 17, 2004 10:55 pm    Post subject: Problemi con il suono [Risolto] Reply with quote

Ciao a tutti,

ho un problema strano, ho installato recenemente ut2004demo, funziona benissimo se entro come root, ma se entro come utente normale non sento l'audio.
Se lancio da xterm posso leggere:

./ut2004demo
open /dev/[sound/]dsp: Device or resource busy
NV: could not open control device /dev/nvidiactl (Permission denied)
Error: Could not open /dev/nvidiactl because the permissions
are too resticitive. Please see the FREQUENTLY ASKED QUESTIONS
section of /usr/share/doc/NVIDIA_GLX-1.0/README for steps
to correct.

Leggerei volentieri questo file, ma non c'e' :)

Qualcuno sa di cosa si tratta?
Back to top
View user's profile Send private message
OKreZ
Guru
Guru


Joined: 27 Apr 2003
Posts: 372
Location: Padova (IT)

PostPosted: Tue Feb 17, 2004 11:05 pm    Post subject: Reply with quote

prova ad inserire l'utente nel gruppo audio
_________________
(HCS)OKreZ
Back to top
View user's profile Send private message
masterbrian
Guru
Guru


Joined: 13 Feb 2004
Posts: 461

PostPosted: Wed Feb 18, 2004 9:23 am    Post subject: Reply with quote

OKreZ wrote:
prova ad inserire l'utente nel gruppo audio


Gia' fatto, non funziona :(
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Wed Feb 18, 2004 9:34 am    Post subject: Reply with quote

hai provato anche a disabilitare arts / esound ?
_________________
Ciao da me!
Back to top
View user's profile Send private message
masterbrian
Guru
Guru


Joined: 13 Feb 2004
Posts: 461

PostPosted: Wed Feb 18, 2004 2:10 pm    Post subject: Reply with quote

Non ho provato, se non ho capito male KDE si regge su arts e io uso kde...
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31465
Location: here

PostPosted: Wed Feb 18, 2004 4:15 pm    Post subject: Reply with quote

masterbrian wrote:
Non ho provato, se non ho capito male KDE si regge su arts e io uso kde...

Kde usa arts ma non ne e' schiavo :D . Da kcontrol puoi disattivarlo.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
albazeus
Tux's lil' helper
Tux's lil' helper


Joined: 03 Sep 2003
Posts: 81

PostPosted: Wed Feb 18, 2004 4:37 pm    Post subject: Reply with quote

fedeliallalinea wrote:
masterbrian wrote:
Non ho provato, se non ho capito male KDE si regge su arts e io uso kde...

Kde usa arts ma non ne e' schiavo :D . Da kcontrol puoi disattivarlo.


Visto che sembra una cosa molto banale per te abbandonare arts e attivarne un altro (tipo esound?), potresti cortesemente postarmi come fare (o link che spieghino i vari passaggi) a passare da kde+arts+alsa a kde+???+alsa?
Bisognerà mica ricompilare kdelibs e/o qualcos altro?

Ho disinstallato arts... Ho fatto male? Le conseguanze sono state:
- Se faccio partire un file audio questo automagicamente mi abbassa il volume delle voci emu10k1 in alsamixer (Voci che normalmente non ci sono se non ascolto niente). Posso ri-alzarle a mano ma ogni canzone che faccio partire me li ri-abbassa... Mah...
- Crash di Control Center --> Sound & Multimedia --> System Notifications
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Wed Feb 18, 2004 4:48 pm    Post subject: Reply with quote

albazeus wrote:
Visto che sembra una cosa molto banale per te abbandonare arts e attivarne un altro (tipo esound?), potresti cortesemente postarmi come fare (o link che spieghino i vari passaggi) a passare da kde+arts+alsa a kde+???+alsa?
Bisognerà mica ricompilare kdelibs e/o qualcos altro?


Più che altro provando a disabilitarlo in questo caso si può verificare che, se UT funziona con arts disabilitato, il problema é tra UT e arts.
Se non si isola il problema é difficile andare avanti.


Le applicazioni che ti abbassano automagicamente il volume quali sono?
stai usando esound oppure ... ?
_________________
Ciao da me!
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31465
Location: here

PostPosted: Wed Feb 18, 2004 4:52 pm    Post subject: Reply with quote

Disattivi arts con kcontrol. Poi per tutte le applicazioni (es xmms) vai su preferenze e metti come plugin audio alsa al posto di arts.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
albazeus
Tux's lil' helper
Tux's lil' helper


Joined: 03 Sep 2003
Posts: 81

PostPosted: Wed Feb 18, 2004 4:57 pm    Post subject: Reply with quote

Quote:
Le applicazioni che ti abbassano automagicamente il volume quali sono?

xmms, aplay, mpg123... tutte con lo stesso risultato.

Io non sto usando né esound (anche prechè non parte) né altro. E questo penso spieghi perchè Control Center --> Sound & Multimedia --> System Notifications va in crash.

Volevo appunto sapere cosa bisogna fare per avere l' audio con kde senza arts, visto che mi usa ~ 100% della cpu quando faccio (facevo) partire kde.
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Wed Feb 18, 2004 5:04 pm    Post subject: Reply with quote

albazeus wrote:
Quote:
Le applicazioni che ti abbassano automagicamente il volume quali sono?

xmms, aplay, mpg123... tutte con lo stesso risultato.

Io non sto usando né esound (anche prechè non parte) né altro. E questo penso spieghi perchè Control Center --> Sound & Multimedia --> System Notifications va in crash.

Volevo appunto sapere cosa bisogna fare per avere l' audio con kde senza arts, visto che mi usa ~ 100% della cpu quando faccio (facevo) partire kde.


Provo a darti dei suggerimenti dato che per me il pianeta kde é quasi sconosciuto:

Hai provato a memorizzare i valori del mixer (alsactl store) prima di avviare un file sonoro?

Hai provato a riemergere mpg123 con USE="-arts"?
_________________
Ciao da me!
Back to top
View user's profile Send private message
albazeus
Tux's lil' helper
Tux's lil' helper


Joined: 03 Sep 2003
Posts: 81

PostPosted: Wed Feb 18, 2004 5:48 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Disattivi arts con kcontrol. Poi per tutte le applicazioni (es xmms) vai su preferenze e metti come plugin audio alsa al posto di arts.


Scusami ma quale sarebbe l' opzione in kcontrol per usare arts?
In xmms non ho trovato riferimenti ad arts; però ho trovato 'output plugin' e qui ho selezionato alsa al posto do oss. L' audio si sente ma c'è il problema di prima (mi abbassa il volume).

randomaze wrote:
Hai provato a memorizzare i valori del mixer (alsactl store) prima di avviare un file sonoro?


Il problema fondamentale è questo:
- se non lancio nessuna applicazione per l' audio (mpg123, xmms) e guardo il volume con alsamixer ho alcune voci (tante), tipo: master, pcm, music ....
- se lancio ( ad es.) mpg123 <canzone> e riguardo il volume con alsamixer noto che verso la fine sono spuntate delle nuove voci tutte chiamate emu10k1 con il volume settato in un certo modo. Se alzo una di queste voci il volume torna normale.

Quindi ho fatto così:
- Ho lanciato una canzone, ho aperto alsamixer, ho settato il volume di un emu10k1 in modo corretto, sono uscito e ho dato alsactl store.
l' audio si sente fino alla fine della canzone.
Rilanciando la canzone l' audio scompare ma se do alsactl restore si sente.

il flag 'arts' non influisce su mpg123.

Adesso provo a riemergere arts per vedere di capirci qualcosa... :roll:
Back to top
View user's profile Send private message
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

PostPosted: Wed Feb 18, 2004 8:49 pm    Post subject: Re: Problemi con il suono Reply with quote

masterbrian wrote:

Se lancio da xterm posso leggere:

./ut2004demo


Tornando IT, hai provato a lanciarlo con

Code:
$ artsdsp ut2004demo


:?:
_________________
"Larry the Cow was a bit frustrated at the current state of Linux Distributions..."
Back to top
View user's profile Send private message
masterbrian
Guru
Guru


Joined: 13 Feb 2004
Posts: 461

PostPosted: Thu Feb 19, 2004 8:40 am    Post subject: Reply with quote

randomaze wrote:
Provo a darti dei suggerimenti dato che per me il pianeta kde é quasi sconosciuto:


Curiosita', tu cosa usi? Gnome? Windowmaker? X nudo e crudo? 8)
Back to top
View user's profile Send private message
masterbrian
Guru
Guru


Joined: 13 Feb 2004
Posts: 461

PostPosted: Thu Feb 19, 2004 9:05 am    Post subject: Re: Problemi con il suono Reply with quote

MyZelF wrote:
Tornando IT, hai provato a lanciarlo con

Code:
$ artsdsp ut2004demo


:?:


Funziona!!! Grande :) Questo vale per tutto? mplayer e company? perche' anche enemy-territory mi da qualche problema...

Ma forse e' meglio che metto [risolto] per questo thread e ne inizio un'altro?
Back to top
View user's profile Send private message
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

PostPosted: Thu Feb 19, 2004 9:26 am    Post subject: Reply with quote

Vale per tutti i pezzi di codice che non hanno supporto diretto per arts:

Code:
$ artsdsp --help
artsdsp - attempt to reroute audio device to artsd


Attenzione che ho spesso notato un certo ritardo nel suono utilizzando artsdsp, nonostante abbia artswrappersuid nelle use.

Per risolvere mi è (abbastanza inspiegabilmente dal mio punto di vista) bastato abbassare al minimo il sound buffer tra le impostazioni di arts.
_________________
"Larry the Cow was a bit frustrated at the current state of Linux Distributions..."
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Thu Feb 19, 2004 9:53 am    Post subject: Re: Problemi con il suono Reply with quote

masterbrian wrote:
randomaze wrote:
Provo a darti dei suggerimenti dato che per me il pianeta kde é quasi sconosciuto:


Curiosita', tu cosa usi? Gnome? Windowmaker? X nudo e crudo? 8)


fluxbox+aterm, con esound per mixare i suoni.

masterbrian wrote:

Funziona!!! Grande :) Questo vale per tutto? mplayer e company? perche' anche enemy-territory mi da qualche problema...


Se un applicazione prevede la possibilità di usare "nativamente" arts (credo che mplayer sia tra queste) fagliela usare direttamente, altrimenti prova con il wrapper che ti ha suggerito MyZelF
_________________
Ciao da me!
Back to top
View user's profile Send private message
shev
Bodhisattva
Bodhisattva


Joined: 03 Feb 2003
Posts: 4084
Location: Italy

PostPosted: Thu Feb 19, 2004 10:42 am    Post subject: Re: Problemi con il suono Reply with quote

masterbrian wrote:
Ma forse e' meglio che metto [risolto] per questo thread e ne inizio un'altro?


Risolto te l'ho messo io, cmq continua pure qui, l'argomento è sempre questo. Inutile aprire topic copia.
_________________
Se per vivere ti dicono "siediti e stai zitto" tu alzati e muori combattendo
Back to top
View user's profile Send private message
masterbrian
Guru
Guru


Joined: 13 Feb 2004
Posts: 461

PostPosted: Thu Feb 19, 2004 12:00 pm    Post subject: Reply with quote

MyZelF wrote:
Attenzione che ho spesso notato un certo ritardo nel suono utilizzando artsdsp, nonostante abbia artswrappersuid nelle use.

Per risolvere mi è (abbastanza inspiegabilmente dal mio punto di vista) bastato abbassare al minimo il sound buffer tra le impostazioni di arts.


Io avevo provato a fare unmerge di kde e ricompilarlo con quel flag... il risultato era disastroso, e l'ho tolto subito. Anche perche' artswrappersuid pretende di dare esecuzione in realtime...
Back to top
View user's profile Send private message
masterbrian
Guru
Guru


Joined: 13 Feb 2004
Posts: 461

PostPosted: Thu Feb 19, 2004 12:04 pm    Post subject: enemy-territory Reply with quote

Allora proseguo qui :)

Nonostante io non sia un "giocatore", ero curioso di vedere questo gioco, visto che se ne parlava nella parte di forum con tips e tricks per i settaggi per il mio portatile.

Cmq lo ho installato senza problemi, se lo lancio ottengo lo stesso errore che avevo con ut2004demo,

NV: could not open control device /dev/nvidiactl (Permission denied)
Error: Could not open /dev/nvidiactl because the permissions
are too resticitive. Please see the FREQUENTLY ASKED QUESTIONS
section of /usr/share/doc/NVIDIA_GLX-1.0/README for steps
to correct.

Ma perche'? qualcuno di voi ha il file in oggetto? o sa dove posso procurarmelo?
Back to top
View user's profile Send private message
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

PostPosted: Thu Feb 19, 2004 12:05 pm    Post subject: Reply with quote

Sarebbe eventualmente bastato riemergere solo arts. Comunque se artswrappersuid è settato nelle USE, l'ebuild di arts non fa altro che un chmod +s ad artswrapper. Puoi farlo anche tu, a mano. Non dovresti avere nessun problema.
_________________
"Larry the Cow was a bit frustrated at the current state of Linux Distributions..."
Back to top
View user's profile Send private message
masterbrian
Guru
Guru


Joined: 13 Feb 2004
Posts: 461

PostPosted: Thu Feb 19, 2004 12:06 pm    Post subject: Re: Problemi con il suono Reply with quote

randomaze wrote:
fluxbox+aterm, con esound per mixare i suoni.


Fluxbox? non lo avevo mai sentito, ora lo provo 8)
Back to top
View user's profile Send private message
masterbrian
Guru
Guru


Joined: 13 Feb 2004
Posts: 461

PostPosted: Thu Feb 19, 2004 12:10 pm    Post subject: Reply with quote

MyZelF wrote:
Sarebbe eventualmente bastato riemergere solo arts.


ops, non lo sapevo, pensavo fosse cosa buona fare la modifica su tutto kde

MyZelF wrote:
Comunque se artswrappersuid è settato nelle USE, l'ebuild di arts non fa altro che un chmod +s ad artswrapper. Puoi farlo anche tu, a mano. Non dovresti avere nessun problema.


Eppure ti assicuro che andava in maniera impossibile... il suono era a scatti e bloccava quasi la macchina.

Quindi dovrei fare:
Code:

#chmod users +s /usr/kde/3.2/bin/artswrapper

giusto?
Back to top
View user's profile Send private message
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

PostPosted: Thu Feb 19, 2004 1:08 pm    Post subject: Reply with quote

Stiamo entrando in zona FAQ... hai provato a fare una ricerca sul forum?

Per quanto riguarda arts o

Code:
# USE="artswrappersuid" emerge --oneshot arts


o

Code:
# chmod +s /usr/kde/3.2/bin/artswrapper


Per il problema con i permessi su /dev/nvidiactl dovresti trovare la risposta nel readme dei driver, che trovi sul sito NVIDIA oppure con

Code:
$ zless /usr/share/doc/nvidia-glx-<versione-installata>/README.gz


oppure, ancora una volta, cercando sul forum.
_________________
"Larry the Cow was a bit frustrated at the current state of Linux Distributions..."
Back to top
View user's profile Send private message
masterbrian
Guru
Guru


Joined: 13 Feb 2004
Posts: 461

PostPosted: Thu Feb 19, 2004 3:10 pm    Post subject: Reply with quote

Si ho provato a fare diverse ricerche sia sul forum che su google, ho letto l'how-to di gentoo su alsa, quello di kde, avevo fatto gia' le prove con artswrappersuid, ma effettivamente non ricordavo di artsdsp, proprio per questo ho chiesto :)

Se il problema fosse art, su x nudo (senza nessun gestore come kde, gnome o altri), dovrei poter accedere quindi a /dev/dsp... invece se ci provo ottengo:

----------------------
Sound initialization
----------------------
/dev/dsp: Input/Output error
Could not mmap /dev/dsp
(stessa la cosa la ottengo sotto xterm di kde se killo artsd ovviamente)

Se provo dando da xterm di kde invece

artsdsp ./xt.86 ottengo
----------------------
Sound initialization
----------------------
Sorry your soundcard can't do this
(ovviamente ho cambiato la qualita' del suono, ho provato a 11(low) 22 (high) 44 (highest) ma non ho ottenuto nessun cambiamento)


Sempre piu' perplesso...
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
Goto page 1, 2  Next
Page 1 of 2

 
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