Platform: G965(ia32e) kernel: 2.6.19-rc3 Mesa: CVS upstream run mesa/progs/xdemos/glxpixmap will get the error, run mesa/progs/xdemos/glxpixmap, will get the error, ----- Direct rendering: No X Error of failed request: GLXBadContext Major opcode of failed request: 143 (GLX) Minor opcode of failed request: 5 (X_GLXMakeCurrent) Serial number of failed request: 30 Current serial number in output stream: 30 ----- but the Direct rendering is Yes, which glxinfo told.
Created attachment 7922 [details] xorg.log
Created attachment 7923 [details] xorg.conf
This error also happens on i915.
I have this problem too with my 00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03) On fedora core 6
*** Bug 9273 has been marked as a duplicate of this bug. ***
Created attachment 8072 [details] ldd glxinfo and ldd glxpixmap update : still happens with libdrm-2.3.0 and Mesa-6.5.2 glxinfo says direct rendering: Yes and glxpixmap say Direct rendering: No
*** Bug 9482 has been marked as a duplicate of this bug. ***
I upgrade from xorg-x11-drv-i810-1.7.3 to xorg-x11-drv-i810-1.7.4 , glxpixmap still the same , but glxdemo and others glxdemos give me this message : libGL warning: 3D driver claims to not support visual 0x5b do_wait: drmWaitVBlank returned -1, IRQs don't seem to be working correctly. Try running with LIBGL_THROTTLE_REFRESH and LIBL_SYNC_REFRESH unset. I had test it with kernel-2.6.18-1.2869.fc6 and kernel-2.6.15-1.2054_FC5 which give exactly the same results.
(In reply to comment #8) > I upgrade from xorg-x11-drv-i810-1.7.3 to xorg-x11-drv-i810-1.7.4 , That's the only difference? A single line of code changed between these, which should only affect traditional dualhead configurations. > glxpixmap still the same , Yes, rendering to GLXPixmaps just isn't supported yet. > do_wait: drmWaitVBlank returned -1, IRQs don't seem to be working correctly. > Try running with LIBGL_THROTTLE_REFRESH and LIBL_SYNC_REFRESH unset. That's a different issue. If you can't resolve this, please file a new bug and attach the full xorg.conf and Xorg.0.log files. > I had test it with kernel-2.6.18-1.2869.fc6 and > kernel-2.6.15-1.2054_FC5 which give exactly the same results. Can you try drm git?
with git drm: LIBGL_DEBUG=verbose glxinfo name of display: :0.0 libGL: XF86DRIGetClientDriverName: 1.7.4 i915tex (screen 0) libGL: OpenDriver: trying /usr/lib/dri/i915tex_dri.so drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 4, (OK) drmOpenByBusid: Searching for BusID pci:0000:00:02.0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 4, (OK) drmOpenByBusid: drmOpenMinor returns 4 drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0 Error -12 Failed to initialize batch pool - possible incorrect agpgart installed libGL warning: 3D driver returned no fbconfigs. libGL error: InitDriver failed libGL error: reverting to (slow) indirect rendering display: :0 screen: 0 direct rendering: No Xorg.0.log says that DRI is enable but gives this errors : cat /var/log/Xorg.0.log| grep "EE\|WW\|AIG" (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (II) Loading extension MIT-SCREEN-SAVER (==) AIGLX enabled (WW) I810: No matching Device section for instance (BusID PCI:0:2:1) found (WW) I810(0): Bad V_BIOS checksum (WW) I810(0): Bad V_BIOS checksum (WW) I810(0): Bad V_BIOS checksum (WW) I810(0): Extended BIOS function 0x5f05 failed. (EE) AIGLX error: Calling driver entry point failed(EE) AIGLX: reverting to software rendering
(In reply to comment #10) > drmOpenByBusid: drmOpenMinor returns 4 > drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0 > Error -12 > Failed to initialize batch pool - possible incorrect agpgart installed > libGL warning: 3D driver returned no fbconfigs. > libGL error: InitDriver failed > libGL error: reverting to (slow) indirect rendering googling around goes here http://lists.freedesktop.org/archives/xorg/2007-January/020811.html I try Option "Legacy3D" and after disable AIGLX Section "ServerFlags" Option "AIGLX" "off" EndSection Section "Extensions" Option "Composite" "Disable" EndSection glxpixmap did work ! (without DRI but works ) and I could play or see cold_war demo in action I'd like try the advanced functionality of the i915tex 3D driver but could compile linux-agp-compat , How I do this ? Conclusion , I think when drmOpenByBusid fail to open device should, fallback to Legacy3D, if it is possible. Because now, this scenario almost hang when I shut down X-windows.
I just had install new i915 drm with new linux-agp-compat, but things don't change much about this glxpixmap bug. Seems to me be a bug on AIGLX because as I write on #11, if I turn off AIGLX, glxpixmap works.
The bug priority was upgraded (P2->high) with the bugzilla configuration change. I'm Changing the priority back to the normal one. Sorry for the spam.
*** Bug 11162 has been marked as a duplicate of this bug. ***
*** Bug 13214 has been marked as a duplicate of this bug. ***
*** Bug 13764 has been marked as a duplicate of this bug. ***
Eric, Is this get fixed in TTM?
gordon, could we re-test this on stable release and upstream? thanks.
Eric says this will be fixed in DRI2.
This has been fixed in DRI2 (setting UXA with the lastet driver).
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.