Xinerama, NVIDIA and SDL

Hello everyone.

I’m using an NVIDIA GeForceFX 5600 with dual-DVI outputs
with the latest NVIDIA binary drivers (Fedora Core 2 Linux).

My problem so far, is that all SDL applications or games
that run fullscreen, can’t detect the Xinerama settings
offered by the NVIDIA drivers.

SDL seems to detect that i’m running a Xinerama environment
(in fact its the nvidia TwinView, but offers xinerama support),
but SDL applications and games aren’t placed correctly on
the screen.

They seem to detect that they have to be 1280 horizontal resolution
(instead of 2560 that twinview has), though they aren’t placed
at one monitor or the other, instead they are placed right
in the middle of the two monitors :frowning:

If i disable Xinerama, then SDL things i’ve got 2560x1024 resoltion,
so it streches the entire game to that resolution.

Any ideas how i can make SDL stuff to sit in one monitor or the other and not in the middle?

Thank you.

You unfortunately must run in a windowed mode. I had the same problem
with (I think) that exact card. If it’s any consolation, a good window
manager can remove the title bar and other window decorations and
borders so that it will fit perfectly onto one monitor.On Aug 25, 2004, at 4:15 PM, Dimitrios wrote:

Hello everyone.

I’m using an NVIDIA GeForceFX 5600 with dual-DVI outputs
with the latest NVIDIA binary drivers (Fedora Core 2 Linux).

My problem so far, is that all SDL applications or games
that run fullscreen, can’t detect the Xinerama settings
offered by the NVIDIA drivers.

SDL seems to detect that i’m running a Xinerama environment
(in fact its the nvidia TwinView, but offers xinerama support),
but SDL applications and games aren’t placed correctly on
the screen.

They seem to detect that they have to be 1280 horizontal resolution
(instead of 2560 that twinview has), though they aren’t placed
at one monitor or the other, instead they are placed right
in the middle of the two monitors :frowning:

If i disable Xinerama, then SDL things i’ve got 2560x1024 resoltion,
so it streches the entire game to that resolution.

Any ideas how i can make SDL stuff to sit in one monitor or the other
and not in the middle?

Thank you.


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

You unfortunately must run in a windowed mode. I had the same problem
with (I think) that exact card. If it’s any consolation, a good window
manager can remove the title bar and other window decorations and
borders so that it will fit perfectly onto one monitor.

:frowning:

Aren’t any developers interested to fix this bug? I can provide debug information
if that is any help.On Thu, 26 Aug 2004 01:40:48 -0400 “Donny Viszneki” wrote:

You unfortunately must run in a windowed mode. I had the same problem
with (I think) that exact card. If it’s any consolation, a good window
manager can remove the title bar and other window decorations and
borders so that it will fit perfectly onto one monitor.

You can change your twinview section to include this mode:

TwinView

Option "TwinView"
Option “MetaModes” "1280x1024, 1280x1024; 1280x1024,NULL"
Option “TwinViewOrientation” “LeftOf”

When the game is open, press ctrl alt + to switch modes. This will put
the game full screen on one monitor and blank the other.

MarkOn Thu, 2004-08-26 at 06:25, Dimitrios wrote:

On Thu, 26 Aug 2004 01:40:48 -0400 “Donny Viszneki” wrote:

:frowning:

Aren’t any developers interested to fix this bug? I can provide debug information
if that is any help.


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

You can change your twinview section to include this mode:
When the game is open, press ctrl alt + to switch modes. This will put
the game full screen on one monitor and blank the other.

Thanks, i’ll give that a try.

Though isn’t there any developer who can fix the problem permanently? i’m sure its a trivial thing
to code, since all it needs is to place the screen correctly.On Thu, 26 Aug 2004 07:54:27 -0500 “Mark Dillavou” wrote:

Though isn’t there any developer who can fix the problem permanently? i’m sure its a trivial thing
to code, since all it needs is to place the screen correctly.

What problem exactly do you want fixed? You want the fullscreen window
to only fill one monitor? Sure, that’s pretty easy to do, if you have a
dual screen setup (which I don’t at the moment)

Patches accepted! :slight_smile:

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment