Jump to content

Linux Dual Monitor Help


nukeboyt

Recommended Posts

Long time KSP player / forum member but brand new to Linux, just a couple of weeks ago. I posted a help request on a couple of Ubuntu (Kubuntu) forums, and so far gotten no replies, So I will ask here, on the hopes that some "KSP-playing-Linux-Expert" might have a solution.

The problem is that I want to run dual monitors with the Nvidia proprietary drivers. I currently have a QNIX 2650x1440 and an Acer 1680x1050. They work simultaneously when using the Nouveau (default) driver. But since I"ve installed the Nvidia 331 recommended driver, I can only get one to function at any given time. I've tried several configurations of the Xorg.conf file, but to no avail. Each time I attempt to add a second monitor (Monitor1) one of the two goes into it's "resolution not supported" mode, which on the QNIX, means cycling through several colors. I haven't found any way to manually set a resolution from within the xorg.conf file itself.

I should mention that I have two GTX 680's. I've tried connecting both monitors to one card, and one on each card and the results are always the same.

Any suggestions are welcome. I really don't want to have to return to Windows to have dual monitors.

Thanks

_____________________________________________________

Here's an example of an xorg.conf file that works for the QNIX:

# nvidia-settings: X configuration file generated by nvidia-settings

# nvidia-settings: version 331.20 (buildd@roseapple) Mon Feb 3 15:07:22 UTC 2014

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: xconfig, VertRefresh source: xconfig

Identifier "Monitor0"

VendorName "Unknown"

ModelName "DFP-0"

HorizSync 88.8 - 88.8

VertRefresh 59.5

ModeLine "nvidia-auto-select" 241.500 2560 2608 2640 2720 1440 1443 1448 1481 +hsync -vsync

Option "DPMS"

EndSection

Section "Device"

Identifier "Device0"

Driver "nvidia"

VendorName "NVIDIA Corporation"

BoardName "GeForce GTX 680"

BusID "PCI:1:0:0"

EndSection

Section "Screen"

Identifier "Screen0"

Device "Device0"

Monitor "Monitor0"

DefaultDepth 24

Option "Stereo" "0"

Option "nvidiaXineramaInfoOrder" "DFP-0"

Option "metamodes" "nvidia-auto-select +0+0"

Option "SLI" "Off"

Option "MultiGPU" "Off"

Option "BaseMosaic" "off"

SubSection "Display"

Depth 24

EndSubSection

EndSection

Link to comment
Share on other sites

I've been out of the loop for quite a while, so perhaps others will provide better answers; But...

I understand Nvidia has a "twinview" option on some of its GFX cards, so you might want to Google 'twinview linux nvidia' and see if that gets you anywhere.

Also, I'm not positive, but I think you'll need to define two (2) device sections in your config, one section for each set of outputs (each card - you're using 2 yes?) to be addressed by each monitor. (?)

Link to comment
Share on other sites

I've been out of the loop for quite a while, so perhaps others will provide better answers; But...

I understand Nvidia has a "twinview" option on some of its GFX cards, so you might want to Google 'twinview linux nvidia' and see if that gets you anywhere.

Also, I'm not positive, but I think you'll need to define two (2) device sections in your config, one section for each set of outputs (each card - you're using 2 yes?) to be addressed by each monitor. (?)

Thank you. I'll give that a look.

Link to comment
Share on other sites

The proprietary nvidia driver should contain their configuration tool which works pretty similiar like that one in Windows. If you execute it with root rights the configuration of dual screens should be really easy. Depending of which desktop you use the link to it should be somewhere in the start menues.

Link to comment
Share on other sites

After all weekend of trials and errors (lots of errors), I found the solution that works. The main problem was that, because the QNIX monitor isn't directly supported, the NVIDIA configuration utility could not create an xorg.conf file that would work. Also complicating maters was that almost all online references assume that NVIDIA has "Twinview", which as far as I can tell, is not a select-able option in the 331 drivers.

Here's what allows me to have Full resolution on both monitors.

_________________

# nvidia-settings: X configuration file generated by nvidia-settings

# nvidia-settings: version 331.20 (buildd@roseapple) Mon Feb 3 15:07:22 UTC 2014

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: xconfig, VertRefresh source: xconfig

Identifier "Monitor0"

VendorName "Unknown"

ModelName "DFP-0"

HorizSync 88.8 - 160

VertRefresh 59.5 - 120

# ModeLine "2560x1440R" 241.500 2560 2608 2640 2720 1440 1443 1448 1481 +hsync -vsync

# ModeLine "nvidia-auto-select" 241.500 2560 2608 2640 2720 1440 1443 1448 1481 +hsync -vsync

ModeLine "2560x1440" 241.50 2560 2608 2640 2720 1440 1443 1448 1481 +hsync -vsync

ModeLine "2560x1440_60" 312.25 2560 2752 3024 3488 1440 1443 1448 1493 -hsync +vsync

Option "DPMS"

Option "DPMS"

EndSection

Section "Device"

Identifier "Device0"

Driver "nvidia"

VendorName "NVIDIA Corporation"

BoardName "GeForce GTX 680"

BusID "PCI:1:0:0"

EndSection

Section "Screen"

Identifier "Screen0"

Device "Device0"

Monitor "Monitor0"

DefaultDepth 24

Option "UseEDID" "False"

Option "UseEDIDDPI" "False"

Option "UseEDIDFreqs" "False"

Option "ExactModeTimingsDVI" "True"

Option "ModeValidation" "AllowNonEdidModes, AllowNon60hzmodesDFPModes, NoEDIDDFPMaxSizeCheck, NoVertRefreshCheck, NoHorizSyncCheck, NoDFPNativeResolutionCheck, NoMaxSizeCheck, NoMaxPClkCheck, NoEDIDModes"

Option "NoBandWidthTest" "true"

Option "Stereo" "0"

Option "nvidiaXineramaInfoOrder" "DFP-0"

Option "metamodes" "DVI-I-1: 2560x1440 +0+0, DVI-D-0: 1680x1050_60 +2560+195"

Option "SLI" "Off"

Option "MultiGPU" "Off"

Option "BaseMosaic" "off"

SubSection "Display"

Depth 24

EndSubSection

EndSection

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...