#1005692 x11-common: 3D windows can only be used as root, but not as normal user.

#1005692#5
Date:
2022-02-13 12:55:48 UTC
From:
To:
Dear Maintainer,

On this computer with a Kaveri-A10-7850K, the 3D workspaces do not work with
programs started with "user" rights (FreeCAD, Blender, ...).
Instead of the program surface only a random static bitmap is displayed. If I
start the programs as "root" (sudo), they work as expected.

The error does not occur on the laptops with Intel CPU/GPU.

The glxgears program, on the other hand, also runs in user-mode.

So the functionality is there, only "users" seem to lack rights for the 3D
output.
The "users" are present in the "video" and "render" group.


wolf-dieter@CSL6001:/dev/dri$ lspci -nnk | grep -i -EA3 "3d|display|vga"
00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc.
[AMD/ATI] Kaveri [Radeon R7 Graphics] [1002:130f]
        Subsystem: ASUSTeK Computer Inc. Kaveri [Radeon R7 Graphics]
[1043:85cb]
        Kernel driver in use: amdgpu
        Kernel modules: radeon, amdgpu

wolf-dieter@CSL6001:/dev/dri$ ls -l
insgesamt 0
drwxr-xr-x  2 root root         80 13. Feb 13:29 by-path
crw-rw----+ 1 root video  226,   0 13. Feb 13:29 card0
crw-rw----+ 1 root render 226, 128 13. Feb 13:29 renderD128

wolf-dieter@CSL6001:/dev/dri$ groups
wolf-dieter adm dialout fax cdrom floppy tape sudo audio dip video plugdev
netdev lpadmin scanner bluetooth vboxusers wireshark render shared
wolf-dieter@CSL6001:/dev/dri$