Radeon M6 / fail to detected the screen on PowerBook3,3

Bug #220887 reported by Sébastien Grenier
4
Affects Status Importance Assigned to Milestone
xserver-xorg-driver-ati
Fix Released
Medium
xserver-xorg-driver-ati (Ubuntu)
Invalid
Undecided
Unassigned
xserver-xorg-video-ati (Ubuntu)
Fix Released
Critical
Bryce Harrington

Bug Description

Binary package hint: xserver-xorg-driver-ati

I installed a fresh copy of ubuntu 8.04 canditate relase using the net install procedure on. After the install the X would not come up and I land on the terminal prompt. I had a looked at the Xorg.log.0 it has the error "(EE) Failed to load module "vesa" which seems to be a failsafe option. Xorg.log.old has the following error (EE) RADEON(0): No connected devices found!

The thing is if I plug an external monitor (lcd) in the vga output, the X comes up at a resolution of 1280x768 and I get the gdm login on the laptop screen. I would expect it to have the correct resolution 1152x768. The external monitor reminds blank.

$ lspci -nn | grep VGA
0000:00:10.0 VGA compatible controller [0300]: ATI Technologies Inc Radeon Mobility M6 LY [1002:4c59]

# Xorg -version

X.Org X Server 1.4.0.90
Release Date: 5 September 2007
X Protocol Version 11, Revision 0
Build Operating System: Linux Ubuntu (xorg-server 2:1.4.1~git20080131-1ubuntu9)
Current Operating System: Linux thrasy 2.6.24-16-powerpc #1 Thu Apr 10 12:48:35 UTC 2008 ppc
Build Date: 15 April 2008 07:53:08PM

Revision history for this message
Sébastien Grenier (sebas-koumbit) wrote :
Revision history for this message
Sébastien Grenier (sebas-koumbit) wrote :

here is the Xorg.log.0

Revision history for this message
Sébastien Grenier (sebas-koumbit) wrote :

here is the xorg.0,log.old

Revision history for this message
Sébastien Grenier (sebas-koumbit) wrote :

here is the xorg.0.log when the X comes up ok but with the wrong resolution for the screen.

Bryce Harrington (bryce)
Changed in xserver-xorg-video-ati:
importance: Undecided → Critical
status: New → Confirmed
Revision history for this message
Sébastien Grenier (sebas-koumbit) wrote :

hi,
I'm not sure where this bug belongs ( xserver-xorg-driver-ati (Ubuntu) or xserver-xorg-video-ati (Ubuntu) ). Can someone explain it ?

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

xserver-xorg-driver-ati is an old package that was used many years ago. Click on Overview to see released versions. Type for instance "dpkg -l xserver-xorg-video-ati" to see that you have this package installed.

Changed in xserver-xorg-driver-ati:
status: New → Invalid
Revision history for this message
Andrew Post (ar-post) wrote :

Hi,
I have the same hardware (PowerBook3,3), identical problem on a clean install of hardy using the live CD, and identical Xorg.0.log. The xserver-xorg-video-ati package is installed. Don't have an external monitor handy to see if the built-in display works then. There was no driver specified in the Device section of the xorg.conf that was generated by the live CD, but adding Driver="radeon" or Driver="ati" didn't help. Finally, I tried adding Driver="fbdev", and that allowed X to start with the internal display, although without hardware acceleration and at low color depth (8-bit from the looks of it). The rest of the install proceeded normally, and after a reboot X came up again with the same resolution and color depth settings as with the live CD and modified xorg.conf. Looking forward to a fix for this problem.

Revision history for this message
Andrew Post (ar-post) wrote :

Hi again,

It turns out that setting the MacModel option to "powerbook-internal" and specifying horizontal and vertical refresh settings (grabbed from Ubuntu 7.1) in xorg.conf gets my powerbook3,3 up and running, although there is an ugly ~5 seconds as X is starting during which the screen is filled with green lines that refresh like an old television. I created a patch to the radeon driver that makes the configuration for powerbook3,3's built-in lcd the same as as for powerbook-internal models. The external output was also getting configured incorrectly by the radeon driver (it is a VGA output, but it was getting configured as DVI), so I changed that in the patch too. Rebooting with a VGA monitor attached sort of works. The driver picks a reasonable resolution and color depth for the VGA monitor, displays the default desktop background, but mirrors the GNOME toolbars and desktop icons from the laptop's lcd on the upper left 1152x768 pixels of the screen (that is the resolution of the built-in lcd). Don't know how to fix that problem.

The patch is against Ubuntu's latest release of xserver-xorg-video-ati for Hardy.

Andrew

Revision history for this message
Robb Munson (r.munson) wrote :

Assigned to core developers as this is an xserver issue.

Changed in xserver-xorg-video-ati:
assignee: nobody → ubuntu-core-dev
Revision history for this message
Robb Munson (r.munson) wrote :

If i have messed up, please feel free to undo my changes.

Changed in xserver-xorg-video-ati:
assignee: ubuntu-core-dev → nobody
Revision history for this message
Martin Pitt (pitti) wrote :

Bryce, can you please have a look at the patch?

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

Created an attachment (id=18398)
Patch that fixes -ati for the Powerbook3,3

Forwarding this Ubuntu bug:
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/220887

Logs / Config Files:
http://launchpadlibrarian.net/13833567/xorg.conf
http://launchpadlibrarian.net/13833579/Xorg.0.log.old-Radeon-no-connected-devices-found.txt
http://launchpadlibrarian.net/13833584/Xorg.0.log-working-wrong-resolution-with-ext-lcd.txt

On a Powerbook3,3, X crashes with error "(EE) RADEON(0): No connected devices found!" When an external LCD is plugged into the VGA out, X comes up on the laptop panel, but at the wrong resolution, and the external monitor remains black.

"It turns out that setting the MacModel option to "powerbook-internal" and specifying horizontal and vertical refresh settings (grabbed from Ubuntu 7.1) in xorg.conf gets my powerbook3,3 up and running, although there is an ugly ~5 seconds as X is starting during which the screen is filled with green lines that refresh like an old television. I created a patch to the radeon driver that makes the configuration for powerbook3,3's built-in lcd the same as as for powerbook-internal models. The external output was also getting configured incorrectly by the radeon driver (it is a VGA output, but it was getting configured as DVI), so I changed that in the patch too. Rebooting with a VGA monitor attached sort of works. The driver picks a reasonable resolution and color depth for the VGA monitor, displays the default desktop background, but mirrors the GNOME toolbars and desktop icons from the laptop's lcd on the upper left 1152x768 pixels of the screen (that is the resolution of the built-in lcd). Don't know how to fix that problem.

The patch is against Ubuntu's latest release of xserver-xorg-video-ati for Hardy."

It looks like the change for BiosConnector[0] is already in git, however the changes for BiosConnector[1] weren't; is this patch sane?

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

Thanks, the patch looks okay to me, although the first part is already upstream. I'm going to run the second part by upstream to sanity check it.

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

thanks Bryce. this was a copy/paste bug. I've applied it to git:
1cf7a5494fa94e8d9f30f9b2905dfbe6d4faa445

Revision history for this message
Tormod Volden (tormodvolden) wrote :
Changed in xserver-xorg-video-ati:
status: In Progress → Fix Committed
Changed in xserver-xorg-driver-ati:
status: Confirmed → Fix Released
Revision history for this message
Bryce Harrington (bryce) wrote :

Upstream confirms the patch fixes the issue, and applied this to git:
1cf7a5494fa94e8d9f30f9b2905dfbe6d4faa445

So either we can pull a newer -ati when it's available, or I'll make sure to pull this patch before release.

Revision history for this message
Wouter Stomp (wouterstomp-deactivatedaccount) wrote :

With Ubuntu having version git20080826, is this now included and can this be set to fix released?

Oibaf (oibaf)
Changed in xserver-xorg-video-ati:
status: Fix Committed → 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.