Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Primary Monitor Selection and Redeclipse
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
paulj
Guru
Guru


Joined: 30 Sep 2004
Posts: 422
Location: Wales, UK

PostPosted: Fri Mar 07, 2014 6:22 am    Post subject: Primary Monitor Selection and Redeclipse Reply with quote

The latest version of nvidia-drivers changed which of my two monitors is regarded as the primary monitor by the desktop. This led to the layout on the two monitors being swapped. I fixed this problem by running nvidia-settings, setting the primary monitor, then adding the relevant lines into the configs at /usr/share/X11/xorg.conf.d. This fixed the desktop issue, but I still have a problem when running the redeclipse game - it now runs on the second monitor, whereas previously it ran on the first.

Can anyone point me to a configuration option which will fix this problem? Here is the graphics configuration from my xorg.conf.d/20-graphics.conf:

Code:

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    Option         "Xinerama" "0"
EndSection


Section "Device"
        Identifier  "Card0"
        Driver      "nvidia"
        VendorName  "nVidia Corporation"
        BoardName   "G92 [GeForce GTS 250]"
        BusID       "PCI:2:0:0"
EndSection
                                                                                                 
Section "Monitor"                                                                               
    Identifier  "Monitor0"                                                                       
    VendorName  "Unknown"                                                                       
    ModelName   "VS-247"                                                                         
    Option      "DPMS"                                                                           
EndSection                                                                                       
                                                                                                 
Section "Monitor"                                                                               
    Identifier     "Monitor1"                                                                   
    VendorName     "Unknown"                                                                     
    ModelName      "DELL 2007WFP"                                                               
    Option         "DPMS"                                                                       
EndSection                                                                                       
                                                                                                 
                                                                                                 
Section "Screen"                                                                                 
    Identifier     "Screen0"                                                                     
    Device         "Card0"                                                                       
    Monitor        "Monitor0"                                                                   
    DefaultDepth    24                                                                           
    Option         "Stereo" "0"                                                                 
    Option         "nvidiaXineramaInfoOrder" "DFP-0"                                             
    Option         "metamodes" "VGA-0: nvidia-auto-select +1920+0, DVI-I-1: nvidia-auto-select +0+0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection



The primary monitor is the Asus (on the DVI cable), with the Dell (on the VGA cable) as secondary.

Thanks!
Back to top
View user's profile Send private message
BitJam
Advocate
Advocate


Joined: 12 Aug 2003
Posts: 2483
Location: Silver City, NM

PostPosted: Sat Mar 08, 2014 1:20 am    Post subject: Reply with quote

There are at least two ways to do this: the traditional TwinViewXineramaInfoOrder option in the Device section and the newer Primary option in the Monitor section.
Back to top
View user's profile Send private message
paulj
Guru
Guru


Joined: 30 Sep 2004
Posts: 422
Location: Wales, UK

PostPosted: Sat Mar 08, 2014 10:01 am    Post subject: Reply with quote

Thanks. I am away this weekend - I'll give this a go tomorrow evening and report back!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum