[Wine] Setting Resolution Modes in xorg.conf

Kingoftherings wineforum-user at winehq.org
Mon Jan 19 20:29:43 CST 2009

I asked on the Gentoo forums, and surprisingly haven't gotten an answer.

When I run xrandr, I get this output:

Screen 0: minimum 2960 x 1050, current 2960 x 1050, maximum 2960 x 1050
default connected 2960x1050+0+0 0mm x 0mm
   2960x1050      50.0* 

I'm using TwinView with a 1680x1050 monitor and a 1280x1024 monitor.  And I want to set up some different modes in xrandr.  When I try playing Counter Strike: Source in wine, it won't let me change the resolution because xrandr only has that one mode, and I was told I needed to set up Xorg to do other resolutions.

Here are the display portions of my xorg.conf:

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "DELL E171FPb"
    HorizSync       31.0 - 80.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS"

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8800 GTS"

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "1"
    Option         "TwinViewXineramaInfoOrder" "DFP-1"
    Option         "metamodes" "CRT: nvidia-auto-select +0+0, DFP: nvidia-auto-$
    SubSection     "Display"
        Depth       24
        Modes      "2960x1050" "1680x1050" "1440x900" "1280x1024"

As you can see, in SubSection "Display, I tried to set up modes, but it did not work, 2960x1050 is the only mode that shows up in xrandr.

More information about the wine-users mailing list