Wine/WoW not detecting monitor hz

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
fullyspenged
Level 2
Level 2
Posts: 31
Joined: Tue Dec 02, 2008 1:29 pm

Wine/WoW not detecting monitor hz

Post by fullyspenged »

WoW detects my monitor hz as 77, 78, 79. 80, 81, 82

but not 60hz which it should be!

This causes a lot of tearing which can be annoying. Is there any way of fixing this?
James McKenzie

Wine/WoW not detecting monitor hz

Post by James McKenzie »

fullyspenged wrote:
WoW detects my monitor hz as 77, 78, 79. 80, 81, 82

but not 60hz which it should be!

This causes a lot of tearing which can be annoying. Is there any way of fixing this?

What are your monitor settings in X.conf?

James McKenzie
fullyspenged
Level 2
Level 2
Posts: 31
Joined: Tue Dec 02, 2008 1:29 pm

Post by fullyspenged »

Code: Select all

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildmeister@builder62)  Thu Feb  5 00:09:30 PST 2009

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder62)  Tue Jan  6 09:43:54 PST 2009

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

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

Section "Module"
    Load           "dbe"
    Load           "extmod"
#    Load           "type1"
    Load           "freetype"
    Load           "glx"
    Load           "ddc"
    Load           "i2c"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "0"
EndSection

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "CorePointer"
    Option         "Device" "/dev/input/mice"
    Option         "Protocol" "ExplorerPS/2"
    Option         "Buttons" "7"
    Option	   "Emulate3Buttons" "0"
    Option         "ZAxisMapping" "4 5"
    Option         "ButtonMapping" "1 2 3 6 7"
    Option         "Resolution" "1600"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "LG M2294D-PZ"
    HorizSync       30.0 - 83.0
    VertRefresh     56.0 - 75.0
    ModeLine       "1680x1050_60.00" 147.14 1680 1784 1968 2256 1050 1051 1054 1087 -hsync +vsync
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8800 GT"
    Option         "NoLogo" "True"
    Option         "RenderAccel" "True"
    Option         "NoRenderExtension" "False"
    Option         "TripleBuffer" "True"
    Option         "NvAGP" "0"
    Option         "AddARGBGLXVisuals" "True"
    Option         "AllowGLXWithComposite" "True"
EndSection

Section "Screen"

# Removed Option "metamodes" "1680x1050_60.00"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "TwinViewXineramaInfoOrder" "DFP-0"
    Option         "metamodes" "nvidia-auto-select +0+0; 1680x1050_60.00 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "Enable"
EndSection
Also, Vsync doesn't work in it. That would solve my problems.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

fullyspenged wrote:# nvidia-settings: X configuration file generated by nvidia-settings
You do not have any modes configured except one. Also you didn't disable twinview which screws up refresh rate.
Run 'xrandr' to see what all resolutions available to Wine.
fullyspenged
Level 2
Level 2
Posts: 31
Joined: Tue Dec 02, 2008 1:29 pm

Post by fullyspenged »

Thanks vitamin, I can clearly see my problem though.

Here is my new xorg.conf:

Code: Select all

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildmeister@builder62)  Thu Feb  5 00:09:30 PST 2009

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder62)  Tue Jan  6 09:43:54 PST 2009

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

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

Section "Module"
    Load           "dbe"
    Load           "extmod"
#    Load           "type1"
    Load           "freetype"
    Load           "glx"
    Load           "ddc"
    Load           "i2c"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "0"
EndSection

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "CorePointer"
    Option         "Device" "/dev/input/mice"
    Option         "Protocol" "ExplorerPS/2"
    Option         "Buttons" "7"
    Option	   "Emulate3Buttons" "0"
    Option         "ZAxisMapping" "4 5"
    Option         "ButtonMapping" "1 2 3 6 7"
    Option         "Resolution" "1600"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "LG M2294D-PZ"
    HorizSync       30.0 - 83.0
    VertRefresh     56.0 - 75.0
    ModeLine       "1680x1050_60.00" 147.14 1680 1784 1968 2256 1050 1051 1054 1087 -hsync +vsync
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8800 GT"
    Option         "NoLogo" "True"
    Option         "RenderAccel" "True"
    Option         "NoRenderExtension" "False"
    Option         "TripleBuffer" "True"
    Option         "NvAGP" "0"
    Option         "AddARGBGLXVisuals" "True"
    Option         "AllowGLXWithComposite" "True"
EndSection

Section "Screen"

# Removed Option "metamodes" "1680x1050_60.00"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "1680x1050_60.00"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "Enable"
EndSection
Xrandr output:

Code: Select all

Screen 0: minimum 320 x 240, current 1680 x 1050, maximum 1680 x 1050
default connected 1680x1050+0+0 0mm x 0mm
   1680x1050      50.0*    51.0     52.0  
   1600x1024      53.0  
   1440x900       54.0  
   1400x1050      55.0     56.0  
   1360x768       57.0     58.0  
   1280x1024      59.0     60.0  
   1280x960       61.0  
   1152x864       62.0     63.0     64.0     65.0  
   1024x768       66.0     67.0     68.0  
   960x600        69.0  
   960x540        70.0  
   896x672        71.0  
   840x525        72.0     73.0     74.0     75.0  
   832x624        76.0  
   800x600        77.0     78.0     79.0     80.0     81.0     82.0  
   800x512        83.0  
   720x450        84.0  
   700x525        85.0     86.0     87.0  
   680x384        88.0     89.0  
   640x512        90.0     91.0  
   640x480        92.0     93.0     94.0     95.0  
   576x432        96.0     97.0     98.0     99.0  
   512x384       100.0    101.0    102.0  
   416x312       103.0  
   400x300       104.0    105.0    106.0    107.0  
   320x240       108.0    109.0    110.0  
Why doesn't it detect 60hz as it should be? Twinview is set to "0", doesn't that mean it is off? Hmm...


Spent 20 seconds on google to see how to disable twinview, the solution was:

Code: Select all

    Option	   "DynamicTwinView" "False"
In the device section. Now I can pick 60hz in WoW, problem solved.
Thanks! :D
fullyspenged
Level 2
Level 2
Posts: 31
Joined: Tue Dec 02, 2008 1:29 pm

Post by fullyspenged »

New problem, Vsync and Triple Buffer works great in fullscreen mode, but when I try to do it in Windowed mode I get:

Code: Select all

/usr/bin/wine: line 4: 10789 Segmentation fault      LD_LIBRARY_PATH="/opt/lib32/usr/lib/:/opt/lib32/lib/:$LD_LIBRARY_PATH" linux32 /opt/wine/bin/wine "$@"
Any ideas?
Locked