Bug 19544 - xf86-video-ati > 6.9.0 does not work on M82 when docked
Summary: xf86-video-ati > 6.9.0 does not work on M82 when docked
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-13 14:40 UTC by Sascha Steinbiss
Modified: 2009-02-11 07:12 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Log file for 6.9.0 driver (57.66 KB, text/plain)
2009-01-13 14:40 UTC, Sascha Steinbiss
no flags Details
Log file for 6.10.0 driver (49.18 KB, text/plain)
2009-01-13 14:41 UTC, Sascha Steinbiss
no flags Details
Xorg.conf (3.64 KB, application/octet-stream)
2009-01-13 14:42 UTC, Sascha Steinbiss
no flags Details
always use dig2 for LVDS (2.74 KB, patch)
2009-01-13 15:31 UTC, Alex Deucher
no flags Details | Splinter Review
Log file for X startup and subsequent xrandr (70.13 KB, text/plain)
2009-01-13 15:51 UTC, Sascha Steinbiss
no flags Details
ROM dump (64.00 KB, application/octet-stream)
2009-01-14 00:12 UTC, Sascha Steinbiss
no flags Details
new patch (5.60 KB, patch)
2009-01-15 16:14 UTC, Alex Deucher
no flags Details | Splinter Review

Description Sascha Steinbiss 2009-01-13 14:40:50 UTC
Created attachment 21952 [details]
Log file for 6.9.0 driver

I have a Lenovo T400 with a "ATI Technologies Inc Mobility Radeon HD 3400 Series rev 0" graphics chip. Usually I boot up with the machine in the dock (Lenovo Advanced Mini Dock), and use the DVI output there to drive a Samsung 24" display (multi-head via xrandr).

Version 6.9.0 works like a charm (though unaccelerated). However, using any later version (tested with the 6.9.0.91 and 6.10.0 versions from the Arch testing repository), when I boot up with the laptop docked all X does is cycle through uniformly colored full screens on the internal display (white->red->green->blue->grey->vertical black/white gradient->horizontal black/white gradient), and the external DVI output is ignored. The same happens when I boot up undocked, then put the laptop in the dock and use xrandr to enable the DVI out.

I attach my xorg.conf and logs for both versions for debugging.
Comment 1 Sascha Steinbiss 2009-01-13 14:41:20 UTC
Created attachment 21953 [details]
Log file for 6.10.0 driver
Comment 2 Sascha Steinbiss 2009-01-13 14:42:38 UTC
Created attachment 21954 [details]
Xorg.conf
Comment 3 Alex Deucher 2009-01-13 15:31:11 UTC
Created attachment 21955 [details] [review]
always use dig2 for LVDS

Does this patch help?
Comment 4 Sascha Steinbiss 2009-01-13 15:50:37 UTC
(In reply to comment #3)
> Created an attachment (id=21955) [details]
> always use dig2 for LVDS
> 
> Does this patch help?

Yes, X does now come up with cloned displays in 1440x900, but when I do a "xrandr --output DVI-0 --dpi 96 --mode 1920x1200 --auto --left-of LVDS" the internal screen does the color cycling again; curiously the DVI-out stays responsive (but does not switch to a higher resolution).
Comment 5 Sascha Steinbiss 2009-01-13 15:51:59 UTC
Created attachment 21957 [details]
Log file for X startup and subsequent xrandr

Applied the patch provided by Alex Deucher to the current git master, then issued "xrandr --output DVI-0 --dpi 96 --mode 1920x1200 --auto --left-of LVDS".
Comment 6 Alex Deucher 2009-01-13 16:33:41 UTC
can you attach your video bios rom?

(as root)
cd /sys/bus/pci/devices/<pci bus id>/
echo 1 > rom
cat rom > /tmp/m82.rom
echo 0 > rom
Comment 7 Sascha Steinbiss 2009-01-14 00:11:39 UTC
(In reply to comment #6)
> can you attach your video bios rom?
> 
> (as root)
> cd /sys/bus/pci/devices/<pci bus id>/
> echo 1 > rom
> cat rom > /tmp/m82.rom
> echo 0 > rom

As the log says
"(II) RADEON(0): PCI bus 1 card 0 func 0"
I looked in /sys/bus/pci/devices/0000:01:00.0 and attached the rom dump.
Comment 8 Sascha Steinbiss 2009-01-14 00:12:10 UTC
Created attachment 21972 [details]
ROM dump
Comment 9 Alex Deucher 2009-01-15 16:14:50 UTC
Created attachment 22016 [details] [review]
new patch

This should do the trick.
Comment 10 Sascha Steinbiss 2009-01-15 22:57:19 UTC
Yes, works for me now. Thanks! Great support! :)
Comment 11 Sascha Steinbiss 2009-02-09 02:38:39 UTC
One last question: When will this patch be incorporated into the git master (or even a release)?
Comment 12 Alex Deucher 2009-02-09 06:26:59 UTC
This should already be fixed in ati git master.  Please verify.
Comment 13 Sascha Steinbiss 2009-02-11 07:12:08 UTC
Yes, it is. Sorry for bothering...


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.