Bug 23127 - [GM45 + KMS] fails to set outputs right
[GM45 + KMS] fails to set outputs right
Status: RESOLVED FIXED
Product: xorg
Classification: Unclassified
Component: Driver/intel
7.4 (2008.09)
x86-64 (AMD64) Linux (All)
: medium normal
Assigned To: MaLing
Xorg Project Team
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-08-04 02:50 UTC by Bart
Modified: 2009-08-12 18:21 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Xorg.0.log with the incorrect detections (13.31 KB, text/plain)
2009-08-04 02:50 UTC, Bart
no flags Details
Xorg.0.log setting the screen at 1440x900 (14.04 KB, text/plain)
2009-08-04 02:52 UTC, Bart
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bart 2009-08-04 02:50:36 UTC
Created attachment 28335 [details]
Xorg.0.log with the incorrect detections

With intel driver >=2.7.99, booting with KMS enabled and no xorg.conf file results in X running at 1024 resolution. At any time it is possible to correct it with "xrandr --output LVDS1 --mode 1440x900", so the native resolution is detected but not used.

Version 2.7.1 detects and sets it correctly.

Additionally, both versions detect DVI1 and DVI2 as connected, and it's not the case. I'm even pretty sure they don't physically exist on the laptop (maybe with the ultrabay expansion there is one DVI, but definitely not two).

xf86-video-intel: tested [2.7.1, 2.7.99.902, 2.8.0]
xorg-server: tested [1.6.2, 1.6.3], no difference
intel-dri, libgl, mesa: 7.5
libdrm: 2.4.12
kernel: 2.6.30.4, 64 bit
Comment 1 Bart 2009-08-04 02:52:49 UTC
Created attachment 28336 [details]
Xorg.0.log setting the screen at 1440x900

Driver 2.7.1, the DVI outputs are still misdetected as connected but the laptop screen is correctly set at 1440x900.
Comment 2 Michael Fu 2009-08-04 17:58:27 UTC
should have been fixed in 

commit 2ded9e2747d0a390d281bb5b16ff7f640ec85f78
Author: ling.ma@intel.com <ling.ma@intel.com>
Date:   Thu Jul 16 17:23:09 2009 +0800

    drm/i915: hdmi detection according by reading edid
Comment 3 Bart 2009-08-12 09:41:37 UTC
I installed the package xf86-video-intel-git for my Arch linux, which syncs and compiles the driver from the git repository and it's still broken for me. It still misdetects DVI1 and DVI2 as existing and sets the default resolution at 1024x768 instead of 1440x900.

If I can do anything to help, just holler!
Comment 4 Gordon Jin 2009-08-12 18:21:09 UTC
The mentioned fix is for kernel.
It's in drm-intel-next tree: http://git.kernel.org/?p=linux/kernel/git/anholt/drm-intel.git;a=commit;h=2ded9e2747d0a390d281bb5b16ff7f640ec85f78
I'm not sure if it's been in Linus's tree.