twinview issue switching dual monitor to single monitor

twinview issue switching dual monitor to single monitor

Postby sgz on Sat Apr 06, 2013 7:02 pm

Hello,

I have a desktop with two 1920x1080 monitors. Actually my xorg.conf contains this configuration ( my main monitor DFP-0 is on the right side and my secondary monitor, detected as DFP-2, is on the left side. ) :

Code: Select all
  Option  "TwinView" "1"
  Option  "TwinViewXineramaInfoOrder" "DFP-0"
  Option  "metamodes" "DFP-0: 1920x1080 +1920+0, DFP-2: 1920x1080 +0+0; DFP-0: 1920x1080 +0+0, NULL"


All is working fine as soon as I want a special single monitor metamode to run games. I tried the trick involving additional metamode with a NULL display ( "DFP-0: 1920x1080 +0+0, NULL" in the above configuration ).

When I switch to this secondary metamode ( with ctrl alt + ), my secondary monitor correctly shuts down, but I still get a very large 3840x1080 virtual screen on my main monitor, being able to scroll it with my mouse. Every window has the same position on the virtual screen as previously with dual monitor. I don't know how to fix to get a real single monitor resolution...

Here is my xorg's display related configuration :

Code: Select all
Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 560 Ti"
    Option          "PrimaryMonitor"            "DFP-0"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    ModelName      "Idek Iiyama PLE2407HDS"
    Option         "DPMS"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "TwinView" "1"
    Option         "TwinViewXineramaInfoOrder" "DFP-0"
    Option         "metamodes" "DFP-0: 1920x1080 +1920+0, DFP-2: 1920x1080 +0+0; DFP-0: 1920x1080 +0+0,NULL"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection
sgz
Level 1
Level 1
 
Posts: 2
Joined: Wed Nov 14, 2012 8:23 am

Linux Mint is funded by ads and donations.
 

Re: twinview issue switching dual monitor to single monitor

Postby sgz on Tue Apr 09, 2013 3:56 am

found a workaround to switch to true single monitor display, calling :
Code: Select all
xrandr -s 1

This shutdown twinview and I retrieve a real single monitor view without a virtual resolution bigger than display.

To go back to twinview :
Code: Select all
xrandr -s 0

This does not restart X, so every launched application gets back to initial position.
sgz
Level 1
Level 1
 
Posts: 2
Joined: Wed Nov 14, 2012 8:23 am


Return to MATE

Who is online

Users browsing this forum: No registered users and 6 guests