07-25-2006, 12:24 PM,
|
|
alex25
Senior Member
|
Posts: 531
Threads: 42
Joined: Jun 2006
|
|
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--
|
|
07-25-2006, 11:50 PM,
|
|
ugotskoold
Junior Member
|
Posts: 14
Threads: 5
Joined: Jun 2006
|
|
I have been using this game on 2 computers, a mac mini and a g4 imac. Both have 32 mb ati cards. It runs a little slow on my imac, only because its older but runs very smooth on my mini.
|
|
07-27-2006, 02:46 AM,
|
|
alex25
Senior Member
|
Posts: 531
Threads: 42
Joined: Jun 2006
|
|
thelusiv Wrote:Alex, if you'd like you can check in this change. i'll check this tomorrow on my desktop to make sure it doesn't break anything and then i'll commit it to svn.
--alex--
|
|
07-27-2006, 12:47 PM,
|
|
alex25
Senior Member
|
Posts: 531
Threads: 42
Joined: Jun 2006
|
|
alex25 Wrote:i'll check this tomorrow on my desktop to make sure it doesn't break anything and then i'll commit it to svn.
i've checked in the code. i also checked in the code to catch fpe exceptions which is commented out, of course. if other brave souls want to play with it, remove the comment from the feenableexcept(FE_INVALID|FE_DIVBYZERO|FE_OVERFLOW);
line, recompile and run under the debugger. hmm, this might work only under linux. i hope i didn't break anything for windows users with the
#include <fenv.h>
line.
--alex--
|
|
07-27-2006, 09:18 PM,
|
|
jeff
Junior Member
|
Posts: 6
Threads: 1
Joined: Jul 2006
|
|
I have 2 computers both with ATI cards and the game works fine. Ill break it down a little
PC 1
Windows (Gaming partition)
P4 2.8G
512MB RAM (PC2700)
AGP ATI 9200 w/128MB RAM
Works very well but on some maps all the textures disappear and everything is white. I also get white flashes coming from under the car every now and then.
I will plug in an old Geforce2 to see if these problems go away and post back.
Yet to try on ubuntu
will report back when i do
PC 2
Windows
Celeron 2.4G
512MB RAM (PC2700)
PCI ATI 9200 w/ 128MB RAM
Works just as well but again on some maps all the textures disappear and everything is white.
post back if you want me to elaborate a little.
|
|
|