Hi all -- I have a Sony Vaio PCG-R505ECX with the Intel 82830 CGC video system, which I have recently upgraded to Debian "lenny", and was having some strange video corruption issues. As a sanity check on the hardware, I wanted to try a different video driver for the same chipset, and soon found my way to the driver at http://www.intellinuxgraphics.com, whose latest stable release is the "xf86-video-intel-2.6.0.tar.bz2" download. This file would initially not configure, due to a requirement for libdrm version 2.4.4, but the same page provides the tarball for this version of the library, and it built fine on my system, using "./configure --prefix=/usr/local; make; make install". Subsequent to this, the xf86-video-intel-2.6.0 tarball would then configure, but it would not build. The makefile gets an error attempting to build i830_lvds.c. The error, starting from the build line for the problem file, is: > ../doltcompile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -I/usr/include/pixman-1 -I/usr/local/stow/libdrm-2.4.4/include -I/usr/local/stow/libdrm-2.4.4/include/drm -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -I/usr/include/xorg -I/usr/include/pixman-1 -I/usr/local/stow/libdrm-2.4.4/include -I/usr/local/stow/libdrm-2.4.4/include/drm -I/usr/include/X11/dri -I../uxa -DI830_XV -DI830_USE_XAA -DI830_USE_EXA -g -O2 -MT i830_lvds.lo -MD -MP -MF .deps/i830_lvds.Tpo -c -o i830_lvds.lo i830_lvds.c > i830_lvds.c: In function ‘i830_lvds_get_modes’: > i830_lvds.c:827: error: ‘DS_VENDOR’ undeclared (first use in this function) > i830_lvds.c:827: error: (Each undeclared identifier is reported only once > i830_lvds.c:827: error: for each function it appears in.) > make[4]: *** [i830_lvds.lo] Error 1 > make[4]: Leaving directory `/home/reid/download/intel/xf86-video-intel-2.6.0/src' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory `/home/reid/download/intel/xf86-video-intel-2.6.0/src' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/home/reid/download/intel/xf86-video-intel-2.6.0/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/reid/download/intel/xf86-video-intel-2.6.0' > make: *** [all] Error 2 Debian "lenny" has version 7.1 of the X.org server, and provides the associated header files and so forth in a "-dev" package. Is this just too old of an X.org installation to build this driver? If so, can you point me to an older version of the driver? The chipset in question is rather old, so I don't imagine there's a real requirement for new software, but I was unable to find any archives of previous xf86-video-intel tarballs which might work.
Yes, the latest driver may not work with older server. So better you just use the xf86-video-intel driver shipped in Debian. How about to try a newer Debian than Lenny?
git master has the fix already, but not included in any releases yet. commit f126aabdf8952177bb15f392041da7a7094eb31b Author: Eric Anholt <eric@anholt.net> Date: Wed Jan 21 12:52:36 2009 -0800 Fix build with server 1.4. Debian "unstable" is still stuck with this ancient version.
This should be fixed with: commit f126aabdf8952177bb15f392041da7a7094eb31b Author: Eric Anholt <eric@anholt.net> Date: Wed Jan 21 12:52:36 2009 -0800 Fix build with server 1.4. Debian "unstable" is still stuck with this ancient version.
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.