thelusiv Wrote:There aren't currently any VDrift developers using ATI graphics cards on our Linux development systems, and we're interested to know how well VDrift works/performs on ATI cards.
well, i have an ati card (iFireGL 9000) n my laptop (a thinkpad t40) running linux. since i run the display at 16bpp i had to apply this patch to get vrdift running:
Code:
Index: main.cpp
===================================================================
--- main.cpp (revision 1159)
+++ main.cpp (working copy)
@@ -236,7 +236,7 @@
return 0;
}
- temp = SDL_CreateRGBSurface(SDL_SWSURFACE, screen->w, screen->h, 24,
+ temp = SDL_CreateRGBSurface(SDL_SWSURFACE, screen->w, screen->h, 16,
#if SDL_BYTEORDER == SDL_LIL_ENDIAN
0x000000FF, 0x0000FF00, 0x00FF0000, 0
#else
@@ -2291,7 +2291,7 @@
SDL_GL_SetAttribute( SDL_GL_DOUBLEBUFFER, 1 );
//set up the depth buffer to be 24 bits, 16 bits are NOT enough
- SDL_GL_SetAttribute( SDL_GL_DEPTH_SIZE, 24 );
+ SDL_GL_SetAttribute( SDL_GL_DEPTH_SIZE, 16 );
// set up our screen
settings.Get( "display.width", cur_screen_w );
the comment about 16 bits not being enough is nonsense actually. the program is a lot slower than my desktop and the video card has problems when there are a lot of objects/textures but i normally get about 10-15 fps and the game is very playable.
--alex--