[gentoo-user] Re: SDDM/KDE5: no sound card available?

2015-07-22 Thread Nikos Chantziaras

On 22/07/2015 04:34 πμ, Jonathan Callen wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 2015-07-21 14:12, Nikos Chantziaras wrote:

I upgraded to KDE 5 recently, and was using LightDM as the display
manager. It seems that KDE 5 prefers SDDM though and offers a
config module for it in System Settings.

So I installed SDDM. However, when I log in with SDDM, I get no
sound. My sound card just... disappears. alsamixer -c0 says:

invalid card index: 0.

[...]


Are you using systemd?


Nope. I'm on OpenRC.



If not, did you build sddm with USE=consolekit and read the warning
printed by portage?

  This display manager doesn't have native built-in ConsoleKit
  support.  In order to use ConsoleKit pam module with this display
  manager, you should remove the nox11 parameter from
  pm_ck_connector.so line in /etc/pam.d/system-login

Your issue is most likely that your X session is not being treated as
a login session by logind/ConsoleKit, and therefore your user is not
being added to the ACLs on the various devices under /dev, including
all sound devices, certain input devices, any CD/DVD/BR devices you
may have, and certain video devices.


I had tried that already. Didn't mention it because I thought this only 
affects graphics.


Anyway, it changes nothing. Still no sound card, even after reboot.




[gentoo-user] Re: SDDM/KDE5: no sound card available?

2015-07-21 Thread Jonathan Callen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 2015-07-21 14:12, Nikos Chantziaras wrote:
 I upgraded to KDE 5 recently, and was using LightDM as the display 
 manager. It seems that KDE 5 prefers SDDM though and offers a
 config module for it in System Settings.
 
 So I installed SDDM. However, when I log in with SDDM, I get no
 sound. My sound card just... disappears. alsamixer -c0 says:
 
 invalid card index: 0.
 
 aplay -l says:
 
 aplay: device_list:268: no soundcards found...
 
 Even if I disable pulseaudio, there's still no ALSA cards found.
 
 When I ctrl+alt+F1 to a console and log in there, there's no
 problem. My sound card is found. But in a KDE session started with
 SDDM, nope. No sound card (and thus, no sound.)
 
 Works just fine with LightDM.
 
 I'm on ~amd64 with gentoo-sources-4.1.2, pulseaudio-6.0. KDE 5 is 
 installed from portage (kde-plasma/plasma-meta). Any help?
 
 

Are you using systemd?  If so, did you build sddm with USE=systemd?
If not, did you build sddm with USE=consolekit and read the warning
printed by portage?

 This display manager doesn't have native built-in ConsoleKit
 support.  In order to use ConsoleKit pam module with this display
 manager, you should remove the nox11 parameter from
 pm_ck_connector.so line in /etc/pam.d/system-login


Your issue is most likely that your X session is not being treated as
a login session by logind/ConsoleKit, and therefore your user is not
being added to the ACLs on the various devices under /dev, including
all sound devices, certain input devices, any CD/DVD/BR devices you
may have, and certain video devices.

- --
Jonathan Callen
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCgAGBQJVrvMEAAoJEEIQbvYRB3mgJi8QALktjDzO32+5G349HzOPE/nw
aJ2wM8wue8/x2VdIK0q9d/DqVQLqw36j4qZl9tC3cSWQLdetmsHz563MCETfAW9d
GBsGCldWortdQkwAe7FX3yb0vJgqmVJ7CDjwZ/W3JGyX/ARwFPQIjdKW9MfIJcsS
XgvyV1gpVBu4xol64M0xl87hUKE+o17Ng/JCo9shU0ioO03BW0w2aKSviqPHtQYA
iKIz3q6xdi/g7aybPU8eqRmwWytlQXj8aZm3N9+Cx2dCe8a4/nLtZmfetxyTC+5O
WYqeQVeITjCdT0e53w6ZXX2fqe+NjrMVtUHJYjV+XNhT2FoISE/HwqTiuG2DVMf6
avOqQXC/LAZARUICmKdqamWRlBpnO1kUElp6XaGqmtX1wVd3VyZr9AcFVMw+NZv5
uBW4kudaq19cLcXH6/VYawg+eWaUdJ34ILVokpZLAG6/HP6fD3m49rkx25o6Q1JO
cl/NftK9TULGxjnHMfUnFnA53eA45qwBVe90IfdN6TRrlJt7EGqAYcMY6Ib1TUs3
XD/y+tMA8u7nuJqS0vujgtlyfjcqYMA9EEEQ8TT1aDiw/HT3vEFtbx/6pFOnCTZd
LkDRkY//K706X4eagK9Alhqb44nRgI6frWAfEJRQnXCyNTDKyntseSDUVKCD9rwP
TTc/MU34RvWrdaIyN27f
=eO32
-END PGP SIGNATURE-