LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-04-2020, 12:40 AM   #16
xor_ebx_ebx
Member
 
Registered: Mar 2019
Location: USA
Distribution: Slackware
Posts: 44

Rep: Reputation: Disabled

Amazingly enough, it seems this also works on my laptop with a 2500U and integrated Vega 8 graphics. Also tested with hashcat and was able to break some easy MD5 hashes

In just a few million years, I'll have broken SSL with this thing and it only cost me $500
 
1 members found this post helpful.
Old 05-08-2020, 10:15 AM   #17
CaceK
LQ Newbie
 
Registered: Feb 2008
Distribution: Slackware
Posts: 22

Rep: Reputation: 9
It seems to be working well on my AMD Rx480. I use it for Blender rendering. Thank you!
 
Old 05-10-2020, 10:12 AM   #18
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,068

Rep: Reputation: 148Reputation: 148
Amdgpu cards now seem to have decent Slackware-current display drivers (w/multiple monitors) so I'll build/test a.s.a.p. It appears drivers' source code archive wasn't linked, but I only find 20.10.1028677, not your 20.10.1048554...

Last edited by dchmelik; 05-10-2020 at 10:22 AM.
 
Old 05-10-2020, 11:57 AM   #19
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
He has the download link listed in his .info file, unfortunately, AMD requires you to navigate through their site to download it. You can mimic that using the following wget line:

Code:
wget --referer http://support.amd.com/en-us/kb-articles/Pages/AMDGPU-PRO-Driver-for-Linux-Release-Notes.aspx  -N https://drivers.amd.com/drivers/linux/amdgpu-pro-20.10-1048554-ubuntu-18.04.tar.xz
 
3 members found this post helpful.
Old 05-11-2020, 12:42 AM   #20
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,068

Rep: Reputation: 148Reputation: 148
Built/installed w/King Beowulf's script; ran clinfo: no error.

Testing BOINC... accidentally disabled AMD instead of Nvidia GPUs so have to wait to see.

Cpulimit & cputool can limit cpu system resources usage; I wish GPUs had a tool... asked if cgroups can (LQ: Linux - Kernel: GPU cgroup?)... which such something is needed to limit some cryptocurrency miners (even ethereum's ethminer) or they take all system resources (an answerer about ethminer said you can choose the number of GPUs but sounded he was using the 'user' term the display/video/graphics card is a 'GPU' rather than containing sometimes tens or more GPUs...)

But before I get ahead of myself, what about basic viewer/configuration tools (to monitor, increase efficiency, prevent overheating, etc.)... anyone able to use radeon-profile or WattmanGTK, etc. for amdgpu?
 
Old 05-11-2020, 03:37 PM   #21
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,266

Original Poster
Blog Entries: 11

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
I'm looking onto GUI and CLI amdgpu monitoring tools for whenever 15.0 goes live on SBo, and whether I decide to go GTK or QT5. Right now, gkrellm can monitor GPU temperature via amdgpu hwmon in '/sys/class/hwmon/hwmon1/' (depending on your motherboard and GPU). On my RX 5700 XT those are exposed via amdgpu@500/tempX ("edge", "junction", and "mem") and amdgpu@500/fan1. ARCH has a nice wiki article: https://wiki.archlinux.org/index.php/AMDGPU#Monitoring.

bassmadrigal, thanks for the wget line.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2020-05-11_13-36-43.png
Views:	72
Size:	18.0 KB
ID:	33198  
 
Old 05-11-2020, 07:12 PM   #22
larrystorch
Member
 
Registered: Mar 2003
Location: Reading, PA
Distribution: Slackware
Posts: 39

Rep: Reputation: 24
I played around with WattmanGTK, radeon-profile and tuxclocker. For tuxclocker and wattmangtk, they worked fine with my vega card until the python version in Slackware upgraded at some point where they both broke or I broke them, not sure. Radeon-profile isn't too bad, but the last time I played with it a few months ago, not everything was unlocked on navi in the kernel yet for overclocking. The biggest problem I've run into are some tools like CoreCtl and another gui I can't remember use Qt modules that are either hard to track down or require a ton of other QT modules as dependencies.

Right now I just use a script to set my fan profile, set dpm state and increase my power limit. Haven't gotten to undervolting/overclocking this card yet. For monitoring, I currently use the Mate sensors applet on my panel. When I was tweaking my vega card, I liked the graphing of tuxclocker better than wattmangtk, but liked the tweaking interface the other way around.

And a big thumbs for the Arch wiki page. They helped a lot when I switched back to AMD gpu's. Another good page is the driver documentation page: https://dri.freedesktop.org/docs/drm/gpu/amdgpu.html#. The Module Parameters and GPU Power/Thermal Controls and Monitoring sections were a big help as well.
 
2 members found this post helpful.
Old 05-16-2020, 10:06 PM   #23
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,068

Rep: Reputation: 148Reputation: 148
I built them fine for several linux 5.n, installed, loaded (I assume you have to load them all for BOINC, mining, etc.?) and didn't see any information in boincmgr, but boinc_client says there's a GPU (and different topic, but boinc_client didn't load my configuration I still had saved from boincmgr, even when I specified the directory.) I'd guess this might not work for linux 4.n? (had some minor other problems with various 5.n...)

Nsgminer (GPU mining feathercoin) also worked (got results/cents)... didn't try lolmoner (bitcoin gold) because apparently there's no target/overheat/shutdown temperature options, nor did I try ethminer (ethereum) because from what someone says they define 'GPU' as an entire card rather than the usually tens of GPUs within a card, so it uses all GPU/etc. system resources (then if you only have one card, you can't use X, can't even use keyboard or mouse to reactivate graphics merely for pure text console)... ethminer is a good miner, but more designed for dedicated servers... at least until GPU control groups (GPU cgroups, another thread) or something like cpulimit/cputool is developed & documented more...

Last edited by dchmelik; 05-16-2020 at 10:13 PM.
 
Old 05-25-2020, 07:26 PM   #24
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,266

Original Poster
Blog Entries: 11

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
I'm running BOINC (via boincmgr, from SBo) on two current installs. This was the reason I wanted to see if stripping out the OpenCL binary components from amdgpu-pro would work, and thus avoid the build system hell that is ROCm. The target for amdgpu-opencl is Slackware64-current, kernel 5.x and newer, to provide a set of OpenCL libraries and ICD to allow GPU computer functionality. There are features from the newer kernel DRM, amdgpu, X.org and Mesa you need to be compatible. Other than Gridcoin ("mining" is done via BOINC science contributions), I'm not so interested in other cryptocurrencies at the moment.

There done seem to be one glitch that may, or may not, occur when using this OpenCL package. I did not remove the MESA OpenCL icd and other components. Running "clinfo":
Code:
$ clinfo
Number of platforms:				 2
  Platform Profile:				 FULL_PROFILE
  Platform Version:				 OpenCL 2.1 AMD-APP (3075.10)
  Platform Name:				 AMD Accelerated Parallel Processing
  Platform Vendor:				 Advanced Micro Devices, Inc.
  Platform Extensions:				 cl_khr_icd cl_amd_event_callback cl_amd_offline_devices 
  Platform Profile:				 FULL_PROFILE
  Platform Version:				 OpenCL 1.1 Mesa 20.0.6
  Platform Name:				 Clover
  Platform Vendor:				 Mesa
  Platform Extensions:				 cl_khr_icd
...
The MESA open source platform is OpenCL 1.1 Mesa 20.0.6 "Clover" and my amdgpu-opencl package provides OpenCL 2.1 AMD-APP (3075.10) "AMD Accelerated Parallel Processing". Depending on the software using OpenCL, Clover may cause GPU lock/fail to reset, amdgpu and/or radeonsi segfaults, ultimately crashing X.org server. If this happens with BOINC, check "<boinc data directory>/cc_config.xml" for
Code:
<use_all_gpus>1</use_all_gpus>
and set to 0. This is the BOINC default. If you do not have this file, you should be ok as the default is used. BOINC will use the "best" OpenCL GPU it finds:
Code:
25-May-2020 13:45:17 [---] OpenCL: AMD/ATI GPU 0 (ignored by config): Radeon RX 590 Series (POLARIS10, DRM 3.35.0, 5.4.42, LLVM 10.0.0 (driver version 20.0.7, device version OpenCL 1.1 Mesa 20.0.7, 8192MB, 8192MB available, 4550 GFLOPS peak)
25-May-2020 13:45:17 [---] OpenCL: AMD/ATI GPU 1: Radeon RX 590 Series (driver version 3075.10, device version OpenCL 1.2 AMD-APP (3075.10), 8060MB, 8060MB available, 7281 GFLOPS peak)
and
Code:
Mon 25 May 2020 05:24:15 PM PDT |  | OpenCL: AMD/ATI GPU 0: AMD Radeon RX 5700 XT (driver version 3075.10 (PAL,LC), device version OpenCL 2.0 AMD-APP (3075.10), 8176MB, 8176MB available, 5632 GFLOPS peak)
Mon 25 May 2020 05:24:15 PM PDT |  | OpenCL: AMD/ATI GPU 1 (ignored by config): AMD Radeon RX 5700 XT (NAVI10, DRM 3.35.0, 5.4.39, LLVM 10.0.0) (driver version 20.0.6, device version OpenCL 1.1 Mesa 20.0.6, 8192MB, 8192MB available, 7040 GFLOPS peak)
 
Old 06-04-2020, 12:21 PM   #25
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,266

Original Poster
Blog Entries: 11

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
interesting, on current, KDE4+amdgpu+OpenCL+BOINC seems to crash periodically, both amdgpu and X.org server spits out segfaults. However, Xfce4.12+amdgpu+OpenCL+BOINC on the same box appears stable - at least for the last few days.
 
Old 06-13-2020, 06:47 PM   #26
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,266

Original Poster
Blog Entries: 11

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
Well, heck. I was going to update this and push it up to Slackbuilds.org, but it looks like someone beat me to it: https://www.slackbuilds.org/reposito...es/opencl-amd/ and appears to be a repackage of the Arch package based on the Ubuntu package from AMD. Weird that I did not see that available.

Anyway, I like mine better ;-)
 
1 members found this post helpful.
Old 07-06-2020, 03:55 AM   #27
Svoboda
LQ Newbie
 
Registered: Feb 2020
Distribution: Slackware
Posts: 12

Rep: Reputation: 5
I like yours better too, I tried that one before settling on this version.
 
1 members found this post helpful.
Old 07-20-2020, 08:57 AM   #28
wirelessmc
Member
 
Registered: Aug 2008
Location: San Diego County
Distribution: Slackware
Posts: 183

Rep: Reputation: 37
GPU Gurus,

Is it possible that this driver work with an nVidia GPU or is it Radeon specific? I ask because I am trying to build KataGo (Neural Network engine) which requires either the OpenCL backend or CUDA. I first tried the CUDA backend but it turns out my GPU [GeForce GTX 1030] is not supported under Nvidia's CUDA toolkit. I built the complete toolkit and CUDNN libraries only to find this out after the fact. Sigh...

Where can I get the ubuntu tarball to give this a try? i.e. "amdgpu-pro-20.10-1048554-ubuntu-18.04.tar.xz"
 
Old 07-20-2020, 09:38 AM   #29
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
This will only work with supported AMD GPUs. It won't work for Nvidia.
 
Old 07-20-2020, 05:13 PM   #30
wirelessmc
Member
 
Registered: Aug 2008
Location: San Diego County
Distribution: Slackware
Posts: 183

Rep: Reputation: 37
bassmadrigal replied "This will only work with supported AMD GPUs. It won't work for Nvidia."

I'd really didn't expect as much... So now I have to figure out either how to kludge CUDA to work with my unsupported GPU *or* update OpenCL so that it sees my GPU. Any suggestions on which track I should try first? This is important for me.
 
  


Reply

Tags
amgpu, opencl, slackware64



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware64-current [07-MAR-2020] AMDGPU lock up with Firefox and Googles Maps kingbeowulf Slackware 3 10-20-2020 12:09 AM
[SOLVED] Unable to run Vulkan in Slackware64-current with amdgpu ScrambledLogic Slackware 15 09-26-2018 12:32 PM
[Slackware64-current] newest kernel with better amdgpu support. drigohighlander Slackware 11 02-24-2018 10:03 AM
LXer: OpenCL Testing On Mesa With Piglit LXer Syndicated Linux News 0 09-24-2012 05:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration