Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] nvidia refuses mode 1280x1024
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
heikole
Tux's lil' helper
Tux's lil' helper


Joined: 04 Oct 2004
Posts: 148
Location: Berlin, Germany

PostPosted: Sun Apr 01, 2007 9:45 am    Post subject: [SOLVED] nvidia refuses mode 1280x1024 Reply with quote

The nvidia driver doesn't like the mode 1280x1024 too much on a newly installed amd64 desktop. The highest resolution I can get is 1024x768. Does anybody see why this happens? I have tried several modifications in my xorg.conf to no avail.

Xorg.0.log:
Code:

(II) Setting vga for screen 0.
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) NVIDIA(0): Enabling RENDER acceleration
(II) NVIDIA(0): NVIDIA GPU GeForce 7600 GS at PCI:7:0:0
(--) NVIDIA(0): VideoRAM: 262144 kBytes
(--) NVIDIA(0): VideoBIOS: 05.73.22.16.05
(II) NVIDIA(0): Detected PCI Express Link width: 16X
(--) NVIDIA(0): Interlaced video modes are supported on this GPU
(--) NVIDIA(0): Connected display device(s) on GeForce 7600 GS at PCI:7:0:0:
(--) NVIDIA(0):     IQT Q17 Digital (DFP-0)
(--) NVIDIA(0): IQT Q17 Digital (DFP-0): 165.0 MHz maximum pixel clock
(--) NVIDIA(0): IQT Q17 Digital (DFP-0): Internal Single Link TMDS
(WW) NVIDIA(0): Mode "1280x960" is too large for IQT Q17 Digital (DFP-0);
(WW) NVIDIA(0):     discarding.
(WW) NVIDIA(0): Mode "1280x960" is too large for IQT Q17 Digital (DFP-0);
(WW) NVIDIA(0):     discarding.
(II) NVIDIA(0): Assigned Display Device: DFP-0
(WW) NVIDIA(0): No valid modes for "1280x1024"; removing.
(II) NVIDIA(0): Validated modes:
(II) NVIDIA(0):     "1024x768"
(II) NVIDIA(0):     "800x600"
(II) NVIDIA(0): Virtual screen size determined to be 1024 x 768
(WW) NVIDIA(0): No size information available in DFP-0's EDID; cannot compute
(WW) NVIDIA(0):     DPI from EDID.
(==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
(--) Depth 24 pixmap format is 32 bpp
(II) do I need RAC?  No, I don't.
(II) resource ranges after preInit:


xorg.conf:
Code:

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

Section "Files"
        RgbPath      "/usr/share/X11/rgb"
        ModulePath   "/usr/lib64/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/CID/"
        FontPath     "/usr/share/fonts/100dpi/"
        FontPath     "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
        Load  "extmod"
        Load  "dbe"
        Load  "xtrap"
        Load  "glx"
#       Load  "dri"
        Load  "record"
        Load  "freetype"
        Load  "type1"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option "CoreKeyboard"
        Option "XkbRules" "xorg"
        Option "XkbModel" "pc105"
        Option "XkbLayout" "de"
EndSection

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

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
#       HorizSync    28 - 110
#       VertRefresh  40 - 90
        Option       "DPMS"
        Modeline "1280x1024_60.00"  108.88  1280 1360 1496 1712  1024 1025 1028 1060  -HSync +Vsync
EndSection

Section "Device"
        Identifier  "Card0"
        Driver      "nvidia"
        VendorName  "nVidia Corporation"
        BoardName   "Unknown Board"
        BusID       "PCI:7:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth 24
        SubSection "Display"
                Viewport   0 0
                Depth     1
        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
                Modes "1280x1024_60.00" "1024x768" "800x600"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes "1280x1024" "1024x768" "800x600"
        EndSubSection
EndSection

_________________
42


Last edited by heikole on Sun Apr 01, 2007 12:07 pm; edited 1 time in total
Back to top
View user's profile Send private message
cylgalad
Veteran
Veteran


Joined: 18 Apr 2003
Posts: 1327
Location: France

PostPosted: Sun Apr 01, 2007 10:02 am    Post subject: Reply with quote

Have you tried without the ModeLine :?:
Back to top
View user's profile Send private message
heikole
Tux's lil' helper
Tux's lil' helper


Joined: 04 Oct 2004
Posts: 148
Location: Berlin, Germany

PostPosted: Sun Apr 01, 2007 10:09 am    Post subject: Reply with quote

Yes, I have. In the current config DefaultDepth is set to 24, for which no modeline is being used.
_________________
42
Back to top
View user's profile Send private message
nbvcxz
Guru
Guru


Joined: 02 Sep 2005
Posts: 379
Location: Kraków / PL

PostPosted: Sun Apr 01, 2007 10:23 am    Post subject: Reply with quote

I had the same problem and solved it with:
/etc/X11/xorg.conf:

Section "Screen"                                                                                                                                   
    Identifier  "Screen 1"                                                                                                                         
    Device      "MX440"                                                                                                                           
    Monitor     "Daewoo"                                                                                                                           
    DefaultDepth 24                                                                                                                               
    Option         "metamodes" "1280x1024 +0+0"                                                                                                   
    # Enable 32-bit ARGB GLX Visuals                                                                                                               
    Option "AddARGBGLXVisuals" "True"                                                                                                             
    # Option "DisableGLXRootClipping" "True"                                                                                                       
                                                                                                                                                   
    Subsection "Display"                                                                                                                           
        Depth       8                                                                                                                             
#        Modes      "1280x1024" "1024x768" "800x600" "640x480"                                                                                     
        ViewPort    0 0                                                                                                                           
    EndSubsection                                                                                                                                 
    Subsection "Display"                                                                                                                           
        Depth       15                                                                                                                             
#        Modes      "1280x1024" "1024x768" "800x600" "640x480"                                                                                     
        ViewPort    0 0                                                                                                                           
    EndSubsection                                                                                                                                 
    Subsection "Display"                                                                                                                           
        Depth       16                                                                                                                             
#        Modes      "1280x1024" "1024x768" "800x600" "640x480"                                                                                     
        ViewPort    0 0                                                                                                                           
    EndSubsection                                                                                                                                 
    Subsection "Display"                                                                                                                           
        Depth       24                                                                                                                             
#        Modes      "1280x1024" "1024x768" "800x600" "640x480"                                                                                     
        ViewPort    0 0                                                                                                                           
    EndSubsection                                                                                                                                 
EndSection                       

please look at line: Option "metamodes" "1280x1024 +0+0"
If you are not sure of that - please use media-video/nvidia-settings and look for generated config
_________________
nBVCXz
zen-kernel (bfq compcache) | /tmp -> tmpfs | ext4 | zsh | xfce | schedtool
Back to top
View user's profile Send private message
heikole
Tux's lil' helper
Tux's lil' helper


Joined: 04 Oct 2004
Posts: 148
Location: Berlin, Germany

PostPosted: Sun Apr 01, 2007 11:49 am    Post subject: Reply with quote

Interesting idea, but metamodes doesn't work for me. The driver keeps saying "no valid modes":

Code:

(II) Setting vga for screen 0.
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) NVIDIA(0): Option "MetaModes" "1280x1024 +0+0"
(**) NVIDIA(0): Enabling RENDER acceleration
(II) NVIDIA(0): NVIDIA GPU GeForce 7600 GS at PCI:7:0:0
(--) NVIDIA(0): VideoRAM: 262144 kBytes
(--) NVIDIA(0): VideoBIOS: 05.73.22.16.05
(II) NVIDIA(0): Detected PCI Express Link width: 16X
(--) NVIDIA(0): Interlaced video modes are supported on this GPU
(--) NVIDIA(0): Connected display device(s) on GeForce 7600 GS at PCI:7:0:0:
(--) NVIDIA(0):     IQT Q17 Digital (DFP-0)
(--) NVIDIA(0): IQT Q17 Digital (DFP-0): 165.0 MHz maximum pixel clock
(--) NVIDIA(0): IQT Q17 Digital (DFP-0): Internal Single Link TMDS
(WW) NVIDIA(0): Mode "1280x960" is too large for IQT Q17 Digital (DFP-0);
(WW) NVIDIA(0):     discarding.
(WW) NVIDIA(0): Mode "1280x960" is too large for IQT Q17 Digital (DFP-0);
(WW) NVIDIA(0):     discarding.
(II) NVIDIA(0): Assigned Display Device: DFP-0
(WW) NVIDIA(0): No valid modes for "1280x1024+0+0"; removing.
(WW) NVIDIA(0):
(WW) NVIDIA(0): Unable to validate any modes; falling back to the default mode
(WW) NVIDIA(0):     "nvidia-auto-select".
(WW) NVIDIA(0):
(II) NVIDIA(0): Validated modes:
(II) NVIDIA(0):     "nvidia-auto-select"
(II) NVIDIA(0): Virtual screen size determined to be 1024 x 768
(WW) NVIDIA(0): No size information available in DFP-0's EDID; cannot compute
(WW) NVIDIA(0):     DPI from EDID.
(==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
(--) Depth 24 pixmap format is 32 bpp


What could cause the warning (looks like an error to me) in line "WW) NVIDIA(0): Unable to validate any modes; falling back to the default mode"?
_________________
42
Back to top
View user's profile Send private message
heikole
Tux's lil' helper
Tux's lil' helper


Joined: 04 Oct 2004
Posts: 148
Location: Berlin, Germany

PostPosted: Sun Apr 01, 2007 12:07 pm    Post subject: Reply with quote

Thanks to all, finally, this snippet in section Screen helped out and solved the issue:

Code:

        Option           "HorizSync" "DFP-0:40-70"
        Option           "VertSync" "DFP-0:59-61"
        Option          "MetaModes"     "1280x1024"

_________________
42
Back to top
View user's profile Send private message
tj
Apprentice
Apprentice


Joined: 10 Aug 2002
Posts: 199
Location: tokyo, japan

PostPosted: Sun Apr 01, 2007 12:11 pm    Post subject: Reply with quote

hmm - OP solved issue - I'll shut up
_________________
I tried installing Suse Linux off the Internet. It got stuck in the middle somewhere.Installing off the Internet is for the birds.
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