[vtkusers] VTK & DRI on Debian

Rolf Mueller rolfm at mip.sdu.dk
Mon Mar 8 03:20:21 EST 2004


Dear VTK Users,

I am trying to use the VTK CVS version on Debian unstable with DRI. I
have an ATI Radeon Mobility 7500 graphics card and I have installed
the xserver-xfree86 and xlibmesa-dri packages (both version
4.3.0-5). glxinfo tells me that DRI is enabled, and glxgears runs fine
(frame rate > 1000 fps), i.e.:

LIBGL_DEBUG=verbose glxgears
libGL: XF86DRIGetClientDriverName: 4.0.1 radeon (screen 0)
libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/radeon_dri.so
libGL: XF86DRIGetClientDriverName: 4.0.1 radeon (screen 0)
drmOpenByBusid: busid is PCI:1:0:0
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: drmOpenMinor returns 4
drmOpenByBusid: drmGetBusid reports PCI:1:0:0
5104 frames in 5.0 seconds = 1020.800 FPS

If I try vtk, I get:

LIBGL_DEBUG=verbose vtk Cone.tcl
libGL: XF86DRIGetClientDriverName: 4.0.1 radeon (screen 0)
libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/radeon_dri.so
libGL: XF86DRIGetClientDriverName: 4.0.1 radeon (screen 0)
drmOpenByBusid: busid is PCI:1:0:0
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenByBusid: drmOpenMinor returns 7
drmOpenByBusid: drmGetBusid reports PCI:1:0:0
GL User Error: calling glMatrixMode(0x1700); without a current context
GL User Error: calling glDepthFunc(0x203); without a current context
GL User Error: calling glEnable(0xb71); without a current context
GL User Error: calling ; without a current context

... and so on, presumably for all gl-functions called. The window
opens and closes as it should, but it displays only a collection of
images which were brought to the screen previously by other programs.

Both glxgears and libvtkRendering(TCL) are linked against the same
version of libGL); I wonder if anybody has an idea as to what may be
going wrong here?

TIA
Rolf

-- 
Rolf Mueller,           http://www.mip.sdu.dk/~rolfm
Maersk Institute, University of Southern Denmark
Campusvej 55, DK-5230 Odense M, Denmark
Phone ++45 6550 3655  Fax. ++45 6615 7697



More information about the vtkusers mailing list