Created attachment 30122 [details] dmesg output with KMS kernel With KMS from the drm-2.6 git tree, I get the following error running "LIBGL_DEBUG=verbose glxinfo": libGL: OpenDriver: trying /opt/xorg-ati-free/lib64/dri//r600_dri.so libGL error: failed to create dri screen libGL: OpenDriver: trying /opt/xorg-ati-free/lib64/dri//swrast_dri.so I also get the following in Xorg.0.log: (EE) AIGLX error: Calling driver entry point failed (EE) AIGLX: reverting to software rendering (II) AIGLX: Screen 0 is not DRI capable even though: (II) RADEON(0): Direct rendering enabled None of these errors are present without KMS. Attached are dmesg output, Xorg.0.log and the output of glxinfo, for the same kernel both with and without KMS enabled.
Created attachment 30123 [details] Xorg log with KMS kernel
Created attachment 30124 [details] Output of "LIBGL_DEBUG=verbose glxinfo" with KMS kernel
Created attachment 30125 [details] dmesg output with non-KMS kernel
Created attachment 30126 [details] Xorg log with non-KMS kernel
Created attachment 30127 [details] Output of "LIBGL_DEBUG=verbose glxinfo" with non-KMS kernel
Did you build mesa against libdrm_radeon?
I'm not sure what it means to build mesa against libdrm_radeon. There is a libdrm_radeon.so library but libGL.so doesn't depend on it. What exactly does is mean to build mesa against libdrm_radeon?
(In reply to comment #7) > I'm not sure what it means to build mesa against libdrm_radeon. There is a > libdrm_radeon.so library but libGL.so doesn't depend on it. What exactly does > is mean to build mesa against libdrm_radeon? > libdrm_radeon is in the libdrm tree and provides the memory manager interface needed for the ddx and mesa when used with KMS. The radeon 3D drivers (radeon, r200, r300, r600) need to be built against libdrm_radeon if you want to use them with KMS. The mesa build system should pick it up if it's present on your system.
I checked the config.log and found warnings about libdrm_radeon not being found. I configured and installed the tree again. The glxinfo errors have gone away, it reports OpenGL renderer string: Mesa DRI R600 (RV770 9442) 20090101 TCL DRI2 and glxgears works. Although I would point out that glxinfo still reports the following: do_wait: drmWaitVBlank returned -1, IRQs don't seem to be working correctly. Try adjusting the vblank_mode configuration parameter. Regardless, the major issue is resolved, thanks.
(In reply to comment #9) > and glxgears works. Although I would point out that glxinfo still reports the > following: > > do_wait: drmWaitVBlank returned -1, IRQs don't seem to be working correctly. > Try adjusting the vblank_mode configuration parameter. You can ignore this for now. irqs aren't implemented yet on r6xx/r7xx hw.
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.