You are not logged in.

#1 2010-03-03 01:58:07

smakked
Member
From: Gold Coast , Australia
Registered: 2008-08-14
Posts: 420

[SOLVED] Dual screens and Gaming and Nvidia

Have been trying to get this to work for a while now.
I have 2 screens which work well in kde, but when i want to play games on one screen ie: Nexuiz, it span across 2 screens.
I have tried all things in the wiki and still cannot stop this behavior. Any suggestions on how to make my games show on a single screen?


Note : It sued to work a few weeks ago but i did fresh install of arch now i cant get it working, cant post Xorg till later tonight when i finish work.

Last edited by smakked (2010-03-05 14:23:59)


Certified Android Junkie
Arch 64

Offline

#2 2010-03-03 02:14:24

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: [SOLVED] Dual screens and Gaming and Nvidia

Disable one of the screens?
I believe for this to happen the program would actually have to support it. As far as nexuiz is concerned, it sees one big screen.


neutral

Offline

#3 2010-03-03 02:38:00

smakked
Member
From: Gold Coast , Australia
Registered: 2008-08-14
Posts: 420

Re: [SOLVED] Dual screens and Gaming and Nvidia

can you disable a screen with a command before you fire up a game?


Certified Android Junkie
Arch 64

Offline

#4 2010-03-03 03:23:27

jxy
Member
Registered: 2008-12-03
Posts: 133

Re: [SOLVED] Dual screens and Gaming and Nvidia

Try disper in AUR.

Offline

#5 2010-03-03 03:30:15

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,362

Re: [SOLVED] Dual screens and Gaming and Nvidia

Why not use separate-X. You can't drag windows between screens that way, but you can limit the game to one screen (and have other stuff running on the other screen, your chat program for example).


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#6 2010-03-03 03:52:01

smakked
Member
From: Gold Coast , Australia
Registered: 2008-08-14
Posts: 420

Re: [SOLVED] Dual screens and Gaming and Nvidia

ngoonee wrote:

Why not use separate-X. You can't drag windows between screens that way, but you can limit the game to one screen (and have other stuff running on the other screen, your chat program for example).

Yeah tried that but still spans across both screens.


Will look at disper


Certified Android Junkie
Arch 64

Offline

#7 2010-03-03 03:54:22

Cyrusm
Member
From: Bozeman, MT
Registered: 2007-11-15
Posts: 1,053

Re: [SOLVED] Dual screens and Gaming and Nvidia

you should also be able to use xrandr to disable one of the screens


Hofstadter's Law:
           It always takes longer than you expect, even when you take into account Hofstadter's Law.

Offline

#8 2010-03-03 07:16:45

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,362

Re: [SOLVED] Dual screens and Gaming and Nvidia

smakked wrote:
ngoonee wrote:

Why not use separate-X. You can't drag windows between screens that way, but you can limit the game to one screen (and have other stuff running on the other screen, your chat program for example).

Yeah tried that but still spans across both screens.


Will look at disper

When using separate-X don't use xinerama, make sure the screens are slightly offset from each other. You'd need mouse-wrapscreen for the mouse to travel over.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#9 2010-03-03 08:18:45

JHeaton
Member
From: United Kingdom
Registered: 2009-05-16
Posts: 158

Re: [SOLVED] Dual screens and Gaming and Nvidia

Do you use TwinView? I had this same problem. To solve it, I added the following to the "Device" section of xorg.conf:

Option "MetaModes" "1280x1024,1280x1024; 1280x1024"

This will disable the second screen when playing a game in full-screen. Not the best solution, but at the moment it is all that I have been able to do >.<

Offline

#10 2010-03-03 16:16:49

Sheepeh
Member
From: England
Registered: 2009-12-06
Posts: 16
Website

Re: [SOLVED] Dual screens and Gaming and Nvidia

Yeah, for TwinView I did the following in mine (you can also achieve it via the nvidia-settings GUI)

Option         "metamodes" "CRT: nvidia-auto-select +1680+150, DFP: nvidia-auto-select +0+0; CRT: NULL, DFP: nvidia-auto-select +0+0"

There are two settings in that line, namely

CRT: nvidia-auto-select +1680+150, DFP: nvidia-auto-select +0+0

which says DFP (my HDTV, primary monitor) is at its native reported res, and CRT (a flatscreen monitor hooked up by VGA, secondary monitor) is also at native res, but shifted off to the right (so I can drag windows and things on it it)

and

CRT: NULL, DFP: nvidia-auto-select +0+0

which says if a game goes fullscreen and changes the res to the primary monitor's native res the "CRT" monitor will turn itself off for the duration of the game and turn itself back on when finished.  It's not ideal as the other monitor turns off when gaming but it's the most reliable method I've found.

DISCLAIMER: I only learnt enough about it to get it to work for me and then prompty backed up xorg.conf and never worried about it again, so the explanation may not be 100% technically correct.  It does work though.

Offline

#11 2010-03-03 18:21:03

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: [SOLVED] Dual screens and Gaming and Nvidia

I also have something very similar to Sheepeh

Option         "metamodes" "DFP-0: 1680x1050, DFP-1: 1280x1024; DFP-0: 1680x1050, DFP-1: NULL;"

Website - Blog - arch-home
Arch User since March 2005

Offline

#12 2010-03-05 14:23:13

smakked
Member
From: Gold Coast , Australia
Registered: 2008-08-14
Posts: 420

Re: [SOLVED] Dual screens and Gaming and Nvidia

Yeah thanks fellas got it working now

Option         "metamodes" "CRT: nvidia-auto-select +1920+0, DFP: 1920x1080_60 +0+0; DFP: 1920x1080 +0+0"

thast what i needed to get right


Certified Android Junkie
Arch 64

Offline

Board footer

Powered by FluxBB