Re: [Tuxracer-devel] Fullscreen mode on a Voodoo-1/2
Status: Beta
Brought to you by:
jfpatry
From: Jasmin P. <jf...@mu...> - 2000-03-02 03:18:13
|
On Wed, 1 Mar 2000, Steve Baker wrote: > I tried to play tuxracer on a Voodoo-1 (it would be the same on a Voodoo-2). > > First, since these cards can ONLY run in fullscreen mode, it's necessary > to set ~/.tuxracer so it has 'set fullscreen 1' - but when I do that, the > image comes out showing me only the bottom-left corner of the game screen > (that's because my X-window screen res is 1024x768 but the Voodoo card can > only render 640x480. Hmm. First, try setting fullscreen back to 0. The fullscreen option is perhaps a bit misleading; all it does is activate game mode in GLUT, and as far as I can tell all that does under Linux is make the window the same size as the screen... > When I try to fix that by setting the resolution explicitly in ~/.tuxracer, > it ignores it - and even overwrites the settings in the file with 1024x768! ... which explains this, I think. Remembering back to my pre-DRI days -- I did large chunk of Tux Racer development with (Voodoo3) fullscreen rendering, and that was before the "fullscreen" option -- the Voodoo's fullscreen 3D mode would kick in whenever I started Tux Racer at a resolution that matched one of the configured resolutions in my XF86Config file (with MESA_GLX_FX set to "fullscreen", etc.). So I'd hope that fullscreen 3D would kick in if you start Tux Racer at 640x480, but maybe that's wishful thinking. > I think the problem here is that those ancient Voodoo cards simply cannot > be made to work without special code entered just for them. > > It'll take a special config option to make them work - and some nasty hacks > to the code. I'll see if I have time to make them...but unfortunately, I'm > off on vacation for 2 weeks starting Friday - so it may not get done all that > soon. Well, I remember getting it to work on a Voodoo-2 without any special hacks -- I think I just set the resolution and the environment variables and it worked fine. That was a while ago, though, and Tux Racer has changed a fair bit since then. BTW: Enjoy your vacation! Cheers, Jasmin |