You are not logged in.

#1 2018-04-11 04:12:33

Kale Good
Member
Registered: 2014-08-17
Posts: 46

X11 confusion: Getting a Single Screen with Nvidia

I'm running the 390.48 proprietary Nvidia drivers. I've been working at this for a few hours, but I'm guessing I've been barking up the wrong tree. It doesn't seem like it should be this hard.

I have 2 monitors (soon to be 3) that I want in a single screen for gaming (so that a game will recognize the full width of the 3 screens as its maximum resolution). Youtube told me to use nvidia-settings and generate an xorg.conf file with xinerama enabled. That file follows below.

That failed. Using lightdm instead of gdm (which doesn't seem to respect xorg.conf) failed. Disabling randr via the xorg.conf option got Lightdm to center on the two screens (vs. on the primary monitor), but I couldn't complete login to Gnome3 or Cinnamon. FWVM could be loged into, but didn't seem to recognize the single-screen setup.

Twin View isn't an option in my nvidia-settings. The wiki says Randr is a replacement for most uses of xinerama; however, it doesnt' seem to support combining monitors into one screen.

The MetaMode option seems to be where some people are solving this, but I've seen in placed in different sections of the Xorg file and can't make heads or tails of where it should go. Some people seem to be defining only one Monitor section and only one Device section; however, my understanding from the Arch wiki is that there needs to be a device section for every monitor.

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0"
    Option         "Xinerama" "1"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Ancor Communications Inc VE248"
    HorizSync       30.0 - 83.0
    VertRefresh     50.0 - 76.0
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "DELL 2009W"
    HorizSync       30.0 - 83.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 1050 Ti"
    BusID          "PCI:9:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 1050 Ti"
    BusID          "PCI:9:0:0"
    Screen          1
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-1"
    Option         "metamodes" "HDMI-0: nvidia-auto-select +0+0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "metamodes" "DVI-D-0: nvidia-auto-select +0+0 {AllowGSYNC=Off}"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "Disable"
EndSection

Thanks for any help.

Offline

#2 2018-04-28 08:53:26

nesk
Member
Registered: 2011-03-31
Posts: 181

Re: X11 confusion: Getting a Single Screen with Nvidia

You have only 1 GPU, right?
The duplicate "Device" sections is not for combining the monitors, if I'm reading the Wiki article right.

Kale Good wrote:

Twin View isn't an option in my nvidia-settings.

nvidia-settings is just a convenience GUI tool, the lack of options in it doesn't mean much. Did you try doing it manually? https://wiki.archlinux.org/index.php/NVIDIA#TwinView

Offline

Board footer

Powered by FluxBB