Bug 25082 - [GM965] Resolution of display attached to VGA port is not detected correctly
Summary: [GM965] Resolution of display attached to VGA port is not detected correctly
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: ykzhao
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2009-11-13 14:38 UTC by Jürgen Geuter
Modified: 2010-03-14 18:04 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Xorg.0.log (19.16 KB, text/plain)
2009-11-13 14:38 UTC, Jürgen Geuter
no flags Details
dmesg output (43.66 KB, application/octet-stream)
2009-11-13 14:39 UTC, Jürgen Geuter
no flags Details
xorg.conf used here (1.45 KB, text/plain)
2009-11-13 14:40 UTC, Jürgen Geuter
no flags Details
output of `xrandr --verbose` (7.29 KB, application/octet-stream)
2009-11-13 14:40 UTC, Jürgen Geuter
no flags Details
output of xrandr --verbose (7.29 KB, text/plain)
2009-11-13 14:41 UTC, Jürgen Geuter
no flags Details
dmesg output (43.66 KB, text/plain)
2009-11-13 14:42 UTC, Jürgen Geuter
no flags Details
dmesg output with drm.debug=0x06 (66.04 KB, text/plain)
2010-02-22 14:02 UTC, Jürgen Geuter
no flags Details

Description Jürgen Geuter 2009-11-13 14:38:37 UTC
Created attachment 31185 [details]
Xorg.0.log

In my Thinkpad t61 I have a GM965 intel graphics card

`lspci|grep VGA`:
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)

My kernel is a x86_64 2.6.31-gentoo-r4 Kernel with KMS enabled (and working).

Software (all from Gentoo's Portage):
x11-drivers/xf86-video-intel-2.9.1
x11-base/xorg-server-1.7.1
media-libs/mesa-7.5.2
x11-libs/libdrm-2.4.15

The problem is simple:
My Laptop's screen is detected as 1280x800 (which is correct). Now I attach my 1920x1200 LCD to the VGA port and try to enable it: The maximum resolution detected is 1280x1024. It used to work with earlier versions of the driver and attached to other machines the monitor is properly detected.
Comment 1 Jürgen Geuter 2009-11-13 14:39:26 UTC
Created attachment 31186 [details]
dmesg output
Comment 2 Jürgen Geuter 2009-11-13 14:40:02 UTC
Created attachment 31187 [details]
xorg.conf used here
Comment 3 Jürgen Geuter 2009-11-13 14:40:40 UTC
Created attachment 31188 [details]
output of `xrandr --verbose`
Comment 4 Jürgen Geuter 2009-11-13 14:41:51 UTC
Created attachment 31189 [details]
output of xrandr --verbose
Comment 5 Jürgen Geuter 2009-11-13 14:42:51 UTC
Created attachment 31190 [details]
dmesg output

Sorry for the reuploads, the filetype wasn't recognized properly.
Comment 6 Jürgen Geuter 2009-12-07 12:39:39 UTC
I updated the Kernel to 2.6.32-gentoo,
and x11-base/xorg-server to 1.7.3, now the detected resolution is _almost_ right, it's 1680x1050, still not the correct 1920x1200.
Comment 7 ykzhao 2010-02-22 02:03:38 UTC
(In reply to comment #6)
> I updated the Kernel to 2.6.32-gentoo,
> and x11-base/xorg-server to 1.7.3, now the detected resolution is _almost_
> right, it's 1680x1050, still not the correct 1920x1200.

Will you please add the boot option of "drm.debug=0x06" and attach the output of dmesg? Had better compile the i915 as built-in kernel module.

Thanks.
   Yakui
> 

Comment 8 Jürgen Geuter 2010-02-22 14:02:58 UTC
Created attachment 33499 [details]
dmesg output with drm.debug=0x06

Attached is the full dmesg output with debugging enabled as specified, the driver was build as a module as well.

I also attached the monitor and the wrong resolution is detected as the end of the dmesg file shows.

If you need any more information, I'd be glad to help and get this fixed.
Comment 9 ykzhao 2010-02-22 21:17:13 UTC
Thanks for the info.
From the dmesg info in comment #8 it seems that now we can get more display modes for the monitor attached to VGA port.
   >1680x1050
   >1440x900
   >1280x1024

But the 1920x1200 display mode is still missing.

It seems that the 1920x1080 display mode can be parsed from the EDID of monitor(It is contained in detailed timing info of EDID). But it contains the different sync mechanism with what the driver expected. The separated sync is expected but the EDID reports that it is integrated sync. So the corresponding display mode is removed.
   >integrated sync not supported


Will you please try the latest upstream kernel(2.6.33-rc7) and see whether the 1920x1200 mode is still missing? The following commit is included in 2.6.33-rc7 kernel.    
    >commit 79b7dcb2af7da728819cf060b94ce8c9ead36f7e
Author: Jerome Glisse <jglisse@redhat.com>
Date:   Thu Jan 14 19:02:20 2010 +0100

    drm: EDID accept separate sync video mode

thanks. 
Comment 10 Jürgen Geuter 2010-03-14 11:05:53 UTC
Just tested it with a 2.6.33 Kernel and it works now!
Comment 11 ykzhao 2010-03-14 18:04:03 UTC
(In reply to comment #10)
> Just tested it with a 2.6.33 Kernel and it works now!
> 

Thanks for the testing.
It is good news that the issue is fixed in 2.6.33 stable kernel.

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.