LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 10-19-2009, 08:45 PM   #1
ephlodur
LQ Newbie
 
Registered: Oct 2009
Posts: 4

Rep: Reputation: 0
Unhappy nvidia xorg resolution problem


I have dual boot system winXp and Kubuntu 9.04
my video card is a 8800 GTS that work fine in windows
and this video card was also working fine in linux but
now it simply refuse to set the appropriate screen resolution 1920x1200
my display is a SamSung SyncMaster 2443bw.

below are some logs:
the resolution always fall to 640x480
I have 2 video card for the 7900 when I try it I can load the "nv" driver.. but as for the 8800 GTS not even the "nv" driver will load

Since the same card is doing fine under windows I don't suspect that I have a faulty card nor a falty display..

(--) NVIDIA(0): DFP-0: 330.0 MHz maximum pixel clock
(--) NVIDIA(0): DFP-0: Internal Dual Link TMDS
(II) NVIDIA(0): Assigned Display Device: DFP-0
(WW) NVIDIA(0): No valid modes for "1920x1200"; removing.
(WW) NVIDIA(0): No valid modes for "1280x1024"; removing.
(WW) NVIDIA(0): No valid modes for "1024x768"; removing.
(WW) NVIDIA(0): No valid modes for "800x600"; removing.
(II) NVIDIA(0): Validated modes:
(II) NVIDIA(0): "640x480"
(II) NVIDIA(0): Virtual screen size determined to be 640 x 480
(WW) NVIDIA(0): Unable to get display device DFP-0's EDID; cannot compute DPI
(WW) NVIDIA(0): from DFP-0's EDID.
(==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
(==) NVIDIA(0): Enabling 32-bit ARGB GLX visuals.
(--) Depth 24 pixmap format is 32 bpp
(II) do I need RAC? No, I don't.
(II) resource ranges after preInit:
[0] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]
[1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[4] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[5] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]
(II) NVIDIA(0): Initialized GPU GART.
(II) NVIDIA(0): Setting mode "640x480"
(II) NVIDIA(0): Built-in logo is bigger than the screen.
(II) Loading extension NV-GLX
(II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized


Thanks for any help..
 
Old 10-19-2009, 09:13 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Check if you have the nvidia-settings program. See if you can change the resolution and save the settings. If you don't have an /etc/X11/xorg.conf file, try the nvidia-xconfig program first to create an initial xorg.conf file.

Another thing to try is using the GTF program.
gtf 1920 1200 60 x

Remove the ".00" from the label of the modeline printed out. Then if your xorg.conf file, if you have a "Modes" section, add it to that. If not, you can add it to your "Monitor" section. Then add the mode to your "Screen" subsections. The label will probably look like "1920x1200@60". Add that to the modes lines in the "Screen" subsections.

For example:
Code:
Section "Screen"
  DefaultDepth 24
  SubSection "Display"
    Depth      15
    Modes      "1920x1200@60" "1440x900" "1366x768" "1360x768" "1280x800" "1152x864" "1280x768" "1280x720" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
  EndSubSection
Also make sure that your horizontal and vertical refresh settings are within your monitors ratings.
 
Old 10-20-2009, 08:51 AM   #3
ephlodur
LQ Newbie
 
Registered: Oct 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Here is my xorg.conf...
is it possible that my screen of my video card might develop a problem that only arise in Linux ... I'm worried about that line in the log files
(WW) NVIDIA(0): Unable to get display device DFP-0's EDID; cannot compute DPI
(WW) NVIDIA(0): from DFP-0's EDID.

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

Section "Files"
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 "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1920x1200" "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubSection
EndSection
 
Old 10-20-2009, 10:46 AM   #4
spooge
Member
 
Registered: Nov 2001
Location: n chicago, IL. USA
Distribution: Slackware
Posts: 307

Rep: Reputation: 31
when my modelines were ignored, i needed to add this to my screen section:
Code:
Option "UseEDID" "False"
 
Old 10-20-2009, 06:41 PM   #5
ephlodur
LQ Newbie
 
Registered: Oct 2009
Posts: 4

Original Poster
Rep: Reputation: 0
It seem that I'm not as lucky as you .. I same the same problem
my xorg.conf:


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

Section "Files"
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 "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
Option "UseEdidFreqs" "0"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "UseEDID" "False"
SubSection "Display"
Depth 24
Modes "1920x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection


part of my Xorg.0.log:

(--) PCI:*(0@1:0:0) nVidia Corporation G80 [GeForce 8800 GTS] rev 162, Mem @ 0xfd000000/16777216, 0xd0000000/268435456, 0xfa000000/33554432, I/O @ 0x0000cc00/128, BIOS @ 0x????????/131072
(II) Open ACPI successful (/var/run/acpid.socket)
(II) System resource ranges:
[0] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]
[1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[4] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[5] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions//libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
compiled for 1.6.0, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions//libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
compiled for 1.6.0, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions//libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.0
Module class: X.Org Server Extension
(II) NVIDIA GLX Module 185.18.36 Fri Aug 14 18:27:24 PDT 2009
(II) Loading extension GLX

(**) NVIDIA(0): Option "UseEDID" "False"
(**) NVIDIA(0): Option "UseEdidFreqs" "0"
(**) NVIDIA(0): Enabling RENDER acceleration
(**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID has been
(**) NVIDIA(0): disabled on all display devices.
(**) NVIDIA(0): Ignoring EDIDs
(II) NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
(II) NVIDIA(0): enabled.
(II) NVIDIA(GPU-0): Not probing EDID on DFP-0.
(II) NVIDIA(0): NVIDIA GPU GeForce 8800 GTS (G80) at PCI:1:0:0 (GPU-0)
(--) NVIDIA(0): Memory: 655360 kBytes
(--) NVIDIA(0): VideoBIOS: 60.80.13.00.01
(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 8800 GTS at PCI:1:0:0:
(--) NVIDIA(0): DFP-0
(--) NVIDIA(0): DFP-0: 330.0 MHz maximum pixel clock
(--) NVIDIA(0): DFP-0: Internal Dual Link TMDS
(II) NVIDIA(0): Assigned Display Device: DFP-0
(WW) NVIDIA(0): No valid modes for "1920x1200"; removing.
(WW) NVIDIA(0): No valid modes for "1280x1024"; removing.
(WW) NVIDIA(0): No valid modes for "1024x768"; removing.
(WW) NVIDIA(0): No valid modes for "800x600"; removing.
(II) NVIDIA(0): Validated modes:
(II) NVIDIA(0): "640x480"
(II) NVIDIA(0): Virtual screen size determined to be 640 x 480
(WW) NVIDIA(0): Unable to get display device DFP-0's EDID; cannot compute DPI
(WW) NVIDIA(0): from DFP-0's EDID.
(==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
(==) NVIDIA(0): Enabling 32-bit ARGB GLX visuals.
(--) Depth 24 pixmap format is 32 bpp
(II) do I need RAC? No, I don't.
(II) resource ranges after preInit:
[0] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]
[1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[4] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[5] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]
(II) NVIDIA(0): Initialized GPU GART.
(II) NVIDIA(0): Setting mode "640x480"
(II) NVIDIA(0): Built-in logo is bigger than the screen.
(II) Loading extension NV-GLX
(II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized
(==) NVIDIA(0): Disabling shared memory pixmaps
(II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture
(==) NVIDIA(0): Backing store disabled
(==) NVIDIA(0): Silken mouse enabled
(**) Option "dpms"
(**) NVIDIA(0): DPMS enabled
(II) Loading extension NV-CONTROL
(II) Loading extension XINERAMA
(==) RandR enabled


Thanks for all your help.
 
Old 10-20-2009, 09:22 PM   #6
rolf
Member
 
Registered: Jul 2001
Location: Oakland, CA
Distribution: Mageia 5 x86_64
Posts: 187

Rep: Reputation: 33
fwiw, I had to jump through some hoops to get the resolution I wanted that was in conflict with edid and declared invalid by Xorg.

I found cvt to work better and needed the -r switch; see man cvt

Code:
$ cvt -r 1280 800                                     
# 1280x800 59.91 Hz (CVT 1.02MA-R) hsync: 49.31 kHz; pclk: 71.00 MHz    
Modeline "1280x800R"   71.00  1280 1328 1360 1440  800 803 809 823 +hsync -vsync
I only really use/need the one resolution but there are others in my xorg.conf:

Code:
Section "Monitor"
    Identifier "monitor1"
    HorizSync 30.0 - 81.0
    VertRefresh 56.0 - 75.0
                           
    # TV fullscreen mode or DVD fullscreen output.
    # 768x576 @ 79 Hz, 50 kHz hsync               
    ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  630
                                                                         
    # 768x576 @ 100 Hz, 61.6 kHz hsync                                   
    ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  616

    # 1280x800 59.91 Hz (CVT 1.02MA-R) hsync: 49.31 kHz; pclk: 71.00 MHz
    Modeline "1280x800R"   71.00  1280 1328 1360 1440  800 803 809 823 +hsync -vsync
                                                                                    
    # modeline generated by gtf(1) [handled by XFdrake]                             
    ModeLine "1152x768_120"  156.44  1152 1240 1368 1584  768 769 772 823  -HSync +Vsync
                                                                                        
    # modeline generated by gtf(1) [handled by XFdrake]                                 
    ModeLine "1152x768_100"  127.64  1152 1232 1360 1568  768 769 772 814  -HSync +Vsync
                                                                                        
    # modeline generated by gtf(1) [handled by XFdrake]                                 
    ModeLine "1152x768_85"  106.46  1152 1224 1352 1552  768 769 772 807  -HSync +Vsync 
                                                                                        
    # modeline generated by gtf(1) [handled by XFdrake]                                 
    ModeLine "1152x768_75"  92.39  1152 1224 1344 1536  768 769 772 802  -HSync +Vsync  
                                                                                        
    # modeline generated by gtf(1) [handled by XFdrake]                                 
    ModeLine "1152x768_60"  71.74  1152 1208 1328 1504  768 769 772 795  -HSync +Vsync  

    # 1152x768 59.82 Hz (CVT) hsync: 47.26 kHz; pclk: 62.00 MHz
    Modeline "1152x768R"   62.00  1152 1200 1232 1312  768 771 781 790 +hsync -vsync

    # 1152x864 74.82 Hz (CVT 1.00M3) hsync: 67.71 kHz; pclk: 104.00 MHz
    #Modeline "1152x864_75.00"  104.00  1152 1224 1344 1536  864 867 871 905 -hsync +vsync

    # 1152x768 @ 57.00 Hz (GTF) hsync: 45.26 kHz; pclk: 68.07 MHz
    Modeline "1152x768_57.00"  68.07  1152 1208 1328 1504  768 769 772 794  -HSync +Vsync
   # ((WW) NVIDIA(0): Option "PreferredMode" is not used) Option "PreferredMode" "1152x864_75.00"

    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1152x768_50"  58.85  1152 1200 1320 1488  768 769 772 791  -HSync +Vsync

    # 1152x720 59.92 Hz (CVT 0.83MA-R) hsync: 44.40 kHz; pclk: 58.25 MHz
    Modeline "1152x720R"   58.25  1152 1200 1232 1312  720 723 729 741 +hsync -vsync
                                                                                    
    # modeline generated by gtf(1) [handled by XFdrake]                             
    ModeLine "720x480_120"  59.33  720 760 840 960  480 481 484 515  -HSync +Vsync  
                                                                                    
    # modeline generated by gtf(1) [handled by XFdrake]                             
    ModeLine "720x480_100"  48.05  720 760 832 944  480 481 484 509  -HSync +Vsync  
                                                                                    
    # modeline generated by gtf(1) [handled by XFdrake]                             
    ModeLine "720x480_85"  39.83  720 752 824 928  480 481 484 505  -HSync +Vsync   
                                                                                    
    # modeline generated by gtf(1) [handled by XFdrake]                             
    ModeLine "720x480_75"  34.94  720 752 824 928  480 481 484 502  -HSync +Vsync   
                                                                                    
    # modeline generated by gtf(1) [handled by XFdrake]                             
    ModeLine "720x480_60"  26.72  720 736 808 896  480 481 484 497  -HSync +Vsync   
                                                                                    
    # modeline generated by gtf(1) [handled by XFdrake]                             
    ModeLine "720x480_50"  21.78  720 728 800 880  480 481 484 495  -HSync +Vsync   
                                                                                    
    # modeline generated by gtf(1) [handled by XFdrake]                             
    ModeLine "360x240_120"  14.12  360 368 408 456  240 241 244 258  -HSync +Vsync  
                                                                                    
    # modeline generated by gtf(1) [handled by XFdrake]                             
    ModeLine "360x240_100"  11.22  360 368 400 440  240 241 244 255  -HSync +Vsync  
                                                                                    
    # modeline generated by gtf(1) [handled by XFdrake]                             
    ModeLine "360x240_85"  9.12  360 360 392 424  240 241 244 253  -HSync +Vsync    
                                                                                    
    # modeline generated by gtf(1) [handled by XFdrake]                             
    ModeLine "360x240_75"  7.98  360 360 392 424  240 241 244 251  -HSync +Vsync    
                                                                                    
    # modeline generated by gtf(1) [handled by XFdrake]                             
    ModeLine "360x240_60"  5.86  360 344 376 392  240 241 244 249  -HSync +Vsync    
                                                                                    
    # modeline generated by gtf(1) [handled by XFdrake]                             
    ModeLine "360x240_50"  4.66  360 336 368 376  240 241 244 248  -HSync +Vsync    
EndSection                                                                          

Section "Screen"
    Identifier "screen1"
    Device "Device0"    
    Monitor "monitor1"  
    DefaultColorDepth 24
                        
    Subsection "Display"
        Depth 8         
        Modes "1280x800R" "1152x720R" "1152x768" "720x480" "360x240"
    EndSubsection                                                   
                                                                    
    Subsection "Display"                                            
        Depth 15                                                    
        Modes "1280x800R" "1152x720R" "1152x768" "720x480" "360x240"
    EndSubsection                                                   
                                                                    
    Subsection "Display"                                            
        Depth 16                                                    
        Modes "1280x800R" "1152x720R" "1152x768" "720x480" "360x240"
    EndSubsection                                                   
                                                                    
    Subsection "Display"                                            
        Depth 24                                                    
        Modes "1280x800R" "1152x720R" "1152x768" "720x480" "360x240"
    EndSubsection                                                   
EndSection
I found that, if there was a higher resolution mode, xorg loaded that, so I made sure mine was the highest, removed the rest.

There was an option I needed in the "Device" section in order for my unorthodox mode to get loaded:

Code:
Section "Device"
    Identifier "Device0"
    VendorName "NVIDIA Corporation"
    BoardName "GeForce 9500 GT"
    Driver "nvidia"
    Option "ExactModeTimingsDVI" "yes"
#    Option "UseEDIDFreqs" "false"
#    Option "ModeValidation" "DFP-1: NoMaxPClkCheck, NoEdidMaxPClkCheck, AllowNon60HzDFPModes"
EndSection
Option "ExactModeTimingsDVI" "yes"
was necessary. I found it in the documentation that comes with the nvidia driver. The commented options might have worked once but switches get dropped, or they might just have been experimental failures.
 
Old 10-21-2009, 07:15 AM   #7
ephlodur
LQ Newbie
 
Registered: Oct 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks for the help... for now I can get my normal screen resolution by changing my cable form the DVI connection to the VGA connector not sure the reason why but for now it work... I have try the option you included in your response.. the Option "ExactModeTimingsDVI" "yes" this just turn my screen black.. I guess what I need to do now if to find out why the DVI connector in not working in linux because this works fine in with my WindosXP...

I found now that I can't save the current configuration with nvidia-settings ..the application always return tha he cannot parse the xorg.conf file..

thanks again.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
nv Vs. nvidia in xorg.conf -- Resolution Problems treth Linux - Laptop and Netbook 2 03-30-2010 02:42 AM
Nvidia/XOrg problem - Debian Etch knappster Linux - Software 6 03-02-2007 08:52 PM
screen position problem after xorg+nvidia install hazelett Debian 2 10-04-2006 01:09 PM
nvidia driver-xorg.conf problem on rebooting Steve Riley Ubuntu 4 05-17-2006 09:36 AM
xorg.conf and nvidia problem scarryharry Slackware 8 05-20-2005 04:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 10:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration