Bug 13740

Summary: DVI racing color edge corruptions on dual head intel GMA G33 v2
Product: xorg Reporter: Matt <matthew>
Component: Driver/intelAssignee: Matt <matthew>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium Keywords: NEEDINFO
Version: git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Photo of corrupted screen
none
X Log
none
Output of lspci -vv
none
X Conf
none
A clearer photo none

Description Matt 2007-12-19 14:10:25 UTC
Using the latest xf86-video-intel from git as of today Wed Dec 19 but this has been a problem since this computer was set up.  

The DVI connected monitor is very hard to look at on the edges of windows where color boundaries are strong because the edges have one pixel high lines shooting through them from left to right.  Tried different monitors, same thing.

I took a photo with a digital camera, it is not very obvious on the photo due to the exposure time but you do see the lines cutting across the lowest part of the white window in the status bar text.  These lines are constantly shifting vertical position and shooting across any area of contrasting text.

Attached are some hopefully relevant files to solve this.

It is so hard on the eyes that this second monitor is not very usable.
Comment 1 Matt 2007-12-19 14:11:34 UTC
Created attachment 13232 [details]
Photo of corrupted screen
Comment 2 Matt 2007-12-19 14:12:11 UTC
Created attachment 13233 [details]
X Log
Comment 3 Matt 2007-12-19 14:12:45 UTC
Created attachment 13234 [details]
Output of lspci -vv
Comment 4 Matt 2007-12-19 14:15:52 UTC
Created attachment 13235 [details]
X Conf
Comment 5 Matt 2007-12-19 14:26:20 UTC
Created attachment 13236 [details]
A clearer photo
Comment 6 Hong Liu 2007-12-19 19:08:24 UTC
Search from the envisiondisplay.com, I found for EN9250 monitor it requires +hsync +vsync for 1280x1024 mode.

So would you please add a new mode using xrandr to your TMDS-1 output, you can use  #cvt 1280 1024 to calculate the modeline, but change the -hsync +vsync to +hsync +vsync?

Thanks,
Hong
Comment 7 Matt 2007-12-20 07:33:10 UTC
Thank you very much for the help with this.

I suspected this might be wrong since the problem occurs on my other monitor when using the DVI, this confirms it.  The modeline you suggest makes no difference on restarting the xorg server.  This is the line I used in my monitor section:

Modeline "1280x1024_60.00"  109.00  1280 1368 1496 1712  1024 1027 1034 1063 +hsync +vsync

Another clue for you that I noticed:  The problem does not show up until the graphics card has been run for at least 1/2 to 1 full hour, and it gets worse gradually until after about 6 hours it is intolerable.  Restarting the xorg server does not impact it.

Do you think it may be faulty hardware?


Comment 8 Michael Fu 2007-12-27 17:58:27 UTC
(In reply to comment #7)
> Thank you very much for the help with this.
> 
> I suspected this might be wrong since the problem occurs on my other monitor
> when using the DVI, this confirms it.  The modeline you suggest makes no
> difference on restarting the xorg server.  This is the line I used in my
> monitor section:
> 
> Modeline "1280x1024_60.00"  109.00  1280 1368 1496 1712  1024 1027 1034 1063
> +hsync +vsync
> 
> Another clue for you that I noticed:  The problem does not show up until the
> graphics card has been run for at least 1/2 to 1 full hour, and it gets worse
> gradually until after about 6 hours it is intolerable.  Restarting the xorg
> server does not impact it.
> 
> Do you think it may be faulty hardware?
> 

Matt, what's the model name of "the other monitor" you tried? Is there a X.org log  file available?

"the problem occurs on my other monitor when using the DVI, this confirms it" increase the possibility that this could be a HW issue. Would you please provide more detailed info of the HW you are using? Maybe you can post it to mailing list to see if it can be reproduced by others having the same HW platform.


Comment 9 Matt 2007-12-28 06:57:36 UTC
After a lot of experimenting with things I have found the settings that seem to work for this monitor, I see no signs of the problem anymore but I will reopen the bug if it comes back later.

        Modeline    "1280x1024" 134.72 1280 1352 1488 1728 1024 1025 1028 1084 +hsync +vsync
        HorizSync    30.0 - 83.0
        VertRefresh  55.0 - 75.0

I don't know who is responsible for setting the defaults for the devices but you might wish to communicate to them that the modeline set up by cvt doesn't work for this monitor (EN9250) nor does the default used by Xorg.

I found this modeline by googling "EN9250 xorg.conf", here is the person who noted it:
http://www.webservertalk.com/message1741902.html
Comment 10 Hong Liu 2008-01-22 23:34:22 UTC
After examining your xorg, I found that the detail-timing mode in EDID data block is:
(II) intel(0): clock: 135.0 MHz   Image Size:  376 x 301 mm
(II) intel(0): h_active: 1280  h_sync: 1296  h_sync_end 1440 h_blank_end 1688 h_border: 0
(II) intel(0): v_active: 1024  v_sync: 1025  v_sync_end 1028 v_blanking: 1066 v_border: 0

Which seems close to the working mode you entered, the problem is this mode is filtered out (because of vrefresh out of range)
(II) intel(0): EDID vendor "EPI", prod id 59685
(II) intel(0): Not using mode "1280x1024" (vrefresh out of range)

Would you please try to remove the following line in your xorg.conf and have a try?
        HorizSync    30.0 - 83.0
        VertRefresh  55.0 - 75.0

Thanks,
Hong
Comment 11 Hong Liu 2008-01-22 23:59:31 UTC
I found the reason why the detail-timing mode from EDID is filtered out.

135MHz / 1688 / 1066 = 75.02 which > 75Hz in your xorg.conf file, so this mode is filted out with your X server.

So you have several options:
1. Please update your X server to a new one, we now add a 1% tolerance to the sync range. So now this mode will not be filtered out with configed sync range in xorg.log
or
2. remove the sync range config in your xorg.log, we will use the info from EDID data by default.

If this detailed-timing mode (135MHz one) from EDID doesn't work, then I am afraid you have to stick with your hacked mode for your monitor.

Thanks,
Hong
Comment 12 Hong Liu 2008-01-23 00:06:19 UTC
Should be fixed now.

Please reopen it if problem still exists.
Comment 13 Matt 2008-02-09 15:49:02 UTC
Reopening this bug as some changes have caused the driver to fail again though in a different way.  Let me know if you want it in a new bug instead.

Using driver:
2.2.1_pre20080125

This was packaged from Gentoo.  Have tried it with the same config file (including that modeline hack), also tried it with modeline and sync commented out.

Result:

the x server starts up, the 2nd monitor "Hyundai" goes into standby and the 1st monitor which needed the modeline hack "EN9250" stays on but has a black screen.  

Switching back to a terminal (ctrl+alt+f1) shows no change; the video displays are  no longer working.  Keyboard still responds to ctrl-alt-del so I can reboot.

X log shows no indication of any problems.  Let me know what can info I can provide or work I can do to help debug this.
Comment 14 Michael Fu 2008-02-14 05:01:43 UTC
matt, to keep the bug comments clear and focused, please open a new bug for your issue in comment# 13. I'll keep this original bug as resolved. thanks.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.