You are not logged in.

#1 2009-11-22 13:51:48

Mountainjew
Member
From: Ireland
Registered: 2008-08-24
Posts: 405

Goddamn metamodes!

So i'm having issues with Twinview, and been reading tons of crap on metamodes. I'm running dual screen, my main screen is 1680x1050 and my second screen is 1440x900. But for some reason, i can only ever get fullscreen apps such as XBMC and any games like ETQW to run full screen on the second monitor. I've tried every combination i could think of, but when i try to set the applications resolution to 1680x1050, it splits accross 2 screens.

The Nvidia driver recognizes one of my LCD's as a CRT, as it doesn't have a dvi connection. I dunno if this matters, but i wouldn't think so.

Here's my xorg.conf

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
    Option            "BackingStore" "False"
EndSection

Section "Files"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
    Load  "extmod"
    Load  "glx"
    Load  "dri"
    Load  "dbe"
    Load  "xtrap"
    Load  "freetype"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
    Option  "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/mice"
    Option        "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "LG W2234"
    HorizSync       30.0 - 83.0
    VertRefresh     56.0 - 75.0
EndSection

Section "Device"
    Identifier     "Card0"
    Driver         "nvidia"
    VendorName     "nVidia Corporation"
    BoardName      "G80 [GeForce 8800 GTS]"
    BusID          "PCI:1:0:0"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8800 GTS"
    Option         "Coolbits" "1"
    Option         "RenderAccel" "True" 
    Option         "DamageEvents" "True" 
    Option         "BackingStore" "true"
    Option         "AllowIndirectPixmaps" "True"
    Option         "PixmapCacheSize" "200000" 
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "1"
    Option         "TwinViewXineramaInfoOrder" "CRT-0"
    Option      "MetaModes"  "1680x1050,1440x900;NULL1680x1050" 
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

So what i'm trying to do, is play fullscreen on the 1680x1050 monitor, and i don't really care about the other monitor, if it stays on or turns off. The main problem is setting the ingame resolution to 1680x1050 still places it accross both screens. That's only one of the many metamode solutions i've tried. Other than that, i have to manually disable Twinview, which sometimes crashes the driver or causes strange artifacts. Can anybody tell me what's wrong here? sad

Offline

#2 2009-11-24 20:15:32

rochus
Member
Registered: 2007-02-14
Posts: 91

Re: Goddamn metamodes!

Maybe it's because your second monitor has no Screen-Section? Sorry I can't give you a detailed answer as my days struggling with Xorg.conf are passee at the moment because it works - at least what I need works.

The following are my Screen-sections, maybe they are of some help:

Section "Screen"
    Identifier     "Screen0"
    Device         "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "1"
    Option         "metamodes" "DFP-0: nvidia-auto-select +0+0, DFP-1: nvidia-auto-select +1680+0; DFP-0: nvidia-auto-select +0+0, NULL"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Videocard0"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "DFP-1: nvidia-auto-select +0+0"
EndSection

Last edited by rochus (2009-11-24 20:17:16)

Offline

#3 2009-11-25 12:37:42

JohnD
Member
Registered: 2007-02-12
Posts: 17

Re: Goddamn metamodes!

Here's is a xorg.conf I used with two different monitors, maybe you can get someting out of it.

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" 1680 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "1"
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"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Philips 200WP"
    HorizSync       30.0 - 98.0
    VertRefresh     56.0 - 76.0
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "CRT-1"
    HorizSync       28.0 - 55.0
    VertRefresh     43.0 - 72.0
    ModeLine       "1366x768_60.00" 85.50 1360 1424 1536 1792 768 771 777 795
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 9600 GT"
    BusID          "PCI:1:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 9600 GT"
    BusID          "PCI:1:0:0"
    Screen          1
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "DFP: 1680x1050 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "CRT: 1366x768_60.00 +0+0; CRT: nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Offline

#4 2009-11-25 17:34:33

anrxc
Member
From: Croatia
Registered: 2008-03-22
Posts: 834
Website

Re: Goddamn metamodes!

i can only ever get fullscreen apps such as XBMC and any games like ETQW to run full screen on the second monitor.

That's probably because what you think is the second screen is actually your first/main screen.

You need to check the nvidia README, it's all there:
http://us.download.nvidia.com/XFree86/L … er-13.html


You need to install an RTFM interface.

Offline

Board footer

Powered by FluxBB