[M6][Needs AGPMode quirk] laptop freezes when connecting power supply

Bug #146303 reported by Rami Autiomäki
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Linux
Fix Released
Medium
linux (Ubuntu)
Invalid
Undecided
Unassigned
xserver-xorg-video-ati (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Laptop: HP Omnibook 6200
display adapter: VGA compatible controller: ATI Technologies Inc Radeon Mobility M6 LY

My laptop freezes when I connect it to power supply. It doesn't freeze immediately, but after few seconds. Mouse is moving but I cannot click anthing and I cannot restart X-server or switch to other virtual console. This doesn't happen if I switch to use vesa-driver as display driver.

[from Xorg.0.log]
(==) RADEON(0): Using AGP 4x
(II) RADEON(0): [agp] Mode 0x1b000207 [AGP 0x10b9/0x1671; Card 0x1002/0x4c59]

Tags: freeze
Revision history for this message
Rami Autiomäki (rami-autiomaki) wrote :
Revision history for this message
Rami Autiomäki (rami-autiomaki) wrote :
Revision history for this message
Rami Autiomäki (rami-autiomaki) wrote :
Revision history for this message
Rami Autiomäki (rami-autiomaki) wrote :
Revision history for this message
Rami Autiomäki (rami-autiomaki) wrote :

I have similar symptoms as in bug 144297. It also fixes the problem if I put option "DRI" "off" to the Device section of /etc/X11/xorg.conf.

Revision history for this message
Rami Autiomäki (rami-autiomaki) wrote :

Everything was working fine with Hardy alpha, but after latest updates this issue appeared again.

Revision history for this message
Rami Autiomäki (rami-autiomaki) wrote :

It seems that cpu frequency scaling with dri enabled is making computer freeze. If I remove powernowd then computer works fine with dri enabled.

Revision history for this message
Tormod Volden (tormodvolden) wrote :

Thanks for your report. Is this still a problem in Ubuntu 8.04.1 or in Intrepid?

Changed in xserver-xorg-video-ati:
assignee: nobody → tormodvolden
status: New → Incomplete
Revision history for this message
Rami Autiomäki (rami-autiomaki) wrote : Re: [M6] laptop freezes when connecting power supply

I still have this problem with Ubuntu Intrepid Alpha 3 32 bit. Machine hangs before entering desktop if power supply is connected.

Changed in xserver-xorg-video-ati:
assignee: tormodvolden → nobody
status: Incomplete → Confirmed
Revision history for this message
Bryce Harrington (bryce) wrote :

This sounds a lot like a kernel issue; I'll add them to take a look.

Changed in xserver-xorg-video-ati:
importance: Undecided → Medium
status: Confirmed → Triaged
Revision history for this message
Rami Autiomäki (rami-autiomaki) wrote :

Just testing Jaunty 9.04 alpha-2 with my Omnibook 6200. Problem still exists, but I can make DRI and Powernowd work together by using p4-clockmode as advised in bug #80459. Should this be enabled by default for Pentium-4 laptops? This same hack works in Intrepid also.
I have installed latest Ubuntu releases with battery power only, and then make Powernowd use p4-clockmode, so I can use this computer with power supply also.

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

Okay, I'm fairly sure this is a kernel issue rather than -ati so am going to close this task.

Changed in xserver-xorg-video-ati:
status: Triaged → Invalid
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hi Rami,

Ater you notice the freeze would you be able to ssh into the machine to try and capture any dmesg output? I'm curious if you experience any sort of kernel panic or oops that may be helpful to see.

Changed in linux:
status: New → Incomplete
Revision history for this message
Rami Autiomäki (rami-autiomaki) wrote :

I am unable to ssh to machine when it is freezed. I don't see anything intresting in logs after freeze and reboot. Latest updates seems to change kernel power save features and my fix does not work anymore. This machine does not freeze with Mandriva 2009, but I think Mandriva does not use Powernowd. Maybe this bug is related to this https://bugs.launchpad.net/ubuntu/+source/powernowd/+bug/48792.
Currently I am using Debian Lenny on this machine. Debian also suffers from this bug, but only if I boot with power supply connected.

Revision history for this message
Rami Autiomäki (rami-autiomaki) wrote :

Installed Jaunty to Omnibook vt6200. With default settings machine freezes when connecting or disconnecting power supply. I browsed some bug reports with this error and noticed this:
http://webui.sourcelabs.com/kernel/issues/2754

I then added to xorg.conf, devices section: Option "AGPMode" "1" . After this everything seems to be working. There seems to be problems with this laptop chipset.

Revision history for this message
Tormod Volden (tormodvolden) wrote :

In that case, we can at least work around it in the -ati driver by setting the needed AGPMode.

Changed in xserver-xorg-video-ati (Ubuntu):
status: Invalid → Confirmed
summary: - [M6] laptop freezes when connecting power supply
+ [M6][Needs AGPMode quirk] laptop freezes when connecting power supply
description: updated
Revision history for this message
Tormod Volden (tormodvolden) wrote :

Can you please provide the information needed, as outlined on https://wiki.ubuntu.com/X/Quirks#ATI%20AGP%20Mode%20Quirk ?

Changed in xserver-xorg-video-ati (Ubuntu):
assignee: nobody → Tormod Volden (tormodvolden)
status: Confirmed → Incomplete
Revision history for this message
Tormod Volden (tormodvolden) wrote :

Never mind, it was all in the log:
(II) PCI: 00:00:0: chip 10b9,1671 card 103c,0027 rev 02 class 06,00,00 hdr 00
(II) PCI: 01:00:0: chip 1002,4c59 card 103c,0027 rev 00 class 03,00,00 hdr 00

Changed in xserver-xorg-video-ati (Ubuntu):
assignee: Tormod Volden (tormodvolden) → nobody
status: Incomplete → Confirmed
Changed in linux:
status: Unknown → Fix Released
Bryce Harrington (bryce)
tags: added: freeze
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xserver-xorg-video-ati - 1:6.12.99+git20090629.f39cafc5-0ubuntu2

---------------
xserver-xorg-video-ati (1:6.12.99+git20090629.f39cafc5-0ubuntu2) karmic; urgency=low

  * Add 108_quirk_agpmode_m6_ali.patch: AGPMode quirk. Fixes freeze when
    connecting powersupply on an HP Omnibook 6200 with ALi northbridge and
    an ATI M6 LY.
    (LP: #146303)

 -- Bryce Harrington <email address hidden> Fri, 31 Jul 2009 17:47:08 -0700

Changed in xserver-xorg-video-ati (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Closing linux (Ubuntu) kernel task.

Changed in linux (Ubuntu):
status: Incomplete → Invalid
Changed in linux:
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.