Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] no sound as user - kde4
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Almucard
n00b
n00b


Joined: 23 Jul 2005
Posts: 27

PostPosted: Mon Aug 10, 2009 9:44 am    Post subject: [SOLVED] no sound as user - kde4 Reply with quote

I'm having some trouble with phonon not being able to access my soundcard in KDE4 (all versions from portage).

In the multimedia module of systemsettings, all outputs directly relating to my soundcard are greyed out.
I can get sound if I'm running any application not from KDE packages (for example mpg123).

Also, I have tried running systemsettings as root, and as root it seems to work properly. BTW I am in audio group.

I dont think it is problem with specific version of kde (or amarok etc.) becouse i have tested it with diffrent versions
and still nothing.

Thx for any suggestions.
_________________
Hellsing...


Last edited by Almucard on Tue Aug 25, 2009 12:23 pm; edited 1 time in total
Back to top
View user's profile Send private message
hamburgler6
n00b
n00b


Joined: 11 Aug 2007
Posts: 21
Location: albany,ny

PostPosted: Sat Aug 15, 2009 12:33 am    Post subject: Reply with quote

I was having the same problem, and after messing around with the sound driver options in the kernel configuration I have it working now. The driver I use is the intel hd audio driver built into the kernel, not as a module. By default it is compiled with all sorts of codec support I don't need, so I took out a bunch of it. In my case the only options left in are (for what it's worth):

hwdep interface for hd-audio driver
realtek hd-audio codec support
analog device hd-audio codec support
enable generic hd-audio codec parser

I don't know if this will be of any use to you, but it might be worth checking out your in kernel driver options.

Cheers,
Kevin
Back to top
View user's profile Send private message
stan666
Apprentice
Apprentice


Joined: 25 Jun 2007
Posts: 165
Location: Germany

PostPosted: Sun Aug 16, 2009 9:18 am    Post subject: Reply with quote

same problem here.
Almucard, did the suggestion from hamburgler6 work? I don't want to mess with my kernel
because KDE suddenly cannot use my sound card and all other apps still can. :?

I have an audigy2 card and no exotic kernel configuration, I use the same config for
quite a long time and I only have problems since I upgraded to KDE 4.3, sound card
support is _not_ statically compiled into the kernel but as a module.

Edit: this is a KDE problem for sure, if I open the phonon config module of systemsettings
as super user working devices appear that are hidden for my normal user :x
_________________
BOFH Excuse #450:
Terrorists crashed an airplane into the server room, have to remove /bin/laden. (rm -rf /bin/laden)
Back to top
View user's profile Send private message
hamburgler6
n00b
n00b


Joined: 11 Aug 2007
Posts: 21
Location: albany,ny

PostPosted: Mon Aug 17, 2009 12:02 am    Post subject: Reply with quote

I also was having the problem that phonon was detecting the correct card as superuser, and not as a normal user. I agree it is a KDE problem, but messing around with the kernel options fixed it in my case(for reasons not obvious to me).
Back to top
View user's profile Send private message
stan666
Apprentice
Apprentice


Joined: 25 Jun 2007
Posts: 165
Location: Germany

PostPosted: Fri Aug 21, 2009 4:18 pm    Post subject: Reply with quote

After removing all the policykit stuff, sound worked again.
I was suggested here
to do a
Code:

rm $(kde4-config --localprefix)/cache-$(hostname)/libphonon/hardwaredatabase
kbuildsycoca4 --noincremental

by doing that, sound might work with policykit enabled. I wasn't able to test this,
'cause I had to recompile a lot of stuff because of an other issue. I will let you know
if the suggestion mentioned above helps.

EDIT: removing the file hardwaredatabase actually worked. Even with policykit, I have sound again :)
_________________
BOFH Excuse #450:
Terrorists crashed an airplane into the server room, have to remove /bin/laden. (rm -rf /bin/laden)
Back to top
View user's profile Send private message
Almucard
n00b
n00b


Joined: 23 Jul 2005
Posts: 27

PostPosted: Tue Aug 25, 2009 12:32 pm    Post subject: Reply with quote

Thank you very much for your help. It solved my problem.

I had to do 3 things:
1.
Code:

rm $(kde4-config --localprefix)/cache-$(hostname)/libphonon/hardwaredatabase
kbuildsycoca4 --noincremental


2. Add policykit use flag (in /etc/make.conf)

3. Re-emerge all packages where USE flag have changed (emerge -uDN world)
_________________
Hellsing...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia 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