Current-Users archive

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

Does X11 user need permission to /dev/dri/card0



On NetBSD 10.0 BETA amd64 on a laptop with amdgpu kernel driver enabled,
with either native or modular X11, for a user not belonging to group wheel
I see these errors:

    $ xscreensaver-demo 
    xscreensaver-demo: 07:42:30: Could not load a pixbuf from /org/gtk/libgtk/theme/Adwaita/assets/bullet-symbolic.svg.
    This may indicate that pixbuf loaders or the mime database could not be found.
    libEGL warning: failed to open /dev/dri/card0: Permission denied
    
    libEGL warning: DRI2: could not open /dev/dri/card0 (Permission denied)
    
    
    $ ls -l /dev/dri/card0 
    crw-r----- 1 root wheel 180, 0 Jan  1 21:29 /dev/dri/card0


I have also noticed similar messages with firefox.

Trying to add the user to wheel just crashes the system: port-amd64/57142.

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

-- 
Mayuresh


Home | Main Index | Thread Index | Old Index