Bug 17214

Summary: [patch] Radeon M6 / fail to detected the screen on PowerBook3,3
Product: xorg Reporter: Bryce Harrington <bryce>
Component: Driver/RadeonAssignee: xf86-video-ati maintainers <xorg-driver-ati>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: 7.3 (2007.09)   
Hardware: Other   
OS: All   
URL: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/220887
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Patch that fixes -ati for the Powerbook3,3 none

Description Bryce Harrington 2008-08-19 18:39:25 UTC
Created attachment 18398 [details] [review]
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?
Comment 1 Alex Deucher 2008-08-20 06:49:21 UTC
thanks Bryce.  this was a copy/paste bug.  I've applied it to git:
1cf7a5494fa94e8d9f30f9b2905dfbe6d4faa445

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.