I have a Compaq Armada m300 with an "ATI Technologies Inc 3D Rage LT Pro rev 220" according to XFree86.0.log
I am running Fedora Core 1.
I first tried installing the binaries from the dri project, but when I tried to restart X I got error messages saying it couldn't open the virtual console. So I uninstalled, got the dri/drm/mesa sources and built/installed. X starts fine, and DRI is now a listed extension. glxinfo runs. But... when I try to run glxgears the screen gets garbled and the system hangs.
I have run glxinfo using this script:
-----
#!/bin/sh
export MACH64_DEBUG=all
#export MACH64_NO_IRQS=1
export LIBGL_DEBUG=verbose
#export LIBGL_ALWAYS_INDIRECT=1
#export LIBGL_SOFTWARE_RENDERING=1
#export LIBGL_THROTTLE_REFRESH=1
glxinfo > glxinfo.out 2> glxinfo.err -----
and I get this output
:::::::::::::: glxinfo.out :::::::::::::: name of display: :0.0 display: :0 screen: 0 direct rendering: Yes server glx vendor string: SGI server glx version string: 1.2 server glx extensions: GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context, GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_fbconfig client glx vendor string: SGI client glx version string: 1.4 client glx extensions: GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory, GLX_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_OML_sync_control, GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group GLX extensions: GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_visual_select_group OpenGL vendor string: Gareth Hughes, Leif Delgass, Jos? Fonseca OpenGL renderer string: Mesa DRI Mach64 [Rage Pro] 20030502 x86/MMX OpenGL version string: 1.2 Mesa 6.1 OpenGL extensions: GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_transpose_matrix, GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color, GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_clip_volume_hint, GL_EXT_compiled_vertex_array, GL_EXT_convolution, GL_EXT_copy_texture, GL_EXT_draw_range_elements, GL_EXT_histogram, GL_EXT_packed_pixels, GL_EXT_polygon_offset, GL_EXT_rescale_normal, GL_EXT_separate_specular_color, GL_EXT_subtexture, GL_EXT_texture, GL_EXT_texture3D, GL_EXT_texture_edge_clamp, GL_EXT_texture_object, GL_EXT_vertex_array, GL_APPLE_packed_pixels, GL_IBM_rasterpos_clip, GL_MESA_ycbcr_texture, GL_MESA_window_pos, GL_NV_light_max_exponent, GL_NV_texgen_reflection, GL_SGI_color_matrix, GL_SGI_color_table, GL_SGIS_generate_mipmap, GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod glu version: 1.3 glu extensions: GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess
visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat ---------------------------------------------------------------------- 0x23 16 tc 0 16 0 r . . 5 6 5 0 0 16 0 0 0 0 0 0 0 None 0x24 16 tc 0 16 0 r . . 5 6 5 0 0 16 8 0 0 0 0 0 0 Slow 0x25 16 tc 0 16 0 r . . 5 6 5 0 0 16 0 16 16 16 0 0 0 Slow 0x26 16 tc 0 16 0 r . . 5 6 5 0 0 16 8 16 16 16 0 0 0 Slow 0x27 16 tc 0 16 0 r y . 5 6 5 0 0 16 0 0 0 0 0 0 0 None 0x28 16 tc 0 16 0 r y . 5 6 5 0 0 16 8 0 0 0 0 0 0 Slow 0x29 16 tc 0 16 0 r y . 5 6 5 0 0 16 0 16 16 16 0 0 0 Slow 0x2a 16 tc 0 16 0 r y . 5 6 5 0 0 16 8 16 16 16 0 0 0 Slow 0x2b 16 dc 0 16 0 r . . 5 6 5 0 0 16 0 0 0 0 0 0 0 None 0x2c 16 dc 0 16 0 r . . 5 6 5 0 0 16 8 0 0 0 0 0 0 Slow 0x2d 16 dc 0 16 0 r . . 5 6 5 0 0 16 0 16 16 16 0 0 0 Slow 0x2e 16 dc 0 16 0 r . . 5 6 5 0 0 16 8 16 16 16 0 0 0 Slow 0x2f 16 dc 0 16 0 r y . 5 6 5 0 0 16 0 0 0 0 0 0 0 None 0x30 16 dc 0 16 0 r y . 5 6 5 0 0 16 8 0 0 0 0 0 0 Slow 0x31 16 dc 0 16 0 r y . 5 6 5 0 0 16 0 16 16 16 0 0 0 Slow 0x32 16 dc 0 16 0 r y . 5 6 5 0 0 16 8 16 16 16 0 0 0 Slow
::::::::::::::
glxinfo.err
::::::::::::::
libGL: XF86DRIGetClientDriverName: 6.5.3 mach64 (screen 0)
libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/mach64_dri.so
drmOpenByBusid: Searching for BusID pci:0000:00:05.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: drmOpenMinor returns 4
drmOpenByBusid: drmGetBusid reports pci:0000:00:05.0
libGL error:
Can't open configuration file /etc/drirc: No such file or directory.
libGL error:
Can't open configuration file /home/birger/.drirc: No such file or directory.
mach64UpdateClipping: drawable 0 0 100 100
mach64UpdateClipping: scissor 0 0 0 0
mach64UpdateClipping: final 0 0 99 99
mach64DestroyScreen
At least I can't see anything that seems wrong here... So I try glxgears using this script
----- #!/bin/sh export MACH64_DEBUG=all export MACH64_NO_IRQS=1 export LIBGL_DEBUG=verbose export LIBGL_ALWAYS_INDIRECT=1 export LIBGL_SOFTWARE_RENDERING=1 export LIBGL_THROTTLE_REFRESH=1
glxgears > glxgears.out 2> glxgears.err -----
It runs nicely, and says 411 frames in 5.0 seconds = 82.200 FPS
Wow! That's faster than with the stock ati driver that came with fc1. But I want direct rendering, so I try again with
----- #!/bin/sh export MACH64_DEBUG=all export MACH64_NO_IRQS=1 export LIBGL_DEBUG=verbose #export LIBGL_ALWAYS_INDIRECT=1 #export LIBGL_SOFTWARE_RENDERING=1 export LIBGL_THROTTLE_REFRESH=1
glxgears > glxgears.out 2> glxgears.err -----
I can see the window open, and then I get a mostly black screen with pulsating white lines. No reaction to anything on the keyboard.
After a reboot I find:
glxgears.out is empty
glxgears.err is quite large (almost a MB), so the application seems to be running.
Here is the beginning and the end of the file.
-----
libGL: XF86DRIGetClientDriverName: 6.5.3 mach64 (screen 0)
libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/mach64_dri.so
drmOpenByBusid: Searching for BusID pci:0000:00:05.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: drmOpenMinor returns 4
drmOpenByBusid: drmGetBusid reports pci:0000:00:05.0
libGL error:
Can't open configuration file /etc/drirc: No such file or directory.
libGL error:
Can't open configuration file /home/birger/.drirc: No such file or directory.
mach64UpdateClipping: drawable 5 22 300 300
mach64UpdateClipping: scissor 0 0 0 0
mach64UpdateClipping: final 5 22 304 321
.
.
.
Vertex 3:
x 169.500000 y 199.500000 z 62645.500000
r 193 g 24 b 0 a 255
Vertex 4: x 168.750000 y 194.750000 z 62619.000000 r 193 g 24 b 0 a 255
FLUSH_BATCH in mach64RasterPrimitive
mach64EmitHwStateLocked: (0x11ff) dst_off_pitch, z_alpha_cntl, scale_3d_cntl, dp_fog_clr, dp_write_mask, dp_pix_width, setup_cntl, misc, cliprects,
-----
There are no error messages in /var/log/messages or XFree86.0.log
Should I upgrade my whole X installation? Fedora comes with a 4.3.0 installation.
Another funny side effect: I use a pcmcia wlan card. With the stock xfree86 ati driver, the wlan card would usually disconnect from the net when X started or when I switched to/from X. After these upgrades the link comes up at boot and stays up.
-- birger
------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 -- _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel