Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ATI users
07-25-2006, 12:24 PM,
#2
Re: ATI users
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--
Reply


Messages In This Thread
ATI users - by thelusiv - 07-25-2006, 02:47 AM
Re: ATI users - by alex25 - 07-25-2006, 12:24 PM
[No subject] - by ugotskoold - 07-25-2006, 11:50 PM
[No subject] - by joevenzon_phpbb2_import3 - 07-26-2006, 01:39 AM
[No subject] - by thelusiv - 07-27-2006, 02:27 AM
[No subject] - by alex25 - 07-27-2006, 02:46 AM
[No subject] - by alex25 - 07-27-2006, 12:47 PM
[No subject] - by jeff - 07-27-2006, 09:18 PM
[No subject] - by joevenzon_phpbb2_import3 - 07-27-2006, 09:34 PM
[No subject] - by thelusiv - 07-27-2006, 11:42 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)