AMD & Linux OpenGL OpenCL

By juanpc2018 at 29 days ago • 0 collector • 36 pageviews

one of my favorite GPU Benchmarks is:

Unigine Tropics 1.3

from 2008, but still works.

has some "errors" in the shadows, horizontal instead of vertical, but...

overall i like it very much.

https://benchmark.unigine.com/tropics

https://assets.unigine.com/d/Unigine_Tropics-1.3.run


the .run creates a /tropics folder, inside the folder is the benchmark.

$ ./1920x1080_fullscreen.sh


-----

LuxMark 3,1 is another story,

http://wiki.luxcorerender.org/LuxMark_v3#Binaries


interesting Benchmark BUT... requires OpenCL,

and AMD, Linux, & OpenCL in one sentece is difficult.


Newer K/Ubuntu/Debian have an incompatible X.org

but comes with Pre-Installed AMD drivers,

that work for most things, exept OCL


$ clinfo

$ lspci -k | grep -EA3 'VGA|3D|Display'
$ glxinfo | grep OpenGL

the:

$ ./check.sh

in the Generic AMD Linux drivers is Ok, but

No OpenCL.


there are 2 ways to download AMD drivers,

the standard and the strange...

https://www.amd.com/en/support/graphics/amd-radeon-hd/amd-radeon-hd-7000-series/amd-radeon-hd-7950


https://www.amd.com/en/support/kb/release-notes/rn-prorad-lin-amdgpupro

https://www2.ati.com/drivers/linux/ubuntu/amdgpu-pro-17.40-492261.tar.xz


 

ther are some tutorias, but...

too complex just for a Benchmark.

https://linuxhandbook.com/setup-opencl-linux-docker/


https://einsteinathome.org/de/content/quick-guide-how-install-opencl-amd-gpus-linux-kubuntu-1804-and-similar-distro


https://community.amd.com/t5/drivers-software/6900xt-and-opencl-on-linux/td-p/439474


https://math.dartmouth.edu/~sarunas/amdgpu.html


https://linuxconfig.org/install-opencl-for-the-amdgpu-open-source-drivers-on-debian-and-ubuntu



The New AMD PRO driver

has --compute instead of --opencl=legacy

--px support

and --help


https://community.amd.com/t5/drivers-software/amd-driver-is-not-compatible-with-xserver-1-19-6-64a/m-p/261632#M77523


https://community.acer.com/en/discussion/545064/amd-radeon-ubuntu-problem


*****

if you damage Linux trying to install unsupported drivers, and does Not Boot...

you need Recovery mode,

if Grub does Not show,

press [Esc] at Boot, older Linux was hold shift

Advanced Options

Recovery Mode

terminal:

$ sudo dpkg -r amdgpu-pro-dkms

and re-install Xserver if needed.


if damage is too much, you also may need to boot with different brand of GPU, Intel, Nvidia. 

so Recovery mode works ok.


thing is much worse than i tougth...

$ sudo dpkg -r amdgpu-pro-dkms
is Not enough...

also needs:


$ sudo apt-get purge amdgpu-pro*

amdgpu-pro-core*

clinfo-amdgpu-pro*

ids-amdgpu-pro*

libdrm-amdgpu-pro-amdgpu1*

libdrm2-amdgpu-pro*

libopencl1-amdgpu-pro*

opencl-amdgpu-pro-icd*


$ sudo dpkg -P amdgpu-pro*


could also work.


Requires Login

Log in
Information Bar
nice car
Loading...