GLX works... But glxgears doesn't...

Jerome Glisse j.glisse at gmail.com
Sat Jul 8 06:12:07 PDT 2006


On 7/8/06, Erwin Rol <mailinglists at erwinrol.com> wrote:
> On Sat, 2006-07-08 at 10:54 +0100, Hamish wrote:
> > I'm running an X550 (256MB Saphire) on a 2.6.17.1 kernel, AMD x2 4200+, socket
> > 939 and 3GB of ram. I have the ati drivers from git. (About a week old).
> > Google earth runs fine, a bit stodgy sometimes, glxinfo reports I have dri
> > etc, but glxgears exits with a DRM error, and dmesg shows
> >
> > hamish at damned ~ $ glxgears
> > drmRadeonCmdBuffer: -22 (exiting)
> > hamish at damned ~ $ dmesg|tail
> > [drm] writeback test succeeded in 1 usecs
> > [drm] Setting GART location based on new memory map
> > [drm] Loading R300 Microcode
> > [drm] writeback test succeeded in 1 usecs
> > [drm:r300_emit_3d_load_vbpntr] *ERROR* Offset failed range check (k=0 i=2)
> > while processing 3D_LOAD_VBPNTR packet.
> > [drm:r300_emit_packet3] *ERROR* r300_emit_raw_packet3 failed
> > [drm:r300_do_cp_cmdbuf] *ERROR* r300_emit_packet3 failed
> > [drm:r300_emit_3d_load_vbpntr] *ERROR* Offset failed range check (k=0 i=2)
> > while processing 3D_LOAD_VBPNTR packet.
> > [drm:r300_emit_packet3] *ERROR* r300_emit_raw_packet3 failed
> > [drm:r300_do_cp_cmdbuf] *ERROR* r300_emit_packet3 failed
> >
> > Setting LIBGL_DEBUG doesn't give a great deal more (Except missing drirc)
> >
> > hamish at damned ~ $  export LIBGL_DEBUG=verbose
> > hamish at damned ~ $ glxgears
> > libGL: XF86DRIGetClientDriverName: 4.1.0 r300 (screen 0)
> > libGL: OpenDriver: trying /usr/lib64/dri/tls/r300_dri.so
> > libGL: OpenDriver: trying /usr/lib64/dri/r300_dri.so
> > drmOpenByBusid: Searching for BusID pci:0000:01:00.0
> > drmOpenDevice: node name is /dev/dri/card0
> > drmOpenDevice: open result is 4, (OK)
> > drmOpenByBusid: drmOpenMinor returns 4
> > drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
> > libGL error:
> > Can't open configuration file /etc/drirc: No such file or directory.
> > libGL error:
> > Can't open configuration file /home/hamish/.drirc: No such file or directory.
> > drmRadeonCmdBuffer: -22 (exiting)
> > hamish at damned ~ $
> >
> >
> > Any quick ideas (For finding more info about what's happening)? Failing that,
> > it's code reading time for me when I get home.
>
> I have the same problem with my;
>
> 01:00.0 VGA compatible controller: ATI Technologies Inc RV370 5B60 [Radeon X300 (PCIE)]
> 01:00.1 Display controller: ATI Technologies Inc RV370 [Radeon X300SE]
>
> glxinfo shows it has direct rendering, but glxgears gives the same error
> as described above. The rest "normal X" seems to work fine.
>
> - Erwin

Please try with DRM & libdrm from CVS.

best,
Jerome Glisse



More information about the xorg mailing list