[ltp] mergefb + portrep dvi
Thomas Breitner
linux-thinkpad@linux-thinkpad.org
Thu, 18 Jan 2007 18:08:46 +0100
> On 12/9/06, Thomas Breitner <mail@tombreit.de> wrote:
> > hi again,
> >
> > it seems i can't get it (mergefb: M10, PortRep II, DVI) to work:
> > whatever i tried, i got only one screen to work, not the internal lvds
> > and the external tmds together as one big, non-rectangular screen.
> >
> > so, if someone has a working configuration for:
> > * ati m10
> > * thinkpad 1400x1050-display
> > * external 1600x1200-display, connected to the port-rep-dvi
> > * pseudo-xinerama / mergefb
> >
> >
> > fglrx worked out of the box with aticonfig --initial=dual-head, but it
> > broke resume-from-ram and i simply prefer xorg-radeon.
> >
>
>
> You need the xorg radeon driver from git head (older versions won't
> work) and you need to add the following line to the device section of
> your config:
> Option "MonitorLayout" "LVDS, TMDS"
>
> Alex
>
Hi,
after libdrm >= 2.2 is in debian experimental (here: 2.3.0-1) I tried to
compile the xorg radeon driver from git (as of 2007-01-18).
autogen.sh and configure went fine, but make aborts with:
mala:/usr/src/build/xorg/xf86-video-ati# make
make all-recursive
make[1]: Entering directory `/usr/src/build/xorg/xf86-video-ati'
Making all in src
make[2]: Entering directory `/usr/src/build/xorg/xf86-video-ati/src'
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..
-DXFree86Server -DIN_MODULE -DXFree86Module -DXFree86LOADER
-I/usr/include/xorg -I/usr/include/drm -I/usr/include/X11/dri -g -O2
-MT ati.lo -MD -MP -MF ".deps/ati.Tpo" -c -o ati.lo ati.c; \
then mv -f ".deps/ati.Tpo" ".deps/ati.Plo"; else rm -f
".deps/ati.Tpo"; exit 1; fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXFree86Server -DIN_MODULE
-DXFree86Module -DXFree86LOADER -I/usr/include/xorg -I/usr/include/drm
-I/usr/include/X11/dri -g -O2 -MT ati.lo -MD -MP -MF .deps/ati.Tpo -c
ati.c -fPIC -DPIC -o .libs/ati.o
ati.c:68: error: 'PACKAGE_VERSION_MAJOR' undeclared here (not in a
function)
ati.c:68: error: 'PACKAGE_VERSION_MINOR' undeclared here (not in a
function)
ati.c:68: error: 'PACKAGE_VERSION_PATCHLEVEL' undeclared here (not in a
function)
make[2]: *** [ati.lo] Fehler 1
make[2]: Leaving directory `/usr/src/build/xorg/xf86-video-ati/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/usr/src/build/xorg/xf86-video-ati'
make: *** [all] Fehler 2
mala:/usr/src/build/xorg/xf86-video-ati#
Any idea how to fix this?
Further: Is it enough to overwrite the debian radeon_drv.so (6.6.3) with
the git radeon_drv.so (the successfully compiled one)?
thanks in advance,
thomas
--
_____________________________________________
Thomas Breitner
mail@tombreit.de | http://www.tombreit.de