The only working fullscreen resolutions that show properly one _one_ of the
two displays are 1280x1024 and 800x600. All others (didn't try lower than
800x600) display centered between my two displays and thus are unusable.
This worked fine in ut2003 (i.e. I can also properly use 1152x864 and 1024x768
in there) so I guess it's a regression (btw, also works fine in all other
games, including q1, q2, q3, ut and tuxracer).
My nvidia MetaModes line in XF86Config-4 is:
Option "MetaModes" "1152x864,1280x1024; NULL,1280x1024; NULL,1152x864;
NULL,1024x768; NULL,800x600; NULL,640x480; NULL,512x384; NULL,400x300;
NULL,320x240"
Btw, to have it work at all, i.e. without the screen being moved half out of
my screen I have to use a patched libSDL (using latest SDL12 CVS + my patch).
Damn nvidia drivers should let me rearrange the displays so the left one is
actually no. 1 :(
Hmm, I fail to see why this is marked as a duplicate.
I do have SDL CVS and use it for both ut2003 and ut2004demo (i.e. for both I
have the static libSDL moved out of the way to take my system libSDL).
BUT I cannot use 1024x768 or 1152x864 in ut2004 as that will switch to my
biggest resolution and display ut2004 centered on both screens (and thus
unplayable). What I want is the old behaviour, i.e. if I tell ut2004 to use
1024x768 it should switch to that resolution.
It's a duplicate because I'm consolidating bugs. The solution here is "update
SDL" and apply a patch, so I'm linking it to the "SDL needs to be updated" bug
report.
I could have just as easily marked the other one a duplicate of this.
--ryan.
Stefan,
Can you point me to the patch you use for SDL? I'd like to see if it's general
purpose enough for inclusion in SDL's CVS (and ut2004 retail).
Thanks,
--ryan.
Created attachment 211[details]
Patch fixing origin of screen (at least on this setup)
I never sent this anywhere because I assume it's a hack.
The problem with my system is that the logical display 0 is not the left one
but the right one. For some reason SDL doesn't find the right origin for my
left disply (it's 0,0 of course) but takes the one of logical display 0 (i.e.
the right one).
If anybody can point me to the SDL developer who did the Xinerama work I'll
contact him.
Created attachment 211 [details] Patch fixing origin of screen (at least on this setup) I never sent this anywhere because I assume it's a hack. The problem with my system is that the logical display 0 is not the left one but the right one. For some reason SDL doesn't find the right origin for my left disply (it's 0,0 of course) but takes the one of logical display 0 (i.e. the right one). If anybody can point me to the SDL developer who did the Xinerama work I'll contact him.