Bug 13294

Summary: DVI-output is not enabled on powerbook
Product: xorg Reporter: Wouter Lueks <wouter>
Component: Driver/RadeonAssignee: xf86-video-ati maintainers <xorg-driver-ati>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: wouter
Version: 7.3 (2007.09)   
Hardware: PowerPC   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Xorg config
none
Xorg log with external monitor none

Description Wouter Lueks 2007-11-18 05:10:46 UTC
XRandr is perfectly capable of detecting an external DVI display on my PowerBook 5,4 (with ATI Technologies Inc RV350 [Mobility Radeon 9600 M10]). When I enable the external display, for example using:

xrandr --output DVI-0 --mode 1280x1024

everything goes okay, except for the fact that the display doesn't get a signal. This can be remedied by executing some bit-banging:

radeontool regset FP_GEN_CNTL $((0x00034148 & ~0x0c07 | 0x0405))

Then the display is enabled, however since the driver is unaware of this hack I have to execute it again after switching to the console or suspending. In addition to this, the display keeps getting a signal, so it won't enter a powersave mode.

I've tested this on Debian Sid, with Xorg version 1:7.3-6 and xserver-xorg-video-ati version 1:6.7.196-1 from experimental (this should be almost up to date with git at the time of writing).

I'd be happy to provide any additional information.

P.S. My laptop is correctly detected as a duallink powerbook, I will attach the config shortly.
Comment 1 Wouter Lueks 2007-11-18 05:13:25 UTC
Created attachment 12615 [details] [review]
Xorg config
Comment 2 Wouter Lueks 2007-11-18 05:27:54 UTC
Added myself to the CC list.
Comment 3 Alex Deucher 2007-11-18 11:28:25 UTC
please attach your xorg log as well.
Comment 4 Wouter Lueks 2007-11-18 13:10:47 UTC
Created attachment 12619 [details]
Xorg log with external monitor
Comment 5 Alex Deucher 2007-11-18 13:42:45 UTC
It looks like your powerbook uses the internal TMDS encoder rather than the external one.  does:
Option "MacModel" "powerbook"
fix the problem?
Comment 6 Wouter Lueks 2007-11-19 13:24:41 UTC
(In reply to comment #5)
> It looks like your powerbook uses the internal TMDS encoder rather than the
> external one.  does:
> Option "MacModel" "powerbook"
> fix the problem?

Actually it does. It works wonderfully now. A bit strange since this machine does actually support dual-link DVI. Thanks for the quick response.

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.