Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Monitor out of range on specific resolution [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
nrezinorn
n00b
n00b


Joined: 15 Jul 2004
Posts: 52

PostPosted: Thu Feb 02, 2012 2:03 am    Post subject: Monitor out of range on specific resolution [SOLVED] Reply with quote

I found the magic line that makes the Nvidia module play nice with my monitor. I simply added the marked line to the "Device" section:

Code:
Section "Device"
    Option "NoTwinViewXineramaInfo" "True"
    Identifier     "Card0"
    Driver         "nvidia"
    Option "ModeValidation" "NoXServerModes"   <-- the magic line
EndSection

upon starting X, xrandr shows only the modes I
care about, and WINE happily switches to the proper mode my monitor handles.
---
I've been wrestling for a few days now, and cannot find a suitable solution. The problem is that nvidia-auto-select is choosing a mode that my monitor doesn't like (on the fly, when running an App such as WINE). I can reproduce the error in nvidia-settings and choosing 800x600@auto.

How do I make sure Nvidia uses the proper mode when in 800x600 for my monitor - it seems the auto selection is not smart enough to know what's going on. Can the 800x600 Hz rate that doesn't work be blacklisted?

I am not going to use xrandr in a shell script to set the mode correctly because the application switches between different resolutions when running.

It's basically running Diablo2 + WINE in full screen. Works fine if i set a virtual desktop and play, but it's not ideal.

Here's my xorg.conf generated by nvidia-xconfig:
Code:
Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

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

Section "Module"
    Load           "extmod"
    Load           "record"
    Load           "glx"
    Load           "dbe"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
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     "ASUS"
    ModelName      "VE278"
    HorizSync      24-92
    VertRefresh    50-85
    Option "DPMS"
EndSection

Section "Device"
    Identifier     "Card0"
    Driver         "nvidia"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Card0"
    Monitor        "Monitor0"

    SubSection     "Display"
        Viewport    0 0
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       4
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       8
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       15
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       16
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       24
    EndSubSection
       
EndSection
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum