Install fglrx-driver for ATI/AMD Radeon HD 7750 with OpenCL?

Kernels & Hardware, configuring network, installing services

Install fglrx-driver for ATI/AMD Radeon HD 7750 with OpenCL?

Postby jay_e » 2013-03-04 02:31

Greetings!!
I need help getting the OpenCL drivers for ATI/Radeon 7750 installed.

Below is a somewhat lengthy log of what I have tried to do.
The prime question is whether or not anyone has been able to get OpenCL working for the Radeon HD 7750 card. And if so, how...

A side-question is whether or not I have to do the kernel compiles - since it looks lie the aptitude install sis that.
Here goes...
Code: Select all
I'm running squeeze and went to backports to get the non-free driver
              fglrx-driver (1:12-3-1~bpo60+1) [backports][non-free]

( have this in my sources.list):
# Backports
deb      http://debian.gtisc.gatech.edu/debian-backports squeeze-backports main non-free
deb-src  http://debian.gtisc.gatech.edu/debian-backports squeeze-backports main non-free
                ----------------------- <-- Just the mirror I happened to choose.

(Before installing)
Package: fglrx-driver
State: not installed
Version: 1:12-3-1~bpo60+1
Priority: extra
Section: non-free/x11
Maintainer: Fglrx packaging team <pkg-fglrx-devel@lists.alioth.debian.org>
Uncompressed Size: 25.8 M
Depends: libc6 (>= 2.3.2), libfglrx (= 1:12-3-1~bpo60+1), libgl1-mesa-glx | libgl1, libx11-6, libxext6, libxrandr2, libxrender1,
         xorg-video-abi-11 | xorg-video-abi-10 | xorg-video-abi-8 | xorg-video-abi-6.0, xserver-xorg-core (< 2:1.11.99),
         glx-alternative-fglrx (>= 0.2)
PreDepends: dpkg (>= 1.15.7.2)
Recommends: fglrx-modules-dkms (= 1:12-3-1~bpo60+1) | fglrx-kernel-12-3, libgl1-fglrx-glx (= 1:12-3-1~bpo60+1), fglrx-glx-ia32,
            fglrx-atieventsd
Suggests: fglrx-control, xvba-va-driver, amd-opencl-icd
Conflicts: ia32-fglrx-driver
Breaks: libgl1-fglrx-glx (> 1:12-3-1~bpo60+1), libgl1-fglrx-glx (< 1:12-3-1~bpo60+1), nvidia-glx (< 275.09.07-3)
Replaces: fglrx-glx (< 1:11-7-4)
Provides: xorg-driver-video, xserver-xorg-video-fglrx
Description: non-free ATI/AMD RadeonHD display driver
 FGLRX / AMD Catalyst is the non-free proprietary display driver for the ATI/AMD RadeonHD and FireGL graphics cards. As an
 alternative, you may try the newest free driver xserver-xorg-video-radeon.
 
 This package provides display drivers and hardware accelerated OpenGL for X.Org. For 3D acceleration to work, you will need to
 compile the fglrx kernel module for your kernel: see the fglrx-modules-dkms package. Note that the driver will work without the
 kernel module, but 3D acceleration will be disabled.
 
 The driver can work with plain MESA libGL, but some applications may require the proprietary libGL. This library is shipped in
 the libgl1-fglrx-glx package.
Homepage: http://ati.amd.com/support/drivers/linux/linux-radeon.html


This package suggests:
  fglrx-control,
  xvba-va-driver,
  amd-opencl-icd

I did:
aptitude -t wheezy install fglrx-driver fglrx-control xvba-va-driver amd-opencl-icd
The results:

No candidate version found for xvba-va-driver
No candidate version found for xvba-va-driver
The following NEW packages will be installed:
  fglrx-atieventsd{a} fglrx-control fglrx-driver fglrx-glx{a} fglrx-glx-ia32{a} fglrx-modules-dkms{a} ia32-libs{a}
  lib32asound2{a} lib32bz2-1.0{a} lib32gcc1{a} lib32ncurses5{a} lib32stdc++6{a} lib32v4l-0{a} lib32z1{a}
0 packages upgraded, 14 newly installed, 0 to remove and 0 not upgraded.
Need to get 67.4 MB of archives. After unpacking 188 MB will be used.
Do you want to continue? [Y/n/?] y
[[ snip out downloading mesgs. ]]

Setting up lib32bz2-1.0 (1.0.5-6+squeeze1) ...
Setting up lib32asound2 (1.0.23-2.1) ...
Setting up lib32gcc1 (1:4.4.5-8) ...
Setting up lib32ncurses5 (5.7+20100313-5) ...
Setting up lib32stdc++6 (4.4.5-8) ...
Setting up lib32v4l-0 (0.8.0-1) ...
Setting up lib32z1 (1:1.2.3.4.dfsg-3) ...
Setting up ia32-libs (20130215) ...
Setting up fglrx-driver (1:10-9-3squeeze1) ...
Setting up fglrx-glx (1:10-9-3squeeze1) ...
Setting up fglrx-glx-ia32 (1:10-9-3squeeze1) ...
No diversion 'diversion of /emul/ia32-linux/usr/lib/libGL.so.1.2 by fglrx-glx-ia32', none removed.
No diversion 'diversion of /emul/ia32-linux/usr/lib/libGL.so.1 by fglrx-glx-ia32', none removed.
Setting up fglrx-atieventsd (1:10-9-3squeeze1) ...
Starting atieventsd: done.
Setting up fglrx-control (1:10-9-3squeeze1) ...
Setting up fglrx-modules-dkms (1:10-9-3squeeze1) ...

Creating symlink /var/lib/dkms/fglrx/10-9/source ->
                 /usr/src/fglrx-10-9

DKMS: add Completed.

Kernel preparation unnecessary for this kernel.  Skipping...

[b]Building module:
cleaning build area....
make KERNELRELEASE=2.6.32-5-amd64 -C /lib/modules/2.6.32-5-amd64/build M=/var/lib/dkms/fglrx/10-9/build....
[/b]cleaning build area....

DKMS: build Completed.

fglrx.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/2.6.32-5-amd64/updates/dkms/

depmod....

DKMS: install Completed.

Kernel preparation unnecessary for this kernel.  Skipping...
[b]
Building module:
cleaning build area....
make KERNELRELEASE=2.6.32-5-openvz-amd64 -C /lib/modules/2.6.32-5-openvz-amd64/build M=/var/lib/dkms/fglrx/10-9/build.....
cleaning build area....

DKMS: build Completed.
[/b]
fglrx.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/2.6.32-5-openvz-amd64/updates/dkms/
[b]
depmod....(bad exit status: 1)
[/b]
DKMS: install Completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area....
make KERNELRELEASE=2.6.32-5-vserver-amd64 -C /lib/modules/2.6.32-5-vserver-amd64/build M=/var/lib/dkms/fglrx/10-9/build....
cleaning build area....

DKMS: build Completed.

fglrx.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/2.6.32-5-vserver-amd64/updates/dkms/

depmod....(bad exit status: 1)

DKMS: install Completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area....
make KERNELRELEASE=2.6.32-5-xen-amd64 -C /lib/modules/2.6.32-5-xen-amd64/build M=/var/lib/dkms/fglrx/10-9/build....
cleaning build area....

DKMS: build Completed.

fglrx.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/2.6.32-5-xen-amd64/updates/dkms/
[b]
depmod....(bad exit status: 1)
[/b]
DKMS: install Completed.
Processing triggers for menu ...
 
=======================================================
Reboot. Try it
Get regular video.
But boinc does not see OpenCL.
Boinc log says:
Sun 03 Mar 2013 10:48:37 AM EST      Processor: 8 AuthenticAMD AMD FX(tm)-8150 Eight-Core Processor [Family 21 Model 1 Stepping 2]
Sun 03 Mar 2013 10:48:37 AM EST      Processor: 2.00 MB cache
Sun 03 Mar 2013 10:48:37 AM EST      Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc nonstop_tsc extd_apicid pni pclmulqdq monitor ssse3 cx16 sse4_1 sse4_2 popcn
Sun 03 Mar 2013 10:48:37 AM EST      OS: Linux: 2.6.32-5-amd64
Sun 03 Mar 2013 10:48:37 AM EST      Memory: 7.73 GB physical, 10.25 GB virtual
Sun 03 Mar 2013 10:48:37 AM EST      Disk: 19.70 GB total, 13.18 GB free
Sun 03 Mar 2013 10:48:37 AM EST      Local time is UTC -5 hours
Sun 03 Mar 2013 10:48:38 AM EST      No usable GPUs found

=======================================================
research...
https://wiki.archlinux.org/index.php/BOINC
  Projects using GPU

If you want to use your GPU, you need the proprietary nvidia or amd drivers.
For ATI/AMD Cards you also need Catalyst driver for stock kernel which you can get from AUR.
For Nvidia, you also need the package opencl-nvidia located in extra.
=======================================================

Brain deficit here.  Anyone know what "AUR" could be?
Or how to further test OpenCL?

But it looks like I have OpenCL. Is there more?

$ aptitude search opencl
i A amd-libopencl1      - AMD OpenCL library
i A amd-opencl-icd      - AMD OpenCL ICD             
 
jay@pc-14-large:~$ aptitude search ati  | grep ^i
i A fglrx-atieventsd            - external events daemon for the non-free AT
i A foomatic-db                 - OpenPrinting printer support - database   
i   foomatic-db-engine          - OpenPrinting printer support - programs   
i A foomatic-filters            - OpenPrinting printer support - filters   
i A foomatic-filters-ppds       - OpenPrinting prebuilt PPD files (dummy pac
i   installation-guide-amd64    - Debian installation guide for amd64       
i   installation-report         - system installation report               
i A keyboard-configuration      - system-wide keyboard preferences         
i A libstartup-notification0    - library for program launch feedback (share
i A notification-daemon         - daemon to displays passive pop-up notifica
i A ttf-liberation              - Fonts with the same metrics as Times, Aria
i A xserver-xorg-video-ati      - X.Org X server -- AMD/ATI display driver w
i   xserver-xorg-video-ati-dbg  - X.Org X server -- AMD/ATI display driver w

======================================
from /usr/share/doc
 RECENTLY changed for this install 3/3/2013
lrwxrwxrwx    1 root root     8 Mar  3 10:11 lib32v4l-0 -> libv4l-0
lrwxrwxrwx    1 root root    12 Mar  3 10:11 lib32stdc++6 -> gcc-4.4-base
drwxr-xr-x    2 root root  4096 Mar  3 10:11 lib32ncurses5
lrwxrwxrwx    1 root root    12 Mar  3 10:11 lib32gcc1 -> gcc-4.4-base
drwxr-xr-x    2 root root  4096 Mar  3 10:11 lib32bz2-1.0
lrwxrwxrwx    1 root root    10 Mar  3 10:11 lib32asound2 -> libasound2
drwxr-xr-x    2 root root  4096 Mar  3 10:11 ia32-libs ----------------------- Nothing stands out.
drwxr-xr-x    2 root root  4096 Mar  3 10:11 fglrx-glx -----------------------NEWS.Debian  from  Sat, 18 Apr 2009 09:33:54 +0200
drwxr-xr-x    4 root root  4096 Mar  3 10:11 fglrx-driver--------------------- configure, driverfaq, issues, liuxfaq, NEWS.Debian, README.Debian, user Manual*
drwxr-xr-x    2 root root  4096 Mar  3 10:11 fglrx-modules-dkms -------------- same Changelog: .preinst fixes....
drwxr-xr-x    2 root root  4096 Mar  3 10:11 fglrx-glx-ia32------------------- same changelog: fglrx-glx-ia32.postinst: Remove obsolete diversions
drwxr-xr-x    2 root root  4096 Mar  3 10:11 fglrx-control-------------------- same Changelog, sane News
drwxr-xr-x    2 root root  4096 Mar  3 10:11 fglrx-atieventsd------------------atieventsd will not work together with SELinux.You may disable it about `dpkg-reconfigure fglrx-atieventsd'

* - User manual does not explicitly list support for HD 7750.

    does List:
Radeon 8500, Radeon 8500 All-In-Wonder (No TV capture support)
Radeon 9100
Radeon 9500, Radeon 9500 Pro
Radeon 9600, Radeon 9600 Pro, Radeon 9600 XT
Radeon 9700, Radeon 9700 Pro
Radeon 9800, Radeon 9800 Pro, Radeon 9800 XT
Radeon X800
======================================

Tried to test install by running flight simulator. It had a segmentation fault
 [ 2321.263285] fgfs[4041]: segfault at 4 ip 00007f435b8530be sp 00007ffffe5f3dc0 error 4 in libGL.so.1.2[7f435b7f8000+ae000]

Tried to run fglrxinfo. It had a segmentation fault
Mar  3 20:17:45 pc-14-large kernel: [34187.490872] fglrxinfo[8775]: segfault at 4 ip 00007feafbb9f0be sp 00007fffa9b110c0 error 4 in libGL.so.1.2[7feafbb44000+ae000]

Do I have to compile kernel?
It looks like this was don with the aptitude install.


another segfault:
 gnome-screensav[8219]: segfault at 4 ip 00007ffa587600be sp 00007fff82695680 error 4 in libGL.so.1.2[7ffa58705000+ae000]

======================================
I have the opencl-icd for squeeze - version: 1:12-3-1~bpo60+1
 This package contains the installable client driver loader (ICD Loader) library provided by AMD.
Homepage: http://developer.amd.com/zones/openclzone/pages/default.aspx

dismaying:
   http://devgurus.amd.com/message/1287615#1287615

also dismaying:
http://developer.amd.com/tools/heterogeneous-computing/amd-accelerated-parallel-processing-app-sdk/system-requirements-driver-compatibility/ 
  says sdk supports Ubuntu® 11.04(32-bit/64-bit)


How serious is the error: "depmod....(bad exit status: 1)"
There are segmentation faults and BOINC can't see an OpenCL driver.
In summary, is it possible to install with the Debian drivers?
If not what is the backup plan? Ubuntu, Mandrake? Windows? Trash the new card and try Nvidia?

T H A N K____Y O U!!!
Jay
jay_e
 
Posts: 35
Joined: 2009-06-04 20:03
Location: Orlando, Florida

Re: Install fglrx-driver for ATI/AMD Radeon HD 7750 with Ope

Postby llivv » 2013-03-05 04:31

jay_e wrote: working for the Radeon HD 7750 card. And if so, how...
I'm guessing wheezy for 7750
see below kinda confirms it. but the README.Debian NEWS.Debian linuxfaq driverfaq configure files should have more.

segfaults:
Do you have your kernel-headers package installed?
what kernel are you using?
Causer you are surely missing something.
jay_e wrote:
Code: Select all
drwxr-xr-x    4 root root  4096 Mar  3 10:11 fglrx-driver--------------------- configure, driverfaq, issues, liuxfaq, NEWS.Debian, README.Debian, user Manual*

* - User manual does not explicitly list support for HD 7750.
======================================

Tried to test install by running flight simulator. It had a segmentation fault
 [ 2321.263285] fgfs[4041]: segfault at 4 ip 00007f435b8530be sp 00007ffffe5f3dc0 error 4 in libGL.so.1.2[7f435b7f8000+ae000]

Tried to run fglrxinfo. It had a segmentation fault
Mar  3 20:17:45 pc-14-large kernel: [34187.490872] fglrxinfo[8775]: segfault at 4 ip 00007feafbb9f0be sp 00007fffa9b110c0 error 4 in libGL.so.1.2[7feafbb44000+ae000]

Do I have to compile kernel?
It looks like this was don with the aptitude install.


another segfault:
 gnome-screensav[8219]: segfault at 4 ip 00007ffa587600be sp 00007fff82695680 error 4 in libGL.so.1.2[7ffa58705000+ae000]

======================================
I have the opencl-icd for squeeze - version: 1:12-3-1~bpo60+1
 This package contains the installable client driver loader (ICD Loader) library provided by AMD.
Homepage: http://developer.amd.com/zones/openclzone/pages/default.aspx

dismaying:
   http://devgurus.amd.com/message/1287615#1287615

also dismaying:
http://developer.amd.com/tools/heterogeneous-computing/amd-accelerated-parallel-processing-app-sdk/system-requirements-driver-compatibility/ 
  says sdk supports Ubuntu® 11.04(32-bit/64-bit)


How serious is the error: "depmod....(bad exit status: 1)"
There are segmentation faults and BOINC can't see an OpenCL driver.
In summary, is it possible to install with the Debian drivers?
If not what is the backup plan? Ubuntu, Mandrake? Windows? Trash the new card and try Nvidia?

First plan I would make
would be to learn how to install and configure the proprietary driver.
I would proceed ( the way I would do it)
by doing a minimal install on an unused partition.
and running as minimal of an xserver/window manager setup as I could comfortably use.

And start loading the ati driver until I knew what I needed for ati as a minimum.
jay_e wrote:Anyone know what "AUR" could be?

https://aur.archlinux.org/
suggests to me that you are reaching a bit beyond your current skill level.
There is nothing wrong with that ( I do it everyday here) as long as you are ready and able to do the necessary work to enhance your skill set.
in the kitchen with Julia ....
[...]
Get on the D bus to B Can ....
[...]
User avatar
llivv
 
Posts: 5553
Joined: 2007-02-14 18:10
Location: will O' the tree hug

Re: Install fglrx-driver for ATI/AMD Radeon HD 7750 with Ope

Postby jay_e » 2013-03-13 10:44

Greetings:

AUR - Arch_User_Repository

About the Drivers.
Yes, I am expanding my skill set.
It can be easier with a little help.
Terminology can be a pain. Both the drivers from the distribution's non-free repository and from the AMD web-site are proprietary.
So its not always clear when the term "proprietary drivers" is used.

I have started over several times.
Now, I have been able to install both the the fglrx driver from the AMD website and the OpenCL SDK.

Lessons Learned:
When installing the driver (from AMD website) on windows, the OpenCL library is included.
It appears that you need to get the SDK to get the OpenCL runtime libs for linux.
references:
http://stackoverflow.com/questions/1036 ... aphic-card
and
http://devgurus.amd.com/message/1280710#1280710

OK. I'm not whining.
BUT. I still can not get BOINC to see the OpenCL library that it needs for GPU computing.
I have posted in the BOINC- GPU forum.

Two 'integration' questions
1) Can anyone tell me that running amdcccle proves that the OpenCL libraries are, indeed, installed?
2) Anyone running GPU code with BOINC and Debian - what else did you have to do to get BOINC to recognize the OpenCL?


I rather ask those who have this running than guess.


Something else to share and contribute:
The versions of the OpenCL SDK need to pair with versions of the fglrx driver.

This reference should help:
http://developer.amd.com/tools/heteroge ... atibility/
Driver Conformance

Download AMD Catalyst Drivers
Code: Select all
AMD APP SDK v2.8        AMD Catalyst™ 12.10 (9.002)
AMD APP SDK v2.7        AMD Catalyst™ 12.4 (8.961)
AMD APP SDK v2.6        AMD Catalyst™ 11.12 (8.92)
AMD APP SDK v2.5        AMD Catalyst™ 11.7 (8.872)
AMD APP SDK v2.4        ATI Catalyst™ 11.4 Update Driver (8.841)
AMD APP SDK v2.3        ATI Catalyst™ 10.12 (8.801)
ATI Stream SDK v2.2    ATI Catalyst™ 10.7 Update Driver for OpenCL™ 1.1 Support (8.753.1)
ATI Stream SDK v2.1    ATI Catalyst™ 10.4 (8.723)
ATI Stream SDK v2.01    ATI Catalyst™ 10.2 (8.701)
ATI Stream SDK v2.0    ATI Catalyst™ 9.12 (8.682)


Unfortunately, I can't link the version of the Catalyst 'package' and the version of the fglrx driver
that you would see with modinfo fglrx

This deepens my appreciation of the Debian package system and the "depends".

Yes, I have looked into the ReadMes and the installation notes and changelogs..
Trick is, most target gaming functions and performance - not necessarily the interactions of the OpenCL API.

That is why I would rather contact someone who has integrated and configured the components together.
Not trying to avoid 'doing the work' - but to work smart and to ask the question to the right integrater.

Here's hoping,
Jay
jay_e
 
Posts: 35
Joined: 2009-06-04 20:03
Location: Orlando, Florida


Return to System configuration

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable