LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-27-2009, 03:29 PM   #1
Leon W. Malinofsky
LQ Newbie
 
Registered: Aug 2007
Posts: 23

Rep: Reputation: 15
Has anyone gotten Radeon X1600 to work with Lenny?


There is much on the net about how this card just won't work with xorg's xserver. Most solutions posted rely on the old style of xorg.conf, where not a lot was autodetected. Now in Debian Lenny I find with everything autodetected, apparently I cannot load the modules that used to solve the card's problem... including a "Module" section in xorg.conf causes a crash.

So is there an answer to get this card to work with Lenny?

Many thanks,

Leon Malinofsky
 
Old 02-27-2009, 11:06 PM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Quote:
Originally Posted by Leon W. Malinofsky View Post
There is much on the net about how this card just won't work with xorg's xserver. Most solutions posted rely on the old style of xorg.conf, where not a lot was autodetected. Now in Debian Lenny I find with everything autodetected, apparently I cannot load the modules that used to solve the card's problem... including a "Module" section in xorg.conf causes a crash.

So is there an answer to get this card to work with Lenny?

Many thanks,

Leon Malinofsky
Hi Leon,
I don't understand. I just checked the ATI site here:
http://support.amd.com/us/gpudownloa...9&lang=English
and there is (as you see) a driver for your card. I have always had good success using ATI's proprietary drivers especially for enabling 3D accleration (I use ATI Radeon 9550). So just download the installer, follow the directions and that should sort you out.
Cheers,
jdk
 
Old 02-28-2009, 11:28 AM   #3
Leon W. Malinofsky
LQ Newbie
 
Registered: Aug 2007
Posts: 23

Original Poster
Rep: Reputation: 15
Thanks for this information, but in trying to install this driver I got caught in dependency hell. That is why I was wondering whether anyone had got it to work, maybe by building the driver for Ubuntu or something. (Although since it won't build for Debian Lenny there is probably some missing dev package or gcc module.) I am getting ready to just swap out the video card for an Invidia, and make a firm resolution not to buy ATI again.... ( ! ) Glad to have any advice, however.

Thanks,

Leon Malinofsky

PS I was getting the dependencies satisfied one by one, but I just got tired of the long string of them.
 
Old 02-28-2009, 11:55 AM   #4
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Quote:
Originally Posted by Leon W. Malinofsky View Post
Thanks for this information, but in trying to install this driver I got caught in dependency hell. That is why I was wondering whether anyone had got it to work, maybe by building the driver for Ubuntu or something. (Although since it won't build for Debian Lenny there is probably some missing dev package or gcc module.) I am getting ready to just swap out the video card for an Invidia, and make a firm resolution not to buy ATI again.... ( ! ) Glad to have any advice, however.

Thanks,

Leon Malinofsky

PS I was getting the dependencies satisfied one by one, but I just got tired of the long string of them.
This really surprises my (the dependency hell). When you download the ati-driver-installer-9.2-x86.x86_64.run for example, do you do it like this?
Code:
sudo ./ati-driver-installer-9.2-x86.x86_64.run --buildpkg Debian/lenny
Since the ati installer is version-specific (stable/testing/unstable) you might get the odd missing dependency but I wouldn't expect a true dependency hell.
cheers,
jdk
 
Old 02-28-2009, 11:55 AM   #5
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Quote:
Originally Posted by Leon W. Malinofsky View Post
Thanks for this information, but in trying to install this driver I got caught in dependency hell. That is why I was wondering whether anyone had got it to work, maybe by building the driver for Ubuntu or something. (Although since it won't build for Debian Lenny there is probably some missing dev package or gcc module.) I am getting ready to just swap out the video card for an Invidia, and make a firm resolution not to buy ATI again.... ( ! ) Glad to have any advice, however.

Thanks,

Leon Malinofsky

PS I was getting the dependencies satisfied one by one, but I just got tired of the long string of them.
This really surprises my (the dependency hell). When you download the ati-driver-installer-9.2-x86.x86_64.run for example, do you do it like this?
Code:
sudo ./ati-driver-installer-9.2-x86.x86_64.run --buildpkg Debian/lenny
Since the ati installer is version-specific (stable/testing/unstable) you might get the odd missing dependency but I wouldn't expect a true dependency hell.
cheers,
jdk
 
Old 02-28-2009, 04:24 PM   #6
Leon W. Malinofsky
LQ Newbie
 
Registered: Aug 2007
Posts: 23

Original Poster
Rep: Reputation: 15
Yes, that is the syntax of how I did the install. At first I got different error messages, but after satisfying some other dependencies I got:

Code:
dh_testdir
make:  dh_testdir
make: *** [build] Error 127
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
So that's where we are now.

Many thanks,

Leon Malinofsky
 
Old 02-28-2009, 04:43 PM   #7
Leon W. Malinofsky
LQ Newbie
 
Registered: Aug 2007
Posts: 23

Original Poster
Rep: Reputation: 15
Well, I did some googling and found I needed package debhelper for dh_testdir to be available. So I fixed that and got

Code:
Verifying archive integrity... All good.
Uncompressing ATI Proprietary Linux Driver-8.582.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
==================================================
 ATI Technologies Linux Driver Installer/Packager 
==================================================
Generating package: Debian/lenny
Package build failed!
Package build utility output:
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value: 
dpkg-buildpackage: set LDFLAGS to default value: 
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: source package fglrx-installer
dpkg-buildpackage: source version 8.582-1
dpkg-buildpackage: source changed by ATI Technologies Inc. <http://ati.amd.com/support/driver.html>
 debian/rules build
dpkg-buildpackage: host architecture i386
dh_testdir
# move licenses away from binary dir
if [ ! -d usr/share/doc/fglrx ]; then \
	  mkdir -p usr/share/doc/fglrx; \
	  mv usr/X11R6/bin/LICENSE.* usr/share/doc/fglrx; \
	fi
# set executable on user apps
find usr/X11R6/bin -type f | xargs chmod a+x
# remove exec bit from files that don't deserve it
find usr/X11R6/include \
	     usr/X11R6/lib \
	     usr/X11R6/lib64 \
	     usr/share usr/src     -type f | xargs chmod -x
find: `usr/X11R6/lib64': No such file or directory
find lib -not -name "*.sh" -type f | xargs chmod -x
find lib      -name "*.sh" -type f | xargs chmod +x
# set proper permissions on /etc files
if [ -d etc/ati ]; then			\
		chmod 755 etc/ati ;			\
		chmod 644 etc/ati/* ;		\
		chmod a+x etc/ati/*.sh ;	\
	fi
if [ -f debian/fglrx.default ]; then \
	  mv -v debian/fglrx.default debian/fglrx; \
	fi
`debian/fglrx.default' -> `debian/fglrx'
 debian/rules binary
dh_testdir
# move licenses away from binary dir
if [ ! -d usr/share/doc/fglrx ]; then \
	  mkdir -p usr/share/doc/fglrx; \
	  mv usr/X11R6/bin/LICENSE.* usr/share/doc/fglrx; \
	fi
# set executable on user apps
find usr/X11R6/bin -type f | xargs chmod a+x
# remove exec bit from files that don't deserve it
find usr/X11R6/include \
	     usr/X11R6/lib \
	     usr/X11R6/lib64 \
	     usr/share usr/src     -type f | xargs chmod -x
find: `usr/X11R6/lib64': No such file or directory
find lib -not -name "*.sh" -type f | xargs chmod -x
find lib      -name "*.sh" -type f | xargs chmod +x
# set proper permissions on /etc files
if [ -d etc/ati ]; then			\
		chmod 755 etc/ati ;			\
		chmod 644 etc/ati/* ;		\
		chmod a+x etc/ati/*.sh ;	\
	fi
if [ -f debian/fglrx.default ]; then \
	  mv -v debian/fglrx.default debian/fglrx; \
	fi
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
# Create the directories to install into
dh_installdirs -pfglrx-driver \
		usr \
		usr/lib/xorg \
		usr/lib/xorg/modules \
		usr/lib/dri \
		usr/bin \
		usr/sbin \
		etc/acpi \
		etc/acpi/events \
		etc/default \
		etc/X11/Xsession.d
dh_installdirs -pfglrx-driver-dev \
		usr \
		usr/include \
		usr/lib
dh_installdirs -pfglrx-kernel-src \
		usr/src/modules/fglrx \
		usr/src/modules/fglrx/debian
dh_installdirs -A -pfglrx-amdcccle \
		usr \
		usr/bin \
		usr/share \
		usr/share/applnk \
		usr/share/applications \
		usr/share/icons \
		usr/share/pixmaps
dh_installdirs -p \
		usr/src
dh_install
ldconfig -n usr/X11R6/lib/
dh_install -pfglrx-driver "usr/X11R6/bin/fgl*"      "usr/bin"
dh_install -pfglrx-driver "usr/X11R6/bin/aticonfig" "usr/bin"
dh_install -pfglrx-driver "usr/sbin/atieventsd"     "usr/sbin"
dh_installman -pfglrx-driver "usr/share/man/man8/atieventsd.8"
# amd64 needs some library redirection
dh_install -pfglrx-driver "usr/X11R6/lib/*.so*"           "usr/lib"
dh_install -pfglrx-driver "usr/X11R6/lib/modules/dri"     "usr/lib"
dh_install -pfglrx-driver "usr/X11R6/lib/modules/linux"   "usr/lib/xorg/modules"
dh_install -pfglrx-driver "usr/X11R6/lib/modules/drivers" "usr/lib/xorg/modules"
dh_install -pfglrx-driver "usr/X11R6/lib/modules/extensions" "usr/lib/xorg/modules"
dh_install -pfglrx-driver "usr/X11R6/lib/modules/*.so"    "usr/lib/xorg/modules"
dh_install -pfglrx-driver "usr/X11R6/lib/modules/*.a"     "usr/lib/xorg/modules"
dh_install -pfglrx-driver "etc/fglrx*"                "etc"
dh_install -pfglrx-driver "etc/ati"                   "etc"
dh_install -pfglrx-driver "debian/70fglrx" 	       "etc/X11/Xsession.d"
dh_install -pfglrx-driver "debian/fglrx-powermode.sh" "etc/acpi"
dh_install -pfglrx-driver "debian/fglrx-*-aticonfig"  "etc/acpi/events"
dh_install -pfglrx-driver "debian/fglrx"              "etc/default"
dh_installinit -pfglrx-driver --name="atieventsd"
# create symlinks to shared libs
dh_link    -pfglrx-driver "usr/lib/libGL.so.1.2"		  "usr/lib/libGL.so.1"
dh_install -pfglrx-driver-dev "usr/X11R6/lib/*.a"   "usr/lib"
dh_install -pfglrx-driver-dev "usr/X11R6/include/*" "usr/include"
dh_install -pfglrx-driver-dev "usr/include/*"       "usr/include"
dh_install -pfglrx-kernel-src \
		lib/modules/fglrx/build_mod/*.c            \
		lib/modules/fglrx/build_mod/*.h            \
		lib/modules/fglrx/build_mod/*.sh           \
		lib/modules/fglrx/build_mod/lib*           \
		lib/modules/fglrx/build_mod/2.6.x/Makefile \
		usr/src/modules/fglrx
dh_install -pfglrx-kernel-src "debian/changelog" "usr/src/modules/fglrx/debian"
dh_install -pfglrx-kernel-src  \
		debian/copyright        \
		debian/compat           \
		module/rules            \
		module/control.template \
		module/dirs.template    \
		module/postinst         \
		usr/src/modules/fglrx/debian
(cd debian/fglrx-kernel-src/usr/src \
	 && chown -R root:src modules \
	 && tar -jcf fglrx.tar.bz2 modules \
	 && rm -rf modules)
# control panel package
dh_install -A -pfglrx-amdcccle "usr/X11R6/bin/amdcccle"            		"usr/bin"
dh_install -A -pfglrx-amdcccle "usr/share/icons/*.xpm"             		"usr/share/icons"
dh_install -A -pfglrx-amdcccle "usr/share/icons/*.xpm"             		"usr/share/pixmaps"
dh_install -A -pfglrx-amdcccle "debian/amdcccle.desktop"				"usr/share/applications"
dh_install -A -pfglrx-amdcccle "debian/amdcccle.kdelnk"					"usr/share/applnk"
dh_install -A -pfglrx-amdcccle "usr/share/ati"							"usr/share"
dh_desktop    -pfglrx-amdcccle
dh_installdocs
dh_installdocs -pfglrx-driver usr/share/doc/fglrx/*
#dh_installchangelogs
dh_link
dh_strip
dh_compress
dh_installdeb
dh_makeshlibs
dh_shlibdeps
dpkg-shlibdeps: warning: symbol _XFlush used by debian/fglrx-driver/usr/lib/libfglrx_gamma.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XextAddDisplay used by debian/fglrx-driver/usr/lib/libfglrx_gamma.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol _XReply used by debian/fglrx-driver/usr/lib/libfglrx_gamma.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XextRemoveDisplay used by debian/fglrx-driver/usr/lib/libfglrx_gamma.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XextCreateExtension used by debian/fglrx-driver/usr/lib/libfglrx_gamma.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XextFindDisplay used by debian/fglrx-driver/usr/lib/libfglrx_gamma.so.1.0 found in none of the libraries.
dpkg-shlibdeps: failure: couldn't find library libstdc++.so.5 needed by debian/fglrx-driver/usr/lib/libAMDXvBA.so.1.0 (its RPATH is '').
Note: libraries are not searched in other binary packages that do not have any shlibs or symbols file.
To help dpkg-shlibdeps find private libraries, you might need to set LD_LIBRARY_PATH.
dh_shlibdeps: command returned error code 512
make: *** [binary] Error 1
dpkg-buildpackage: failure: debian/rules binary gave error exit status 2
Removing temporary directory: fglrx-install.ViPweU
--and if I've got to do a LD_LIBRARY_PATH somewhere I have no idea what the full syntax would be or where to put it. So, stuck again.

And thanks again,

LM
 
Old 02-28-2009, 11:39 PM   #8
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Hi Leon,
It helps if you read the documentation on the ATI site associated with the driver you're building. This is what it says,
Quote:
The following packages must be installed in order for the ATI Catalyst™
Linux driver to install and work properly:
• XFree86-Mesa-libGL
• libstdc++
• libgcc
• XFree86-libs
• fontconfig
• freetype
• zlib
• gcc
Your output shows this error message:
Quote:
dpkg-shlibdeps: failure: couldn't find library libstdc++.so.5 needed by debian/fglrx-driver/usr/lib/libAMDXvBA.so.1.0 (its RPATH is '').
If you check you see that libstdc++.so.5 is part of the libstdc++5 package so that's the package you have to install. To save time you might want to check that the other packages listed are installed also otherwise you'll keep getting complaints from the ati-driver-installer. Just a few minutes reading the instructions can save you a lot of time later.
Cheers,
jdk
 
Old 03-01-2009, 03:28 AM   #9
Leon W. Malinofsky
LQ Newbie
 
Registered: Aug 2007
Posts: 23

Original Poster
Rep: Reputation: 15
Wow, shame on me for missing something so obvious. I'm just too used to automatic dependency resolution. My face is red, but my screen, I hope, will not be black.

Regards,
Leon Malinofsky
 
Old 03-01-2009, 07:10 AM   #10
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Quote:
Originally Posted by Leon W. Malinofsky View Post
Wow, shame on me for missing something so obvious. I'm just too used to automatic dependency resolution. My face is red, but my screen, I hope, will not be black.

Regards,
Leon Malinofsky
Welcome to the club. It happens to all of us. A quick hint from a non-hacker: when you get a huge gob of out put involving error messages, search for the phrase "not found". I love those kind of error messages cause they're easy to fix. any more complicated than that and I'm lost.
Cheers,
jdk
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ati radeon x1600 configuration silliness allied air Linux - Hardware 1 03-28-2008 03:15 PM
Erratic behaviour of fglrx on Radeon Mobility X1600 dizzi Slackware 0 08-17-2007 08:13 AM
AT Radeon X1600, Does not load, Fedora 6 HumptyBk315 Linux - Newbie 2 03-12-2007 06:11 AM
Ati radeon x1600 nightmare sorenzo Linux - Hardware 10 03-11-2007 06:18 AM
Radeon X1600 pro maxwellg15 Linux - Hardware 12 01-14-2007 01:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration