"LIBGL_DEBUG=verbose glxinfo" in current CVS (CVS drm modules + Mesa + xorg-server + xorg-proto-devel + libdrm, xf86-video-i810 1.5.0.0, everything else from X.org 7.0) on an i915 results in name of display: :0.0 libGL: XF86DRIGetClientDriverName: 1.5.0 i915 (screen 0) libGL: OpenDriver: trying /usr/lib/dri/i915_dri.so drmOpenByBusid: Search for BusID pci:0000:00:02.0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 5, (OK) drmOpenByBusid: drmOpenMinor returns 5 drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0 libGL error: drmMap of framebuffer failed (Invalid argument) libGL error: reverting to (slow) indirect rendering Except for a line saying "Bad V_BIOS checksum", everything in the X startup logs (including the DRI/DRM related parts, and "direct rendering: Enabled") looks right. 2D acceleration works fine.
Update your xorg i810 driver from CVS. It's already fixed.
Created attachment 5766 [details] Xorg.0.log file
I have seen this message when start compiz. I am using packages for ubuntu and I followed steps to get it installed with this howto: http://www.ubuntuforums.org/showthread.php?t=145068 However when I start compiz maually this is what it shows. $compiz-start libGL error: drmMap of framebuffer failed (Invalid argument) libGL error: reverting to (slow) indirect rendering compiz.real: No stencil buffer. Clipping of transformed windows is not going to be correct when screen is transformed. I am using xorg-air I attached /var/log/Xorg.0.log
Using laptop dell inspiron i915
Not fixed for me. LIBGL_DEBUG=verbose glxinfo name of display: :0.0 libGL: XF86DRIGetClientDriverName: 1.7.0 i915 (screen 0) libGL: OpenDriver: trying /usr/lib/dri/tls/i915_dri.so libGL: OpenDriver: trying /usr/lib/dri/i915_dri.so 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 libGL error: drmMap of framebuffer failed (Invalid argument) libGL error: reverting to (slow) indirect rendering display: :0 screen: 0 * media-libs/mesa Installed: 6.5.1-r1 * sys-kernel/gentoo-sources Installed: 2.6.17-r8 * x11-base/xorg-server Installed: 1.1.1-r1 * x11-drivers/xf86-video-i810 Installed: 1.7.0-r1 * x11-libs/libdrm Installed: 2.0.2
Hmm, it goes away when I turn off the Rotate option. Perhaps it should be mentioned in the man page that Rotate does not work with DRI/OpenGL/whatever?
There also a report of this on the Gentoo bugzilla: http://bugs.gentoo.org/show_bug.cgi?id=201030
This was working with x11-drivers/xf86-video-i810-2.1.1 but is broken in 2.2.0 and 2.2.1_pre20080123 My information: LIBGL_DEBUG=verbose glxinfo name of display: :0.0 libGL: XF86DRIGetClientDriverName: 1.9.0 i915 (screen 0) libGL: OpenDriver: trying /usr/lib/dri/i915_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 libGL error: drmMap of framebuffer failed (Invalid argument) libGL error: reverting to (slow) indirect rendering display: :0 screen: 0 direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose) sys-kernel/gentoo-sources-2.6.23-r6 media-libs/mesa-7.0.2 x11-base/xorg-server-1.4.0.90-r2 x11-libs/libdrm-2.3.0 x11-drivers/xf86-video-i810-2.2.1_pre20080123
Gordon, this bug is still happening with the 2.2.1 snapshot I took yesterday. Is this related at all to the intel driver? maybe the kernel drm?
I heard such error went away after upgrading xserver from 1.3 to 1.4: http://lists.freedesktop.org/archives/xorg/2007-October/028963.html Can you try that?
(In reply to comment #10) > I heard such error went away after upgrading xserver from 1.3 to 1.4: > http://lists.freedesktop.org/archives/xorg/2007-October/028963.html > > Can you try that? > I am using x11-base/xorg-server-1.4.0.90-r2 from Gentoo portage. Is there a newer version I should try? I should also note that I tried the snapshot version with and without: Option "CacheLines" "800" in the Device section. This was needed to get OpenGL working with x11-drivers/xf86-video-i810-2.1.1.
x11-drivers/xf86-video-i810-2.2.1_pre20080125 from gentoo portage gives the same results.
(In reply to comment #8) > This was working with x11-drivers/xf86-video-i810-2.1.1 but is broken in 2.2.0 > and 2.2.1_pre20080123 > > My information: > > LIBGL_DEBUG=verbose glxinfo > name of display: :0.0 > libGL: XF86DRIGetClientDriverName: 1.9.0 i915 (screen 0) > libGL: OpenDriver: trying /usr/lib/dri/i915_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 > libGL error: drmMap of framebuffer failed (Invalid argument) > libGL error: reverting to (slow) indirect rendering > display: :0 screen: 0 > direct rendering: No (If you want to find out why, try setting > LIBGL_DEBUG=verbose) > > > sys-kernel/gentoo-sources-2.6.23-r6 > media-libs/mesa-7.0.2 > x11-base/xorg-server-1.4.0.90-r2 > x11-libs/libdrm-2.3.0 > x11-drivers/xf86-video-i810-2.2.1_pre20080123 > the order of compiling things matters , 1ª kernel and libdrm 2ª mesa 3º xorg-server with mesa sources 4º xf86-video-i810
(In reply to comment #13) > the order of compiling things matters , > 1ª kernel and libdrm > 2ª mesa > 3º xorg-server with mesa sources > 4º xf86-video-i810 Wait, but how does it come to this: everything worked with 2.1.1, but now the only thing that has changed it's the driver (xf86-video-i810 2.1.1->2.2.1) And as there are no reverse deps, the list you've provided has already kernel, librdm, mesa and xorg-server compiled. Now we got the change of driver's version, we compile only it. Correct me if I'm wrong, thanks -- sledge
(In reply to comment #14) > (In reply to comment #13) > > the order of compiling things matters , > > 1ª kernel and libdrm > > 2ª mesa > > 3º xorg-server with mesa sources > > 4º xf86-video-i810 > > Wait, but how does it come to this: everything worked with 2.1.1, but now the > only thing that has changed it's the driver (xf86-video-i810 2.1.1->2.2.1) > > And as there are no reverse deps, the list you've provided has already kernel, > librdm, mesa and xorg-server compiled. > > Now we got the change of driver's version, we compile only it. > > Correct me if I'm wrong, thanks the "drmMap of framebuffer failed (Invalid argument)", seems to me, that happens , or happen to me , to be more correctly, when I had use a git libdrm , and not the released libdrm-2.3.0. My theory, I don't read all report, is a wrong compiling order things, which is not invalid if is worked with 2.1.1 , because the 2.2.1 has stuff to work with stable and stuff to work with git drm. So for clearly things . Make sure that you have lidrm 2.3.0 installed without any git stuff, and recompile mesa 7.0.x after that recompile xorg-server 1.4.0.x
It works for me after upgrading everything (libdrm, mesa, xserver) to current git, so that set of upgrades may be another solution.
(In reply to comment #15) > the "drmMap of framebuffer failed (Invalid argument)", seems to me, that > happens , or happen to me , to be more correctly, when I had use a git libdrm , > and not the released libdrm-2.3.0. > My theory, I don't read all report, is a wrong compiling order things, which is > not invalid if is worked with 2.1.1 , because the 2.2.1 has stuff to work with > stable and stuff to work with git drm. > So for clearly things . > Make sure that you have lidrm 2.3.0 installed without any git stuff, and > recompile mesa 7.0.x after that recompile xorg-server 1.4.0.x I re-emerged (recompiled, Gentoo) the following in this order: emerge (1 of 4) x11-libs/libdrm-2.3.0 emerge (2 of 4) media-libs/mesa-7.0.2 emerge (3 of 4) x11-base/xorg-server-1.3.0.0-r5 emerge (4 of 4) x11-drivers/xf86-video-i810-2.2.1_pre20080125 but it didn't solve the problem. Would eventually try the git`ted ones, if you won't point out any other alternatives.. Thanks!
Try rebuiding with xorg 1.4.0.90
(In reply to comment #18) > Try rebuiding with xorg 1.4.0.90 > Yes, thank you, this worked. So now the git-free solving combination is this: (Gentoo portage latest versions): x11-libs/libdrm-2.3.0 media-libs/mesa-7.0.2 x11-base/xorg-server-1.4.0.90-r3 x11-drivers/xf86-video-i810-2.2.1_pre20080125 For the gentoo folks to take off the burden: echo x11-base/xorg-server >> /etc/portage/package.keywords echo x11-libs/xtrans >> /etc/portage/package.keywords echo x11-proto/renderproto >> /etc/portage/package.keywords echo x11-libs/libXrender >> /etc/portage/package.keywords echo x11-drivers/xf86-input-keyboard >> /etc/portage/package.keywords echo x11-libs/pixman >> /etc/portage/package.keywords echo x11-libs/xtrans >> /etc/portage/package.unmask echo x11-proto/renderproto >> /etc/portage/package.unmask echo x11-libs/libXrender >> /etc/portage/package.unmask echo x11-drivers/xf86-input-keyboard >> /etc/portage/package.unmask echo x11-libs/pixman >> /etc/portage/package.unmask after xf86-video-i810 emerge xf86-input-mouse, too
Sorry I haven't replied earlier. Real life got in the way. I'm still getting this error. Currently I've got: sys-kernel/gentoo-sources-2.6.25-r1 x11-libs/libdrm-2.3.0 media-libs/mesa-7.0.3 x11-base/xorg-server-1.4.0.90-r3 x11-drivers/xf86-video-i810-2.3.0 Is there anyway to get better diagnostics than from "LIBGL_DEBUG=verbose glxinfo". "Invalid argument" isn't much to go on.
Could you close this bug ? since things seems to working.
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.