Intel KMS ignores some monitor resolutions (Kernel EDID should use CVT/GTF) [regression]

Bug #435241 reported by unggnu
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
xf86-video-intel
Fix Released
Medium
linux (Ubuntu)
Fix Released
Medium
Unassigned
Declined for Karmic by Leann Ogasawara

Bug Description

Binary package hint: xorg

If I connect my Dell Inspiron 1525 to my TV SHARP LC-32GA5E it is recognized correctly but the wrong resolutions are used/shown. Only the 4:3 resolutions 640,800 and 1024 are available. The TV is useable but the aspect ratio is wrong of course since it is a 16:9 display.
If I boot Karmic without KMS I can use the correct resolution 1280x720. So I guess it is a KMS issue.

ProblemType: Bug
Architecture: i386
Date: Wed Sep 23 14:54:29 2009
DistroRelease: Ubuntu 9.10
MachineType: Dell Inc. Inspiron 1525
Package: xorg 1:7.4+3ubuntu5
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-10-generic root=UUID=903d739d-629a-47a4-bdd2-794b4043f52a ro quiet splash fastboot
ProcEnviron:
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-10.35-generic
RelatedPackageVersions:
 xserver-xorg 1:7.4+3ubuntu5
 libgl1-mesa-glx 7.6.0~git20090817.7c422387-0ubuntu5
 libdrm2 2.4.13-1ubuntu1
 xserver-xorg-video-intel 2:2.8.1-1ubuntu1
 xserver-xorg-video-ati 1:6.12.99+git20090825.fc74e119-0ubuntu2
SourcePackage: xorg
Uname: Linux 2.6.31-10-generic i686
XorgConf: Error: [Errno 2] No such file or directory: '/etc/X11/xorg.conf'
dmi.bios.date: 10/16/2008
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A16
dmi.board.name: 0U990C
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA16:bd10/16/2008:svnDellInc.:pnInspiron1525:pvr:rvnDellInc.:rn0U990C:rvr:cvnDellInc.:ct8:cvr:
dmi.product.name: Inspiron 1525
dmi.sys.vendor: Dell Inc.
fglrx: Not loaded
system:
 distro: Ubuntu
 architecture: i686kernel: 2.6.31-10-generic

Revision history for this message
unggnu (unggnu) wrote : Intel KMS ignores some monitor resolutions (SHP 31)

Binary package hint: xorg

If I connect my Dell Inspiron 1525 to my TV SHARP LC-32GA5E it is recognized correctly but the wrong resolutions are used/shown. Only the 4:3 resolutions 640,800 and 1024 are available. The TV is useable but the aspect ratio is wrong of course since it is a 16:9 display.
If I boot Karmic without KMS I can use the correct resolution 1280x720. So I guess it is a KMS issue.

ProblemType: Bug
Architecture: i386
Date: Wed Sep 23 14:54:29 2009
DistroRelease: Ubuntu 9.10
MachineType: Dell Inc. Inspiron 1525
Package: xorg 1:7.4+3ubuntu5
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-10-generic root=UUID=903d739d-629a-47a4-bdd2-794b4043f52a ro quiet splash fastboot
ProcEnviron:
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-10.35-generic
RelatedPackageVersions:
 xserver-xorg 1:7.4+3ubuntu5
 libgl1-mesa-glx 7.6.0~git20090817.7c422387-0ubuntu5
 libdrm2 2.4.13-1ubuntu1
 xserver-xorg-video-intel 2:2.8.1-1ubuntu1
 xserver-xorg-video-ati 1:6.12.99+git20090825.fc74e119-0ubuntu2
SourcePackage: xorg
Uname: Linux 2.6.31-10-generic i686
XorgConf: Error: [Errno 2] No such file or directory: '/etc/X11/xorg.conf'
dmi.bios.date: 10/16/2008
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A16
dmi.board.name: 0U990C
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA16:bd10/16/2008:svnDellInc.:pnInspiron1525:pvr:rvnDellInc.:rn0U990C:rvr:cvnDellInc.:ct8:cvr:
dmi.product.name: Inspiron 1525
dmi.sys.vendor: Dell Inc.
fglrx: Not loaded
system:
 distro: Ubuntu
 architecture: i686kernel: 2.6.31-10-generic

Revision history for this message
unggnu (unggnu) wrote :
affects: xorg (Ubuntu) → xserver-xorg-video-intel (Ubuntu)
Revision history for this message
unggnu (unggnu) wrote :
Revision history for this message
unggnu (unggnu) wrote :
Revision history for this message
unggnu (unggnu) wrote :
Changed in xserver-xorg-video-intel:
status: Unknown → Confirmed
Revision history for this message
In , Gordon Jin (gordon-jin) wrote :

what does "SHP 31" mean?

Revision history for this message
In , unggnu (unggnu) wrote :

SHP 31 is the monitor name which is shown in the screen resolution utility and I guess xrandr. Not really important though if it is not hardware specific.

Bryce Harrington (bryce)
Changed in xserver-xorg-video-intel (Ubuntu):
status: New → Confirmed
Revision history for this message
In , yakuizhao (yakui-zhao) wrote :

Will you please try Dave's drm-next tree and see whether the issue still exists?
  Please use the following command to switch to the Dave's drm-next tree.
   1. git clone
git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6.git
   2. git branch -r
   3. git checkout -b origin/drm-next

In fact the issue in this bug is that the standard mode(1280x720@60Hz) in EDID is missing. And it should be fixed by the following commit:
    commit 5c61259e6c7290082108e93815f7f72f27da14f4
Author: Zhao Yakui <email address hidden>
Date: Mon Jun 22 13:17:10 2009 +0800

    drm/mode: get the modeline for standard timing in EDID by using CVT/GTF

Thanks.

Changed in xserver-xorg-video-intel:
status: Confirmed → In Progress
Revision history for this message
In , unggnu (unggnu) wrote :

Thanks for your reply.
I would like to test it but atm I couldn't directly access the system. Compiling is no real option for the owner so is there already a package/kernel with this commit? I don't want to mess with self backed drm through remote control if possible.

Revision history for this message
In , yakuizhao (yakui-zhao) wrote :

(In reply to comment #4)
> Thanks for your reply.
> I would like to test it but atm I couldn't directly access the system.
> Compiling is no real option for the owner so is there already a package/kernel
> with this commit? I don't want to mess with self backed drm through remote
> control if possible.
>
The linux-2.6.32-rc1 is also ok. You can try it.
Thanks.

Revision history for this message
In , unggnu (unggnu) wrote :

It works fine with 2.6.32-rc1 so I suppose your fix works.
Many thanks.

Revision history for this message
unggnu (unggnu) wrote : Re: Intel KMS ignores some monitor resolutions (SHP 31)

"
In fact the issue in this bug is that the standard mode(1280x720@60Hz) in EDID
is missing. And it should be fixed by the following commit:
    commit 5c61259e6c7290082108e93815f7f72f27da14f4
Author: Zhao Yakui <email address hidden>
Date: Mon Jun 22 13:17:10 2009 +0800

    drm/mode: get the modeline for standard timing in EDID by using CVT/GTF
"
I can confirm that the fix works. Could it make it into Karmic. It is also integrated in 2.6.32-rc1.

http://git.kernel.org/?p=linux/kernel/git/airlied/drm-2.6.git;a=commit;h=5c61259e6c7290082108e93815f7f72f27da14f4

Revision history for this message
unggnu (unggnu) wrote :
unggnu (unggnu)
affects: xserver-xorg-video-intel (Ubuntu) → linux (Ubuntu)
unggnu (unggnu)
summary: - Intel KMS ignores some monitor resolutions (SHP 31)
+ Intel KMS ignores some monitor resolutions (Kernel EDID should use
+ CVT/GTF)
unggnu (unggnu)
summary: Intel KMS ignores some monitor resolutions (Kernel EDID should use
- CVT/GTF)
+ CVT/GTF) [regression]
tags: added: regression-release
unggnu (unggnu)
tags: added: 915gm karmic resolution
tags: added: 965gm
removed: 915gm
Revision history for this message
Andreas Schildbach (schildbach) wrote :

Even with that patch in 2.6.32-rc1, there are still modelines missing. Please have a look at bug 432401.

Changed in xserver-xorg-video-intel:
status: In Progress → Fix Released
unggnu (unggnu)
tags: added: xorg-needs-kernel-fix
Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Triaged
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hi unggnu,

Thanks for the reference to the upstream patch in comment #5, it's most helpful. Unfortunately, I don't believe the patch will qualify for an SRU for Karmic, see https://wiki.ubuntu.com/StableReleaseUpdates . Additionally, the Ubuntu kernel team has modified it's SRU policy such that patches applied as a Stable Release Update to the kernel should come by means of the upstream stable tree. Based on this, I'm going to decline the Karmic nomination but keep this bug open for Lucid. Also as an interim solution, you could choose to run the 2.6.31-rc1 mainline kernel build:

http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.32-rc1/

Revision history for this message
unggnu (unggnu) wrote :

This is fixed in Lucid and since SRU seems no option it could be marked as fixed released.

Changed in linux (Ubuntu):
status: Triaged → Fix Released
Changed in xserver-xorg-video-intel:
importance: Unknown → Medium
Changed in xserver-xorg-video-intel:
importance: Medium → Unknown
Changed in xserver-xorg-video-intel:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.