Bug 155317 - Sax2 allows selection of 1280x1024 mode, but displays lower res mode
Summary: Sax2 allows selection of 1280x1024 mode, but displays lower res mode
Status: RESOLVED WONTFIX
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: SaX2 (show other bugs)
Version: Beta 6
Hardware: i686 SuSE Linux 10.1
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Marcus Schaefer
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-05 10:47 UTC by David Wright
Modified: 2006-03-21 10:06 UTC (History)
0 users

See Also:
Found By: Beta-Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
xorg.conf generated by Sax2 - hand edited to remove all but 1280x1024 mode (4.16 KB, application/octet-stream)
2006-03-05 10:48 UTC, David Wright
Details
Xorg.0.log (26.85 KB, text/x-log)
2006-03-05 11:10 UTC, David Wright
Details
SaX log per request from Marcus Schaefer 2006-03-06 (3.10 KB, text/x-log)
2006-03-06 14:53 UTC, David Wright
Details
Xorg.0.log per request from Marcus Schaefer 2006-03-06 (24.41 KB, text/x-log)
2006-03-06 15:00 UTC, David Wright
Details
xorg.conf per request from Marcus Schaefer 2006-03-06 (4.40 KB, application/octet-stream)
2006-03-06 15:55 UTC, David Wright
Details
hwinfo output per request from Marcus Schaefer 2006-03-06 (380 bytes, text/plain)
2006-03-06 15:57 UTC, David Wright
Details
SaX.log from Beta 8 (3.10 KB, text/x-log)
2006-03-20 08:58 UTC, David Wright
Details
Xorg.0.log from Beta 8 (25.67 KB, text/x-log)
2006-03-20 08:59 UTC, David Wright
Details
hwinfo -monitor output from Beta 8 (380 bytes, application/octet-stream)
2006-03-20 08:59 UTC, David Wright
Details
xorg.conf from Beta 8 (4.03 KB, application/octet-stream)
2006-03-20 08:59 UTC, David Wright
Details
Xorg.*.log from Beta 8 *after* Modeline insterted (5.94 KB, application/x-tar)
2006-03-20 10:06 UTC, David Wright
Details
Xorg.93.log in reference to Comment #26 (25.41 KB, text/x-log)
2006-03-20 12:04 UTC, David Wright
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Wright 2006-03-05 10:47:55 UTC
I am using beta 6 with the nVidia drivers, FX5900XT graphics card and Hyundai IQ17 TFT panel with a resolution of 1280x1024.

Sax2 correctly recognises both the card and the monitor and suggest a resolution of 1280x1024, which is correct. Saving this default setting then goes into test mode and it displays the test at either 1280x800 or 1024x768 which leads to "blurred" text on the screen because the monitor is having to stretch every couple of pixels.

3D acceleration works correctly. And 1280x1024 works correctly with the nv driver.

I tried editing xorg.conf and removing all mode lines apart from 1280x1024, but this doesn't help. Although it now only has 1280x1024 as a possible mode, it still starts in 1280x800 mode?!
Comment 1 David Wright 2006-03-05 10:48:59 UTC
Created attachment 71272 [details]
xorg.conf generated by Sax2 - hand edited to remove all but 1280x1024 mode
Comment 2 David Wright 2006-03-05 11:04:16 UTC
Hmm, that should be 1280x960, sorry...

Just done some further testing... selecting 1400x900 also displays 1280x960.

Changing to 1280x800 displays 800x600

1024x768 displays 1024x768

Choosing 1280x960 itself causes Sax2 to display a white screen, requiring an alt+ctrl+backspace X reset... (Tip: remember to switch to the right keyboard before hitting a+c+b, otherwise you loose the bugzilla session :-P)
Comment 3 David Wright 2006-03-05 11:10:44 UTC
Created attachment 71273 [details]
Xorg.0.log

Interesting, from the log, it looks like 1280x1024 fails the hsync test, even though this is a valid mode and is the native mode of the monitor. Looks like something might be a little fubar with the recognition routines somewhere along the line.
Comment 4 David Wright 2006-03-05 11:20:45 UTC
It looks like it is the mode recognition in conjunction with a DVI interface. I swapped to a plain VGA D-SUB analogue interface and it re-booted straight into the correct 1280x1024 mode.

So I would guess something is borked when getting valid frequencies for a monitor connected to the DVI output...
Comment 5 Marcus Schaefer 2006-03-06 13:46:49 UTC
If you don't mind call:


   init 3
   sax2 -r -a

--> send the log file /var/log/SaX.log

   rm -f /var/log/X*
   X

   Ctrl-Alt-BackSpace

--> send the log file /var/log/Xorg.0.log

Thanks

Comment 6 David Wright 2006-03-06 14:53:04 UTC
Created attachment 71378 [details]
SaX log per request from Marcus Schaefer 2006-03-06

Results of running sax2 -r -a
Comment 7 Marcus Schaefer 2006-03-06 14:59:13 UTC
Thanks SaX.log looks good to me. So if you now call

  rm -f /var/log/X* 
  X

and send me the second part of the information:

 --> send the log file /var/log/Xorg.0.log

I will be able to see why it doesn't start in 1280x1024

Thanks 
Comment 8 David Wright 2006-03-06 15:00:29 UTC
Created attachment 71383 [details]
Xorg.0.log per request from Marcus Schaefer 2006-03-06

OK, finally managed it, the first time I tried X followed by a+c+BS it resulted in a series of vertical black and white stripes and required a hardware reset... I re-did the complete test and the second attempt worked.
Comment 9 Marcus Schaefer 2006-03-06 15:07:11 UTC
sorry forget to ask for the written config file:

 /etc/X11/xorg.conf

Thanks
Comment 10 Marcus Schaefer 2006-03-06 15:12:06 UTC
sorry sorry I need the information from

   hwinfo --monitor

as well

Thanks a lot
Comment 11 David Wright 2006-03-06 15:55:51 UTC
Created attachment 71408 [details]
xorg.conf per request from Marcus Schaefer 2006-03-06

As generated by the last request. With this display the PC is using 800x600 when connected to DVI and 1280x1024 when connected to the VGA D-SUB port.
Comment 12 David Wright 2006-03-06 15:57:23 UTC
Created attachment 71409 [details]
hwinfo output per request from Marcus Schaefer 2006-03-06

Output from "hwinfo --monitor" when running in theoretical 1280x1024, actual 800x600 whilst connected to the DVI port.
Comment 13 Marcus Schaefer 2006-03-07 10:22:00 UTC
Thanks for the information, two problems here:

1) the DDC specs doesn't contain sync ranges, therefore the sync range
   has to be obtained from the resolution specific settings. This code
   has been added to sysp

2) the DDC resolution specific sync contains only the vsync value which
   requires the hsync value to be estimated. Because I don't want that I
   found in the nvidia log file an enhanced EDID block containing the
   hsync range information. The data has been added to the CDB

bug should be fixed now
Comment 14 David Wright 2006-03-18 12:07:20 UTC
Just tried it on Beta 8, the problem is still present :( Works fine with VGA, with DVI it will do a maximum of 1280x960, not the selected, and for monitor default 1280x1024
Comment 15 Marcus Schaefer 2006-03-20 08:08:55 UTC
If it doesn't work with DVI would you provide the information from
comment #5 while your monitor is connected to the DVI port. Thanks

I'm wondering why this happens because I added the following
specs to the CDB

#==============================================
# IQ17 (Digital)
#----------------------------------------------
HYUNDAI:IQ17 (DIGITAL)  {
 DDC=IQT217D
 Option=DPMS
 Hsync=31-63
 Resolution=1280x1024
 Vsync=50-60
}
Comment 16 David Wright 2006-03-20 08:58:38 UTC
Created attachment 73915 [details]
SaX.log from Beta 8
Comment 17 David Wright 2006-03-20 08:59:00 UTC
Created attachment 73916 [details]
Xorg.0.log from Beta 8
Comment 18 David Wright 2006-03-20 08:59:34 UTC
Created attachment 73917 [details]
hwinfo -monitor output from Beta 8
Comment 19 David Wright 2006-03-20 08:59:52 UTC
Created attachment 73918 [details]
xorg.conf from Beta 8
Comment 20 Marcus Schaefer 2006-03-20 09:07:41 UTC
Thanks for the information. It seems the nvidia drivers internal
mode pool doesn't have an appropriate modeline for 1280x1024 very
strange. If you don't mind include the following Modeline:

   Modeline "1280x1024" 103.24 1280 1360 1496 1712 1024 1025 1028 1058

into the Modes section of the /etc/X11/xorg.conf file:

   Section "Modes"
    Identifier   "Modes[0]"
    ---> include Modeline here 
   EndSection

now restart the X server. Does it help ?

Thanks
Comment 21 David Wright 2006-03-20 09:40:05 UTC
Sorry, doesn't make any difference I'm afraid :-(
Comment 22 Marcus Schaefer 2006-03-20 09:45:47 UTC
*grr* me to. Could you send me the coresponding Xorg.*.log
file ? Thanks
Comment 23 David Wright 2006-03-20 10:06:31 UTC
Created attachment 73930 [details]
Xorg.*.log from Beta 8 *after* Modeline insterted
Comment 24 Marcus Schaefer 2006-03-20 10:18:59 UTC
Does it work with the following modeline:

  Modeline "1280x1024" 102 1280 1360 1496 1712 1024 1025 1028 1058

Thanks for testing
Comment 25 David Wright 2006-03-20 10:56:53 UTC
Sorry, that doesn't work either :-( And going into Sax2 now says that the configuration is not valid and it tries to create a new version, which leads to a blank screen...
Comment 26 Marcus Schaefer 2006-03-20 11:13:47 UTC
I don't understand what's going on on your system. To debug such a
problem you should be in runlevel 3

   init 3

no other X-Server around no windowmanager system like Gnome or
KDE running. include the Modeline from comment #24 manually
using your favorite editor.

Now remove all X logs

   rm -f /var/log/X*

and start bare X by typing

   X

kill the server with the key combination

   Ctrl-Alt-BackSpace

and finally send the new log /var/log/Xorg.0.log

The Modeline above fits into the range I see no reason why the
X-Server denies to use it. The weird thing is that the log tells
me that exactly 60Hz is required like a fixed clock monitor which
is surely not true, also weird is that calling int10 to obtain the
bios data like hwinfo does didn't provide any range. All this together
points to a really weird hardware (monitor)

let's see what the log said
Thanks
Comment 27 David Wright 2006-03-20 11:47:40 UTC
OK, I'll get on doing the test in a moment. The Sax2 configuration problem was just when I had done the changes, gone back into Gnome to test after a reboot and double checked with Sax2 what the configuration said and what it tested as, that was when it went phut.

For most of the testing I am in init 3.
Comment 28 David Wright 2006-03-20 12:04:54 UTC
Created attachment 73952 [details]
Xorg.93.log in reference to Comment #26

It didn't create a .0.log, just the .93.log...
Comment 29 Marcus Schaefer 2006-03-20 16:28:42 UTC
I think this is a bug in the nvidia driver. I tells me:

   (II) NVIDIA(0):   VertRefresh : 60.000 Hz

you need a modeline with exactly 60.000 Hz otherwise the mode gets
deleted with "vsync out of range" which is wrong. I think your monitor
doesn't report a valid DDC record which triggers the nvidia problem and
may explain the hwinfo behavior as well.

I'm sorry but I can only offer to add the option

   Option "NoDDC"

into the Section "Device" of your xorg.conf maybe this helps ?



Comment 30 David Wright 2006-03-20 17:07:09 UTC
That has done the trick.

The bug with the nVidia driver is new in its interaction with 10.1.

Using Xorg 6.8 and the drivers from YOU under 10.0 the monitor is recognised correctly...

Either the driver I am using in 10.0 is older and doesn't have this bug, or the patch file for 10.1 introduces this problem I would guess...

Anyway, thanks for your patience with this problem.
Comment 31 Marcus Schaefer 2006-03-20 17:13:03 UTC
Hmm, Stefan do you know if there is a change in the nvidia driver
which may cause the mentioned problem ? I'm currently thinking to
enable NoDDC by default... 
Comment 32 Stefan Dirsch 2006-03-20 17:26:20 UTC
Andy R. told me that the NVIDIA driver tries to use the modelines provided in the EDID info block by the monitor. (X --logverbose 5 gives you more informations about the EDID block). NoDDC is an alias for IgnoreEDID and will disable this feature. I think in most cases using EDID is quite helpful.
Comment 33 Marcus Schaefer 2006-03-21 10:06:38 UTC
yes I agree so it is not a good idea to use IgnoreEDID by default
David I will close this now because I think it cannot be solved
in a general way. I'm pretty sure in this case it's needed but it
doesn't affect other systems otherwise I would have received lots
of bug reports concerning this.

I'm hoping it's ok for you to live with the workaround. The mentioned
option can be selected in sax2 as well so there is no need to manually
edit the config file. It is named "IgnoreEDID" in the list of sax2

Thanks