adlerweb n00b


Joined: 01 Aug 2007 Posts: 6
|
Posted: Fri Sep 29, 2017 11:32 am Post subject: Unable to access DRI/GLX as regular user |
|
|
Hello,
I updated/reconfigured a system which was headless for some time and can't get DRI back working. X and drivers seem to load without any errors (Log). When starting glxinfo (or any other program accessing OpenGL) the following error appears. The same command (and acceleration) works fine when started as root (same X-session via su), so the drivers itself should be OK.
Code: | > glxinfo
name of display: :0
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 153 (GLX)
Minor opcode of failed request: 24 (X_GLXCreateNewContext)
Value in failed request: 0x0
Serial number of failed request: 16
Current serial number in output stream: 17
# glxinfo
name of display: :0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
[...]
Extended renderer info (GLX_MESA_query_renderer):
Vendor: Intel Open Source Technology Center (0x8086)
Device: Mesa DRI Intel(R) Haswell Desktop (0x412)
Version: 17.0.6
Accelerated: yes
[...]
|
The user is member of video-group, also chmodding /dev/dri/ or 0666ing Section "DRI" didn't help (but since the files exist and are owned by :video it looked fine anyway).
Code: | > groups
adm wheel floppy audio cdrom dialout tape video games usb vboxusers lpadmin plugdev netdev vmware adlerweb wireshark dev kvm ssmtp scanner
> cat /etc/X11/xorg.conf.d/99dri.conf
Section "DRI"
Mode 0666
EndSection
|
Currently a internal 3rd/4th gen Intel IGC is used. I also replaced the GPU, tried different drivers, XDMs and DEs and added clean user accounts, but - if DRI is working - it keeps beeing acessible only as root. I guess there is still some permission broken, maybe some consolekit-voodoo?
Code: |
> eselect opengl list
Available OpenGL implementations:
[1] xorg-x11 *
> emerge -vp x11-base/xorg-drivers
[...]
[ebuild R ] x11-base/xorg-drivers-1.19::gentoo INPUT_DEVICES="evdev keyboard mouse -acecad -aiptek -elographics -fpit -hyperpen -joystick -libinput -mutouch -penmount -synaptics -tslib -vmmouse -void -wacom" VIDEO_CARDS="i915 i965 intel -amdgpu -apm -ark -ast -chips -cirrus -dummy -epson -fbdev (-fglrx) (-freedreno) (-geode) -glint -i128 (-i740) -mach64 -mga -neomagic (-newport) -nouveau -nv -nvidia (-omap) -qxl -r128 -radeon -radeonsi -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx (-tegra) -tga -trident -tseng (-vc4) -vesa -via -virtualbox -vmware (-voodoo)" 0 KiB
[...]
> emerge -vp x11-drivers/xf86-video-intel
[...]
[ebuild R ] x11-drivers/xf86-video-intel-2.99.917_p20170313::gentoo USE="dri sna udev -debug -dri3 -tools -uxa -xvmc" 0 KiB
[...]
|
Any tips where I should continue my search? Thanks in advance. |
|