Problem installing catalyst 13.1 in debian
#12
(07-15-2013, 06:41 PM)undeath Wrote: am I the only one who realises he is trying to install a 64bit driver on a 32bit kernel?

yep!

... and as per his "tuto"rial, he may think it works, because he installed the 12.10 driver first

(04-16-2013, 07:09 PM)eljolot Wrote: At this moment all should work, and the drivers could be installed, if you want install them or keep working in the command line. I installed and rebooted to use graphics and work faster, then write in your command line:

Code:
./amd-driver-installer-catalyst-12.10-x86.x86_64.run

which if I remember correctly included the 32bit code, and then he patches the 13.1 driver and installs it...

(04-16-2013, 07:09 PM)eljolot Wrote: after installing, reboot, and the graphics should work. Hope you remember that we donwloaded the patch, now we will use it to patch the installer.
first we need to extract the .run installer where we consider necessary.

Code:
root@The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali):~# ./amd-driver-installer-catalyst-13.1-linux-x86.x86_64.run --extract ./src
Creating directory ./src
Verifying archive integrity... All good.
Uncompressing AMD Catalyst(TM) Proprietary Driver-9.012...............................
root@The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali):~# cd ./src

then you should go where the file fglrx-3.7.patch was saved, and patch the file firegl_public.c located in the extracted .run file, in our case in the folder:

Code:
/root/src/common/lib/modules/fglrx/build_mod/

then

Code:
root@The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali):~# cd ..
root@The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali):~# patch -Np1 --verbose < fglrx-3.7.patch
Hmm...  Looks like a unified diff to me...
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- firegl_public.c    2012-12-26 14:53:14.843334069 +0700
|+++ firegl_public.c.new    2012-12-26 15:23:23.220996869 +0700
--------------------------
File to patch: /root/src/common/lib/modules/fglrx/build_mod/firegl_public.c    
Patching file /root/src/common/lib/modules/fglrx/build_mod/firegl_public.c using Plan A...
Hunk #1 succeeded at 3892.
Hunk #2 succeeded at 3926.
Hunk #3 succeeded at 3949.
Hunk #4 succeeded at 3962.
Hunk #5 succeeded at 4008.
Hunk #6 succeeded at 4047.
Hunk #7 succeeded at 4065.
Hunk #8 succeeded at 4090.
done
root@The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali):~# cd ./src
root@The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali):~/src# ./ati-installer.sh 9.002 --install

So he has the 64bit 13.1 driver on the system that already has the 32bit 12.10 driver and the main libGL.so libraries are probably still linked just to the 32bit.

That is also why the other user, that actually has a 64bit system, get the resulting error

(06-09-2013, 03:28 PM)qpens8 Wrote: Hi

after your instruction i got

AMD Catalyst(TM) Proprietary Driver Installer/Packager
=====================================================================
Detected configuration:
Architecture: x86_64 (64-bit)
X Server: X.Org 6.9 or later 64-bit
loki_setup: directory: (null)
/usr/bin/zenity: error while loading shared libraries: libGL.so.1: wrong ELF class: ELFCLASS32

since he followed the "tuto"rial and his libraries are also linked to the 32bit


Messages In This Thread
RE: Problem installing catalyst 13.1 in debian - by MaKr0 - 07-16-2013, 08:42 PM