no screens found for IGP 320M

Bug #190857 reported by Matthias
2
Affects Status Importance Assigned to Milestone
xserver-xorg-driver-ati
Fix Released
Medium
xserver-xorg-video-ati (Ubuntu)
Fix Released
High
Unassigned

Bug Description

on HP4300 laptop with ATI IGP 320M card, the current xserver-xorg-video-ati package fails to find the internal/LVDS screen. I've had to switch the MonitorLayout in the past but under Gutsy it doesn't detect it at all. Down grading to package from Feisty (xserver-xorg-video-ati_6.6.3-2ubuntu6_i386.deb) works.
[lspci]
00:00.0 Host bridge [0600]: ATI Technologies Inc AGP Bridge [IGP 320M] [1002:cab0] (rev 13)
     Subsystem: Hewlett-Packard Company Pavilion ze4400 builtin USB [103c:0024]
01:05.0 VGA compatible controller [0300]: ATI Technologies Inc Radeon IGP 320 M [1002:4136] (prog-if 00 [VGA controller])
     Subsystem: Hewlett-Packard Company Unknown device [103c:0024]

Revision history for this message
Matthias (matthias-opennomad) wrote :

Here is the errors with the default/current package under Gutsy

Revision history for this message
Matthias (matthias-opennomad) wrote :

the successful log for the downgrade package from Feisty

Revision history for this message
Matthias (matthias-opennomad) wrote :

xorg.conf used for both

Revision history for this message
Matthias (matthias-opennomad) wrote :

lspci report:

<pre>
00:00.0 Host bridge: ATI Technologies Inc AGP Bridge [IGP 320M] (rev 13)
00:01.0 PCI bridge: ATI Technologies Inc PCI Bridge [IGP 320M] (rev 01)
00:02.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
00:06.0 Multimedia audio controller: ALi Corporation M5451 PCI AC-Link Controller Audio Device (rev 02)
00:07.0 ISA bridge: ALi Corporation M1533/M1535 PCI to ISA Bridge [Aladdin IV/V/V+]
00:08.0 Modem: ALi Corporation M5457 AC'97 Modem Controller
00:0a.0 CardBus bridge: O2 Micro, Inc. OZ601/6912/711E0 CardBus/SmartCardBus Controller
00:10.0 IDE interface: ALi Corporation M5229 IDE (rev c4)
00:11.0 Bridge: ALi Corporation M7101 Power Management Controller [PMU]
00:12.0 Ethernet controller: National Semiconductor Corporation DP83815 (MacPhyter) Ethernet Controller
01:05.0 VGA compatible controller: ATI Technologies Inc Radeon IGP 320 M
</pre>

Revision history for this message
Matthias (matthias-opennomad) wrote :

dmesg output

Revision history for this message
Matthias (matthias-opennomad) wrote :

Is there any other information I can provide?

Bryce Harrington (bryce)
Changed in xserver-xorg-video-ati:
importance: Undecided → High
status: New → Triaged
Revision history for this message
Matthias (matthias-opennomad) wrote :

i just upgraded the Hoary and the behaviour as changed slightly. Now the LVDS displays a partial screen. The resolution is set to 1280x768, while the LVDS only supports 1024x768. Any attempt to change this fails.

Here is the output from xrandr, which does not show the LVDS:

<pre>
# xrandr

Screen 0: minimum 320 x 200, current 1280 x 768, maximum 1280 x 1200

VGA-0 disconnected 1280x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm

S-video disconnected (normal left inverted right x axis y axis)

  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

</pre>

The vesa driver still works as before and produces correct output on the LVDS

Revision history for this message
Matthias (matthias-opennomad) wrote :

So I kept on playing with it a little more with the default xorg.conf file, which produces the 1280x768 output on the LVDS.

Like I said the LVDS is still not being detected, but since X assumes a default screen size of 1280x768 on the non-attached external display I did some more experimentation and found that the following results in something useful on the screen with direct rendering enabled:

  # build a modeline - the following works for me
  gtf 1024 768 78.654
  # then use the output from above (everything after the word modeline)
  # to set the resolution of the non-existent external monitor
  xrandr --newmode "1024x768_78.65" 87.02 1024 1088 1200 1376 768 769 772 804 -HSync +Vsync

  xrandr --addmode VGA-0 "1024x768_78.65"

  xrandr --output VGA-0 --mode "1024x768_78.65"

I think it's still problematic that the LVDS is not detected, since it keeps me from running dual headed, but at least the laptop is semi-functional. I've attached the current xrandr output after the above tweaks.

Revision history for this message
Bryce Harrington (bryce) wrote :

Hi Matthias,

One thing that would be helpful is if you could test it against Intrepid (i.e., try booting an intrepid Live CD), and if it still isn't working, provide your /var/log/Xorg.0.log from that case. Then we can forward the bug upstream.

Revision history for this message
Matthias (matthias-opennomad) wrote :

Bryce, here is the Xorg.0.log as requested.

Revision history for this message
Matthias (matthias-opennomad) wrote :

output from xrandr which does not show the LVDS. The resolution also is "wide" and does not match the internal display

Revision history for this message
Matthias (matthias-opennomad) wrote :

it may not be related, but i've noticed under Hardy and Intrepid, totem does not like to go to full screen. under Hardy X dies altogether under Intrepid totem just dies with the attached output.

Revision history for this message
Matthias (matthias-opennomad) wrote :

and finally output from glxinfo if it may help.

Revision history for this message
Matthias (matthias-opennomad) wrote :

Bryce, I hope this is enough information to open an upstream bug. Let me know if you need more. I'd be glad to supply.

thanks

\@matthias

Revision history for this message
Brian Murray (brian-murray) wrote : Ubuntu needs you!

Thanks for taking the time to report this bug and helping to make Ubuntu better. In the development cycle for Intrepid there have been some vast improvements in the open source ati video driver and we could use your help testing them. Could you please download the latest Alpha CD image of Intrepid and test this particular bug just using the Live CD? You can find the latest image at http://www.ubuntu.com/testing . Your testing can help make Ubuntu and the open source ati driver even better! Thanks in advance.

Changed in xserver-xorg-video-ati:
status: Triaged → Incomplete
Revision history for this message
Matthias (matthias-opennomad) wrote :

Xorg.0.log from intrepid alpha 4

Revision history for this message
Matthias (matthias-opennomad) wrote :
Revision history for this message
Matthias (matthias-opennomad) wrote :
Revision history for this message
Matthias (matthias-opennomad) wrote :
Revision history for this message
Matthias (matthias-opennomad) wrote :

Brian, i've attached output obtained from the latest alpha release (4) of intrepid. same 4 files as before: Xorg.0.log and output from xrandr, totem and glxinfo. Let me know if others are needed.

This release does appear to have bettered things a little. for example going to full screen under totem only crashes totem, rather than X completely.

The internal display is still not detected however and defaults are assumed for the non-existant external display, which shows up on the laptop screent.

I have the sneaking suspicion that this may be related to the totem crash, but no proof.

At any rate, this is a step in the right direction, but the latest alpha release does not solve original issue.

Let me know if I can provide further data or testing.

\@matthias

Changed in xserver-xorg-video-ati:
status: Incomplete → Triaged
Revision history for this message
Matthias (matthias-opennomad) wrote :

i'm not sure that this is truly a duplicate of 269357. That bug largely deals with the 2ndary issue I reported of players crashing X.

The primary reason for this report was that the LVDS (internal laptop display) is not detected at all and I hacked around it, but the biggest issue is that the internal display is not found.

Revision history for this message
In , Bryce Harrington (bryce) wrote :
Download full text (3.4 KiB)

Created an attachment (id=20087)
Xorg.0.log from Intrepid Alpha 4

Forwarding this bug from a Ubuntu reporter:
https://bugs.edge.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/190857

[Problem]
The LVDS on this system is not detected on the laptop. The external VGA can be made to work by adding modes to it.

[Original Report]
On HP4300 laptop with ATI IGP 320M card, the current xserver-xorg-video-ati package fails to find the internal/LVDS screen. I've had to switch the MonitorLayout in the past but under Gutsy it doesn't detect it at all. Down grading to package from Feisty (xserver-xorg-video-ati_6.6.3-2ubuntu6_i386.deb) worked. [But 6.6.3 is unavailable in Intrepid.]

I then upgraded to Hoary and the behaviour as changed slightly. Now the LVDS displays a partial screen. The resolution is set to 1280x768, while the LVDS only supports 1024x768. Any attempt to change this fails.

So I kept on playing with it a little more with the default xorg.conf file, which produces the 1280x768 output on the LVDS.

Like I said the LVDS is still not being detected, but since X assumes a default screen size of 1280x768 on the non-attached external display I did some more experimentation and found that the following results in something useful on the screen with direct rendering enabled:

  # build a modeline - the following works for me
  gtf 1024 768 78.654
  # then use the output from above (everything after the word modeline)
  # to set the resolution of the non-existent external monitor
  xrandr --newmode "1024x768_78.65" 87.02 1024 1088 1200 1376 768 769 772 804 -HSync +Vsync

  xrandr --addmode VGA-0 "1024x768_78.65"

  xrandr --output VGA-0 --mode "1024x768_78.65"

I think it's still problematic that the LVDS is not detected, since it keeps me from running dual headed, but at least the laptop is semi-functional. [Here is] the current xrandr output after the above tweaks:

 Screen 0: minimum 320 x 200, current 1024 x 768, maximum 1280 x 1200
 VGA-0 disconnected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1024x768_78.65 78.7*
 S-video disconnected (normal left inverted right x axis y axis)

In Intrepid Alpha 4, the xrandr output looks like this:

Screen 0: minimum 320 x 200, current 1152 x 864, maximum 1360 x 1200
VGA-0 disconnected 1152x864+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
S-video disconnected (normal left inverted right x axis y axis)
  1152x864 (0x4f) 81.6MHz
        h: width 1152 start 1216 end 1336 total 1520 skew 0 clock 53.7KHz
        v: height 864 start 865 end 868 total 895 clock 60.0Hz

Still no LVDS...

[lspci]
00:00.0 Host bridge: ATI Technologies Inc AGP Bridge [IGP 320M] (rev 13)
00:01.0 PCI bridge: ATI Technologies Inc PCI Bridge [IGP 320M] (rev 01)
00:02.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
00:06.0 Multimedia audio controller: ALi Corporation M5451 PCI AC-Link Controller Audio Device (rev 02)
00:07.0 ISA bridge: ALi Corporation M1533/M1535 PCI to ISA Bridge [Aladdin IV/V/V+]
00:08.0 Modem: ALi Corporation M5457 AC'97 Modem Controller
00:0a.0 CardBus bridge: O2 Micro, Inc. OZ601/6912/711E0 CardBus/SmartCardBus Controller
00:...

Read more...

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

Created an attachment (id=20095)
possible fix

Does this patch fix the issue? If not please send me a copy of your video bios:
(as root)
cd /sys/bus/pci/devices/<pci bus id>/
echo 1 > rom
cat rom > /tmp/video.bios
echo 0 > rom

Revision history for this message
Bryce Harrington (bryce) wrote :

Hi Matthias,

I agree let's focus this on the LVDS issue.

I've forwarded this issue upstream to https://bugs.freedesktop.org/show_bug.cgi?id=18395. Could you please subscribe to that bug, in case upstream needs more info or wishes you to test something? Thanks ahead of time.

Oh, and also could you post the output of `lspci -vvnn`? We may need that so we know the exact PCI ID's of your video card and mother board.

Revision history for this message
Matthias (matthias-opennomad) wrote :

Here is the output of lspci -vvnn.

not sure how to subscribe to the other bug. Do I just add my email to the CC field?

Changed in xserver-xorg-driver-ati:
status: Unknown → Confirmed
Revision history for this message
In , Matthias (matthias-opennomad) wrote :

Created an attachment (id=20112)
BIOS requested for IGP 320M on HP4325us

Here is the requested BIOS. I'll see if I can give the patch a shot today.

Revision history for this message
In , Matthias (matthias-opennomad) wrote :

Created an attachment (id=20116)
improvised patch

I just built a new package based on the source for Ubuntu 8.04 (Hardy). The patch failed to apply against the 6.8.0-1 source release, but I improvised and applied the attached diff, which only adds the info->IsIGP to one line of the source I was working with. This appears to work and xrandr now produces:

Screen 0: minimum 320 x 200, current 1024 x 768, maximum 1024 x 1024

VGA-0 disconnected (normal left inverted right x axis y axis)

LVDS connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm

   1024x768 60.0*+ 60.0

   800x600 60.3

   640x480 59.9

S-video disconnected (normal left inverted right x axis y axis)

WOoo Wooo. there is the LVDS!

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

fix pushed: 902eaf768142c6c7dcc487e10775027b84cd1f9a

Revision history for this message
Bryce Harrington (bryce) wrote : Re: [Bug 190857] Re: no screens found for IGP 320M

On Wed, Nov 05, 2008 at 10:52:18PM -0000, Matthias wrote:
> Here is the output of lspci -vvnn.
>
> not sure how to subscribe to the other bug. Do I just add my email to
> the CC field?

Yes

>
> ** Attachment added: "output from lspci -vvnn"
> http://launchpadlibrarian.net/19405214/lspci-vvnn.txt
>
> --
> no screens found for IGP 320M
> https://bugs.launchpad.net/bugs/190857
> You received this bug notification because you are a member of
> canonical-xorg, which is the registrant for xserver-xorg-driver-ati.

Changed in xserver-xorg-driver-ati:
status: Confirmed → Fix Released
Bryce Harrington (bryce)
description: updated
Revision history for this message
Bryce Harrington (bryce) wrote :

Fixed according to upstream; should be available now in jaunty.

Changed in xserver-xorg-video-ati:
status: Triaged → Fix Released
Changed in xserver-xorg-driver-ati:
importance: Unknown → Medium
Changed in xserver-xorg-driver-ati:
importance: Medium → Unknown
Changed in xserver-xorg-driver-ati:
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.