Bug 2879

Summary: pam_console does not set /dev/dri/cards to user read/writeable - causes dri to fail
Product: Mageia Reporter: Joseph Wang <joequant>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED OLD QA Contact:
Severity: major    
Priority: Normal CC: mageia, marja11
Version: CauldronKeywords: NEEDINFO
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: pam-1.1.3-3.mga2 CVE:
Status comment:

Description Joseph Wang 2011-09-30 17:52:15 CEST
Description of problem:

pam_console seems to be missing the files needed to cause /dev/dri/cards* to be read/writable via the user.  This causes hardware acceleration of DRI to fail.


Version-Release number of selected component (if applicable):

boot up mageia

/dev/dri/cards* not read/writeable
use glxinfo and see that mesa is using software raster
set /dev/dri/cards* to read/writable
X now has hardware acceleration

How reproducible:


Steps to Reproduce:
1.
2.
3.
Comment 1 Marja Van Waes 2011-12-03 11:25:50 CET
Sorry for responding to your report so late, we are very short on triagers.

Is the problem still there with current version pam-1.1.3-5.mga2 ?

cc'ing submitter of pam

Keywords: (none) => NEEDINFO
CC: (none) => mageia, marja11

Comment 2 Colin Guthrie 2011-12-03 11:52:22 CET
Joseph, are you using systemd? If so, make sure you do not have rpmnew files in /etc/pam.d/ specifically a system-auth.rpmnew

I strongly suspect that you are missing the line:
-session    optional      pam_systemd.so


This in turn means that logins are not tracked properly and ACLs are not written on /dev/dri/* /dev/snd/* etc.

If this is the case, it's essentially the same problem as here:
https://bugs.mageia.org/show_bug.cgi?id=2982
Comment 3 Marja Van Waes 2012-01-18 10:54:51 CET
@ Joseph

Please reply to comment 1 and comment 2 within two weeks from now, to avoid this bug being closed as OLD.
Comment 4 Colin Guthrie 2012-01-18 17:15:23 CET
OK, this is a pretty strange one. There appear to be three "Master" controls, and no specific separate ones for Headphones etc. I suspect something is messing up with the model of this driver but will consult with some colleagues on it.
Colin Guthrie 2012-01-18 17:15:31 CET

Status: NEW => ASSIGNED

Comment 5 Colin Guthrie 2012-01-18 22:51:42 CET
Please ignore the above comment, it was meant for #212
Comment 6 Colin Guthrie 2012-01-18 22:52:49 CET
Reset to New after my own silliness :)

Status: ASSIGNED => NEW

Comment 7 Marja Van Waes 2012-02-03 13:52:53 CET
(In reply to comment #3)
> @ Joseph
> 
> Please reply to comment 1 and comment 2 within two weeks from now, to avoid
> this bug being closed as OLD.

giving you 2 weeks extra time, please ignore comment 4, 5 and 6
Comment 8 Marja Van Waes 2012-02-18 21:44:18 CET
Since there are insufficient details provided in this report for us to investigate the issue further, and we have not received feedback to the information we have requested above, we will assume the problem was not reproducible, or has been fixed in one of the updates we have released for the reporter's distribution.

Users who have experienced this problem are encouraged to upgrade to the latest update of their distribution, and if this issue turns out to still be reproducible in the latest update, please reopen this bug with additional information.

Closing as OLD.

Status: NEW => RESOLVED
Resolution: (none) => OLD