After an update from kernel 2.6.25 with DRM modules from a 2008/04/18 git checkout to kernel 2.6.25.1 with DRM modules from today's git, applications using DRI fail on startup, saying DRM_I915_EXECBUFFER: -22 Userland is today's git xserver and mesa and xf86-video-intel-2.3.0. The same userland works well when booting into the old kernel. With the new kernel: $ LIBGL_DEBUG=verbose etracer [...] libGL: XF86DRIGetClientDriverName: 1.9.0 i915 (screen 0) libGL: OpenDriver: trying /usr/lib/dri/tls/i915_dri.so libGL: OpenDriver: trying /usr/lib/dri/i915_dri.so drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 8, (OK) drmOpenByBusid: Searching for BusID pci:0000:00:02.0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 8, (OK) drmOpenByBusid: drmOpenMinor returns 8 drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0 libGL error: Can't open configuration file /etc/drirc: No such file or directory. libGL error: Can't open configuration file /home/arklinux/.drirc: No such file or directory. DRM_I915_EXECBUFFER: -22 $ dmesg [drm] Initialized i915 1.13.0 20080312 on minor 0 [drm] Used old pci detect: framebuffer loaded: [drm:drm_lookup_buffer_object] *ERROR* Could not find buffer object 0x00000010 [drm:i915_validate_buffer_list] *ERROR* error on handle validate -22 There is nothing unusual in Xorg.0.log. Chipset is a 945GM (PCI ID 8086:27a2, subsystem 17c0:4070)
git bisect results: feff72929e94b6c17e352a2ec86b3440b9edf059 is first bad commit commit feff72929e94b6c17e352a2ec86b3440b9edf059 Author: Xiang, Haihao <haihao.xiang@intel.com> Date: Wed Apr 23 17:16:53 2008 +0800 i915: fix for compatibility mode :040000 040000 e4b25270c016215377ce0438ff955945fff949c9 05bd5c5213e98211335f74b8007d0ced6db0381f M shared-core
That commit looks harmless, probably it's just a matter of having to recompile the driver after making sure the current i915_drm.h is in the system...
Yes, it's an undetected ABI change. Installing libdrm from git and then rebuilding mesa against it fixes the problem. It would still be nice if the driver detected it and gave a more useful error message.
I'm closing since no one showed interest in the follow-up, and it's trivial.
Mass version move, cvs -> git
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.