Results 1 to 4 of 4

Thread: problem installing amd driver on kali linux

  1. #1
    Join Date
    2016-Dec
    Posts
    2

    problem installing amd driver on kali linux

    I use kali linux on acer V5-552g/amd radeon HD8750M graphics card.
    After i try to install amd driver from this link: support.amd.com/en-us/download/desktop?os=Linux%20x86_64#
    i get the following message:
    Please install the required pre-requisites before proceeding with AMD proprietary driver installation.
    Please check file usr/share/ati/fglrx-install.log for more details.
    The file says:
    cat /usr/share/ati/fglrx-install.log
    Supported adapter detected.
    Check if system has the tools required for installation.
    fglrx installation requires that the system have kernel headers for
    greater than 3.6 release.
    /lib/modules/4.6.0-kali1-amd64/build/include/generated/uapi/linux/version.h cannot be found on this system.
    One or more tools required for installation cannot be found on the system. Install the required tools before installing the fglrx driver.
    Optionally, run the installer with --force option to install without the tools.
    Forcing install will disable AMD hardware acceleration and may make your system unstable. Not recommended.
    Searching the internet i found this solution:

    Code:
    sudo apt-get install linux-headers-$(uname -r)
    i get the following message:

    Code:
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    E: Unable to locate package linux-headers-4.6.0-kali1-amd64
    E: Couldn't find any package by glob 'linux-headers-4.6.0-kali1-amd64'
    E: Couldn't find any package by regex 'linux-headers-4.6.0-kali1-amd64'
    any suggestions?

  2. #2
    Join Date
    2014-Mar
    Posts
    163
    interesting that i have the same issue that you have , however i did not yet look into it more deeply because kali here is wheezy and is running , and since i practically am not decoding hashes or playing games in linux , so i did not worried to much .
    The situation on my case is that i am on the current linux kernel , but the file version.h is not in the **** directory , witch makes me believe that kernel is not installed correctly .
    However , write this on terminal and post here the result :
    uname -a
    (this is to know witch kali linux you have installed)

    also post here your sources.list by using the following command on terminal :
    cat /etc/apt/sources.list
    (and this is to know if your sources list are accordingly with that installed distribution)
    Last edited by pedropt; 2016-12-09 at 22:51.

  3. #3
    Join Date
    2016-Dec
    Posts
    2
    i get the following message:
    Linux localhost.localdomain 4.6.0-kali1-amd64 #1 SMP Debian 4.6.4-1kali1 (2016-07-21) x86_64 GNU/Linux
    sources list:
    ## Kali Regular repositories
    deb http://http.kali.org/kali kali main non-free contrib
    deb http://security.kali.org/kali-security kali/updates main contrib non-free
    ## Kali Source repositories
    deb-src http://http.kali.org/kali kali main non-free contrib
    deb-src http://security.kali.org/kali-security kali/updates main contrib non-free
    since i want to start gpu processing, i have to install the radeon driver.
    thinking to switch to ubuntu.

  4. #4
    Join Date
    2014-Mar
    Posts
    163
    well , my friend , it looks that you have exactly the same problem as i have here .

    as you can see on your "uname -a" , you are already on the specific kernel needed to install the driver .
    The problem is that instalation package is unable to find "version.h" file on this directory :
    "/lib/modules/4.6.0-kali1-amd64/build/include/generated/uapi/linux/version.h"

    By this , the driver installation message :
    Check if system has the tools required for installation.
    fglrx installation requires that the system have kernel headers for
    greater than 3.6 release.
    Is not asking for you to install a new kernel , the installation already detected the new kernel needed .
    Consider that part as an information to user .

    The problem why you can not install is because the file is not there "version.h" , witch means that kernel installation is incomplete or there is any other issue that i am not figuring out .

    See if you can get an installation driver package for a previous kernel , instead 3.6 .
    I did not try it yet , but maybe the solution for this problem is to remove the latest kernel and stick with the previous one .
    but an apt-get dist-upgrade will reinstall the latest kernel again , i think .

    Maybe during next week i will put my hands on this issue right here in one of my machines to see if i can figure out a way to solve this .
    If i get any solution then i will post here .

    Give a look at this website page , the example they used is for a different version of kali , but i think that the installation process could be the same.

    https://www.blackmoreops.com/2014/02...ersion-3-12-6/
    Last edited by pedropt; 2016-12-12 at 00:03.

Similar Threads

  1. Driver problem before installing kali
    By ivanchepy in forum Installing Archive
    Replies: 0
    Last Post: 2015-09-29, 18:41
  2. Problem installing driver Nvidia GTX 970!!!
    By slaychild in forum TroubleShooting Archive
    Replies: 9
    Last Post: 2015-04-21, 11:52
  3. problem installing driver for ati 2400 PRO AGP
    By Lancha in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2014-04-08, 23:28

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •