Summary: | [830M 810] bad mode at startup | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | gerrit | ||||||||||||||
Component: | Driver/intel | Assignee: | Hong Liu <hong.liu> | ||||||||||||||
Status: | RESOLVED DUPLICATE | QA Contact: | Xorg Project Team <xorg-team> | ||||||||||||||
Severity: | normal | ||||||||||||||||
Priority: | medium | CC: | carol.spears, gerrit, ld.fifty, michael.fu, ssstarduster | ||||||||||||||
Version: | unspecified | ||||||||||||||||
Hardware: | Other | ||||||||||||||||
OS: | All | ||||||||||||||||
Whiteboard: | |||||||||||||||||
i915 platform: | i915 features: | ||||||||||||||||
Bug Depends on: | |||||||||||||||||
Bug Blocks: | 11208, 13027, 13493 | ||||||||||||||||
Attachments: |
|
Description
gerrit
2007-06-05 02:08:11 UTC
*** Bug 11150 has been marked as a duplicate of this bug. *** *** Bug 11151 has been marked as a duplicate of this bug. *** *** Bug 11149 has been marked as a duplicate of this bug. *** Sorry for spam, it wasn't intended. If you need help testing, I can always compile the newest git version but until yesterday, the bug still exists in git. I started to have the same problem here on my desktop with i810 parts of this driver. I started to use 1.6.5.git20 ("modesetting") and the problem went away. I understand that my ability to hotplug a running x session has now gone away, but I haven't needed to do this yet. My log of my last time with the other driver is similar to the one that is here. I am going to attach it anyways -- one big difference is that there is no acpi and it is a more recent build date and also chipset 945G. Created attachment 10636 [details]
log from using the 'broken for me' 2.1.0-1 Intel driver
Created attachment 10712 [details]
/etc/X11/xorg.conf and /var/log/Xorg.0.log, Debian Unstable
Downgrading to the (Debian) Stable xserver-xorg-video-i810 does work, thankfully.
gerrit, does this still happen with the latest driver? Thanks. Can you try with Option "NoDDC" "True" ? I think this is related to another bug Problem still exists with latest git from today even with Option "NoDDC" "True". Regarding Xorg.0.log default mode is now (II) intel(0): Output LVDS using initial mode 1280x768 I have attached Xorg.0.log. xorg.conf was generated by X -configure. Created attachment 12297 [details]
Xorg.0.log
Could you add Option "ModeDebug" "YES" to the Driver section of xorg.conf? It may help figuring out why the initial mode is wrong. Created attachment 12384 [details]
Xorg.0.log with Option "ModeDebug" "YES" enabled
I just want to add, that my external 1680x1050 monitor shows its correct resolution. (In reply to comment #14) > I just want to add, that my external 1680x1050 monitor shows its correct > resolution. > Can you post the output of xrandr --verbose? And can you switch LVDS to 1024x768 mode using xrandr on your external monitor? Thanks, Hong >
> Can you post the output of xrandr --verbose? And can you switch LVDS to
> 1024x768 mode using xrandr on your external monitor?
>
"xrandr --verbose -display :0" gives
Screen 0: minimum 320 x 200, current 1280 x 768, maximum 1280 x 1280
VGA disconnected (normal left inverted right)
Identifier: 0x4c
Timestamp: -667037976
Subpixel: unknown
Clones:
CRTCs: 0
LVDS connected 1280x768+0+0 (0x4f) normal (normal left inverted right) 0mm x 0mm
Identifier: 0x4d
Timestamp: -667037976
Subpixel: horizontal rgb
Clones:
CRTC: 0
CRTCs: 0 1
1280x800 (0x4e) 83.5MHz
h: width 1280 start 1344 end 1480 total 1680 skew 0 clock 49.7KHz
v: height 800 start 801 end 804 total 828 clock 60.0Hz
1280x768 (0x4f) 80.1MHz
h: width 1280 start 1344 end 1480 total 1680 skew 0 clock 47.7KHz
v: height 768 start 769 end 772 total 795 clock 60.0Hz
1024x768 (0x50) 65.0MHz -HSync -VSync
h: width 1024 start 1048 end 1184 total 1344 skew 0 clock 48.4KHz
v: height 768 start 771 end 777 total 806 clock 60.0Hz
800x600 (0x51) 40.0MHz +HSync +VSync
h: width 800 start 840 end 968 total 1056 skew 0 clock 37.9KHz
v: height 600 start 601 end 605 total 628 clock 60.3Hz
640x480 (0x52) 25.2MHz -HSync -VSync
h: width 640 start 656 end 752 total 800 skew 0 clock 31.5KHz
v: height 480 start 490 end 492 total 525 clock 59.9Hz
From console I can switch to 1024x768 native resolution using "xrandr -s 1024x768 -display :0"
Created attachment 13153 [details] [review] test patch I am not sure why we got the 1280x768 as the default mode for your panel. Attached is a patch to print out the mode during we try to find the panel_fix_mode. Would you please apply the patch and provide the xorg.log with modedebug on? BTW, I think you can workaround this problem by adding preferredmode option: 1. add the following line to your Device section Option "monitor-LVDS" "LVDS" 2. then add a new Monitor section: Section "Monitor" Identifier "LVDS" Option "PreferredMode" "1024x768" EndSection Thanks, Hong Created attachment 13157 [details]
Xorg.0.log with applied patch
(In reply to comment #17) > BTW, I think you can workaround this problem by adding preferredmode option: > 1. add the following line to your Device section > Option "monitor-LVDS" "LVDS" > > 2. then add a new Monitor section: > Section "Monitor" > Identifier "LVDS" > Option "PreferredMode" "1024x768" > EndSection > > Thanks, > Hong > The workaround did the trick. Thanks Hong Liu! re-assign to hong to check log in comment# 18. (In reply to comment #18) > Created an attachment (id=13157) [details] > Xorg.0.log with applied patch > Hi, gerrit Sorry for the long latency... After examining your log, I found the problem is our driver use DVOC as the output port for LVDS while it seems the vbios use DVOB as the output. So during driver startup, it will try to find a panel_fix_mode as the preferred mode. Because DVOC is not enabled at that time, so we can't find a init mode for your LVDS panel. Thus X server picks one mode at startup which is not usable for your machine. This is just a test patch to see if we can enable your LVDS on SDVOB, if it succeeds, then we can get a usable init mode at startup. diff --git a/src/i830_dvo.c b/src/i830_dvo.c index e6ff6af..e7342b0 100644 --- a/src/i830_dvo.c +++ b/src/i830_dvo.c @@ -83,7 +83,7 @@ struct _I830DVODriver i830_dvo_drivers[] = .type = I830_OUTPUT_DVO_LVDS, .modulename = "ivch", .fntablename = "ivch_methods", - .dvo_reg = DVOA, + .dvo_reg = DVOB, .address = 0x04, /* Might also be 0x44, 0x84, 0xc4 */ .symbols = ivch_symbols }, (In reply to comment #21) > This is just a test patch to see if we can enable your LVDS on SDVOB, if it > succeeds, then we can get a usable init mode at startup. > > diff --git a/src/i830_dvo.c b/src/i830_dvo.c > index e6ff6af..e7342b0 100644 > --- a/src/i830_dvo.c > +++ b/src/i830_dvo.c > @@ -83,7 +83,7 @@ struct _I830DVODriver i830_dvo_drivers[] = > .type = I830_OUTPUT_DVO_LVDS, > .modulename = "ivch", > .fntablename = "ivch_methods", > - .dvo_reg = DVOA, > + .dvo_reg = DVOB, > .address = 0x04, /* Might also be 0x44, 0x84, 0xc4 */ > .symbols = ivch_symbols > }, > Just changing an "A" for a "B" and everything works! 非常感谢你,Hong Liu! I would say, this bug can finally be closed! :) re-assign back to hong for conclusion. (In reply to comment #22) > Just changing an "A" for a "B" and everything works! 非常感谢你,Hong > Liu! I would say, this bug can finally be closed! :) > You are welcome :) I need to check whether the change is OK on other platforms that use DVO LVDS. Thanks, Hong Mark this bug as a duplicate of 13722, the root cause is the same. *** This bug has been marked as a duplicate of bug 13722 *** |
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.