Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 02-23-06, 05:29 PM   #1
Wolfgang Knauf
Registered User
 
Join Date: Feb 2006
Posts: 9
Question EDID Detection: none of video modes allowed on Suse 10.1

Hi everybody,

I ran into a strange problem. Maybe someone here can explain to me what happened (and whether a bug somewhere in the driver or Suse is involved).

My system is:
AMD 64 3200
Geforce 5950 Ultra
Suse 10.1 Beta 3 (Kernel: 2.6.16-rc1-git3-7)
Monitor: Highscreen MS1795P (17'' CRT, some years olde)

I configured it with SAX2 to use 1280x1024.

The relevant settings from xorg.conf are those:
Section "Device"
BoardName "GeForce FX 5950 Ultra"
Driver "nv"
Identifier "Device[0]"
Screen 0
VendorName "NVidia"
EndSection

Section "Modes"
Identifier "Modes[0]"
ModeLine "1280x1024" 149.6 1280 1344 1480 1744 1024 1025 1028 1056
ModeLine "1280x1024" 147.7 1280 1344 1480 1744 1024 1025 1028 1056
ModeLine "1280x960" 149.4 1280 1376 1512 1744 960 961 964 1008
ModeLine "1280x960" 147.7 1280 1376 1512 1744 960 961 964 1008
ModeLine "1280x960" 145.8 1280 1376 1512 1744 960 961 964 1007
ModeLine "1280x800" 149.4 1280 1376 1512 1744 800 801 804 848
ModeLine "1280x800" 147.9 1280 1376 1512 1744 800 801 804 848
ModeLine "1280x800" 146.2 1280 1376 1512 1744 800 801 804 847
ModeLine "1152x864" 134.4 1152 1232 1360 1568 864 865 868 912
ModeLine "1152x864" 133.0 1152 1232 1360 1568 864 865 868 912
ModeLine "1152x864" 131.4 1152 1232 1360 1568 864 865 868 911
ModeLine "1280x768" 149.4 1280 1376 1512 1744 768 769 772 816
ModeLine "1280x768" 148.0 1280 1376 1512 1744 768 769 772 816
ModeLine "1280x768" 146.4 1280 1376 1512 1744 768 769 772 815
ModeLine "1024x768" 119.3 1024 1096 1208 1392 768 769 772 816
ModeLine "1024x768" 118.1 1024 1096 1208 1392 768 769 772 816
ModeLine "1024x768" 116.8 1024 1096 1208 1392 768 769 772 815
ModeLine "1280x600" 131.1 1280 1368 1504 1728 600 601 604 643
ModeLine "1280x600" 129.8 1280 1368 1504 1728 600 601 604 642
ModeLine "1280x600" 128.7 1280 1368 1504 1728 600 601 604 642
ModeLine "1024x600" 105.6 1024 1096 1208 1392 600 601 604 643
ModeLine "1024x600" 103.4 1024 1088 1200 1376 600 601 604 642
ModeLine "1024x600" 102.5 1024 1088 1200 1376 600 601 604 642
ModeLine "800x600" 82.5 800 856 944 1088 600 601 604 643
ModeLine "800x600" 81.7 800 856 944 1088 600 601 604 642
ModeLine "800x600" 81.0 800 856 944 1088 600 601 604 642
ModeLine "768x576" 75.7 768 824 904 1040 576 577 580 617
ModeLine "768x576" 75.1 768 824 904 1040 576 577 580 617
ModeLine "768x576" 74.3 768 824 904 1040 576 577 580 616
ModeLine "640x480" 51.4 640 680 744 848 480 481 484 514
ModeLine "640x480" 51.0 640 680 744 848 480 481 484 514
ModeLine "640x480" 50.6 640 680 744 848 480 481 484 514
EndSection

Section "Monitor"
Identifier "Monitor[0]"
VendorName "HIGHSCREEN"
ModelName "MS1795P"
UseModes "Modes[0]"
DisplaySize 320 240
HorizSync 30.0 - 86.0
VertRefresh 50.0 - 120.0
Option "DPMS"
EndSection

According to the manual those values are almost corret, only VertRefresh goes from 47 to 120.

The resolution is 1280x1024@81Hz.

Now I installed NVidia driver (NVIDIA-Linux-x86_64-1.0-8178-pkg2.run + NVIDIA_kernel-1.0-8178-U012206.diff.txt).
The driver is replaced by this:
Section "Device"
Identifier "Device[0]"
Driver "nvidia"
VendorName "NVidia"
BoardName "GeForce FX 5950 Ultra"
Screen 0
EndSection

What happens: nearly all monitor modes from xorg.conf are considered invalid and it falls back to 1600*1200@60Hz (horrible).

From /var/log/Xorg.0.log:
(II) NVIDIA(0): NVIDIA GPU detected as: GeForce FX 5950 Ultra
(--) NVIDIA(0): VideoBIOS: 04.35.20.32.00
(--) NVIDIA(0): Interlaced video modes are supported on this GPU
(II) NVIDIA(0): Detected AGP rate: 8X
(--) NVIDIA(0): VideoRAM: 262144 kBytes
(II) NVIDIA(0): Connected display device(s): CRT-0
(--) NVIDIA(0): CRT-0: maximum pixel clock: 400 MHz
(II) NVIDIA(0): Frequency information for CRT-0:
(II) NVIDIA(0): HorizSync : 15.000-81.000 kHz
(II) NVIDIA(0): VertRefresh : 56.000-85.000 Hz
(II) NVIDIA(0): (HorizSync from EDID)
(II) NVIDIA(0): (VertRefresh from EDID)
(II) NVIDIA(0): Monitor[0]: Using hsync range of 15.00-81.00 kHz
(II) NVIDIA(0): Monitor[0]: Using vrefresh range of 56.00-85.00 Hz
(II) NVIDIA(0): Clock range: 12.00 to 400.00 MHz
(II) NVIDIA(0): Not using mode "1280x1024" (hsync out of range)
(II) NVIDIA(0): Not using mode "1280x1024" (hsync out of range)
(II) NVIDIA(0): Not using mode "1280x960" (hsync out of range)
....
(II) NVIDIA(0): Not using mode "1024x768" (hsync out of range)
(II) NVIDIA(0): Not using mode "1024x768" (hsync out of range)
(II) NVIDIA(0): Not using mode "1024x768" (hsync out of range)
(II) NVIDIA(0): Not using mode "1280x600" (vrefresh out of range)
(II) NVIDIA(0): Not using mode "1280x600" (vrefresh out of range)
...
(II) NVIDIA(0): Not using mode "640x480" (vrefresh out of range)
(II) NVIDIA(0): Not using mode "640x480" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "512x384" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "640x512" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1600x1200" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1600x1200" (hsync out of range)
....
(II) NVIDIA(0): Not using default mode "576x384" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "1920x1440" (hsync out of range)
(II) NVIDIA(0): Not using default mode "960x720" (hsync out of range)
(II) NVIDIA(0): Not using default mode "2048x1536" (hsync out of range)
(II) NVIDIA(0): Not using default mode "2048x1536" (hsync out of range)
(II) NVIDIA(0): Not using default mode "2048x1536" (hsync out of range)
(II) NVIDIA(0): Not using mode "1280x1024" (no mode of this name)
(II) NVIDIA(0): Not using mode "1280x960" (no mode of this name)
(II) NVIDIA(0): Not using mode "1280x800" (no mode of this name
.....
(II) NVIDIA(0): Not using mode "768x576" (no mode of this name)
(II) NVIDIA(0): Not using mode "640x480" (no mode of this name)
(WW) NVIDIA(0): Not using mode "360x200":
(WW) NVIDIA(0): horizontal sync start (378) not a multiple of 8
(**) NVIDIA(0): Validated modes for display device CRT-0:
(**) NVIDIA(0): Default mode "1600x1200": 175.5 MHz, 81.2 kHz, 65.0 Hz
(**) NVIDIA(0): Default mode "1600x1200": 162.0 MHz, 75.0 kHz, 60.0 Hz
(**) NVIDIA(0): Default mode "1400x1050": 155.8 MHz, 81.5 kHz, 74.8 Hz
(**) NVIDIA(0): Default mode "1400x1050": 122.0 MHz, 64.9 kHz, 60.0 Hz
....
(**) NVIDIA(0): Default mode "320x175": 15.8 MHz, 37.9 kHz, 85.3 Hz (D)
(II) NVIDIA(0): Virtual screen size determined to be 1600 x 1200
(WW) NVIDIA(0): No size information available in CRT-0's EDID; cannot compute
(WW) NVIDIA(0): DPI from EDID.
(**) NVIDIA(0): DPI set to (127, 127); computed from "DisplaySize" Monitor section option


Workaround: Disable EDID detection in xorg.conf:
Section "Device"
Identifier "Device[0]"
Driver "nvidia"
VendorName "NVidia"
BoardName "GeForce FX 5950 Ultra"
Screen 0
Option "UseEdidFreqs" "false"
Option "IgnoreEDID" "true"
EndSection

I will attach full Xorg.0.log for EDID enabled and disabled.

Please tell me anybody why the driver seems to fail the EDID detection and then uses the worst possible resolution (pirate) ?

Thanks

Wolfgang
Attached Files
File Type: log Xorg.0_EDID.log (32.3 KB, 152 views)
File Type: log Xorg.0_NoEDID.log (32.1 KB, 136 views)
Wolfgang Knauf is offline   Reply With Quote
Old 02-23-06, 05:38 PM   #2
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: EDID Detection: none of video modes allowed on Suse 10.1

I'd suggest commenting out all the modelines that yast decided were correct, and allowing the nvidia driver to determine the modes on its own. If that fails to work, please start X with the following command:
startx -- -logverbose 5

and then generate and provide an nvidia-bug-report.log for review.

Thanks,
Lonni
netllama is offline   Reply With Quote
Old 02-24-06, 03:08 PM   #3
Wolfgang Knauf
Registered User
 
Join Date: Feb 2006
Posts: 9
Default Re: EDID Detection: none of video modes allowed on Suse 10.1

Hi Lonni !

I removed all mode lines, and the result looked quite good. The H/V Frequency decreased to 80KHz/75Hz (was 80 Hz before) at 1280x1024, but these are exactly the values for this resolution from the manual, and the display's OSD says this is "Preset Mode 9". WinXP also uses this refresh rates at the same resolution. So it seems Sax2 picked some wrong values.

I attach the bug report (with removed modelines) anyway.

Strange is this:
(--) NVIDIA(0): Valid HSync Range : 15kHz - 81kHz
(--) NVIDIA(0): Valid VRefresh Range : 56Hz - 85Hz

According to the manual, Scanning Frequency if Horizontal 30kHz to 86 kHz, Vertical 47 HZ to 120 Hz. Or I am wrong and HSync is not "Horizontal Scanning Frequency" ?

So, what's basically wrong ? Apparently, it is not the NVidia driver, but SAX2 ? Should I file a sax bug ?

Thanks

Wolfgang

By the way: max file size for this forum was too low for the bugreport file (168KB), and tar.gz was not an allowed extension :-(. Would be better to improve this a bit.
Attached Files
File Type: zip nvidia-bug-report.log.zip (32.6 KB, 134 views)
Wolfgang Knauf is offline   Reply With Quote
Old 02-24-06, 03:12 PM   #4
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: EDID Detection: none of video modes allowed on Suse 10.1

Yes, this sounds like a sax2 bug, as it incorrectly detected the valid modelines for your display device.

Thanks,
Lonni
netllama is offline   Reply With Quote
Old 02-26-06, 02:40 PM   #5
Wolfgang Knauf
Registered User
 
Join Date: Feb 2006
Posts: 9
Default Re: EDID Detection: none of video modes allowed on Suse 10.1

Here is the SaX2 bug link: https://bugzilla.novell.com/show_bug.cgi?id=153596

Could the behaviour of the NVidia driver be improved ? xorg.conf contains a section with the requested screen resolutions:
Section "Screen"
Identifier "Screen[0]"
Device "Device[0]"
Monitor "Monitor[0]"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
EndSubSection

Why does the NVidia driver not take a look at the declared modes, picks the first one (in this case: 1280x1024) and switches the vert./horz. frequencies to the modes acquired by EDID ? If this would happen I would have never noticed that xorg.conf contains invalid modelines, and I wouldn't have spent hours searching for a resultion :-(.

Thanks

Wolfgang
Wolfgang Knauf is offline   Reply With Quote
Old 02-26-06, 06:26 PM   #6
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: EDID Detection: none of video modes allowed on Suse 10.1

Wolfgang,
The nvidia driver already does exactly as you've specified above. The problem is that you (or sax2, I suppose) have chosen to overridden that behavior with modelines which have the same names as default modes ("1280x1024", "1024x768", etc). If sax2 had named the modelines with something unique, such as "suse1280x1024", then it would have been more clear why those modelines were failing to work.

For what its worth, the next driver release will be alot more verbose in where its obtaining each mode that it attempts, so the problem you ran into should be less difficult to debug. sax2 will still need to fix the mode misdetection issue, however.

Thanks,
Lonni
netllama is offline   Reply With Quote
Old 02-27-06, 04:31 AM   #7
Wolfgang Knauf
Registered User
 
Join Date: Feb 2006
Posts: 9
Default Re: EDID Detection: none of video modes allowed on Suse 10.1

Hi Lonni !

Thanks for the clarification. Yes, the modelines were created by Sax2.
So a mode can have any name, and a mode "1280x1024" does not mean anything more than "BigFatHamburger", it is just used to link it to a ModeLine.

I still like the idea of an auto-correcting driver which picks the requested mode "suse1280x1024", finds that some value is invalid and switches back to the valid EDID detected values for the declared resolution. But this might be difficult to implement because the next modeline might be a valid fallback one and the user intends to use it. In most cases this should not be required, only when Sax2 totally fails and everything is invalid...

Thanks

Wolfgang
Wolfgang Knauf is offline   Reply With Quote
Old 02-27-06, 05:53 AM   #8
Wolfgang Knauf
Registered User
 
Join Date: Feb 2006
Posts: 9
Default Re: EDID Detection: none of video modes allowed on Suse 10.1

Interesting info from the Sax team regarding my bugreport. The behaviour change could be relevant for you too:

"Additional sax will not calculate modelines if the nvidia binary driver
is in use"

Will be interesting to check out what's happening...

Wolfgang
Wolfgang Knauf is offline   Reply With Quote

Reply


Thread Tools

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 On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
320.17 can't detect video modes on Lenovo laptop tadawson NVIDIA Linux 13 07-14-12 02:40 AM
Missing Video Modes Enverex NVIDIA Linux 0 06-22-12 07:30 AM

All times are GMT -5. The time now is 10:14 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.