PDA

View Full Version : AMD Catalyst Mobility Radeon HD 4670 driver



piermark
2013-03-13, 23:57
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

gamercndg
2013-03-14, 17:00
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/124292/what-is-the-correct-way-to-install-ati-catalyst-video-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.

piermark
2013-03-14, 21:02
Resolved! :cool:

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

charonsecurity
2013-03-15, 08:01
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.

qpens8
2013-03-19, 16:19
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?

SharkBait
2013-03-20, 17:58
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.

thomasb9511
2013-03-21, 05:03
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"

charonsecurity
2013-03-21, 09:14
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.

a.artemenko
2013-03-21, 11:41
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?

thomasb9511
2013-03-22, 00:37
This thread fails with my HD7500 on my apu i reboot and it stays on a flashing underscore and fails to load the desktop.

Hidden Pain
2013-03-22, 20:05
i have 6450 hd , can't use this tut :'(

SharkBait
2013-03-23, 15:04
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.

SharkBait
2013-03-23, 16:15
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

Hidden Pain
2013-03-24, 09:40
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 (http://docs.kali.org/development/recompiling-the-kali-linux-kernel)

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

what to do ?

thomasb9511
2013-03-24, 23:55
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.

Kraako
2013-03-25, 03:06
Amazing! this fixed my problem, thanks a lot for sharing :)

xsspants
2013-03-25, 20:46
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!

qpens8
2013-03-29, 22:03
Hashcat 0.14 is working with this drivers?

SharkBait
2013-03-31, 21:15
Yes it is, tested on a HD 7970, catalyst 13.1 (fglrx 9.012)

maverik35
2013-04-01, 04:53
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...

qpens8
2013-04-02, 16:26
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

FW73
2013-04-03, 11:52
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

SharkBait
2013-04-03, 20:47
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.php?367-oclhashcat-plus-doesn-t-recognize-that-fglrx-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.

Patalach
2013-04-12, 23:12
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

arcaneblast
2013-04-13, 11:47
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 :) :D

Arosa
2013-04-15, 21:48
arcaneblast, this may be the same problem as mine:

http://forums.kali.org/showthread.php?418-System-settings-stop-working

dache-mr79
2013-04-25, 22:03
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

Kraako
2013-05-09, 15:46
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::Default-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

Arosa
2013-05-18, 18:01
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.

ZEPHYR
2013-05-25, 09:58
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)

Kraako
2013-05-27, 11:00
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/threads/solved-how-to-install-ati-drivers-in-kali-linux.108/ helped me with my problem. worth having a look :)

ZEPHYR
2013-05-27, 16:19
Thank you very much, I'll try and write what happened.

MaKr0
2013-07-14, 22:12
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.

Izverg
2013-07-15, 18:20
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?

blackMORE
2013-07-16, 12:18
Forum guide here:
http://forums.kali.org/showthread.php?17681-Install-AMD-ATI-Driver-in-Kali-Linux-1-x
Wiki here:
http://wiki.cchtml.com/index.php/Kali

mailbox2001bg
2013-08-26, 11:39
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

qpens8
2013-11-29, 07:22
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?

aeroxy
2014-02-10, 08:32
Resolved! :cool:

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

Kraako
2014-03-14, 19:55
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?

Kraako
2014-03-14, 20:41
Resolved

http://www.blackmoreops.com/2014/02/11/install-amd-ati-proprietary-driver-fglrx-in-kali-linux-1-0-6-running-kernel-version-3-12-6/