You are not logged in.
Hi there.
I am using ArchLinux 32 bit on my Asus V1S machine with GeForce 8600m GT. Laptop has an internal 1680x1050 60hz display. I am also using DVI (from the docking station) to connect AOC F22 22" external 1920x1080 60hz screen which is standing on the right side of the desk.
I am trying to force the AOC external screen to be the primary / default device. I have it setup so that its working with Twinview. Laptop's screen is on the left. External screen is on the right. Lovely... Almost... Its all good until I will start any full screen game. The games are disabling the external screen and starting to play on the internal laptop's screen. It wouldn't be so bad but its smaller and with lower resolution (slightly less sharp, external screen has much better colors too).
I have been trying to do this for a while - I was googling / forum & wiki searching and I finally have decided to ask here.
So far I have only managed to achieve this if I will ignore the internal screen in the xorg config. This completely disables the internal screen - then and only then games are starting on the external screen.
[root@wishmasus andrzejl]# cat /etc/X11/xorg.conf.d/20-nvidia.conf
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 331.20 (buildmeister@swio-display-x64-rhel04-06) Wed Oct 30 18:37:41 PDT 2013
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Seiko/Epson"
Option "ignore" "true"
EndSection
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "AOC F22"
HorizSync 30.0 - 83.0
VertRefresh 50.0 - 75.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 8600M GT"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DFP-1"
Option "metamodes" "DVI-I-0: 1920x1080_60 +0+0"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection
[root@wishmasus andrzejl]#
So far I have managed to put together this for the Twinview setup. It works but like I said... games are running wild...
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 331.20 (buildmeister@swio-display-x64-rhel04-06) Wed Oct 30 18:37:41 PDT 2013
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "External0"
VendorName "AOC"
ModelName "AOC F22"
HorizSync 30.0 - 83.0
VertRefresh 50.0 - 75.0
Option "DPMS"
Option "Primary" "true"
EndSection
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Internal0"
VendorName "Asus"
ModelName "Seiko/Epson"
# Option "ignore" "true"
Option "DPMS"
Option "Primary" "false"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 8600M GT"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "External0"
DefaultDepth 24
Option "TwinView" "true"
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DFP-1, DFP-0"
Option "TwinViewOrientation" "DFP-0 LeftOf DFP-1"
Option "metamodes" "LVDS-0: 1680x1050_60 +0+0, DVI-I-0: 1920x1080_60 +1680+0"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Could You please help me tweak it so that the internal screen is not being picked as the primary screen for the full screen games?
Kind regards.
Andrzej
P.S. If by any chance I have started this topic in a wrong forum section please move it to the appropriate one. Thank you.
Last edited by AndrzejL (2014-07-29 17:36:05)
The worst thing about censorship is ██████ ██ ████ ████████████ and ██████ ███████ ███ ███████████.
Offline
Maybe using xrandr to set the external monitor as primary one (output and primary switches) within a script before launching the game would help.
Other than that, is the Twinview feature necessary for your needs? If no, you could set up two separate screens and run games using DISPLAY variable on the external monitor.
# If you choose the external monitor as the second screen
env DISPLAY=:0.1 game
env DISPLAY=:0.1 wine winegame.exe
Offline
Maybe using xrandr to set the external monitor as primary one (output and primary switches) within a script before launching the game would help.
Other than that, is the Twinview feature necessary for your needs? If no, you could set up two separate screens and run games using DISPLAY variable on the external monitor.
# If you choose the external monitor as the second screen env DISPLAY=:0.1 game env DISPLAY=:0.1 wine winegame.exe
My appologies for taking so much time to reply.
I tried using the xrandr to set the primary screen. It does exactly the same thing.
TwinView is a feature of modern nVidia graphics cards first introduced on the GeForce2 MX range of cards. TwinView presents a single big screen to the operating system, one advantage of this approach compared to using multiple cards with Xinerama is that hardware accelerated OpenGL applications work on both screens and can be moved from one to other easily.
I would love to be able to use that + have games running on the external screen...
Cheers.
Andrzej
The worst thing about censorship is ██████ ██ ████ ████████████ and ██████ ███████ ███ ███████████.
Offline
I do not use Nvidia any more, so I can only guess. What if you change the order of nvidiaXineramaInfoOrder and maybe also switch arguments of TwinViewOrientation? I see you added the Primary option to the monitors. Does Nvidia still use nvidia-xconfig? It should have a descriptive manual or help.
Offline
Tried all that - it does not do it.
I am starting to think it may have something to do with the fact that the laptop uses HDMI but the docking station uses DVI. The screen is DVI only so I am connecting it with DVI to DVI cable from the docking station. Maybe docking station enforces the use of the internal screen...
Cheers.
Andrzej
The worst thing about censorship is ██████ ██ ████ ████████████ and ██████ ███████ ███ ███████████.
Offline
Maybe docking station enforces the use of the internal screen...
You could find out using an HDMI-DVI adapter and the DVI cable directly on the laptop.
Offline
AndrzejL wrote:Maybe docking station enforces the use of the internal screen...
You could find out using an HDMI-DVI adapter and the DVI cable directly on the laptop.
Waiting 2nd week for the cable from China... ... Ebay shopping... Heck yeah.
Cheers.
Andrzej
The worst thing about censorship is ██████ ██ ████ ████████████ and ██████ ███████ ███ ███████████.
Offline
What desktop environment/window manager are you using? Any progress?
Offline
What desktop environment/window manager are you using? Any progress?
I am using KDE4. Unfortunately still working for the cable from China. Contacted the seller today. He asked if I could give it another 2 weeks. This person has 99.6% positive comments and over 40 000 sold items so I am willing to give it a go. I will post any info as soon as humanly possible.
Kind regards.
Andrzej
The worst thing about censorship is ██████ ██ ████ ████████████ and ██████ ███████ ███ ███████████.
Offline
Ok cable arrived 20 mins ago. I redid my xorg:
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 331.20 (buildmeister@swio-display-x64-rhel04-06) Wed Oct 30 18:37:41 PDT 2013Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSectionSection "Files"
EndSectionSection "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSectionSection "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSectionSection "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Seiko/Epson"
# Option "ignore" "true"
Option "DPMS"
Option "Primary" "false"
EndSectionSection "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "AOC F22"
HorizSync 30.0 - 83.0
VertRefresh 50.0 - 75.0
Option "DPMS"
Option "Primary" "true"
EndSectionSection "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 8600M GT"
EndSectionSection "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "true"
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DFP-2"
Option "metamodes" "LVDS-0: 1680x1050_60 +0+0, HDMI-0: 1920x1080_60 +1680+0"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Nothing changed and on top of that I get choppy / laggy / jumpy mouse at times...
Cheers.
Andrzej
The worst thing about censorship is ██████ ██ ████ ████████████ and ██████ ███████ ███ ███████████.
Offline
Oh sod it... I am moving back to dvi and disabling the laptop's screen. This stuff is doing my head in.
Cheers.
Andrzej
The worst thing about censorship is ██████ ██ ████ ████████████ and ██████ ███████ ███ ███████████.
Offline