MergedFB problem with older version of xf86-video-ati

Joel Feiner jafeiner at gmail.com
Mon Feb 11 20:26:14 PST 2008


I am using xf86-video-ati version 6.7.196-r1 (Gentoo) with Xorg 7.1.1. 
I know it's outdated, but I have reasons for remaining with those 
versions right now.  Assuming that I don't plan to upgrade, I would like 
to seek out a solution to my problem.  I am willing to hack the driver 
as I have the source code available to me and have some proficiency in C.

The problem is this.  Despite setting metamodes and all the other voodoo 
that should supposedly make MergedFB work, the driver is still sending 
the wrong timings to my external LCD.  It has the following timings 
(from the specs): horizontal: 30khz - 82khz / vertical: 56hz - 76hz.  I 
have put these into my xorg.conf.  Yet the monitor keeps complaining 
that it is getting 53KHz for HSync and 50Hz for VRefresh.  Those just 
happen to be the numbers that my laptop's internal LCD uses.  So 
basically, it's sending the same timings to both screens, even though it 
shouldn't.

I fixed the ErrorF statements in RADEONInit2() so that it shows timing 
information for both crtc's instead of just one twice (I guess someone 
forgot to fix things up after copying and pasting...) and here's what I get:

crtc_mask = 3
1400x1050      84.96  1400 1432 1496 1600  1050 1051 1052 1062 (24,32)
1280x1024      84.96  1280 1328 1440 1688  1024 1025 1028 1066 (24,32) +H +V

So it looks like at some point, it does have different timings, but that 
gets lost along the way.  Or maybe I'm wrong.  I'm about as familiar 
with the workings of the driver as I am with the workings of brain surgery.

Anyways, here are the relevant sections of my xorg.conf:
[ in the driver section]
     Option      "MergedFB" "true"
     Option      "CRT2Position" "RightOf"
     Option      "CRT2HSync" "64-82"
     Option      "CRT2VRefresh" "60-76"
     Option      "MonitorLayout" "LVDS,TMDS"
     Option      "MetaModes" "1400x1050-1280x1024"
     Option      "MergedNonRectangular" "true"

[ screen section]
Section "Screen"
     Identifier "Screen0"
     Device     "Card0"
     Monitor    "Monitor0"
     DefaultDepth     24
     SubSection "Display"
         Viewport   0 0
         Depth     24
         Modes   "1400x1050" "1280x1024" "1024x768" "800x600"
     EndSubSection
     SubSection "Display"
         Depth   24
         Virtual 2680 1050
     EndSubSection
EndSection

And I've attached my /var/log/Xorg.0.log since it has a lot of mode 
information that's too long to post here.

My machine is a ThinkPad T43 with 14" LCD 1400x1050.  The card is a 
Radeon x300.

Any help will be much appreciated.

- Joel
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Xorg.0.log
URL: <http://lists.x.org/archives/xorg/attachments/20080211/33c80d05/attachment.ksh>


More information about the xorg mailing list