LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   amd driver installation help (https://www.linuxquestions.org/questions/debian-26/amd-driver-installation-help-4175479305/)

Ac1d 10-02-2013 05:00 AM

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


colorpurple21859 10-02-2013 05:24 AM

why not add contrib and nonfree repositories and install Fglrx using synaptic

Ac1d 10-02-2013 05:34 AM

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?

cascade9 10-02-2013 05:52 AM

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.

Ac1d 10-02-2013 06:39 AM

That link worked like a charm, guess that's what I get for trying to do something outside the repo's :D. Still running into issue having it recognize my 2nd video card and getting the black bar to move to the appropriate screen.

cascade9 10-02-2013 06:46 AM

2nd video card, are you running crossfire?

Ac1d 10-02-2013 06:51 AM

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.

onebuck 10-02-2013 07:02 AM

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.

colorpurple21859 10-02-2013 12:48 PM

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

Ac1d 10-03-2013 12:35 AM

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


Ac1d 10-03-2013 12:44 AM

1 Attachment(s)
that's a pretty common error I receive when trying to enable the third monitor.

cascade9 10-03-2013 02:02 AM

Try-

aticonfig --adapter=all --initial

If that doesnt work, its going to be fun, fun, fun trying to find an example xorg.conf file.......

Ac1d 10-03-2013 02:39 AM

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.

evo2 10-03-2013 02:52 AM

Hi,
Quote:

Originally Posted by Ac1d (Post 5039085)
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.

cascade9 10-03-2013 05:53 AM

Quote:

Originally Posted by Ac1d (Post 5039085)
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:00 AM.