DVI output not visible on LCD with DVI, VGA output works -- (MergedFB on Ubuntu Edgy, Powerbook G4 ATI radeon 9600 M10)

Martin Langhoff martin.langhoff at gmail.com
Thu Jan 4 02:19:43 PST 2007


On 1/4/07, Michel Dänzer <michel at tungstengraphics.com> wrote:
> The atimisc driver does, but radeon shouldn't. You may get away with
>
> make -C src {ati,radeon}_drv.la
>
> with the old libdrm.

Thanks for the hint! The build breaks, but I'm not sure whether it's
related to drm or not...

$ make -C src {ati,radeon}_drv.la
make: Entering directory `/home/martin/src/xf86-video-ati/src'
if /bin/bash ../libtool --tag=CC --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: *** [ati.lo] Error 1
make: Leaving directory `/home/martin/src/xf86-video-ati/src'

looks more like a build script issue than libdrm... ;-)

Diffing the 6.6 branch with master, I think the blame goes to

--- a/configure.ac
+++ b/configure.ac
@@ -22,18 +22,9 @@

 AC_PREREQ(2.57)
 AC_INIT([xf86-video-ati],
-        6.6.3,
+        6.6.99,
         [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],
         xf86-video-ati)
-AC_DEFINE_UNQUOTED([ATI_VERSION_MAJOR],
-                  [$(echo $PACKAGE_VERSION | sed -e
's/^\([[0-9]]\)\.[[0-9]]\.[[0-9]]/\1/')],
-                  [Major version])
-AC_DEFINE_UNQUOTED([ATI_VERSION_MINOR],
-                  [$(echo $PACKAGE_VERSION | sed -e
's/^[[0-9]]\.\([[0-9]]\)\.[[0-9]]/\1/')],
-                  [Minor version])
-AC_DEFINE_UNQUOTED([ATI_VERSION_PATCH],
-                  [$(echo $PACKAGE_VERSION | sed -e
's/^[[0-9]]\.[[0-9]]\.\([[0-9]]\)/\1/')],
-                  [Patch version])

 AC_CONFIG_SRCDIR([Makefile.am])
 AM_CONFIG_HEADER([config.h])

So... reverting d5c6306385cbc7b13a132ae72ed04e04e24d9886 "Use portable
XORG_RELEASE_VERSION macro." works for me. ;-)

restarting x.org in a few seconds!


martin


More information about the Xorg-driver-ati mailing list