Debian This forum is for the discussion of Debian Linux.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
10-02-2013, 05:00 AM
#1
Member
Registered: Oct 2013
Posts: 39
Rep:
amd driver installation help
Debian wheezy user looking for some help getting my amd drivers to work correctly.
Downloaded the latest driver from amd (13.4) and did an automatic install of them. Everything seemed fine but when I try to run amdcccle or amdconfig I get the following:
Code:
amdcccle: error while loading shared libraries: libGL.so.1: wrong ELF class: ELFCLASS32
So I completely removed/purged amd drivers, xorg.conf & fglrx. Then tried to install with a distro specific package. Doing so gives me the following:
Code:
root@D3B1AN:/home/ac1d/Downloads# sh amd-driver-installer-catalyst-13-4-x86.x86_64.run --buildpkg Debian/stable
Created directory fglrx-install.Tw5CX0
Verifying archive integrity... All good.
Uncompressing AMD Catalyst(TM) Proprietary Driver-12.104............................................ .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. ..............................................
================================================== ===================
AMD Catalyst(TM) Proprietary Driver Installer/Packager
================================================== ===================
Generating package: Debian/stable
cp: cannot stat `/home/ac1d/Downloads/fglrx-install.Tw5CX0/x710_64a/*': No such file or directory
Package build failed!
Package build utility output:
dpkg-buildpackage: source package fglrx-installer
dpkg-buildpackage: source version 12.104-1
dpkg-buildpackage: source changed by AMD: Advanced Micro Devices. <http://ati.amd.com/support/driver.html>
dpkg-source --before-build fglrx.JupB9b
dpkg-buildpackage: host architecture amd64
debian/rules build
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/include': 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'
# remove exec bit from 64-bit libs too
find usr/X11R6/lib64 -type f | xargs chmod -x
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/include': 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
# remove exec bit from 64-bit libs too
find usr/X11R6/lib64 -type f | xargs chmod -x
dh_testdir
dh_testroot
dh_clean -k
dh_clean: dh_clean -k is deprecated; use dh_prep instead
dh_clean: Compatibility levels before 5 are deprecated (level 4 in use)
dh_installdirs
dh_installdirs: Compatibility levels before 5 are deprecated (level 4 in use)
# 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: Compatibility levels before 5 are deprecated (level 4 in use)
# the amd64 package includes 32bit compatibility libraries
dh_installdirs -pfglrx-driver \
emul/ia32-linux/usr/lib \
emul/ia32-linux/usr/lib/xorg \
emul/ia32-linux/usr/lib/xorg/modules \
emul/ia32-linux/usr/lib/dri
dh_installdirs: Compatibility levels before 5 are deprecated (level 4 in use)
dh_installdirs -pfglrx-driver-dev \
usr \
usr/include \
usr/lib
dh_installdirs: Compatibility levels before 5 are deprecated (level 4 in use)
dh_installdirs -pfglrx-kernel-src \
usr/src/modules/fglrx \
usr/src/modules/fglrx/debian
dh_installdirs: Compatibility levels before 5 are deprecated (level 4 in use)
dh_installdirs -A -pfglrx-amdcccle \
usr \
usr/bin \
usr/share \
usr/share/applnk \
usr/share/applications \
usr/share/icons \
usr/share/pixmaps
dh_installdirs: Compatibility levels before 5 are deprecated (level 4 in use)
dh_installdirs -p \
usr/src
dh_installdirs: Compatibility levels before 5 are deprecated (level 4 in use)
dh_install
dh_install: Compatibility levels before 5 are deprecated (level 4 in use)
dh_install -pfglrx-driver "usr/X11R6/bin/fgl*" "usr/bin"
dh_install: Compatibility levels before 5 are deprecated (level 4 in use)
dh_install -pfglrx-driver "usr/X11R6/bin/aticonfig" "usr/bin"
dh_install: Compatibility levels before 5 are deprecated (level 4 in use)
dh_install -pfglrx-driver "usr/sbin/atieventsd" "usr/sbin"
dh_install: Compatibility levels before 5 are deprecated (level 4 in use)
dh_installman -pfglrx-driver "usr/share/man/man8/atieventsd.8"
dh_installman: Compatibility levels before 5 are deprecated (level 4 in use)
# amd64 needs some library redirection
dh_install -pfglrx-driver "usr/X11R6/lib64/*.so*" "usr/lib"
dh_install: Compatibility levels before 5 are deprecated (level 4 in use)
dh_install -pfglrx-driver "usr/X11R6/lib64/modules/dri" "usr/lib"
dh_install: Compatibility levels before 5 are deprecated (level 4 in use)
dh_install -pfglrx-driver "usr/X11R6/lib64/modules/linux" "usr/lib/xorg/modules"
dh_install: Compatibility levels before 5 are deprecated (level 4 in use)
cp: cannot stat `./usr/X11R6/lib64/modules/linux': No such file or directory
dh_install: cp -a ./usr/X11R6/lib64/modules/linux debian/fglrx-driver/usr/lib/xorg/modules/ returned exit code 1
make: *** [binary] Error 2
dpkg-buildpackage: error: debian/rules binary gave error exit status 2
Removing temporary directory: fglrx-install.Tw5CX0
10-02-2013, 05:24 AM
#2
LQ Veteran
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,389
why not add contrib and nonfree repositories and install Fglrx using synaptic
10-02-2013, 05:34 AM
#3
Member
Registered: Oct 2013
Posts: 39
Original Poster
Rep:
Not sure if fglrx comes with catalyst control center. Which I need due to having multiple monitors, or do I? That being said how would I go about adding those?
10-02-2013, 05:52 AM
#4
Senior Member
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753
There is the debian 'how to install the AMD proprietary display driver (AMD Catalyst, aka fglrx) on Debian systems' page-
https://wiki.debian.org/ATIProprietary
I think that the control center is installed with that method, if its not its a simple 'apt-get install fglrx-control' away.
10-02-2013, 06:39 AM
#5
Member
Registered: Oct 2013
Posts: 39
Original Poster
Rep:
That link worked like a charm, guess that's what I get for trying to do something outside the repo's
. Still running into issue having it recognize my 2nd video card and getting the black bar to move to the appropriate screen.
10-02-2013, 06:46 AM
#6
Senior Member
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753
2nd video card, are you running crossfire?
10-02-2013, 06:51 AM
#7
Member
Registered: Oct 2013
Posts: 39
Original Poster
Rep:
Nope, one 5870 & one 5450. Three monitors hooked up to the first, two hooked up to the second. Only the three monitors on the 5870 are showing anything, the other two aren't displaying anything.
10-02-2013, 07:02 AM
#8
Moderator
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: Slackware®
Posts: 13,927
Moderator Response
Moved: This thread is more suitable in <Debian> and has been moved accordingly to help your thread/question get the exposure it deserves.
10-02-2013, 12:48 PM
#9
LQ Veteran
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,389
What is in your /etc/X11/xorg.conf file. This here may help in setting up your xorg.conf file.
http://ubuntugeeknerd.blogspot.com/2...ics-cards.html
10-03-2013, 12:35 AM
#10
Member
Registered: Oct 2013
Posts: 39
Original Poster
Rep:
Well, catalyst seems to be opening up great. I now have 2 not 3 monitors working on a constant basis, the third comes and goes as it pleases. Every time I try and configure my monitors it throws out a random error, and when I say random, I mean random. Every time its different. Here's a copy of my xorg.conf
Code:
Section "ServerLayout"
Identifier "aticonfig Layout"
Screen 0 "aticonfig-Screen[0]-0" 0 0
EndSection
Section "Module"
EndSection
Section "Monitor"
Identifier "aticonfig-Monitor[0]-0"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection
Section "Monitor"
Identifier "0-DFP1"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
Option "PreferredMode" "1920x1080"
Option "TargetRefresh" "60"
Option "Position" "1920 0"
Option "Rotate" "left"
Option "Disable" "false"
EndSection
Section "Monitor"
Identifier "0-DFP2"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
Option "PreferredMode" "1920x1080"
Option "TargetRefresh" "60"
Option "Position" "0 0"
Option "Rotate" "normal"
Option "Disable" "false"
EndSection
Section "Monitor"
Identifier "0-DFP4"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
Option "TargetRefresh" "60"
Option "Position" "3000 20"
Option "Rotate" "left"
Option "Disable" "true"
EndSection
Section "Device"
Identifier "aticonfig-Device[0]-0"
Driver "fglrx"
Option "Monitor-DFP1" "0-DFP1"
Option "Monitor-DFP2" "0-DFP2"
Option "Monitor-DFP4" "0-DFP4"
BusID "PCI:1:0:0"
EndSection
Section "Device"
Identifier "amdcccle-Device[1]-1"
Driver "fglrx"
Option "Monitor-DFP4" "0-DFP4"
BusID "PCI:1:0:0"
Screen 1
EndSection
Section "Device"
Identifier "amdcccle-Device[1]-2"
Driver "fglrx"
Option "Monitor-DFP2" "0-DFP2"
BusID "PCI:1:0:0"
Screen 2
EndSection
Section "Screen"
Identifier "aticonfig-Screen[0]-0"
Device "aticonfig-Device[0]-0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Virtual 4080 1940
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "amdcccle-Screen[1]-1"
Device "amdcccle-Device[1]-1"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "amdcccle-Screen[1]-2"
Device "amdcccle-Device[1]-2"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
10-03-2013, 12:44 AM
#11
Member
Registered: Oct 2013
Posts: 39
Original Poster
Rep:
that's a pretty common error I receive when trying to enable the third monitor.
10-03-2013, 02:02 AM
#12
Senior Member
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753
Try-
aticonfig --adapter=all --initial
If that doesnt work, its going to be fun, fun, fun trying to find an example xorg.conf file.......
10-03-2013, 02:39 AM
#13
Member
Registered: Oct 2013
Posts: 39
Original Poster
Rep:
There isn't anything fun about this......
I absolutely hate saying this but in windows this would never happen. I understand Linux is 10x more work to get the same thing as windows. The outcome is fat greater or is it? I'm starting to wonder if converting was worth it.
10-03-2013, 02:52 AM
#14
LQ Guru
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724
Hi,
Quote:
Originally Posted by
Ac1d
I absolutely hate saying this but in windows this would never happen.
Then why say it? ATI writes full featured drivers for MS Windows, does a half arsed job writing drivers for Linux and doesn't release specs so that others can write better drivers. What exactly do you expect?
Evo2.
10-03-2013, 05:53 AM
#15
Senior Member
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753
Quote:
Originally Posted by
Ac1d
There isn't anything fun about this......
I absolutely hate saying this but in windows this would never happen. I understand Linux is 10x more work to get the same thing as windows.
Its not really 10 times the work, in most cases.
Running 2 x video cards and 5 monitors is very non standard, which makes finding info and example xorg.conf files a lot harder.
All times are GMT -5. The time now is 11:31 AM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News