[G41] Jaunty: HDMI connected but no valid modes

Bug #384660 reported by Robin Zhang
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
xf86-video-intel
Fix Released
High
linux (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: xserver-xorg-video-intel

Description:
  PC connected with Sharp A33 LCD-TV (support 1360x768), but when starting X, it claimed: No valid modes.

Graphic Driver Versions:
 xserver-xorg-video-intel_2.7.99.1+git20090602.ec2fde7c-0ubuntu2_i386.deb
 or
 xserver-xorg-video-intel_2.6.3-0ubuntu9_i386.deb

Base System:
 Linux 2.6.28-11-generic
 xorg-server 2:1.6.0-0ubuntu14

Hardware:
 Intel G41 + ICH-7 (by MicroStar Co,ltd, Model: G41TM-E43 (MS-7592))
 Sharp 37A33 LCD-TV
 HDMI connected

Steps to replicate:
1. Set X's graphics driver using intel not vesa
2. restart X

[lspci]
00:00.0 Host bridge: Intel Corporation 4 Series Chipset DRAM Controller (rev 03)
 Subsystem: Micro-Star International Co., Ltd. Device 7592
00:02.0 VGA compatible controller: Intel Corporation 4 Series Chipset Integrated Graphics Controller (rev 03)
 Subsystem: Micro-Star International Co., Ltd. Device 7592

Revision history for this message
Robin Zhang (robinzt) wrote :

xorg.conf:

 Section "Device"
 Identifier "Configured Video Device"
 Driver "intel"
EndSection

Section "Monitor"
 Identifier "Configured Monitor"
EndSection

Section "Screen"
 Identifier "Default Screen"
 Monitor "Configured Monitor"
 Device "Configured Video Device"
EndSection

Revision history for this message
Robin Zhang (robinzt) wrote :
Revision history for this message
Robin Zhang (robinzt) wrote :
Revision history for this message
Robin Zhang (robinzt) wrote :
Revision history for this message
Robin Zhang (robinzt) wrote :
Revision history for this message
Robin Zhang (robinzt) wrote :
Geir Ove Myhr (gomyhr)
description: updated
tags: added: g41 hdmi intel jaunty no-screens xorg
summary: - Ubuntu 9.04: G41 with HDMI connected but no valid modes
+ [G41] Jaunty: HDMI connected but no valid modes
Revision history for this message
Geir Ove Myhr (gomyhr) wrote :

There seems to be two problems in your Xorg.0.log. First, it doesn't find any connected monitors (even though you have one one the HDMI connection) and then after it has already given up there is a crash. Let's focus on the HDMI connection for now.

First, I would like you to try the intel drivers from https://launchpad.net/~ubuntu-x-swat/+archive/x-updates/ . With these you may need to add the line
  AccelMethod "uxa"
to the "Device" section of your xorg.conf.

 I see that you have tried the karmic package xserver-xorg-video-intel_2.7.99.1+git20090602.ec2fde7c-0ubuntu2_i386.deb. Mixing Jaunty and Karmic packages may have some unintended consequences, so I would rather recommend that you test out a full installation of Karmic, or use the xorg-edgers archive which has the very newst drivers compiled for Jaunty: https://launchpad.net/~xorg-edgers/+archive/ppa.

Could you try some of the suggested options, report the result here and upload Xorg.0.log for that run. It would be nice if you could include the line
  Option "ModeDebug" "true"
in the device section of you xorg.conf, since this will add additional information to Xorg.0.log.

Revision history for this message
Robin Zhang (robinzt) wrote :

I have tried: xserver-xorg-video-intel_2.7.1-0ubuntu1~xup~1_i386.deb from https://launchpad.net/~ubuntu-x-swat/+archive/x-updates/.
But it is still failed to find my monitor.

Revision history for this message
Robin Zhang (robinzt) wrote :
Revision history for this message
Robin Zhang (robinzt) wrote :
Revision history for this message
Geir Ove Myhr (gomyhr) wrote :

It would be nice if we could get this upstream, and let them see if they can find the problem. There is some more information we would like to be able to file a good upstream bug.
- If possible, test with a recent version of the driver. Right now, this is pretty easy, as the Karmic Daily LiveCDs now are working: http://cdimage.ubuntu.com/daily-live/ (there should also be an alpha-2 soon). If you could confirm that it is still a problem there and upload the resulting Xorg.0.log with ModeDebug enabled, that would be perfect.

Otherwise, you it looks like you have provided all the information they want upstream, but it would be great if you could take a look at http://intellinuxgraphics.org/how_to_report_bug.html and provide any information that you haven't already. I don't think the output of dmesg should be necessary for this kind of bug, but I guess it doesn't hurt.

Revision history for this message
Robin Zhang (robinzt) wrote :
Revision history for this message
Geir Ove Myhr (gomyhr) wrote :

Robin, thanks for filing the upstream bug report. It would be nice if you could also test with a Karmic LiveCD (on a USB stick if you would like) and report the result and Xorg.0.log with ModeDebug enabled upstream. Karmic has a very recent development version of the driver (from June 2nd) and I think the upstream developers would appreciate a confirmation with a recent driver. Alternatively you may use Jaunty with the xorg-edgers repository, but I think that is more of a hazzle.

Changed in xserver-xorg-video-intel (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Changed in xserver-xorg-video-intel:
status: Unknown → Confirmed
Revision history for this message
Geir Ove Myhr (gomyhr) wrote :

Robin, there is a patch upstream that you may test. If you are not comfortable with building packages or simply want to save some time I have built two sets of packages for you and put them at http://www.kvante.info/LP384660/ . You will need use the xorg-edgers PPA to use it (https://launchpad.net/~xorg-edgers/+archive/ppa), since there are some dependencies from there. If you don't want to install it to you computer, it should be possible to use a Jaunty LiveCD and the xorg-edgers-live-test script.

You will probably not need the -dbg packages. There are two versions of the packages:
* xserver-xorg-video-intel_2.7.99.901+git20090610.9d3c3b05-0ubuntu0sarvatt~jaunty_i386.deb
This should be the same as the one in the PPA right now. I just included it so that you can test two packages that are built in exactly the same environment so that the applied patch is the only difference.
* xserver-xorg-video-intel_2.7.99.901+git20090610.9d3c3b05-0ubuntu1gomyhr~jaunty_i386.deb
This is the latest package from the PPA, but with the upstream patch from
http://bugs.freedesktop.org/attachment.cgi?id=26664&action=edit included.

If the patch works, the first package should not detect your HDMI monitor, while the second should.

Revision history for this message
Robin Zhang (robinzt) wrote :

Thanks Geir Ove Myhr.

I will try your package later.

Revision history for this message
Robin Zhang (robinzt) wrote :

Yes, the "sarvatt" version cannot work, but "gomyhr" (patched) version can detect my TV and can set resolution to 1360x768 @ 60Hz.

 xrandr report:

Screen 0: minimum 320 x 200, current 1360 x 768, maximum 1360 x 1360
VGA disconnected (normal left inverted right x axis y axis)
HDMI-1 connected 1360x768+0+0 (normal left inverted right x axis y axis) 820mm x 460mm
   1360x768 60.0*+
   1024x768 60.5 60.0
   800x600 60.3
   640x480 59.9
   720x400 70.1

Changed in xserver-xorg-video-intel:
status: Confirmed → Invalid
Revision history for this message
Albert Damen (albrt) wrote :

freedesktop 22189 was marked duplicate of 21322. Updated the bug watch.

Changed in xserver-xorg-video-intel:
status: Invalid → Unknown
Changed in xserver-xorg-video-intel:
status: Unknown → Confirmed
Changed in xserver-xorg-video-intel:
status: Confirmed → Fix Released
Revision history for this message
Bryce Harrington (bryce) wrote :

According to the upstream bug report, this is now fixed upstream via a patch to the kernel drm code, so I'm reassigning to the kernel.

affects: xserver-xorg-video-intel (Ubuntu) → linux (Ubuntu)
Changed in linux (Ubuntu):
status: Triaged → New
tags: added: xorg-needs-kernel-patch
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Pasting relevant kernel info:

ogasawara@emiko:~/drm-intel$ git log 2ded9e2747d0a390d281bb5b16ff7f640ec85f78
commit 2ded9e2747d0a390d281bb5b16ff7f640ec85f78
Author: <email address hidden> <email address hidden>
Date: Thu Jul 16 17:23:09 2009 +0800

    drm/i915: hdmi detection according by reading edid

    According to investigations from windows team ,hw team,
    and our test results on all 4x platofrms available
    (gm45, g45b, q45, g45a, g45c, g41a, and g41), we find
    currently Hot plug live status and Hot plug interrupt
    detection are not reliable, sometime the results from
    the two approaches are contradicts. So we chose edid
    detection for hdmi output.

    Signed-off-by: Ma Ling <email address hidden>
    Reviewed-by: Ian Romanick <email address hidden>
    Signed-off-by: Eric Anholt <email address hidden>

tags: added: xorg-needs-kernel-fix
removed: xorg-needs-kernel-patch
Changed in linux (Ubuntu):
status: New → Triaged
Revision history for this message
Casandro (casandro-lion) wrote :

When will this fix be availiable in Ubuntu 9.10?

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

This should already be in Karmic (see commit below). Marking this Fix Released.

ogasawara@emiko:~/ubuntu-karmic$ git show 2ded9e2747d0a390d281bb5b16ff7f640ec85f78
commit 2ded9e2747d0a390d281bb5b16ff7f640ec85f78
Author: <email address hidden> <email address hidden>
Date: Thu Jul 16 17:23:09 2009 +0800

    drm/i915: hdmi detection according by reading edid

    According to investigations from windows team ,hw team,
    and our test results on all 4x platofrms available
    (gm45, g45b, q45, g45a, g45c, g41a, and g41), we find
    currently Hot plug live status and Hot plug interrupt
    detection are not reliable, sometime the results from
    the two approaches are contradicts. So we chose edid
    detection for hdmi output.

    Signed-off-by: Ma Ling <email address hidden>
    Reviewed-by: Ian Romanick <email address hidden>
    Signed-off-by: Eric Anholt <email address hidden>

Changed in linux (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Casandro (casandro-lion) wrote :

Well I now have Karmic, but I still cannot get my DVI ports to do anything. They still show up as HDMI.
My current kernel is 2.6.31-7-generic #27-Ubuntu SMP

Revision history for this message
Casandro (casandro-lion) wrote :

Well now the bug has changed for me, xrandr now gives:
Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 8192 x 8192
VGA1 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 337mm x 270mm
   1280x1024 60.0*+ 75.0
   1024x768 75.1 70.1 60.0
   832x624 74.6
   800x600 72.2 75.0 60.3 56.2
   640x480 72.8 75.0 66.7 60.0
   720x400 70.1
DVI1 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)
DVI2 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)

When one monitor is connected to the DVI-I output (via an VGA Adapter) while the other is connected via DVI. The DVI one does not work.

Revision history for this message
Geir Ove Myhr (gomyhr) wrote :

Casandro, since you still have a problem, you probably don't have the same bug as the original reporter (Robin Zhang), even though you may have the same symptoms. In such cases you should file your own bug report instead of commenting here.

Revision history for this message
Casandro (casandro-lion) wrote :

Ohh sorry, I guess we can close the bug now. It was the monitor, it IDed it self incorrectly It works with another monitor.

Changed in xserver-xorg-video-intel:
importance: Unknown → High
Changed in xserver-xorg-video-intel:
importance: High → Unknown
Changed in xserver-xorg-video-intel:
importance: Unknown → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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