** Description changed:
libdrm 2.4.1 in Jaunty is configured with --enable-udev, so the device node
/dev/dri/card* now is created via udev and patch 01_default_perms.diff does not
help to set the right permissions anymore.
Therefore /dev/dri/card0 now gets file permissions crw-rw----. This results
in poor performance, for example in sauerbraten and glxgears. Changing the
permissions to 666 gives the old performance again.
On my system I have created the file
/etc/udev/rules.d/45-dev-dri-permissions.rules with the line:
KERNEL=="card[0-9]", MODE="0666"
to automatically give /dev/dri/card0 the right permissions.
I think either a rule like that must be shipped in libdrm2 or a similar
rule must be added to /etc/udev/rules.d/40-permissions.rules in udev.
Please note:
Section "DRI"
Mode 0666
EndSection
in xorg.conf does not work anymore to set the permissions (see bug 303011).
libdrm2 2.4.1-0ubuntu7
kernel 2.6.28-2-generic, amd64
+
+ [workaround]
+ In /usr/share/hal/fdi/policy/10osvendor/20-acl-management.fdi replace the
line:
+
+ <merge key="access_control.file"
+ type="copy_property">input.device</merge>
+
+ with:
+
+ <merge key="access_control.file"
+ type="copy_property">linux.device_file</merge>
--
HAL does not apply ACL on DRM device
https://bugs.launchpad.net/bugs/306014
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs