SystemCrash86 Posted September 2, 2015 Share Posted September 2, 2015 Does anyone know how to install fglrx-driver in Kali Linux? I tried but everytime i do i get this: root@kali:~/Downloads# apt-get install fglrx-driver Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: fglrx-driver : Depends: xorg-video-abi-18 but it is not installable or xorg-video-abi-15 but it is not installable or xorg-video-abi-14 but it is not installable or xorg-video-abi-13 but it is not installable or xorg-video-abi-12 but it is not installable or xorg-video-abi-11 but it is not installable or xorg-video-abi-10 but it is not installable or xorg-video-abi-8 but it is not installable or xorg-video-abi-6.0 but it is not installable I tried googleing this and how to fix it but i found nothing. All ideas are greatly appreciated. Thank you Quote Link to comment Share on other sites More sharing options...
Mr-Protocol Posted September 2, 2015 Share Posted September 2, 2015 Have you tried apt-get -f install fglrx-driver Quote Link to comment Share on other sites More sharing options...
SystemCrash86 Posted September 2, 2015 Author Share Posted September 2, 2015 Have you tried apt-get -f install fglrx-driver Yes, that is the first thing i tried before hitting up google, after hours of searching i found nothing that worked Quote Link to comment Share on other sites More sharing options...
Mr-Protocol Posted September 2, 2015 Share Posted September 2, 2015 Have you tried the solution listed here: http://askubuntu.com/questions/595359/fglrx-wont-install-unable-to-correct-problems-you-have-held-broken-packages http://askubuntu.com/questions/588742/packages-are-broken-with-unmet-dependencies-cannot-install-fglrx Quote Link to comment Share on other sites More sharing options...
digip Posted September 2, 2015 Share Posted September 2, 2015 Is it an nvidia based card? Try: https://www.offensive-security.com/kali-linux/top-10-post-install-tips/ ​http://docs.kali.org/general-use/install-nvidia-drivers-on-kali-linux Quote Link to comment Share on other sites More sharing options...
SystemCrash86 Posted September 2, 2015 Author Share Posted September 2, 2015 Is it an nvidia based card? Try: https://www.offensive-security.com/kali-linux/top-10-post-install-tips/ ​http://docs.kali.org/general-use/install-nvidia-drivers-on-kali-linux No it's actually an AMD Radeon R9 280, it worked before the upgrade to 2.0 and now the installation process no longer works. Quote Link to comment Share on other sites More sharing options...
SystemCrash86 Posted September 2, 2015 Author Share Posted September 2, 2015 Have you tried the solution listed here: http://askubuntu.com/questions/595359/fglrx-wont-install-unable-to-correct-problems-you-have-held-broken-packages http://askubuntu.com/questions/588742/packages-are-broken-with-unmet-dependencies-cannot-install-fglrx I tried them and they didn't work : root@kali:~# apt-get install fglrx-atieventsd fglrx-driver fglrx-control fglrx-modules-dkms -y Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: fglrx-driver : Depends: xorg-video-abi-18 but it is not installable or xorg-video-abi-15 but it is not installable or xorg-video-abi-14 but it is not installable or xorg-video-abi-13 but it is not installable or xorg-video-abi-12 but it is not installable or xorg-video-abi-11 but it is not installable or xorg-video-abi-10 but it is not installable or xorg-video-abi-8 but it is not installable or xorg-video-abi-6.0 but it is not installable Recommends: libgl1-fglrx-glx (= 1:14.12-2.1) but it is not going to be installed Recommends: libgl1-fglrx-glx-i386 but it is not installable E: Unable to correct problems, you have held broken packages. root@kali:~# sudo apt-get install --install-recommends xserver-xorg libgl1-mesa-glx libegl1-mesa-drivers Reading package lists... Done Building dependency tree Reading state information... Done libegl1-mesa-drivers is already the newest version. libegl1-mesa-drivers set to manually installed. libgl1-mesa-glx is already the newest version. libgl1-mesa-glx set to manually installed. xserver-xorg is already the newest version. xserver-xorg set to manually installed. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. root@kali:~# sudo apt-get install fglrx Reading package lists... Done Building dependency tree Reading state information... Done Package fglrx is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'fglrx' has no installation candidate root@kali:~# sudo apt-get install fglrx-updates Reading package lists... Done Building dependency tree Reading state information... Done Package fglrx-updates is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'fglrx-updates' has no installation candidate root@kali:~# Quote Link to comment Share on other sites More sharing options...
cooper Posted September 2, 2015 Share Posted September 2, 2015 Heh. It recommends libgl1-fglrx-glx-i386 but I'm guessing you have something a wee bit newer than that. More like libgl1-fglrx-glx-x86_64 if such a thing exists. Quote Link to comment Share on other sites More sharing options...
vailixi Posted September 3, 2015 Share Posted September 3, 2015 (edited) I've had this problem when a few times trying to install packages. I usually look on debian.org for the packages. Sometimes there's a package that depends on a package that depends on another package and so on and so forth but eventually you find it or you rage quit. Or you have to install some deprecated library that breaks your system and creates security issues. Have you tried this? apt-get install kali-linux-gpu Or maybe? apt-get install amd-opencl-icd Edited September 3, 2015 by vailixi Quote Link to comment Share on other sites More sharing options...
SystemCrash86 Posted September 3, 2015 Author Share Posted September 3, 2015 Heh. It recommends libgl1-fglrx-glx-i386 but I'm guessing you have something a wee bit newer than that. More like libgl1-fglrx-glx-x86_64 if such a thing exists. First thing i tried when i saw it. It installs with out any issue. It's the fglrx-driver that i seem to have the issue with. Quote Link to comment Share on other sites More sharing options...
SystemCrash86 Posted September 3, 2015 Author Share Posted September 3, 2015 I've had this problem when a few times trying to install packages. I usually look on debian.org for the packages. Sometimes there's a package that depends on a package that depends on another package and so on and so forth but eventually you find it or you rage quit. Or you have to install some deprecated library that breaks your system and creates security issues. Have you tried this? apt-get install kali-linux-gpu Or maybe? apt-get install amd-opencl-icd Yes it's very frustrating, i have been searching the net for hours and triing different "solutions" but nothing has work so far thats why i made this post to see if any of you guys might be able to help. I tried those commands and they install with any problems so it seem to be that so far the only problem i am having is installing the fglrx-driver so i can get my graphics card to work. Quote Link to comment Share on other sites More sharing options...
SystemCrash86 Posted September 7, 2015 Author Share Posted September 7, 2015 I came across this post on the kali forums: https://forums.kali.org/showthread.php?26902-AMD-Drivers-Issues-Kali-2-0-%28Radeon-HD-7400M%29&highlight=radeon and wondered where and how i can download and install these unofficial drivers from, everytime i search i keep getting directed to AMD's offiicial site with their official drivers? Quote Link to comment Share on other sites More sharing options...
cooper Posted September 7, 2015 Share Posted September 7, 2015 https://en.wikipedia.org/wiki/Free_and_open-source_graphics_device_driver#ATI.2FAMD Quote Link to comment Share on other sites More sharing options...
SystemCrash86 Posted September 9, 2015 Author Share Posted September 9, 2015 I think i have solved it, finally.From the start all i wanted to do is use my graphics card in my desktop to work in the newly updated Kali Linux 2.0 since the old tutorials don't work anymore. Specifically i wanted my GPU to work with pyrit but my card wasn't being recognised even though it is fully supported.Well after days and days of searching and asking you guys for help (all of which was very very appreciated and i thank you) i think i finally did it. My card is being picked up by pyrit and i can now use my GPU in Kali Linux 2.0.Here's how i managed to do it:1) Go to the website - https://wiki.freedesktop.org/xorg/radeonBuildHowTo/2) Using the information from the site open up a terminal and enter: git clone git://anongit.freedesktop.org/xorg/driver/xf86-video-ati 3) Then when that is finished, in the same terminal i entered: apt-get build-dep xserver-xorg-video-ati 4) Then change into the newly installed xf86-video-ati directory and issue the following commands: ./autogen.sh --prefix=/opt/xorg make sudo make install 5) Then apt-get install synaptic and install opencl packages - click on search and type opencl and you should see them.6) Remove stock pyrit from kali linux7) Install pyrit and cpyrit-opencl as normal (i chose cpyrit-opencl becasue my graphics card is an AMD Radeon R9 208)That's it. So far it's working. Hope this can help someone else who is stuck. Quote Link to comment Share on other sites More sharing options...
cooper Posted September 9, 2015 Share Posted September 9, 2015 Nice to see you worked it out. The problem you're facing now is that since it's not actually a package that the package manager knows about there's a real chance any future update you do to kali will overwrite the files you just installed. My advice to you would be to make a script of these commands so that if an update breaks your video you have something to get things going again. Quote Link to comment Share on other sites More sharing options...
digip Posted September 9, 2015 Share Posted September 9, 2015 Nice! Going to tweet so others can find if they have the same issue. Now if only we can figure out the battery/power settings ;) Quote Link to comment Share on other sites More sharing options...
bust1460 Posted September 10, 2015 Share Posted September 10, 2015 I think i have solved it, finally. From the start all i wanted to do is use my graphics card in my desktop to work in the newly updated Kali Linux 2.0 since the old tutorials don't work anymore. Specifically i wanted my GPU to work with pyrit but my card wasn't being recognised even though it is fully supported. Well after days and days of searching and asking you guys for help (all of which was very very appreciated and i thank you) i think i finally did it. My card is being picked up by pyrit and i can now use my GPU in Kali Linux 2.0. Here's how i managed to do it: 1) Go to the website - https://wiki.freedesktop.org/xorg/radeonBuildHowTo/ 2) Using the information from the site open up a terminal and enter: git clone git://anongit.freedesktop.org/xorg/driver/xf86-video-ati 3) Then when that is finished, in the same terminal i entered: apt-get build-dep xserver-xorg-video-ati 4) Then change into the newly installed xf86-video-ati directory and issue the following commands: ./autogen.sh --prefix=/opt/xorg make sudo make install 5) Then apt-get install synaptic and install opencl packages - click on search and type opencl and you should see them. 6) Remove stock pyrit from kali linux 7) Install pyrit and cpyrit-opencl as normal (i chose cpyrit-opencl becasue my graphics card is an AMD Radeon R9 208) That's it. So far it's working. Hope this can help someone else who is stuck. hi, thanks for you explanation. I was able to do everything, but have no idea how to install opencl packages, can someone teach me :D ? ks Quote Link to comment Share on other sites More sharing options...
SystemCrash86 Posted September 11, 2015 Author Share Posted September 11, 2015 Nice! Going to tweet so others can find if they have the same issue. Now if only we can figure out the battery/power settings ;) Thanks, i am still stuck with the battery issue and have no idea what to do about that one. Quote Link to comment Share on other sites More sharing options...
SystemCrash86 Posted September 11, 2015 Author Share Posted September 11, 2015 hi, thanks for you explanation. I was able to do everything, but have no idea how to install opencl packages, can someone teach me :D ? ks That's no problem, but i can only tell you what worked for me. apt-get install synaptic if you haven't already. Click on the search button and type "opencl" - without quotes. In the results list you should install: amd-libopencl1 amd-opencl-icd gdb gdbserver libclc-dev libclc-r600 mesa-opencl-icd mesa-opencl-dbg multiforcer nvidia-opencl-dev nvidia-opencl-common nvidia-opencl-icd opencl-headers Some of these are probably not nessesary and have nothing to do with it but that is everything i have installed when synaptic shows me my search results and so far i have been able to use my amd gpu with pyrit. Quote Link to comment Share on other sites More sharing options...
SystemCrash86 Posted September 11, 2015 Author Share Posted September 11, 2015 There is one thing, even through i managed to get pyrit working i had a confusing error when i tried to use oclhashcat. apt-get install oclhashcat - installed without issue but the error came when i tried to use it: root@Kali:~# oclhashcat -m 2500 -a3 /root/Dropbox/cracking/test.hccap ?u?u?u?u?u?u?u?oclHashcat v1.36 starting...Generating bitmap tables with 16 bits...ERROR: clGetDeviceIDs() -1 Does anyone know how to solve this one? Quote Link to comment Share on other sites More sharing options...
digip Posted September 11, 2015 Share Posted September 11, 2015 There is one thing, even through i managed to get pyrit working i had a confusing error when i tried to use oclhashcat. apt-get install oclhashcat - installed without issue but the error came when i tried to use it: root@Kali:~# oclhashcat -m 2500 -a3 /root/Dropbox/cracking/test.hccap ?u?u?u?u?u?u?u? oclHashcat v1.36 starting... Generating bitmap tables with 16 bits... ERROR: clGetDeviceIDs() -1 Does anyone know how to solve this one? Pulling straws but they make mention of AMD info here about a segfault, although you didn't post that error, try running with "--gpu-temp-disable" and see what happens? ​ https://hashcat.net/wiki/doku.php?id=oclhashcat_catalyst_forceware Quote Link to comment Share on other sites More sharing options...
SystemCrash86 Posted September 18, 2015 Author Share Posted September 18, 2015 Pulling straws but they make mention of AMD info here about a segfault, although you didn't post that error, try running with "--gpu-temp-disable" and see what happens? ​ https://hashcat.net/wiki/doku.php?id=oclhashcat_catalyst_forceware Thanks but that doesn't work. Think i need to install catalyst 14.9 but I'm a bit wary of doing this in case it breaks what took me ages to find out about my GPU Quote Link to comment Share on other sites More sharing options...
digip Posted September 18, 2015 Share Posted September 18, 2015 How would you run catalyst? Do they have a complete linux port, cause I don't think wine would help in a situation like this. Quote Link to comment Share on other sites More sharing options...
druncPyrit Posted September 24, 2015 Share Posted September 24, 2015 The easy way to do it.. I wrote a bash script for this because i keep breaking python with cal++ (which also happened in kali) every time it happens it seems the only solution is a fresh install. Here goes... By the looks of things you're packages are broken to bits maybe consider a fresh install and apt-get update && apt-get upgrade mv /usr/lib64 /usr/.lib64 mv /usr/x86_64-linux-gnu /usr/.x86_64-linux-gnu apt-get install gcc g++ make dkms fakeroot # Download https://mega.co.nz/#!249nkZ6D!G_QanBu2lj5N3MnbHtC3kQLleV5QaSSE51iwfosnyn0 cp ~/Download/Catalyst_15.7.tar.gz ~/ tar zxvf Catalyst_15.7.tar.gz cd Setup-Experimental mkdir /lib/modules/4.0.0-kali1-amd64/build/include/linux cp /usr/include/linux/version.h /lib/modules/4.0.0-kali1-amd64/build/include/linux/ sh ati-installer.sh 15.20 --install ! IMPORTANT DON'T REBOOT ! aticonfig --initial ############################################## Nearly there.... echo "export COGL_DRIVER=gl" >> /etc/environment echo "export COGL_OVERRIDE_GL_VERSION=1.4" >> /etc/environment echo "export COGL_RENDERER=GLX" >> /etc/environment echo "export LD_PRELOAD=/usr/lib/fglrx/fglrx-libGL.so.1.2" >> /etc/environment echo "export COGL_DRIVER=gl" > ~/.xsession echo "export COGL_OVERRIDE_GL_VERSION=1.4" >> ~/.xsession echo "export COGL_RENDERER=GLX" >> ~/.xsession echo "export LD_PRELOAD=/usr/lib/fglrx/fglrx-libGL.so.1.2" >> ~/.xsession echo "gnome-session" >> ~/.xsession mv /usr/.lib64 /usr/lib64 mv /usr/.x86_64-linux-gnu /usr/x86_64-linux-gnu Here's my Second most 3rd most favourite part shutdown -r now Quote Link to comment Share on other sites More sharing options...
druncPyrit Posted September 24, 2015 Share Posted September 24, 2015 Sorry i needed a reboot sorry anout the way the code looks but i cant find an edit button. So now you all know that i suck on IDE's maybe this will make up for it.. And just when you thought things couldnt get any better. Look at the driver version and head straight to http://hashcat.net/oclhashcat/ What Are you waiting for ? Get Cracking! I really need sleep. full credit MUST and an extremeley thorough explanation of the reason for the commands used head over to.http://unix.stackexchange.com/a/222662 Sorry about the mess been almost 10 years and that was phpBB If someone could help ill merge and fix it up. Card used is an R7 200 clocks about , PMK's/swc in cpyrit OCL wish i could get cal++ working. Abd a lessom fhere for everyone. Im stayimg at a mates, he showed me his ISP issued password which just quietly is there before your eyes. Yep an 8 digit password. Have fun! 1min / digit... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.