hashcat Forum
Problem installing catalyst 13.1 in debian - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Deprecated; Previous versions (https://hashcat.net/forum/forum-29.html)
+--- Forum: General Help (https://hashcat.net/forum/forum-8.html)
+--- Thread: Problem installing catalyst 13.1 in debian (/thread-2222.html)

Pages: 1 2


RE: Problem installing catalyst 13.1 in debian - undeath - 07-15-2013

am I the only one who realises he is trying to install a 64bit driver on a 32bit kernel?


RE: Problem installing catalyst 13.1 in debian - MaKr0 - 07-16-2013

(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


RE: Problem installing catalyst 13.1 in debian - eljolot - 07-28-2013

Well The tutorial could be a little messy, But all was made throught irc channel.
If you read with attention I writed "I installed and rebooted to use graphics and work faster" because of that I installed the graphics.

Also the driver for 32 and 64 bits is the same download from the AMD page, then the installer detects if the system is 32 or 64 bits. If your see with attention in http://support.amd.com/US/GPUDOWNLOAD/Pages/index.aspx in the link "Linux (32-bit & 64-bit)" you will only see one link to download.

Then the problem is cause all the steps work only for The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali) LINUX, for other distros may not work


RE: Problem installing catalyst 13.1 in debian - MaKr0 - 08-02-2013

(07-28-2013, 07:51 PM)eljolot Wrote: Well The tutorial could be a little messy, But all was made throught irc channel.
If you read with attention I writed "I installed and rebooted to use graphics and work faster" because of that I installed the graphics.

Also the driver for 32 and 64 bits is the same download from the AMD page, then the installer detects if the system is 32 or 64 bits. If your see with attention in http://support.amd.com/US/GPUDOWNLOAD/Pages/index.aspx in the link "Linux (32-bit & 64-bit)" you will only see one link to download.

Then the problem is cause all the steps work only for The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali) LINUX, for other distros may not work

Well the AMD driver should work for any system, if you check you will see that even include packaging creation for Debian, red-hat, Ubuntu, SUSE, etc. and if you check the actual source you'll see that it is compatible and will install on all the derivatives of the above with no modification. (except the patch for newer Debian derivatives, which The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali) also is)

The reason why the user get the error is that is running a 64bit program on a 64bit system, but the installed library are linked to 32bit code.

Also I have The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali) (ver. 1.08 64bit) and just to test, I follow your instructions and I end-up with the same error.

Only solution was to uninstall all the packages including the AMD 12.10 and then patch and re-install the AMD 13.1.

More over when you installed the AMD 13.1 the script should have actually told you that you have a previous version and you need to un-install prior to install 13.1, if it didn't then it means that for some reason it did not recognize that and it just went on and installed anyway and now you have a patchwork or mixed libraries that, still for some reason, may work for you but not for most of us.

P.S.: matter of fact while writing this I just got an email from another friend that has Kali8 64bit and he went on and tried and he is confirming my finding.


RE: Problem installing catalyst 13.1 in debian - qpens8 - 09-27-2013

If You know the problem with installation drivers. Can you provide final installation guide


RE: Problem installing catalyst 13.1 in debian - MaKr0 - 09-30-2013

(09-27-2013, 08:50 PM)qpens8 Wrote: If You know the problem with installation drivers. Can you provide final installation guide
wow I resolved this was a while ago...
... I think I followed a mainly this:
https://wiki.debian.org/Installing_ATI_fglrx_legacy_with_latest_kernel


RE: Problem installing catalyst 13.1 in debian - qpens8 - 10-01-2013

(09-30-2013, 03:28 PM)MaKr0 Wrote:
(09-27-2013, 08:50 PM)qpens8 Wrote: If You know the problem with installation drivers. Can you provide final installation guide
wow I resolved this was a while ago...
... I think I followed a mainly this:
https://wiki.debian.org/Installing_ATI_fglrx_legacy_with_latest_kernel

I know this instructions

/usr/bin/zenity: error while loading shared libraries: libGL.so.1: wrong ELF class: ELFCLASS32

eljolot wrote that Im using 32bit libary insted 64bit
How to link 64 bit library in Linux The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali) so I will not get this error anymore


RE: Problem installing catalyst 13.1 in debian - eljolot - 11-25-2013

I guess there is not way, I have tried to install amd drivers in The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali) 64 bits, and nothing worked, I just got a black screen nothing more, even in other forums:

https://forums.The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali).org/showthread.php?19285-Installing-ATI-drivers-AMD-APP-SDK-CAL-and-Pyrit
https://wiki.debian.org/Installing_ATI_fglrx_legacy_with_latest_kernel
https://top-hat-sec.com/forum/index.php?topic=2482.0
https://top-hat-sec.com/forum/index.php?topic=2732.0
https://forums.The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali).org/showthread.php?1021-installing-VitualBox-in-The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali)-linux-host

Tried with that recommendations and also nothing. Then I used better The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali) 32 bits And I installed the drivers without any problems.

Also in 64 bits systems for The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali) you should have 32 bits libraries, I don't say that, The people of AMD:

http://support.amd.com/en-us/download/desktop?os=Linux+x86 Linux (32-bit & 64-bit)

Code:
32-Bit packages must be installed for 64-Bit Linux drivers to install or work.

Solution: Don't use The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali) 64 bits if you want to use oclhashcat