Results 1 to 40 of 40

Thread: AMD Catalyst Mobility Radeon HD 4670 driver

  1. #1
    Join Date
    2013-Mar
    Posts
    3

    AMD Catalyst Mobility Radeon HD 4670 driver

    Hi,
    how do install driver no free catalyst 13.1 for Mobility Radeon HD 4670 with enable OpenCL ?
    From apt-get fglrx-driver don't work...

    thank

  2. #2
    Join Date
    2013-Mar
    Posts
    2
    I have the same problem installing the Catalyst driver for my Sapphire Radeon HD 7750. At first I got the kernel-headers replacing my /etc/apt/source.list with this one:
    deb [arch=amd64] http://http.kali.org/kali kali main contrib non-free
    deb-src http://http.kali.org/kali kali main contrib non-free

    deb [arch=amd64] http://security.kali.org/kali-security kali/updates main contrib non-free
    deb-src http://security.kali.org/kali-security kali/updates main contrib non-free
    (then do a apt-get update && apt-get dist-upgrade && apt-get install linux-headers)
    So far I could download the installer from the amd website and install the necessary dependencies (http://askubuntu.com/questions/12429...-drivers-fglrx) and you also have to copy the version.h which is located in /lib/modules/3.7-trunk-amd64/build/include/generated/uapi/linux/ to /lib/modules/3.7-trunk-amd64/build/include/linux. But yet the installer fails at the "DKMS installing part", I don't know why yet.

  3. #3
    Join Date
    2013-Mar
    Posts
    3
    Resolved!

    in /etc/apt/source.list add

    deb http://ftp.debian.org/debian experimental main non-free contrib

    apt-get update

    now:
    sudo apt-get -t experimental install fglrx-legacy-driver fglrx-legacy-control
    sudo apt-get -t experimental install amd-opencl-icd-legacy

    aticonfig --initial

    Now i have full support and OpenCL for my Mobility Radeon HD 4670

  4. Very Nice! I will be testing this out as soon as I have my install up and going about 3 or 4 days from now (doing backup and redundancies atm) I will be specifically be seeking how well switchable graphics will be working or not. I will report back soon.

  5. #5
    Join Date
    2013-Mar
    Posts
    8
    Hi I did same thing for ATI 7970x3

    in /etc/apt/source.list add

    deb http://ftp.debian.org/debian experimental main non-free contrib

    apt-get update

    now:
    sudo apt-get -t experimental install fglrx-legacy-driver fglrx-legacy-control
    sudo apt-get -t experimental install amd-opencl-icd-legacy

    aticonfig: No supported adapters detected

    How can I fix this problem?

  6. #6
    Join Date
    2013-Mar
    Location
    Canada
    Posts
    30
    I can confirm piermark's fix works for installing fglrx 9.012 for regular cards as well. Just use the commands but omit the word 'legacy'. eg. sudo apt-get -t experimental install fglrx-driver fglrx-control.

  7. #7
    Join Date
    2013-Mar
    Posts
    14
    I get this when I do that:
    "aticonfig: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory"

  8. Just wanted to post an update:
    I have the amd switchable graphics in my notebook. So I went ahead and followed piermark and Sharkbait's instructions, except my finial command I issued was "aticonfig --initial -f", after that tried the control panel, but didn't detect the driver or hardware.. A bit worried it didn't work, decided to do a reboot. And Yes it Worked! I have switchable graphics working now with my Intel 3000 and ATI 7550m.
    Never been able to get it working in BackTrack, very happy to see it working in Kali
    Thanxs guys.

  9. #9
    Join Date
    2013-Mar
    Posts
    2
    I have a similar problem.
    My lspci -v | grep VGA
    01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Madison [Radeon HD 5000M Series] (prog-if 00 [VGA controller])

    If done as described here I get this error:
    aticonfig --initial
    aticonfig: No supported adapters detected

    What to do?

  10. #10
    Join Date
    2013-Mar
    Posts
    14
    This thread fails with my HD7500 on my apu i reboot and it stays on a flashing underscore and fails to load the desktop.

  11. #11
    Join Date
    2013-Mar
    Posts
    4
    i have 6450 hd , can't use this tut :'(

  12. #12
    Join Date
    2013-Mar
    Location
    Canada
    Posts
    30
    I have an A8 apu with 6620G and a HD 6750M, I have a custom bios that allows me to actively change graphics adapters on the fly. But to install fglrx I had to make sure I booted using the 6750M, then install, run "aticonfig --initial -f", reboot, and THEN switch to the apu graphics (6620G). The install will fail if you are using the apu graphics (powersaving) so you have to make sure you're using the discrete card, at least that was the case for me. Hope this helps.

  13. #13
    Join Date
    2013-Mar
    Location
    Canada
    Posts
    30
    Quote Originally Posted by qpens8 View Post
    Hi I did same thing for ATI 7970x3

    in /etc/apt/source.list add

    deb http://ftp.debian.org/debian experimental main non-free contrib

    apt-get update

    now:
    sudo apt-get -t experimental install fglrx-legacy-driver fglrx-legacy-control
    sudo apt-get -t experimental install amd-opencl-icd-legacy

    aticonfig: No supported adapters detected

    How can I fix this problem?
    You don't have a legacy card and should issue the commands as follows:
    (Run all of these using sudo or as root)

    apt-get -t experimental install fglrx-driver fglrx-control
    aticonfig --initial -f
    apt-get -t experimental install amd-opencl-icd

  14. #14
    Join Date
    2013-Mar
    Posts
    4
    Quote Originally Posted by SharkBait View Post
    You don't have a legacy card and should issue the commands as follows:
    (Run all of these using sudo or as root)

    apt-get -t experimental install fglrx-driver fglrx-control
    aticonfig --initial -f
    apt-get -t experimental install amd-opencl-icd


    this worked for me ( radeon HD 6450 ) after recompiling-the-kali-linux-kernel

    but .... the system became so slow , and setting don't work

    what to do ?

  15. #15
    Join Date
    2013-Mar
    Posts
    14
    Quote Originally Posted by SharkBait View Post
    You don't have a legacy card and should issue the commands as follows:
    (Run all of these using sudo or as root)

    apt-get -t experimental install fglrx-driver fglrx-control
    aticonfig --initial -f
    apt-get -t experimental install amd-opencl-icd
    I still get a blinking cursor after a reboot and I have to delete the xorg.conf file. Please help.

  16. #16
    Join Date
    2013-Mar
    Posts
    23
    Amazing! this fixed my problem, thanks a lot for sharing

  17. #17
    Join Date
    2013-Mar
    Posts
    23
    apt-get -t experimental install fglrx-driver fglrx-control
    aticonfig --initial -f
    apt-get -t experimental install amd-opencl-icd

    That procedure worked for my E-450 APU system. hooray non-glitchy GUI!

  18. #18
    Join Date
    2013-Mar
    Posts
    8
    Hashcat 0.14 is working with this drivers?

  19. #19
    Join Date
    2013-Mar
    Location
    Canada
    Posts
    30
    Yes it is, tested on a HD 7970, catalyst 13.1 (fglrx 9.012)

  20. #20
    Join Date
    2013-Mar
    Posts
    354
    Ok guys, first I want to tell you that fglrx (propietary driver) are not in Kali repos, so you need to do:

    1. Add to sources list the Debian repos pointing to Debian experimental: deb http://ftp.debian.org/debian experimental main non-free contrib

    2. YOU NEED to know what chipset or ATI model is your card:
    HD 2000 to HD 4000 ----> Need the legacy version
    HD5000 or greater -------> Need the Standard fglrx

    3. Files to install:
    * the binary file (driver itself for the windows people): fglxr-driver
    * the Libraries or glx : fglxr-glx
    Then, you need the interface between the kerneand the driver (fglrx), that is the fglxr-kernel, here you have 3 ways to create the fglxr-kernel:
    * using module assistant: here you need to install the sources: fglxr-source. If you use this method, every time the kernel updates, you will need to recompile the driver.
    * using dkms: You need to install: fglrx-modules-dkms....Here it will build up the fglrx-kernel and the rest of the driver automatically. In future kernel updates, it will take care of driver in Auto...
    by the way, dkms meas Dynamic Kernel Module Support..Dynamic, yes..It is used also in VM. I install it in every VM I install as well as nvidia and Ati video cards.
    * using the ATI driver from the ATI website.

    4. I will install with dkms off course. Some other packages recommended:
    fglrx-control.
    - Provides GUI (Graphical control center) to the driver or the configuration.
    fglrx-atieventsd
    - Provides the daemon for some external events such as: acpi, etc...

    Use aptitude -t experimental install "packages needed accordingly".

    Once all installed, run the aticonfig --initial.

    You might need to reboot before running aticonfig..

    One more thing, after installing the driver and configured, comment the line "deb http://ftp.debian.org/debian experimental main non-free contrib" in the sources.list, because if you upgrade, it can upgrade packages from experimental and break dependencies and system will become unstable..

    Remember that Kali is based on Wheezy, Sid and experimental, not only in experimental.

    Hope it helps...

  21. #21
    Join Date
    2013-Mar
    Posts
    8
    Quote Originally Posted by SharkBait View Post
    Yes it is, tested on a HD 7970, catalyst 13.1 (fglrx 9.012)




    after recompiling-the-kali-linux-kernel


    apt-get -t experimental install fglrx-driver fglrx-control
    aticonfig --initial -f
    apt-get -t experimental install amd-opencl-icd

    reboot

    crossfire settings not saving

    MSI R7970x3

    Hashcat

    GPU drivers are not installed! oclHashcat-plus will not run.
    Refer to: http://hashcat.net/forum/forum-23.html

    drivers dont work for me
    Last edited by qpens8; 2013-04-02 at 19:00.

  22. #22
    Join Date
    2013-Mar
    Location
    india
    Posts
    1
    i follow piermark
    at last i apply aticonfig --initial command
    i got this

    fw73@FW73:~$ aticonfig --initial
    Found fglrx primary device section
    PowerXpress info: Diagnostic output from /usr/lib///fglrx/switchlibglx:
    Can't set real/effective user ID to 0/0.

    PowerXpress info: Diagnostic output from /usr/lib///fglrx/switchlibglx:
    Can't set real/effective user ID to 0/0.

    Using /etc/X11/xorg.conf
    Saving back-up to /etc/X11/xorg.conf.fglrx-1
    aticonfig: Writing to '/etc/X11/xorg.conf' failed. Permission denied.

    now what to do pls help me guys

    i have amd hd 7730m gpu with intel hd 4000

  23. #23
    Join Date
    2013-Mar
    Location
    Canada
    Posts
    30
    Quote Originally Posted by qpens8 View Post
    after recompiling-the-kali-linux-kernel


    apt-get -t experimental install fglrx-driver fglrx-control
    aticonfig --initial -f
    apt-get -t experimental install amd-opencl-icd

    reboot

    crossfire settings not saving

    MSI R7970x3
    I only have a single card, I have never tried to get multiple cards running in crossfire with fglrx.
    As for oclHastcat-plus not running, there is a simlink missing in /usr/lib if you read the oclhashcat+ file in /usr/bin (see this thread: http://forums.kali.org/showthread.ph...x-is-installed )



    FW73:
    Using /etc/X11/xorg.conf
    Saving back-up to /etc/X11/xorg.conf.fglrx-1
    aticonfig: Writing to '/etc/X11/xorg.conf' failed. Permission denied.
    You have to do the entire install as root, including running the aticonfig command. Also, some users have to force the use of the new xorg.conf with "aticonfig --initial -f"
    Read as: run "sudo aticonfig --initial -f" and post if you still have issues.

    Lastly, make sure you have all dependencies installed before installing fglrx.
    Last edited by SharkBait; 2013-04-13 at 15:08.

  24. #24
    Join Date
    2013-Apr
    Posts
    1
    apt-get -t experimental install fglrx-driver fglrx-control
    aticonfig --initial -f
    apt-get -t experimental install amd-opencl-icd

    Thx looking nice know . on Radeon HD 6310

  25. #25
    Join Date
    2013-Apr
    Posts
    2
    plz help me
    i have installed the fglrx driver just like piermark :

    in /etc/apt/source.list add

    deb http://ftp.debian.org/debian experimental main non-free contrib

    apt-get update

    now:
    sudo apt-get -t experimental install fglrx-driver fglrx-control
    sudo apt-get -t experimental install amd-opencl-icd

    i have also removed legacy
    everything is working fine my fglrxinfo tells me

    display: :0.0 screen: 0
    OpenGL vendor string: Advanced Micro Devices, Inc.
    OpenGL renderer string: ATI Mobility Radeon HD 5400 Series
    OpenGL version string: 4.2.12002 Compatibility Profile Context 9.012

    and the fgl_glxgears working fine

    but i can't configure compiz nor docky
    i think its in radeon.modeset=0 in grub
    or its a bug in grub 2???

    Thanks in advance

  26. #26
    Join Date
    2013-Mar
    Posts
    10
    arcaneblast, this may be the same problem as mine:

    http://forums.kali.org/showthread.ph...s-stop-working

  27. #27
    Join Date
    2013-Mar
    Posts
    2
    hello friends I have a problem with ati 13.4 drivers RADEON HD 7470M and I went out this error
    I hope someone helps me Thanks and sorry for my bad English


    Supported adapter detected.
    Check if system has the tools required for installation.
    Uninstalling any previously installed drivers.
    Unloading radeon module...
    Error: Module radeon is in use
    Unloading drm module...
    Error: Module drm is in use by: ttm drm_kms_helper radeon
    [Message] Kernel Module : Trying to install a precompiled kernel module.
    [Message] Kernel Module : Precompiled kernel module version mismatched.
    [Message] Kernel Module : Found kernel module build environment, generating kernel module now.
    AMD kernel module generator version 2.1
    doing Makefile based build for kernel 2.6.x and higher
    rm -rf *.c *.h *.o *.ko *.a .??* *.symvers
    make -C /lib/modules/3.7-trunk-amd64/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
    make[1]: Entering directory `/usr/src/linux-headers-3.7-trunk-amd64'
    CC [M] /lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘KCL_MEM_VM_MapRegion’:
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3895:39: error: ‘VM_RESERVED’ undeclared (first use in this function)
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3895:39: note: each undeclared identifier is reported only once for each function it appears in
    make[4]: *** [/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Error 1
    make[3]: *** [_module_/lib/modules/fglrx/build_mod/2.6.x] Error 2
    make[2]: *** [sub-make] Error 2
    make[1]: *** [all] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-3.7-trunk-amd64'
    make: *** [kmod_build] Error 2
    build failed with return value 2
    [Error] Kernel Module : Failed to compile kernel module - please consult readme.
    [Reboot] Kernel Module : update-initramfs

  28. #28
    Join Date
    2013-Mar
    Posts
    23
    I wanted to reinstall Kali Linux today and when I tried to follow this guide again to get my graphic card working, it was no longer working.

    I am using hybrid graphic card. intel hd 3000 / ati radeon 6630M

    I added "deb http://ftp.debian.org/debian experimental main non-free contrib" to sources and ran:

    sudo apt-get -t experimental install fglrx-driver fglrx-control
    sudo apt-get -t experimental install amd-opencl-icd

    and got the message "The value 'experimental' is invalid for APT:efault-Release as such a release is not available in the sources"

    anyone got any idea of what i can do?

    thanks in advance!

    best wishes
    Kraako

  29. #29
    Join Date
    2013-Mar
    Posts
    10
    Hello guys,
    I'm here to talk about my personal experience with radeon drivers.

    Since I start using Kali I was using the radeon drivers installed by apt-get as described above.
    But it had REALLY BAD PERFORMANCE!!!!!!
    The apt-get repositories have an old version.


    DO NOT INSTALL IT BY APT-GET!!!!!!


    Today I downloaded the driver from site for test the new driver.

    To remove the one I was using:
    apt-get purge fglrx* amd-opencl-icd

    Then go to /etc/X11/ and restore the original graphic settings (xorg.conf):
    (in my case it was a blank file, but you should have some backup file like: xorg.conf.original-0)

    rm xorg.conf
    mv xorg.conf.original-0 xorg.conf

    now go to the directory where you downloaded the new drivers (.run).
    cd /path/to/driver

    and:

    sh amd<version><arch>.run --install
    (There is no specific build to Kali, I tried use the debian stable one but got errors. So just run a normal install)

    It will open one window, just follow the installation. but DON'T REBOOT THE SYSTEM IN THE END!
    You'll need to:
    aticonfig --initial

    Now, reboot the system.
    Well, it worked for me and I'm really surprised with the new performance .
    Hope you enjoy it. Sorry for my english.

  30. #30
    Join Date
    2013-May
    Posts
    2
    Hay,guys, how to tie here on a hybrid atimobility radeon hd 5470(hp-pavilion) graphics card driver?
    I do not speak English, but I know Italian (I'm Russian)

  31. #31
    Join Date
    2013-Mar
    Posts
    23
    Quote Originally Posted by ZEPHYR View Post
    Hay,guys, how to tie here on a hybrid atimobility radeon hd 5470(hp-pavilion) graphics card driver?
    I do not speak English, but I know Italian (I'm Russian)
    I'm having hybrid graphics as well, and this link: http://www.kalilinux.net/community/t...ali-linux.108/ helped me with my problem. worth having a look

  32. #32
    Join Date
    2013-May
    Posts
    2
    Thank you very much, I'll try and write what happened.

  33. #33
    Join Date
    2013-Jul
    Posts
    4
    Is the experimental repository still available?

    When I do:
    apt-get -t experimental install fglrx-legacy-driver fglrx-legacy-control

    I get this:
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to locate package fglrx-legacy-driver
    E: Unable to locate package fglrx-legacy-control

    my /etc/apt/sources.list is:
    # deb http://http.kali.org/kali kali main

    deb http://http.kali.org/kali kali main non-free contrib
    deb-src http://http.kali.org/kali kali main non-free contrib

    ## Experimental
    deb http://ftp.debian.org/debian experimental non-free contrib main
    deb-src http://ftp.debian.org/debian experimental non-free contrib main

    ## Security updates
    deb http://security.kali.org/kali-security kali/updates main contrib non-free

    Any help would be apreciated.

  34. #34
    Join Date
    2013-Jul
    Posts
    5
    I have Mobility Radeon HD 4650
    ~# lspci | grep VGA
    01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI M96 [Mobility Radeon HD 4650]
    and I need legacy driver, but:
    E: Unable to locate package fglrx-legacy-driver
    E: Unable to locate package fglrx-legacy-control

    Is the experimental repository still available?

  35. #35

  36. #36
    I have Debian 7 (Wheezy)
    Following error after instalation in my case was that files libGL.so.1 and others was installed in /usr/lib64 instead /usr/lib
    # aticonfig --initial -f
    aticonfig: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory

    The problem is solved, when driver is uninstalled and /usr/lib64 is removed (it is recomended to move folder to other location, just for any case). After new instalation files are in folder /usr/lib

  37. #37
    Join Date
    2013-Mar
    Posts
    8
    Quote Originally Posted by mailbox2001bg View Post
    I have Debian 7 (Wheezy)
    Following error after instalation in my case was that files libGL.so.1 and others was installed in /usr/lib64 instead /usr/lib
    # aticonfig --initial -f
    aticonfig: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory

    The problem is solved, when driver is uninstalled and /usr/lib64 is removed (it is recomended to move folder to other location, just for any case). After new instalation files are in folder /usr/lib
    Hashcat 0.15 is working with your method?

  38. #38
    Join Date
    2014-Feb
    Posts
    3
    Quote Originally Posted by piermark View Post
    Resolved!

    in /etc/apt/source.list add

    deb http://ftp.debian.org/debian experimental main non-free contrib

    apt-get update

    now:
    sudo apt-get -t experimental install fglrx-legacy-driver fglrx-legacy-control
    sudo apt-get -t experimental install amd-opencl-icd-legacy

    aticonfig --initial

    Now i have full support and OpenCL for my Mobility Radeon HD 4670
    Hey this method is no longer working...

    Error messages below:
    E: Package 'fglrx-driver' has no installation candidate
    E: Unable to locate package fglrx-control

  39. #39
    Join Date
    2013-Mar
    Posts
    23
    Quote Originally Posted by aeroxy View Post
    Hey this method is no longer working...

    Error messages below:
    E: Package 'fglrx-driver' has no installation candidate
    E: Unable to locate package fglrx-control

    I'm looking for a solution for this also. Anyone found one?

  40. #40
    Join Date
    2013-Mar
    Posts
    23

Similar Threads

  1. Kali-4.19x64 - Ati HD 4670 ( fglrx-legacy-driver )
    By xkpx in forum TroubleShooting Archive
    Replies: 4
    Last Post: 2019-03-09, 14:30
  2. Replies: 0
    Last Post: 2014-09-15, 19:43
  3. Install Catalyst 13.1 AMD Radeon HD 7600M Series
    By faheemfayyaz in forum TroubleShooting Archive
    Replies: 2
    Last Post: 2013-07-19, 14:25
  4. AMD Catalyst Mobility Radeon HD 7770 driver
    By GuruShiva in forum TroubleShooting Archive
    Replies: 2
    Last Post: 2013-06-03, 10:59

Posting Permissions

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