Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Does X11 user need permission to /dev/dri/card0 (Mayuresh) writes:

>Can someone throw some light on whether wheel membership is mandatory for
>dri? And about the crash if such permission is given?

It's the opposite, the DRI device needs to be accessible to users
that should be allowed to use it. You could create a 'drm' group
and make the device node be owned by group 'drm'. You could make
the device node mode 666 and allow access to everyone.

Obviously such users have control over the GPU and thus the
current desktop session (of any other user). That's why it
is best practice to have access restricted.

If the system crashes when you allow access, this means that
the DRM code is buggy....

Home | Main Index | Thread Index | Old Index