[ltp] Re: LCD plus DVI on T30 under Ubuntu feisty

Alex Deucher linux-thinkpad@linux-thinkpad.org
Thu, 31 May 2007 13:12:38 -0500


On 5/31/07, Thomas Hood <jdthood@gmail.com> wrote:
> Dear Xperts,
>
> I already had installed:
>
>     xserver-xorg-dev
>     x11proto-xf86misc-dev
>     x11proto-gl-dev
>
> along with:
>
>     xutils-dev
>
> which replaces xorg-build-macros.  I did:
>
>     cg-clone git://anongit.freedesktop.org/git/xorg/driver/xf86-video-ati
>     cd xf86-video-ati
>     ./autogen.sh prefix=/usr
>
> Then I had to edit ./config.h to add three macro definitions:
>
>     #define PACKAGE_VERSION_MAJOR 6
>     #define PACKAGE_VERSION_MINOR 6
>     #define PACKAGE_VERSION_PATCHLEVEL 192
>

those would be handled by an updated xorg-macros.

> Then:
>
>     make
>
> and to install:
>
>     sudo mv /usr/lib/xorg/modules/drivers/radeon_drv.so /usr/lib/xorg/modules/drivers/radeon_drv.so_FEISTY
>     sudo mv /usr/lib/xorg/modules/drivers/ati_drv.so /usr/lib/xorg/modules/drivers/ati_drv.so_FEISTY
>     sudo cp src/.libs/radeon_drv.so /usr/lib/xorg/modules/drivers/radeon_drv.so
>     sudo cp src/.libs/ati_drv.so /usr/lib/xorg/modules/drivers/ati_drv.so
>     sudo chmod ugo-x /usr/lib/xorg/modules/drivers/radeon_drv.so
>     sudo chmod ugo-x /usr/lib/xorg/modules/drivers/ati_drv.so
>
> I edited xorg.conf to look like this:
>
>     Section "Device"
>         Identifier      "Radeon Mobility 7500"
>         Driver          "radeon"
>         BusID           "PCI:1:0:0"
>         Option          "MergedFB"              "True"
>         Option          "MonitorLayout"         "LVDS, TMDS"
>         Option          "CRT2Position"          "RightOf"
>         Option          "MetaModes"             "1400x1050-1280x1024 1400x1050"
>         Option          "MergedNonRectangular"  "True"
>     EndSection
>
>     Section "Monitor"
>         Identifier      "Generic Monitor"
>     EndSection
>
>     Section "Screen"
>         Identifier      "Default Screen"
>         Device          "Radeon Mobility 7500"
>         Monitor         "Generic Monitor"
>         DefaultDepth    16
>         #JDTH: For DRI can only use laptop display and only at 16 bit depth
>         SubSection "Display"
>                 Depth           16
>                 Modes           "1400x1050 1280x1024 2680x1024"

you don't need the 2680x1024 mode; remove that.

>         EndSubSection
>     EndSection
>
> But X would not start.  Here is the relevant part of the log:

Can you post your full log and config?  I haven't tested ati master
with LVDS and TMDS in a while so it's possibly broken.  The randr
branch does work however.  I'll try and test it out tonight with ati
master.  Can anyone else confirm in the meantime?

Alex