On Thu, Dec 07, 2023 at 10:50:04AM +0100, Wolfgang Frisch wrote:
On 12/1/23 13:06, Marcus Meissner wrote:
I think the main problem with uaccess was / is that NVIDIA binary-only-drivers will not set uaccess permissions, as this is a GPL interface.
Thank you for this legitimate concern. Fortunately, this problem appears to be a thing of the past. I just booted a system with the proprietary NVIDIA driver and the modified udev package, and the permissions are set correctly:
$ glxinfo |grep "OpenGL vendor" OpenGL vendor string: NVIDIA Corporation
$ ls -l /dev/dri/ total 0 drwxr-xr-x 2 root root 120 Dec 7 10:42 by-path crw-rw----+ 1 root video 226, 0 Dec 7 10:42 card0 crw-rw----+ 1 root video 226, 1 Dec 7 10:42 card1 crw-rw----+ 1 root render 226, 128 Dec 7 10:42 renderD128 crw-rw----+ 1 root render 226, 129 Dec 7 10:42 renderD129
All good :)
Well, what you need to do is a getfacl on the devices. Then you'll see, that the user who is logged in to a graphical session, has permissions to read/write to it not matter in which group he is. Thanks to the magic we're doing in our packages. Thanks to the hints [1] Franck gave me ... [1] boo#1000625, comments#36-#43 CU, Stefan Public Key available ------------------------------------------------------ Stefan Dirsch (Res. & Dev.) SUSE Software Solutions Germany GmbH Tel: 0911-740 53 0 Frankenstraße 146 FAX: 0911-740 53 479 D-90461 Nürnberg http://www.suse.de Germany ---------------------------------------------------------------- Geschäftsführer: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman (HRB 36809, AG Nürnberg) ----------------------------------------------------------------