You are not logged in.

#1 2017-03-19 23:57:14

divfree
Member
Registered: 2016-06-17
Posts: 9

LIBGL_ALWAYS_INDIRECT doesn't work

Hi, all.

I'm running Arch on a machine with Intel HD Graphics 520. However, the issue described below is observed on VirtualBox as well (with the same software).
When I execute

LIBGL_ALWAYS_INDIRECT=y glxgears

the following comes out

Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
X Error of failed request:  255
  Major opcode of failed request:  155 (GLX)
  Minor opcode of failed request:  1 (X_GLXRender)
  Serial number of failed request:  44
  Current serial number in output stream:  140

The indirect mode is needed to run a remote OpenGL app via SSH forwarding. An attempt to do this gives similar output with a black window

$ ssh -XYC user@remote LIBGL_ALWAYS_INDIRECT=y glxgears
X Error of failed request:  255
  Major opcode of failed request:  155 (GLX)
  Minor opcode of failed request:  1 (X_GLXRender)
  Serial number of failed request:  45
  Current serial number in output stream:  5681
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server "localhost:13.0"
      after 5682 requests (5682 known processed) with 0 events remaining.

To enable iglx, I set

ServerArguments=-nolisten tcp -dpi 144 +iglx

in /etc/sddm.conf. Also, tried modifying /usr/bin/Xorg as

 basedir=/usr/lib/xorg-server
 if [ -x "$basedir"/Xorg.wrap ]; then
   exec "$basedir"/Xorg.wrap "$@" +iglx
 else
   exec "$basedir"/Xorg "$@" +iglx
 fi

However, that didn't help.
Are there any ideas to somehow get indirect glx working?


Here's some additional info: (note empty OpenGL vendor string)

$ LIBGL_ALWAYS_INDIRECT=y glxinfo
name of display: :0
display: :0  screen: 0
direct rendering: No (LIBGL_ALWAYS_INDIRECT set)
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_profile, 
    GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float, 
    GLX_ARB_framebuffer_sRGB, GLX_ARB_multisample, 
    GLX_EXT_create_context_es2_profile, GLX_EXT_create_context_es_profile, 
    GLX_EXT_fbconfig_packed_float, GLX_EXT_framebuffer_sRGB, 
    GLX_EXT_import_context, GLX_EXT_libglvnd, GLX_EXT_texture_from_pixmap, 
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_INTEL_swap_event, 
    GLX_MESA_copy_sub_buffer, GLX_OML_swap_method, GLX_SGIS_multisample, 
    GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group, 
    GLX_SGI_make_current_read, GLX_SGI_swap_control
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_profile, 
    GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float, 
    GLX_ARB_framebuffer_sRGB, GLX_ARB_get_proc_address, GLX_ARB_multisample, 
    GLX_EXT_buffer_age, GLX_EXT_create_context_es2_profile, 
    GLX_EXT_create_context_es_profile, GLX_EXT_fbconfig_packed_float, 
    GLX_EXT_framebuffer_sRGB, GLX_EXT_import_context, 
    GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, GLX_EXT_visual_rating, 
    GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer, 
    GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer, 
    GLX_MESA_swap_control, GLX_OML_swap_method, GLX_OML_sync_control, 
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, 
    GLX_SGIX_visual_select_group, GLX_SGI_make_current_read, 
    GLX_SGI_swap_control, GLX_SGI_video_sync
GLX version: 1.4
GLX extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_profile, 
    GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float, 
    GLX_ARB_framebuffer_sRGB, GLX_ARB_get_proc_address, GLX_ARB_multisample, 
    GLX_EXT_create_context_es2_profile, GLX_EXT_create_context_es_profile, 
    GLX_EXT_fbconfig_packed_float, GLX_EXT_framebuffer_sRGB, 
    GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, 
    GLX_EXT_visual_rating, GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer, 
    GLX_MESA_multithread_makecurrent, GLX_OML_swap_method, 
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, 
    GLX_SGIX_visual_select_group, GLX_SGI_make_current_read, 
    GLX_SGI_swap_control
OpenGL vendor string: 
OpenGL renderer string: 
OpenGL version string: 
OpenGL extensions:
(...)

And the usual output (direct rendering):

$ unset LIBGL_ALWAYS_INDIRECT && glxinfo
name of display: :0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_profile, 
    GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float, 
    GLX_ARB_framebuffer_sRGB, GLX_ARB_multisample, 
    GLX_EXT_create_context_es2_profile, GLX_EXT_create_context_es_profile, 
    GLX_EXT_fbconfig_packed_float, GLX_EXT_framebuffer_sRGB, 
    GLX_EXT_import_context, GLX_EXT_libglvnd, GLX_EXT_texture_from_pixmap, 
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_INTEL_swap_event, 
    GLX_MESA_copy_sub_buffer, GLX_OML_swap_method, GLX_SGIS_multisample, 
    GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group, 
    GLX_SGI_make_current_read, GLX_SGI_swap_control
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_profile, 
    GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float, 
    GLX_ARB_framebuffer_sRGB, GLX_ARB_get_proc_address, GLX_ARB_multisample, 
    GLX_EXT_buffer_age, GLX_EXT_create_context_es2_profile, 
    GLX_EXT_create_context_es_profile, GLX_EXT_fbconfig_packed_float, 
    GLX_EXT_framebuffer_sRGB, GLX_EXT_import_context, 
    GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, GLX_EXT_visual_rating, 
    GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer, 
    GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer, 
    GLX_MESA_swap_control, GLX_OML_swap_method, GLX_OML_sync_control, 
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, 
    GLX_SGIX_visual_select_group, GLX_SGI_make_current_read, 
    GLX_SGI_swap_control, GLX_SGI_video_sync
GLX version: 1.4
GLX extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_profile, 
    GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float, 
    GLX_ARB_framebuffer_sRGB, GLX_ARB_get_proc_address, GLX_ARB_multisample, 
    GLX_EXT_buffer_age, GLX_EXT_create_context_es2_profile, 
    GLX_EXT_create_context_es_profile, GLX_EXT_fbconfig_packed_float, 
    GLX_EXT_framebuffer_sRGB, GLX_EXT_import_context, 
    GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, GLX_EXT_visual_rating, 
    GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer, 
    GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer, 
    GLX_MESA_swap_control, GLX_OML_swap_method, GLX_OML_sync_control, 
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, 
    GLX_SGIX_visual_select_group, GLX_SGI_make_current_read, 
    GLX_SGI_swap_control, GLX_SGI_video_sync
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Intel Open Source Technology Center (0x8086)
    Device: Mesa DRI Intel(R) HD Graphics 520 (Skylake GT2)  (0x1916)
    Version: 17.0.1
    Accelerated: yes
    Video memory: 3072MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 4.5
    Max compat profile version: 3.0
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 520 (Skylake GT2) 
OpenGL core profile version string: 4.5 (Core Profile) Mesa 17.0.1
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
(...)

Offline

#2 2017-03-21 13:50:18

seth
Member
Registered: 2012-09-03
Posts: 49,985

Re: LIBGL_ALWAYS_INDIRECT doesn't work

xorg log?

Offline

#3 2017-03-21 16:17:06

loqs
Member
Registered: 2014-03-06
Posts: 17,195

Offline

#4 2017-03-21 23:35:43

divfree
Member
Registered: 2016-06-17
Posts: 9

Re: LIBGL_ALWAYS_INDIRECT doesn't work

Tried installing mesa 17.0.2-2 from https://www.archlinux.org/packages/testing/x86_64/mesa/. Didn't help.

/var/log/Xorg.0.log

[  1594.157] (--) Log file renamed from "/var/log/Xorg.pid-11123.log" to "/var/log/Xorg.0.log"
[  1594.159] 
X.Org X Server 1.19.3
Release Date: 2017-03-15
[  1594.159] X Protocol Version 11, Revision 0
[  1594.159] Build Operating System: Linux 4.9.11-1-ARCH x86_64 
[  1594.159] Current Operating System: Linux lenovo 4.10.3-1-ARCH #1 SMP PREEMPT Wed Mar 15 09:17:17 CET 2017 x86_64
[  1594.159] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=518ab8d7-c741-45f2-8a6a-f9f81d61eb21 rw udev.log-priority=debug resume=UUID=22a414d3-694b-4e23-8187-9190c1e3287d
[  1594.159] Build Date: 16 March 2017  02:47:54PM
[  1594.159]  
[  1594.159] Current version of pixman: 0.34.0
[  1594.159] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[  1594.159] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  1594.159] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Mar 22 00:06:36 2017
[  1594.159] (==) Using config directory: "/etc/X11/xorg.conf.d"
[  1594.159] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  1594.160] (==) No Layout section.  Using the first Screen section.
[  1594.160] (==) No screen section available. Using defaults.
[  1594.160] (**) |-->Screen "Default Screen Section" (0)
[  1594.160] (**) |   |-->Monitor "<default monitor>"
[  1594.160] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[  1594.160] (**) |   |-->Device "Intel Graphics"
[  1594.160] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[  1594.160] (==) Automatically adding devices
[  1594.160] (==) Automatically enabling devices
[  1594.160] (==) Automatically adding GPU devices
[  1594.160] (==) Automatically binding GPU devices
[  1594.160] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  1594.160] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[  1594.160] 	Entry deleted from font path.
[  1594.160] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[  1594.160] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[  1594.160] 	Entry deleted from font path.
[  1594.160] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[  1594.160] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/,
	/usr/share/fonts/Type1/
[  1594.161] (==) ModulePath set to "/usr/lib/xorg/modules"
[  1594.161] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[  1594.161] (II) Loader magic: 0x822d60
[  1594.161] (II) Module ABI versions:
[  1594.161] 	X.Org ANSI C Emulation: 0.4
[  1594.161] 	X.Org Video Driver: 23.0
[  1594.161] 	X.Org XInput driver : 24.1
[  1594.161] 	X.Org Server Extension : 10.0
[  1594.163] (++) using VT number 1

[  1594.163] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[  1594.165] (II) xfree86: Adding drm device (/dev/dri/card0)
[  1594.184] (--) PCI:*(0:0:2:0) 8086:1916:17aa:380c rev 7, Mem @ 0xa0000000/16777216, 0x90000000/268435456, I/O @ 0x00004000/64, BIOS @ 0x????????/131072
[  1594.184] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[  1594.184] (II) LoadModule: "glx"
[  1594.184] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  1594.187] (II) Module glx: vendor="X.Org Foundation"
[  1594.187] 	compiled for 1.19.3, module version = 1.0.0
[  1594.187] 	ABI class: X.Org Server Extension, version 10.0
[  1594.187] (II) LoadModule: "intel"
[  1594.188] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[  1594.188] (II) Module intel: vendor="X.Org Foundation"
[  1594.188] 	compiled for 1.19.3, module version = 2.99.917
[  1594.188] 	Module class: X.Org Video Driver
[  1594.188] 	ABI class: X.Org Video Driver, version 23.0
[  1594.188] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
	i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
	915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
	Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
	GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[  1594.189] (II) intel: Driver for Intel(R) HD Graphics
[  1594.189] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[  1594.189] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[  1594.190] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20161121
[  1594.190] (II) intel(0): SNA compiled from 2.99.917-767-g7e9e92c8
[  1594.191] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 520
[  1594.191] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx, avx2; using a maximum of 2 threads
[  1594.191] (II) intel(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[  1594.191] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[  1594.191] (==) intel(0): RGB weight 888
[  1594.191] (==) intel(0): Default visual is TrueColor
[  1594.191] (**) intel(0): Option "AccelMethod" "sna"
[  1594.191] (**) intel(0): Option "DRI" "3"
[  1594.191] (**) intel(0): Option "TearFree" "true"
[  1594.192] (II) intel(0): Output eDP1 using monitor section <default monitor>
[  1594.193] (**) intel(0): Found backlight control interface intel_backlight (type 'raw') for output eDP1
[  1594.193] (II) intel(0): Enabled output eDP1
[  1594.193] (II) intel(0): Output DP1 has no monitor section
[  1594.193] (II) intel(0): Enabled output DP1
[  1594.193] (II) intel(0): Output HDMI1 has no monitor section
[  1594.194] (II) intel(0): Enabled output HDMI1
[  1594.194] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
[  1594.194] (II) intel(0): Output VIRTUAL1 has no monitor section
[  1594.194] (II) intel(0): Enabled output VIRTUAL1
[  1594.194] (--) intel(0): Output eDP1 using initial mode 1920x1080 on pipe 0
[  1594.194] (**) intel(0): TearFree enabled
[  1594.194] (==) intel(0): Using gamma correction (1.0, 1.0, 1.0)
[  1594.194] (++) intel(0): DPI set to (144, 144)
[  1594.194] (II) Loading sub module "dri3"
[  1594.194] (II) LoadModule: "dri3"
[  1594.194] (II) Module "dri3" already built-in
[  1594.194] (II) Loading sub module "dri2"
[  1594.194] (II) LoadModule: "dri2"
[  1594.194] (II) Module "dri2" already built-in
[  1594.194] (II) Loading sub module "present"
[  1594.194] (II) LoadModule: "present"
[  1594.194] (II) Module "present" already built-in
[  1594.194] (==) Depth 24 pixmap format is 32 bpp
[  1594.195] (II) intel(0): SNA initialized with Skylake (gen9) backend
[  1594.195] (==) intel(0): Backing store enabled
[  1594.195] (==) intel(0): Silken mouse enabled
[  1594.195] (II) intel(0): HW Cursor enabled
[  1594.195] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[  1594.196] (==) intel(0): DPMS enabled
[  1594.196] (==) intel(0): Display hotplug detection enabled
[  1594.196] (II) intel(0): [DRI2] Setup complete
[  1594.196] (II) intel(0): [DRI2]   DRI driver: i965
[  1594.196] (II) intel(0): [DRI2]   VDPAU driver: va_gl
[  1594.196] (II) intel(0): direct rendering: DRI2 DRI3 enabled
[  1594.196] (II) intel(0): hardware support for Present enabled
[  1594.196] (--) RandR disabled
[  1594.223] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[  1594.223] (II) AIGLX: enabled GLX_ARB_create_context
[  1594.223] (II) AIGLX: enabled GLX_ARB_create_context_profile
[  1594.223] (II) AIGLX: enabled GLX_EXT_create_context_es{,2}_profile
[  1594.223] (II) AIGLX: enabled GLX_INTEL_swap_event
[  1594.223] (II) AIGLX: enabled GLX_SGI_swap_control
[  1594.223] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
[  1594.223] (II) AIGLX: enabled GLX_ARB_fbconfig_float
[  1594.223] (II) AIGLX: enabled GLX_EXT_fbconfig_packed_float
[  1594.223] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[  1594.223] (II) AIGLX: enabled GLX_ARB_create_context_robustness
[  1594.223] (II) AIGLX: Loaded and initialized i965
[  1594.223] (II) GLX: Initialized DRI2 GL provider for screen 0
[  1594.226] (II) intel(0): switch to mode 1920x1080@60.0 on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none
[  1594.231] (II) intel(0): Setting screen physical size to 338 x 190
[  1594.256] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[  1594.257] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[  1594.257] (II) LoadModule: "libinput"
[  1594.257] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[  1594.257] (II) Module libinput: vendor="X.Org Foundation"
[  1594.257] 	compiled for 1.19.2, module version = 0.25.0
[  1594.257] 	Module class: X.Org XInput Driver
[  1594.257] 	ABI class: X.Org XInput driver, version 24.1
[  1594.257] (II) Using input driver 'libinput' for 'Power Button'
[  1594.257] (**) Power Button: always reports core events
[  1594.257] (**) Option "Device" "/dev/input/event3"
[  1594.257] (**) Option "_source" "server/udev"
[  1594.258] (II) input device 'Power Button', /dev/input/event3 is tagged by udev as: Keyboard
[  1594.258] (II) input device 'Power Button', /dev/input/event3 is a keyboard
[  1594.280] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input4/event3"
[  1594.280] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[  1594.280] (II) input device 'Power Button', /dev/input/event3 is tagged by udev as: Keyboard
[  1594.280] (II) input device 'Power Button', /dev/input/event3 is a keyboard
[  1594.280] (II) config/udev: Adding input device Video Bus (/dev/input/event5)
[  1594.280] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[  1594.280] (II) Using input driver 'libinput' for 'Video Bus'
[  1594.280] (**) Video Bus: always reports core events
[  1594.280] (**) Option "Device" "/dev/input/event5"
[  1594.280] (**) Option "_source" "server/udev"
[  1594.281] (II) input device 'Video Bus', /dev/input/event5 is tagged by udev as: Keyboard
[  1594.281] (II) input device 'Video Bus', /dev/input/event5 is a keyboard
[  1594.300] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input7/event5"
[  1594.300] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[  1594.300] (II) input device 'Video Bus', /dev/input/event5 is tagged by udev as: Keyboard
[  1594.300] (II) input device 'Video Bus', /dev/input/event5 is a keyboard
[  1594.301] (II) config/udev: Adding input device Lid Switch (/dev/input/event1)
[  1594.301] (II) No input driver specified, ignoring this device.
[  1594.301] (II) This device may have been added with another device file.
[  1594.301] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[  1594.301] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[  1594.301] (II) Using input driver 'libinput' for 'Power Button'
[  1594.301] (**) Power Button: always reports core events
[  1594.301] (**) Option "Device" "/dev/input/event2"
[  1594.301] (**) Option "_source" "server/udev"
[  1594.302] (II) input device 'Power Button', /dev/input/event2 is tagged by udev as: Keyboard
[  1594.302] (II) input device 'Power Button', /dev/input/event2 is a keyboard
[  1594.320] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input3/event2"
[  1594.320] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8)
[  1594.321] (II) input device 'Power Button', /dev/input/event2 is tagged by udev as: Keyboard
[  1594.321] (II) input device 'Power Button', /dev/input/event2 is a keyboard
[  1594.324] (II) config/udev: Adding input device Lenovo EasyCamera (/dev/input/event6)
[  1594.324] (**) Lenovo EasyCamera: Applying InputClass "libinput keyboard catchall"
[  1594.324] (II) Using input driver 'libinput' for 'Lenovo EasyCamera'
[  1594.324] (**) Lenovo EasyCamera: always reports core events
[  1594.324] (**) Option "Device" "/dev/input/event6"
[  1594.324] (**) Option "_source" "server/udev"
[  1594.325] (II) input device 'Lenovo EasyCamera', /dev/input/event6 is tagged by udev as: Keyboard
[  1594.325] (II) input device 'Lenovo EasyCamera', /dev/input/event6 is a keyboard
[  1594.380] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/input/input8/event6"
[  1594.380] (II) XINPUT: Adding extended input device "Lenovo EasyCamera" (type: KEYBOARD, id 9)
[  1594.381] (II) input device 'Lenovo EasyCamera', /dev/input/event6 is tagged by udev as: Keyboard
[  1594.381] (II) input device 'Lenovo EasyCamera', /dev/input/event6 is a keyboard
[  1594.383] (II) config/udev: Adding input device Ideapad extra buttons (/dev/input/event4)
[  1594.383] (**) Ideapad extra buttons: Applying InputClass "libinput keyboard catchall"
[  1594.383] (II) Using input driver 'libinput' for 'Ideapad extra buttons'
[  1594.383] (**) Ideapad extra buttons: always reports core events
[  1594.383] (**) Option "Device" "/dev/input/event4"
[  1594.383] (**) Option "_source" "server/udev"
[  1594.384] (II) input device 'Ideapad extra buttons', /dev/input/event4 is tagged by udev as: Keyboard
[  1594.384] (II) input device 'Ideapad extra buttons', /dev/input/event4 is a keyboard
[  1594.430] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1f.0/PNP0C09:00/VPC2004:00/input/input5/event4"
[  1594.430] (II) XINPUT: Adding extended input device "Ideapad extra buttons" (type: KEYBOARD, id 10)
[  1594.431] (II) input device 'Ideapad extra buttons', /dev/input/event4 is tagged by udev as: Keyboard
[  1594.431] (II) input device 'Ideapad extra buttons', /dev/input/event4 is a keyboard
[  1594.432] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event8)
[  1594.432] (II) No input driver specified, ignoring this device.
[  1594.432] (II) This device may have been added with another device file.
[  1594.433] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=3 (/dev/input/event9)
[  1594.433] (II) No input driver specified, ignoring this device.
[  1594.433] (II) This device may have been added with another device file.
[  1594.434] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=7 (/dev/input/event10)
[  1594.434] (II) No input driver specified, ignoring this device.
[  1594.434] (II) This device may have been added with another device file.
[  1594.435] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=8 (/dev/input/event11)
[  1594.435] (II) No input driver specified, ignoring this device.
[  1594.435] (II) This device may have been added with another device file.
[  1594.436] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event7)
[  1594.436] (II) No input driver specified, ignoring this device.
[  1594.436] (II) This device may have been added with another device file.
[  1594.437] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
[  1594.437] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[  1594.437] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[  1594.437] (**) AT Translated Set 2 keyboard: always reports core events
[  1594.437] (**) Option "Device" "/dev/input/event0"
[  1594.437] (**) Option "_source" "server/udev"
[  1594.438] (II) input device 'AT Translated Set 2 keyboard', /dev/input/event0 is tagged by udev as: Keyboard
[  1594.438] (II) input device 'AT Translated Set 2 keyboard', /dev/input/event0 is a keyboard
[  1594.480] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input0/event0"
[  1594.480] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 11)
[  1594.481] (II) input device 'AT Translated Set 2 keyboard', /dev/input/event0 is tagged by udev as: Keyboard
[  1594.481] (II) input device 'AT Translated Set 2 keyboard', /dev/input/event0 is a keyboard
[  1594.483] (II) config/udev: Adding input device AlpsPS/2 ALPS GlidePoint (/dev/input/event12)
[  1594.483] (**) AlpsPS/2 ALPS GlidePoint: Applying InputClass "libinput touchpad catchall"
[  1594.483] (II) Using input driver 'libinput' for 'AlpsPS/2 ALPS GlidePoint'
[  1594.483] (**) AlpsPS/2 ALPS GlidePoint: always reports core events
[  1594.483] (**) Option "Device" "/dev/input/event12"
[  1594.483] (**) Option "_source" "server/udev"
[  1594.484] (II) input device 'AlpsPS/2 ALPS GlidePoint', /dev/input/event12 is tagged by udev as: Touchpad
[  1594.484] (II) input device 'AlpsPS/2 ALPS GlidePoint', /dev/input/event12 is a touchpad
[  1594.537] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input6/event12"
[  1594.537] (II) XINPUT: Adding extended input device "AlpsPS/2 ALPS GlidePoint" (type: TOUCHPAD, id 12)
[  1594.537] (**) Option "AccelerationScheme" "none"
[  1594.537] (**) AlpsPS/2 ALPS GlidePoint: (accel) selected scheme none/0
[  1594.537] (**) AlpsPS/2 ALPS GlidePoint: (accel) acceleration factor: 2.000
[  1594.537] (**) AlpsPS/2 ALPS GlidePoint: (accel) acceleration threshold: 4
[  1594.539] (II) input device 'AlpsPS/2 ALPS GlidePoint', /dev/input/event12 is tagged by udev as: Touchpad
[  1594.539] (II) input device 'AlpsPS/2 ALPS GlidePoint', /dev/input/event12 is a touchpad
[  1594.540] (II) config/udev: Adding input device AlpsPS/2 ALPS GlidePoint (/dev/input/mouse0)
[  1594.540] (II) No input driver specified, ignoring this device.
[  1594.540] (II) This device may have been added with another device file.
[  1596.196] (II) intel(0): EDID vendor "LGD", prod id 1164
[  1596.196] (II) intel(0): Printing DDC gathered Modelines:
[  1596.196] (II) intel(0): Modeline "1920x1080"x0.0  138.70  1920 1968 2000 2080  1080 1083 1088 1111 -hsync -vsync (66.7 kHz eP)

~/.local/share/xorg/Xorg.0.log

[  2623.241] 
X.Org X Server 1.19.3
Release Date: 2017-03-15
[  2623.241] X Protocol Version 11, Revision 0
[  2623.241] Build Operating System: Linux 4.9.11-1-ARCH x86_64 
[  2623.242] Current Operating System: Linux lenovo 4.10.3-1-ARCH #1 SMP PREEMPT Wed Mar 15 09:17:17 CET 2017 x86_64
[  2623.242] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=518ab8d7-c741-45f2-8a6a-f9f81d61eb21 rw udev.log-priority=debug resume=UUID=22a414d3-694b-4e23-8187-9190c1e3287d
[  2623.242] Build Date: 16 March 2017  02:47:54PM
[  2623.242]  
[  2623.242] Current version of pixman: 0.34.0
[  2623.243] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[  2623.243] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  2623.244] (==) Log file: "/home/petr/.local/share/xorg/Xorg.0.log", Time: Mon Mar 20 00:04:45 2017
[  2623.244] (==) Using config directory: "/etc/X11/xorg.conf.d"
[  2623.244] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  2623.244] (==) No Layout section.  Using the first Screen section.
[  2623.244] (==) No screen section available. Using defaults.
[  2623.244] (**) |-->Screen "Default Screen Section" (0)
[  2623.244] (**) |   |-->Monitor "<default monitor>"
[  2623.245] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[  2623.245] (**) |   |-->Device "Intel Graphics"
[  2623.245] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[  2623.245] (==) Automatically adding devices
[  2623.245] (==) Automatically enabling devices
[  2623.245] (==) Automatically adding GPU devices
[  2623.245] (==) Automatically binding GPU devices
[  2623.245] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  2623.245] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[  2623.245] 	Entry deleted from font path.
[  2623.245] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[  2623.245] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[  2623.245] 	Entry deleted from font path.
[  2623.245] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[  2623.245] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/,
	/usr/share/fonts/Type1/
[  2623.245] (==) ModulePath set to "/usr/lib/xorg/modules"
[  2623.245] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[  2623.245] (II) Loader magic: 0x822d60
[  2623.245] (II) Module ABI versions:
[  2623.245] 	X.Org ANSI C Emulation: 0.4
[  2623.245] 	X.Org Video Driver: 23.0
[  2623.245] 	X.Org XInput driver : 24.1
[  2623.245] 	X.Org Server Extension : 10.0
[  2623.252] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c3
[  2623.254] (II) xfree86: Adding drm device (/dev/dri/card0)
[  2623.255] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 11 paused 0
[  2623.257] (--) PCI:*(0:0:2:0) 8086:1916:17aa:380c rev 7, Mem @ 0xa0000000/16777216, 0x90000000/268435456, I/O @ 0x00004000/64, BIOS @ 0x????????/131072
[  2623.257] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[  2623.257] (II) LoadModule: "glx"
[  2623.258] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  2623.260] (II) Module glx: vendor="X.Org Foundation"
[  2623.260] 	compiled for 1.19.3, module version = 1.0.0
[  2623.260] 	ABI class: X.Org Server Extension, version 10.0
[  2623.260] (II) LoadModule: "intel"
[  2623.260] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[  2623.261] (II) Module intel: vendor="X.Org Foundation"
[  2623.261] 	compiled for 1.19.3, module version = 2.99.917
[  2623.261] 	Module class: X.Org Video Driver
[  2623.261] 	ABI class: X.Org Video Driver, version 23.0
[  2623.261] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
	i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
	915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
	Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
	GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[  2623.262] (II) intel: Driver for Intel(R) HD Graphics
[  2623.262] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[  2623.262] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[  2623.262] (EE) 
Fatal server error:
[  2623.262] (EE) parse_vt_settings: Cannot open /dev/tty0 (Permission denied)
[  2623.262] (EE) 
[  2623.262] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[  2623.262] (EE) Please also check the log file at "/home/petr/.local/share/xorg/Xorg.0.log" for additional information.
[  2623.262] (EE) 
[  2623.262] (WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
[  2623.262] (WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor
[  2623.308] (EE) Server terminated with error (1). Closing log file.

Offline

#5 2017-03-22 18:29:12

seth
Member
Registered: 2012-09-03
Posts: 49,985

Re: LIBGL_ALWAYS_INDIRECT doesn't work

Can you please add /etc/X11/xorg.conf.d/10-iglx.conf

Section  "ServerLayout"
    Option "IndirectGLX" "True"
EndSection

restart the X11 server, ensure the option is picked by the log and try to create an indirect context?

Offline

#6 2017-03-22 21:08:42

divfree
Member
Registered: 2016-06-17
Posts: 9

Re: LIBGL_ALWAYS_INDIRECT doesn't work

Still the same.
First I tried to create the file /etc/X11/xorg.conf.d/10-iglx.conf with the proposed content (plus Identifier field).

Then I removed all files from /etc/X11/xorg.conf.d/ and created the file /etc/X11/xorg.conf with the following

Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
  Option         "IndirectGLX" "true"
  Option         "AllowIndirectGLXProtocol" "true"
EndSection

Section "Files"
	ModulePath   "/usr/lib/xorg/modules"
	FontPath     "/usr/share/fonts/misc/"
	FontPath     "/usr/share/fonts/TTF/"
	FontPath     "/usr/share/fonts/OTF/"
	FontPath     "/usr/share/fonts/Type1/"
	FontPath     "/usr/share/fonts/100dpi/"
	FontPath     "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
	Load  "glx"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
  DisplaySize 340 192
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "Accel"              	# [<bool>]
        #Option     "AccelMethod"        	# <str>
        #Option     "Backlight"          	# <str>
        #Option     "CustomEDID"         	# <str>
        #Option     "DRI"                	# <str>
        #Option     "Present"            	# [<bool>]
        #Option     "ColorKey"           	# <i>
        #Option     "VideoKey"           	# <i>
        #Option     "Tiling"             	# [<bool>]
        #Option     "LinearFramebuffer"  	# [<bool>]
        #Option     "HWRotation"         	# [<bool>]
        #Option     "VSync"              	# [<bool>]
        #Option     "PageFlip"           	# [<bool>]
        #Option     "SwapbuffersWait"    	# [<bool>]
        #Option     "TripleBuffer"       	# [<bool>]
        #Option     "XvPreferOverlay"    	# [<bool>]
        #Option     "HotPlug"            	# [<bool>]
        #Option     "ReprobeOutputs"     	# [<bool>]
        #Option     "XvMC"               	# [<bool>]
        #Option     "ZaphodHeads"        	# <str>
        #Option     "VirtualHeads"       	# <i>
        #Option     "TearFree"           	# [<bool>]
        #Option     "PerCrtcPixmaps"     	# [<bool>]
        #Option     "FallbackDebug"      	# [<bool>]
        #Option     "DebugFlushBatches"  	# [<bool>]
        #Option     "DebugFlushCaches"   	# [<bool>]
        #Option     "DebugWait"          	# [<bool>]
        #Option     "BufferCache"        	# [<bool>]
	Identifier  "Card0"
	Driver      "intel"
	BusID       "PCI:0:2:0"
  Option     "AccelMethod"    "sna"
  Option     "TearFree"       "true"
  Option      "DRI"    "3"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

Also, switched to xinit (instead of sddm) with ~/.xserverrc

#!/bin/sh
exec /usr/bin/X -nolisten tcp "$@" +iglx -dpi 144

and ~/.xinitrc

#!/bin/sh

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then
    xrdb -merge $sysresources
fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f "$userresources" ]; then
    xrdb -merge "$userresources"
fi

if [ -f "$usermodmap" ]; then
    xmodmap "$usermodmap"
fi

# start some nice programs

if [ -d /etc/X11/xinit/xinitrc.d ] ; then
 for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
  [ -x "$f" ] && . "$f"
 done
 unset f
fi

[ -f /etc/xprofile ] && . /etc/xprofile
[ -f ~/.xprofile ] && . ~/.xprofile

exec startkde

Now ~/.local/share/xorg/Xorg.0.log looks like this

[  1769.798] 
X.Org X Server 1.19.3
Release Date: 2017-03-15
[  1769.802] X Protocol Version 11, Revision 0
[  1769.803] Build Operating System: Linux 4.9.11-1-ARCH x86_64 
[  1769.805] Current Operating System: Linux lenovo 4.10.3-1-ARCH #1 SMP PREEMPT Wed Mar 15 09:17:17 CET 2017 x86_64
[  1769.805] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=518ab8d7-c741-45f2-8a6a-f9f81d61eb21 rw udev.log-priority=debug resume=UUID=22a414d3-694b-4e23-8187-9190c1e3287d
[  1769.807] Build Date: 16 March 2017  02:47:54PM
[  1769.808]  
[  1769.810] Current version of pixman: 0.34.0
[  1769.812] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[  1769.812] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  1769.815] (==) Log file: "/home/petr/.local/share/xorg/Xorg.0.log", Time: Wed Mar 22 21:47:37 2017
[  1769.816] (==) Using config file: "/etc/X11/xorg.conf"
[  1769.817] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  1769.817] (==) ServerLayout "X.org Configured"
[  1769.817] (**) |-->Screen "Screen0" (0)
[  1769.817] (**) |   |-->Monitor "Monitor0"
[  1769.817] (**) |   |-->Device "Card0"
[  1769.817] (**) |-->Input Device "Mouse0"
[  1769.817] (**) |-->Input Device "Keyboard0"
[  1769.817] (**) Option "IndirectGLX" "true"
[  1769.817] (==) Automatically adding devices
[  1769.817] (==) Automatically enabling devices
[  1769.817] (==) Automatically adding GPU devices
[  1769.817] (==) Automatically binding GPU devices
[  1769.817] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  1769.817] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[  1769.817] 	Entry deleted from font path.
[  1769.817] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[  1769.817] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[  1769.817] 	Entry deleted from font path.
[  1769.817] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[  1769.817] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[  1769.817] 	Entry deleted from font path.
[  1769.817] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[  1769.817] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[  1769.817] 	Entry deleted from font path.
[  1769.818] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[  1769.818] (**) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/,
	/usr/share/fonts/Type1/,
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/,
	/usr/share/fonts/Type1/
[  1769.818] (**) ModulePath set to "/usr/lib/xorg/modules"
[  1769.818] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[  1769.818] (WW) Disabling Mouse0
[  1769.818] (WW) Disabling Keyboard0
[  1769.818] (II) Loader magic: 0x822d60
[  1769.818] (II) Module ABI versions:
[  1769.818] 	X.Org ANSI C Emulation: 0.4
[  1769.818] 	X.Org Video Driver: 23.0
[  1769.818] 	X.Org XInput driver : 24.1
[  1769.818] 	X.Org Server Extension : 10.0
[  1769.818] (++) using VT number 1

[  1769.818] (--) controlling tty is VT number 1, auto-enabling KeepTty
[  1769.820] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[  1769.821] (II) xfree86: Adding drm device (/dev/dri/card0)
[  1769.821] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 11 paused 0
[  1769.822] (--) PCI:*(0:0:2:0) 8086:1916:17aa:380c rev 7, Mem @ 0xa0000000/16777216, 0x90000000/268435456, I/O @ 0x00004000/64, BIOS @ 0x????????/131072
[  1769.822] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[  1769.822] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[  1769.822] (II) LoadModule: "glx"
[  1769.822] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  1769.823] (II) Module glx: vendor="X.Org Foundation"
[  1769.823] 	compiled for 1.19.3, module version = 1.0.0
[  1769.823] 	ABI class: X.Org Server Extension, version 10.0
[  1769.823] (II) LoadModule: "intel"
[  1769.823] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[  1769.823] (II) Module intel: vendor="X.Org Foundation"
[  1769.823] 	compiled for 1.19.3, module version = 2.99.917
[  1769.823] 	Module class: X.Org Video Driver
[  1769.823] 	ABI class: X.Org Video Driver, version 23.0
[  1769.823] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
	i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
	915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
	Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
	GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[  1769.823] (II) intel: Driver for Intel(R) HD Graphics
[  1769.823] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[  1769.823] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[  1769.823] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
[  1769.823] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20161121
[  1769.823] (II) intel(0): SNA compiled from 2.99.917-767-g7e9e92c8
[  1769.823] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[  1769.823] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 520
[  1769.823] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx, avx2; using a maximum of 2 threads
[  1769.823] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[  1769.823] (==) intel(0): RGB weight 888
[  1769.823] (==) intel(0): Default visual is TrueColor
[  1769.823] (**) intel(0): Option "AccelMethod" "sna"
[  1769.823] (**) intel(0): Option "DRI" "3"
[  1769.823] (**) intel(0): Option "TearFree" "true"
[  1769.824] (II) intel(0): Output eDP1 using monitor section Monitor0
[  1769.824] (**) intel(0): Found backlight control interface intel_backlight (type 'raw') for output eDP1
[  1769.824] (II) intel(0): Enabled output eDP1
[  1769.824] (II) intel(0): Output DP1 has no monitor section
[  1769.824] (II) intel(0): Enabled output DP1
[  1769.824] (II) intel(0): Output HDMI1 has no monitor section
[  1769.824] (II) intel(0): Enabled output HDMI1
[  1769.824] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
[  1769.824] (II) intel(0): Output VIRTUAL1 has no monitor section
[  1769.824] (II) intel(0): Enabled output VIRTUAL1
[  1769.824] (--) intel(0): Output eDP1 using initial mode 1920x1080 on pipe 0
[  1769.825] (**) intel(0): TearFree enabled
[  1769.825] (==) intel(0): Using gamma correction (1.0, 1.0, 1.0)
[  1769.825] (++) intel(0): DPI set to (144, 144)
[  1769.825] (II) Loading sub module "dri3"
[  1769.825] (II) LoadModule: "dri3"
[  1769.825] (II) Module "dri3" already built-in
[  1769.825] (II) Loading sub module "dri2"
[  1769.825] (II) LoadModule: "dri2"
[  1769.825] (II) Module "dri2" already built-in
[  1769.825] (II) Loading sub module "present"
[  1769.825] (II) LoadModule: "present"
[  1769.825] (II) Module "present" already built-in
[  1769.825] (==) Depth 24 pixmap format is 32 bpp
[  1769.825] (II) intel(0): SNA initialized with Skylake (gen9) backend
[  1769.825] (==) intel(0): Backing store enabled
[  1769.825] (==) intel(0): Silken mouse enabled
[  1769.825] (II) intel(0): HW Cursor enabled
[  1769.825] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[  1769.825] (==) intel(0): DPMS enabled
[  1769.825] (==) intel(0): Display hotplug detection enabled
[  1769.825] (II) intel(0): [DRI2] Setup complete
[  1769.825] (II) intel(0): [DRI2]   DRI driver: i965
[  1769.825] (II) intel(0): [DRI2]   VDPAU driver: va_gl
[  1769.825] (II) intel(0): direct rendering: DRI2 DRI3 enabled
[  1769.825] (II) intel(0): hardware support for Present enabled
[  1769.825] (--) RandR disabled
[  1769.834] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[  1769.834] (II) AIGLX: enabled GLX_ARB_create_context
[  1769.834] (II) AIGLX: enabled GLX_ARB_create_context_profile
[  1769.834] (II) AIGLX: enabled GLX_EXT_create_context_es{,2}_profile
[  1769.834] (II) AIGLX: enabled GLX_INTEL_swap_event
[  1769.834] (II) AIGLX: enabled GLX_SGI_swap_control
[  1769.834] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
[  1769.834] (II) AIGLX: enabled GLX_ARB_fbconfig_float
[  1769.834] (II) AIGLX: enabled GLX_EXT_fbconfig_packed_float
[  1769.834] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[  1769.834] (II) AIGLX: enabled GLX_ARB_create_context_robustness
[  1769.834] (II) AIGLX: Loaded and initialized i965
[  1769.834] (II) GLX: Initialized DRI2 GL provider for screen 0
[  1769.836] (II) intel(0): switch to mode 1920x1080@60.0 on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none
[  1769.842] (II) intel(0): Setting screen physical size to 338 x 190
[  1769.873] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[  1769.873] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[  1769.873] (II) LoadModule: "libinput"
[  1769.874] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[  1769.874] (II) Module libinput: vendor="X.Org Foundation"
[  1769.874] 	compiled for 1.19.2, module version = 0.25.0
[  1769.874] 	Module class: X.Org XInput Driver
[  1769.874] 	ABI class: X.Org XInput driver, version 24.1
[  1769.874] (II) Using input driver 'libinput' for 'Power Button'
[  1769.875] (II) systemd-logind: got fd for /dev/input/event3 13:67 fd 21 paused 0
[  1769.875] (**) Power Button: always reports core events
[  1769.875] (**) Option "Device" "/dev/input/event3"
[  1769.875] (**) Option "_source" "server/udev"
[  1769.875] (II) input device 'Power Button', /dev/input/event3 is tagged by udev as: Keyboard
[  1769.875] (II) input device 'Power Button', /dev/input/event3 is a keyboard
[  1769.875] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input4/event3"
[  1769.875] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[  1769.876] (II) input device 'Power Button', /dev/input/event3 is tagged by udev as: Keyboard
[  1769.876] (II) input device 'Power Button', /dev/input/event3 is a keyboard
[  1769.876] (II) config/udev: Adding input device Video Bus (/dev/input/event5)
[  1769.876] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[  1769.876] (II) Using input driver 'libinput' for 'Video Bus'
[  1769.876] (II) systemd-logind: got fd for /dev/input/event5 13:69 fd 24 paused 0
[  1769.876] (**) Video Bus: always reports core events
[  1769.876] (**) Option "Device" "/dev/input/event5"
[  1769.876] (**) Option "_source" "server/udev"
[  1769.877] (II) input device 'Video Bus', /dev/input/event5 is tagged by udev as: Keyboard
[  1769.877] (II) input device 'Video Bus', /dev/input/event5 is a keyboard
[  1769.877] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input7/event5"
[  1769.877] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[  1769.877] (II) input device 'Video Bus', /dev/input/event5 is tagged by udev as: Keyboard
[  1769.877] (II) input device 'Video Bus', /dev/input/event5 is a keyboard
[  1769.877] (II) config/udev: Adding input device Lid Switch (/dev/input/event1)
[  1769.877] (II) No input driver specified, ignoring this device.
[  1769.877] (II) This device may have been added with another device file.
[  1769.877] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[  1769.877] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[  1769.877] (II) Using input driver 'libinput' for 'Power Button'
[  1769.878] (II) systemd-logind: got fd for /dev/input/event2 13:66 fd 25 paused 0
[  1769.878] (**) Power Button: always reports core events
[  1769.878] (**) Option "Device" "/dev/input/event2"
[  1769.878] (**) Option "_source" "server/udev"
[  1769.878] (II) input device 'Power Button', /dev/input/event2 is tagged by udev as: Keyboard
[  1769.878] (II) input device 'Power Button', /dev/input/event2 is a keyboard
[  1769.878] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input3/event2"
[  1769.878] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8)
[  1769.878] (II) input device 'Power Button', /dev/input/event2 is tagged by udev as: Keyboard
[  1769.878] (II) input device 'Power Button', /dev/input/event2 is a keyboard
[  1769.879] (II) config/udev: Adding input device Lenovo EasyCamera (/dev/input/event11)
[  1769.879] (**) Lenovo EasyCamera: Applying InputClass "libinput keyboard catchall"
[  1769.879] (II) Using input driver 'libinput' for 'Lenovo EasyCamera'
[  1769.879] (II) systemd-logind: got fd for /dev/input/event11 13:75 fd 26 paused 0
[  1769.879] (**) Lenovo EasyCamera: always reports core events
[  1769.879] (**) Option "Device" "/dev/input/event11"
[  1769.879] (**) Option "_source" "server/udev"
[  1769.880] (II) input device 'Lenovo EasyCamera', /dev/input/event11 is tagged by udev as: Keyboard
[  1769.880] (II) input device 'Lenovo EasyCamera', /dev/input/event11 is a keyboard
[  1769.880] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/input/input13/event11"
[  1769.880] (II) XINPUT: Adding extended input device "Lenovo EasyCamera" (type: KEYBOARD, id 9)
[  1769.880] (II) input device 'Lenovo EasyCamera', /dev/input/event11 is tagged by udev as: Keyboard
[  1769.880] (II) input device 'Lenovo EasyCamera', /dev/input/event11 is a keyboard
[  1769.880] (II) config/udev: Adding input device Ideapad extra buttons (/dev/input/event4)
[  1769.880] (**) Ideapad extra buttons: Applying InputClass "libinput keyboard catchall"
[  1769.880] (II) Using input driver 'libinput' for 'Ideapad extra buttons'
[  1769.881] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 27 paused 0
[  1769.881] (**) Ideapad extra buttons: always reports core events
[  1769.881] (**) Option "Device" "/dev/input/event4"
[  1769.881] (**) Option "_source" "server/udev"
[  1769.881] (II) input device 'Ideapad extra buttons', /dev/input/event4 is tagged by udev as: Keyboard
[  1769.881] (II) input device 'Ideapad extra buttons', /dev/input/event4 is a keyboard
[  1769.881] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1f.0/PNP0C09:00/VPC2004:00/input/input5/event4"
[  1769.881] (II) XINPUT: Adding extended input device "Ideapad extra buttons" (type: KEYBOARD, id 10)
[  1769.881] (II) input device 'Ideapad extra buttons', /dev/input/event4 is tagged by udev as: Keyboard
[  1769.881] (II) input device 'Ideapad extra buttons', /dev/input/event4 is a keyboard
[  1769.881] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=3 (/dev/input/event8)
[  1769.881] (II) No input driver specified, ignoring this device.
[  1769.881] (II) This device may have been added with another device file.
[  1769.881] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=7 (/dev/input/event9)
[  1769.881] (II) No input driver specified, ignoring this device.
[  1769.882] (II) This device may have been added with another device file.
[  1769.882] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=8 (/dev/input/event10)
[  1769.882] (II) No input driver specified, ignoring this device.
[  1769.882] (II) This device may have been added with another device file.
[  1769.882] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event6)
[  1769.882] (II) No input driver specified, ignoring this device.
[  1769.882] (II) This device may have been added with another device file.
[  1769.882] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event7)
[  1769.882] (II) No input driver specified, ignoring this device.
[  1769.882] (II) This device may have been added with another device file.
[  1769.882] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
[  1769.882] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[  1769.882] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[  1769.883] (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 28 paused 0
[  1769.883] (**) AT Translated Set 2 keyboard: always reports core events
[  1769.883] (**) Option "Device" "/dev/input/event0"
[  1769.883] (**) Option "_source" "server/udev"
[  1769.883] (II) input device 'AT Translated Set 2 keyboard', /dev/input/event0 is tagged by udev as: Keyboard
[  1769.883] (II) input device 'AT Translated Set 2 keyboard', /dev/input/event0 is a keyboard
[  1769.883] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input0/event0"
[  1769.883] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 11)
[  1769.883] (II) input device 'AT Translated Set 2 keyboard', /dev/input/event0 is tagged by udev as: Keyboard
[  1769.883] (II) input device 'AT Translated Set 2 keyboard', /dev/input/event0 is a keyboard
[  1769.883] (II) config/udev: Adding input device AlpsPS/2 ALPS GlidePoint (/dev/input/event12)
[  1769.883] (**) AlpsPS/2 ALPS GlidePoint: Applying InputClass "libinput touchpad catchall"
[  1769.883] (II) Using input driver 'libinput' for 'AlpsPS/2 ALPS GlidePoint'
[  1769.884] (II) systemd-logind: got fd for /dev/input/event12 13:76 fd 29 paused 0
[  1769.884] (**) AlpsPS/2 ALPS GlidePoint: always reports core events
[  1769.884] (**) Option "Device" "/dev/input/event12"
[  1769.884] (**) Option "_source" "server/udev"
[  1769.884] (II) input device 'AlpsPS/2 ALPS GlidePoint', /dev/input/event12 is tagged by udev as: Touchpad
[  1769.884] (II) input device 'AlpsPS/2 ALPS GlidePoint', /dev/input/event12 is a touchpad
[  1769.884] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input6/event12"
[  1769.884] (II) XINPUT: Adding extended input device "AlpsPS/2 ALPS GlidePoint" (type: TOUCHPAD, id 12)
[  1769.884] (**) Option "AccelerationScheme" "none"
[  1769.884] (**) AlpsPS/2 ALPS GlidePoint: (accel) selected scheme none/0
[  1769.884] (**) AlpsPS/2 ALPS GlidePoint: (accel) acceleration factor: 2.000
[  1769.884] (**) AlpsPS/2 ALPS GlidePoint: (accel) acceleration threshold: 4
[  1769.884] (II) input device 'AlpsPS/2 ALPS GlidePoint', /dev/input/event12 is tagged by udev as: Touchpad
[  1769.884] (II) input device 'AlpsPS/2 ALPS GlidePoint', /dev/input/event12 is a touchpad
[  1769.885] (II) config/udev: Adding input device AlpsPS/2 ALPS GlidePoint (/dev/input/mouse0)
[  1769.885] (II) No input driver specified, ignoring this device.
[  1769.885] (II) This device may have been added with another device file.
[  1770.257] (II) intel(0): EDID vendor "LGD", prod id 1164
[  1770.257] (II) intel(0): Printing DDC gathered Modelines:
[  1770.257] (II) intel(0): Modeline "1920x1080"x0.0  138.70  1920 1968 2000 2080  1080 1083 1088 1111 -hsync -vsync (66.7 kHz eP)

but indirect glx still doesn't work

$ LIBGL_ALWAYS_INDIRECT=y glxgears
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
X Error of failed request:  255
  Major opcode of failed request:  155 (GLX)
  Minor opcode of failed request:  1 (X_GLXRender)
  Serial number of failed request:  44
  Current serial number in output stream:  154

And just in case,

$ sudo pacman -Q | grep "mesa"
lib32-mesa 17.0.1-2
mesa 17.0.2-2
mesa-demos 8.3.0-2

Should I try a full upgrade from testing (so far it's only mesa 17.0.2-2 from there) ?

Offline

#7 2017-03-22 21:14:51

seth
Member
Registered: 2012-09-03
Posts: 49,985

Re: LIBGL_ALWAYS_INDIRECT doesn't work

exec startkde

Wild guess: suspend the compositor (SHIFT+Alt+F12)

Offline

#8 2017-03-22 21:19:19

divfree
Member
Registered: 2016-06-17
Posts: 9

Re: LIBGL_ALWAYS_INDIRECT doesn't work

Didn't help, same output of glxgears. I even tried xorg-twm before.

Offline

#9 2017-03-23 23:47:40

divfree
Member
Registered: 2016-06-17
Posts: 9

Re: LIBGL_ALWAYS_INDIRECT doesn't work

Little progress by setting Driver "modesetting" in /etc/X11/xorg.conf switching away from the xf86-video-intel driver.
The output of glxinfo has changed:

$ LIBGL_ALWAYS_INDIRECT=y glxinfo
name of display: :0
display: :0  screen: 0
direct rendering: No (LIBGL_ALWAYS_INDIRECT set)
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_profile, 
    GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float, 
    GLX_ARB_framebuffer_sRGB, GLX_ARB_multisample, 
    GLX_EXT_create_context_es2_profile, GLX_EXT_create_context_es_profile, 
    GLX_EXT_fbconfig_packed_float, GLX_EXT_framebuffer_sRGB, 
    GLX_EXT_import_context, GLX_EXT_libglvnd, GLX_EXT_texture_from_pixmap, 
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_INTEL_swap_event, 
    GLX_MESA_copy_sub_buffer, GLX_OML_swap_method, GLX_SGIS_multisample, 
    GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group, 
    GLX_SGI_make_current_read, GLX_SGI_swap_control
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_profile, 
    GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float, 
    GLX_ARB_framebuffer_sRGB, GLX_ARB_get_proc_address, GLX_ARB_multisample, 
    GLX_EXT_buffer_age, GLX_EXT_create_context_es2_profile, 
    GLX_EXT_create_context_es_profile, GLX_EXT_fbconfig_packed_float, 
    GLX_EXT_framebuffer_sRGB, GLX_EXT_import_context, 
    GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, GLX_EXT_visual_rating, 
    GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer, 
    GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer, 
    GLX_MESA_swap_control, GLX_OML_swap_method, GLX_OML_sync_control, 
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, 
    GLX_SGIX_visual_select_group, GLX_SGI_make_current_read, 
    GLX_SGI_swap_control, GLX_SGI_video_sync
GLX version: 1.4
GLX extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_profile, 
    GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float, 
    GLX_ARB_framebuffer_sRGB, GLX_ARB_get_proc_address, GLX_ARB_multisample, 
    GLX_EXT_create_context_es2_profile, GLX_EXT_create_context_es_profile, 
    GLX_EXT_fbconfig_packed_float, GLX_EXT_framebuffer_sRGB, 
    GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, 
    GLX_EXT_visual_rating, GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer, 
    GLX_MESA_multithread_makecurrent, GLX_OML_swap_method, 
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, 
    GLX_SGIX_visual_select_group, GLX_SGI_make_current_read, 
    GLX_SGI_swap_control
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 520 (Skylake GT2) 
OpenGL version string: 1.4 (3.0 Mesa 17.0.1)
OpenGL extensions:
    GL_3DFX_texture_compression_FXT1, GL_APPLE_packed_pixels, 
    GL_ARB_depth_texture, GL_ARB_draw_buffers, GL_ARB_fragment_program, 
    GL_ARB_fragment_program_shadow, GL_ARB_multisample, GL_ARB_multitexture, 
    GL_ARB_occlusion_query, GL_ARB_point_parameters, GL_ARB_point_sprite, 
    GL_ARB_shadow, GL_ARB_texture_border_clamp, GL_ARB_texture_compression, 
    GL_ARB_texture_cube_map, GL_ARB_texture_env_add, 
    GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar, 
    GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat, 
    GL_ARB_texture_non_power_of_two, GL_ARB_texture_rectangle, 
    GL_ARB_transpose_matrix, GL_ARB_vertex_program, GL_ARB_window_pos, 
    GL_ATIX_texture_env_combine3, GL_ATI_draw_buffers, 
    GL_ATI_texture_env_combine3, GL_EXT_abgr, GL_EXT_bgra, 
    GL_EXT_blend_color, GL_EXT_blend_equation_separate, 
    GL_EXT_blend_func_separate, GL_EXT_blend_minmax, GL_EXT_blend_subtract, 
    GL_EXT_copy_texture, GL_EXT_draw_range_elements, GL_EXT_fog_coord, 
    GL_EXT_framebuffer_object, GL_EXT_multi_draw_arrays, GL_EXT_packed_pixels, 
    GL_EXT_point_parameters, GL_EXT_polygon_offset, GL_EXT_rescale_normal, 
    GL_EXT_secondary_color, GL_EXT_separate_specular_color, 
    GL_EXT_shadow_funcs, GL_EXT_stencil_two_side, GL_EXT_stencil_wrap, 
    GL_EXT_subtexture, GL_EXT_texture, GL_EXT_texture3D, 
    GL_EXT_texture_compression_dxt1, GL_EXT_texture_compression_s3tc, 
    GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add, 
    GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3, 
    GL_EXT_texture_filter_anisotropic, GL_EXT_texture_lod_bias, 
    GL_EXT_texture_object, GL_EXT_texture_rectangle, GL_EXT_vertex_array, 
    GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate, 
    GL_MESA_pack_invert, GL_NV_blend_square, GL_NV_depth_clamp, 
    GL_NV_light_max_exponent, GL_NV_texgen_reflection, 
    GL_NV_texture_env_combine4, GL_NV_texture_rectangle, 
    GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp, 
    GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_SUN_multi_draw_arrays

40 GLX Visuals
    visual  x   bf lv rg d st  colorbuffer  sr ax dp st accumbuffer  ms  cav
  id dep cl sp  sz l  ci b ro  r  g  b  a F gb bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------------
0x021 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x022 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x0ae 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x0af 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x0b0 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x0b1 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x0b2 24 tc  0  24  0 r  . .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x0b3 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x0b4 24 tc  0  24  0 r  . .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x0b5 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 Slow
0x0b6 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x0b7 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8 16 16 16  0  0 0 Slow
0x0b8 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  4 1 None
0x0b9 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  8 1 None
0x0ba 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  4 1 None
0x0bb 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  8 1 None
0x0bc 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0  0  0  0  0  0  0  4 1 None
0x0bd 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0  0  0  0  0  0  0  8 1 None
0x0be 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  4 1 None
0x0bf 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  8 1 None
0x0c0 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x0c1 24 dc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x0c2 24 dc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x0c3 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x0c4 24 dc  0  24  0 r  . .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x0c5 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x0c6 24 dc  0  24  0 r  . .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x0c7 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x0c8 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 Slow
0x0c9 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x0ca 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8 16 16 16  0  0 0 Slow
0x0cb 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  4 1 None
0x0cc 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  8 1 None
0x0cd 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  4 1 None
0x0ce 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  8 1 None
0x0cf 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0  0  0  0  0  0  0  4 1 None
0x0d0 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0  0  0  0  0  0  0  8 1 None
0x0d1 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  4 1 None
0x0d2 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  8 1 None
0x06d 32 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None

64 GLXFBConfigs:
    visual  x   bf lv rg d st  colorbuffer  sr ax dp st accumbuffer  ms  cav
  id dep cl sp  sz l  ci b ro  r  g  b  a F gb bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------------
0x06e  0 tc  0  16  0 r  y .   5  6  5  0 .  .  0  0  0  0  0  0  0  0 0 None
0x06f  0 tc  0  16  0 r  . .   5  6  5  0 .  .  0  0  0  0  0  0  0  0 0 None
0x070  0 tc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0  0  0  0  0  0 0 None
0x071  0 tc  0  16  0 r  . .   5  6  5  0 .  .  0 16  0  0  0  0  0  0 0 None
0x072  0 tc  0  16  0 r  y .   5  6  5  0 .  .  0 24  8  0  0  0  0  0 0 None
0x073  0 tc  0  16  0 r  . .   5  6  5  0 .  .  0 24  8  0  0  0  0  0 0 None
0x074 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x075 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x076 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x077 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x078 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x079 24 tc  0  24  0 r  . .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x07a 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x07b 24 tc  0  24  0 r  . .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x07c  0 tc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0  0  0  0  0  0 0 None
0x07d  0 tc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0 16 16 16  0  0 0 Slow
0x07e 32 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x07f 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 Slow
0x080 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x081 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8 16 16 16  0  0 0 Slow
0x082  0 tc  0  16  0 r  y .   5  6  5  0 .  .  0  0  0  0  0  0  0  4 1 None
0x083  0 tc  0  16  0 r  y .   5  6  5  0 .  .  0  0  0  0  0  0  0  8 1 None
0x084  0 tc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0  0  0  0  0  4 1 None
0x085  0 tc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0  0  0  0  0  8 1 None
0x086 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  4 1 None
0x087 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  8 1 None
0x088 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  4 1 None
0x089 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  8 1 None
0x08a 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0  0  0  0  0  0  0  4 1 None
0x08b 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0  0  0  0  0  0  0  8 1 None
0x08c 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  4 1 None
0x08d 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  8 1 None
0x08e  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0  0  0  0  0  0  0  0 0 None
0x08f  0 dc  0  16  0 r  . .   5  6  5  0 .  .  0  0  0  0  0  0  0  0 0 None
0x090  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0  0  0  0  0  0 0 None
0x091  0 dc  0  16  0 r  . .   5  6  5  0 .  .  0 16  0  0  0  0  0  0 0 None
0x092  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0 24  8  0  0  0  0  0 0 None
0x093  0 dc  0  16  0 r  . .   5  6  5  0 .  .  0 24  8  0  0  0  0  0 0 None
0x094 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x095 24 dc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x096 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x097 24 dc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x098 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x099 24 dc  0  24  0 r  . .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x09a 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x09b 24 dc  0  24  0 r  . .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x09c  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0  0  0  0  0  0 0 None
0x09d  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0 16 16 16  0  0 0 Slow
0x09e 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x09f 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 Slow
0x0a0 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x0a1 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8 16 16 16  0  0 0 Slow
0x0a2  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0  0  0  0  0  0  0  4 1 None
0x0a3  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0  0  0  0  0  0  0  8 1 None
0x0a4  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0  0  0  0  0  4 1 None
0x0a5  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0  0  0  0  0  8 1 None
0x0a6 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  4 1 None
0x0a7 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  8 1 None
0x0a8 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  4 1 None
0x0a9 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  8 1 None
0x0aa 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0  0  0  0  0  0  0  4 1 None
0x0ab 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0  0  0  0  0  0  0  8 1 None
0x0ac 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  4 1 None
0x0ad 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  8 1 None

Field OpenGL vendor is not empty anymore. Now glxgears is able to draw one frame, but still crashes after that

$ LIBGL_ALWAYS_INDIRECT=y glxgears
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
X Error of failed request:  255
  Major opcode of failed request:  155 (GLX)
  Minor opcode of failed request:  1 (X_GLXRender)
  Serial number of failed request:  46
  Current serial number in output stream:  136

Last edited by divfree (2017-03-23 23:51:12)

Offline

#10 2017-04-20 20:08:59

seth
Member
Registered: 2012-09-03
Posts: 49,985

Re: LIBGL_ALWAYS_INDIRECT doesn't work

Sorry for the delay.
This seems to be https://bugs.freedesktop.org/show_bug.cgi?id=99555

Offline

Board footer

Powered by FluxBB