Bug 11917 - [855GM] need to use BIOS for mode information
Summary: [855GM] need to use BIOS for mode information
Status: VERIFIED DUPLICATE of bug 10773
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: 7.2 (2007.02)
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Hong Liu
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
: 11932 (view as bug list)
Depends on:
Blocks: 10723 12025
  Show dependency treegraph
 
Reported: 2007-08-09 09:59 UTC by Felix Braun
Modified: 2008-02-01 11:27 UTC (History)
4 users (show)

See Also:
i915 platform:
i915 features:


Attachments
xorg.conf (1.66 KB, text/plain)
2007-08-09 10:00 UTC, Felix Braun
no flags Details
Xorg.0.log with ModesDebug=true (62.55 KB, text/x-log)
2007-08-09 10:03 UTC, Felix Braun
no flags Details
use bios mode instead of probed mode (1020 bytes, patch)
2007-08-09 14:49 UTC, Eric Anholt
no flags Details | Splinter Review

Description Felix Braun 2007-08-09 09:59:10 UTC
With the 2.1.0 verision of the intel driver, I get dropped into a 39 Hz mode (if I understand the log file correctly) wheras I get 60 Hz using i810.

Defining Modelines in the xorg.conf doesn't help one bit. They seem to be
ignored. The same goes for setting the acceptable HorizSync rates in the
"Monitor" section. :-(
Comment 1 Felix Braun 2007-08-09 10:00:12 UTC
Created attachment 11064 [details]
xorg.conf
Comment 2 Felix Braun 2007-08-09 10:03:12 UTC
Created attachment 11065 [details]
Xorg.0.log with ModesDebug=true
Comment 3 Eric Anholt 2007-08-09 14:49:29 UTC
Created attachment 11069 [details] [review]
use bios mode instead of probed mode

Looks like we're misprobing the clocks, which is our workaround for the usual 855 failure of the bios tables being munged.  Attached workaround will likely work, but I need to either take a look at why we're misdetecting the clock, or figure out why we fail on other peoples' bios tables.
Comment 4 Felix Braun 2007-08-10 12:40:45 UTC
Eric, thanks for your quick analysis, maybe I'll take the time this week-end to compile the driver from source to verify your patch fixes the issue for my machine.

However, I presume that there is a possibility to override automatically detected ModeLines in the config files? So far including a specific mode line in the Monitor section as I have done in the config file attached to this bug hasn't helped at all. Surely this is some problem on my part, so I'll try to fiddle with that some more.
Comment 5 Wang Zhenyu 2007-08-29 09:33:04 UTC
Eric, do you think my comment in bug 11932 also makes sense to fix this?
Comment 6 Felix Braun 2007-09-08 13:01:44 UTC
Eric, sorry for taking so long :(
I can confirm that the patch does indeed fix the issue for me. Thanks for your help. If you need me to do further testing, I'll be glad to comply.
Comment 7 Lance Duivenbode 2007-10-08 21:26:37 UTC
Eric, I can confirm that this also fixes the problem for me. If needed, I can assist in solving the mis-probing problem as the company I work for has a number of these units that I can easily test on.
Comment 8 Eric Anholt 2007-10-18 09:57:24 UTC
I think we're pretty clear at this point that we want to move to using BIOS modes if they can be found, but we really need to solve the incorrect BIOS decode on 855 first (the rate of reports for the BIOS decode issue was far higher than for the variations on this issue).
Comment 9 Michael Fu 2007-10-31 17:42:06 UTC
*** Bug 11932 has been marked as a duplicate of this bug. ***
Comment 10 Hong Liu 2008-01-31 22:39:18 UTC
Please try the patch in bug #10773 comment #16, I think your problem is the same.

We are mis-calcing the dotclock of mode.

*** This bug has been marked as a duplicate of bug 10773 ***
Comment 11 Brice Goglin 2008-02-01 00:02:30 UTC
It looks strange to me that bug #11932 got fixed as duplicate of this one and now this one is fixed as duplicate of #10773 since:
* #10773 is about VGA mode flickering
* #11932 is about LVDS panel size being incorrectly detected
I asked my downstream users to test the patch anyway, we'll see what happens.
Comment 12 Hong Liu 2008-02-01 00:43:54 UTC
(In reply to comment #11)
> It looks strange to me that bug #11932 got fixed as duplicate of this one and
> now this one is fixed as duplicate of #10773 since:
> * #10773 is about VGA mode flickering

Actually it is flickering on LVDS display on their 855GM laptop.

> * #11932 is about LVDS panel size being incorrectly detected
> I asked my downstream users to test the patch anyway, we'll see what happens.
> 

From comment #1 of this bug, we mis-calc the mode clock when trying to find the panel fix mode, which causes the user has a 39Hz mode.
Using the BIOS vbt mode can fix this problem, but using patch in bug 10773 can also fix the problem (we fixed the mode before we go to vbios vbt parsing).

Thanks,
Hong
Comment 13 Felix Braun 2008-02-01 11:27:02 UTC
Hello Hong,

yes when I apply the patch from bug #10773 comment #16, I no longer get the flickering display. Thanks a lot for your help!

Bye
Felix


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.