[Gentoo] r300 driver and gaming

Update: See my newer post — UT2003 runs again, and Quake4 also runs. Overall, lots of textures are screwed up, however, so you get strange colors.

Just updated my Mesa to CVS HEAD from 6.4.1. I’m very pleased to see that UT2004 is fast enough to be playable now.

Doom3 does a lot better, although still can’t play it. It starts up now and gets through most of the intro, but it dies when it’s about to start the actual level.

Update: Apparently Doom3 works in multiplayer mode, which I can’t test because I have the demo version.

Ends with:
*********************************WARN_ONCE*********************************
File r300_state.c function r300_setup_rs_unit line 1269
fragprog wants col0, vp doesn't provide it
***************************************************************************
*********************************WARN_ONCE*********************************
File r300_state.c function r300_setup_rs_unit line 1315
Don't know how to satisfy InputsRead=0x00000002
***************************************************************************
signal caught: Segmentation fault

Quake4 doesn’t screw up my resolution anymore when attempting to start, although it still doesn’t start at all. Lots of missing extensions at startup time:

X..GL_ARB_texture_non_power_of_two not found
X..GL_EXT_shared_texture_palette not found
X..GL_NV_float_buffer not found
X..GL_NV_register_combiners not found
X..NV_fragment_program not found
X..GL_EXT_stencil_two_side not found
X..GL_ATI_separate_stencil not found
X..GL_ATI_fragment_shader not found
X..GL_ATI_text_fragment_shader not found
X..GL_ARB_shader_objects not found
X..EXT_depth_bounds_test not found

Ends with:
reloading gfx/guis/scrollbar_down.
*********************************WARN_ONCE*********************************
File r300_ioctl.c function r300Clear line 555
CB_DPATH has been enabled.
Please let me know if this introduces new instabilities.
***************************************************************************
signal caught: Segmentation fault

One major and unfortunate regression: UT2003 no longer runs.

Xlib: extension "XiG-SUNDRY-NONSTANDARD" missing on display ":0.0".
*********************************WARN_ONCE*********************************
File r300_ioctl.c function r300Clear line 555
CB_DPATH has been enabled.
Please let me know if this introduces new instabilities.
***************************************************************************

Backtrace:
[ 1] ./Core.so [0xb751778a]
[ 2] [0xffffe420]
[ 3] [0xb68ea00a]
Signal: SIGSEGV [segmentation fault]

Other games:
America’s Army is faster, but the colors are totally screwed up on many of the menu screens.

In another regression, Cube is now unplayably slow. Cube console output:

*********************************WARN_ONCE*********************************
File r300_ioctl.c function r300Clear line 555
CB_DPATH has been enabled.
Please let me know if this introduces new instabilities.
***************************************************************************
*********************************WARN_ONCE*********************************
File r300_render.c function r300Fallback line 793
fallback:ctx->Polygon.OffsetLine
***************************************************************************

Legends plays great with both 6.4.1 and CVS HEAD, as does Enemy Territory.

Summary:

6.4.1 HEAD
UT2004 Too slow Works
Doom3 Doesn’t start at all, screws up resolution Can’t begin first mission
UT2003 Works Works
Quake4 Doesn’t start at all, screws up resolution Works
Quake3 Works Works
America’s Army Too slow Faster, colors weird
Enemy Territory Works Works
Cube Works Too slow
Legends Works Works

Kudos to everyone working on the r300 driver. Keep up the good work!