• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

AMD Graphics, which drivers and OpenCL?

Joined
Mar 16, 2017
Messages
666 (0.68/day)
Location
Tanagra
Processor Intel i5-9600K
Motherboard ASRock H370M-ITX/ac
Cooling Gammax 300
Memory 16GB DDR4 3000
Video Card(s) Sapphire Pulse RX 570 4GB
Storage Inland 512GB NVMe
Display(s) LG 27UL500-W
Case Thermaltake Core V1
Audio Device(s) My ears
Power Supply EVGA 500W
Software Windows 10
Fairly easy question, or at least I think so. I have an AMD card in my Linux machine, the RX 560. I want to use OpenCL for Darktable, and the open source AMD drivers (the default kernel ones) don't have that functionality, so I've installed the AMD proprietary option to get OpenCL support working. My question would be, is AMD's proprietary driver better or worse than the open driver, and if I want to use the open driver, how do I enable OpenCL support? I really don't expect much else from my machine, so gaming and the like isn't that important to me.
 
Joined
Oct 2, 2015
Messages
2,382 (1.58/day)
Location
Argentina
System Name Ciel / Yukino
Processor AMD Ryzen R3 1200 @ 3875MHz / Intel Core i3 5005U
Motherboard MSI B350M PRO-VDH / HP 240 G5
Cooling Wraith Stealth / Stock
Memory 2x 8GB Corsair Vengeance LPX DDR4 3200MHz @ 3333MHz / 2x 4GB Hynix + Kingston DDR3L 1600MHz
Video Card(s) Sapphire R9 270X Toxic 2GB / Intel HD 5500
Storage SSD WD Green 240GB M.2 + HDD Toshiba 2TB / SSD Kingston A400 120GB SATA
Display(s) HP w17e 1440x900 @ 75 Hz / Integrated 1366x768 @ 94Hz
Case Generic / Stock
Audio Device(s) Realtek ALC892 / Realtek ALC282
Power Supply Sentey XPP 525W / Power Brick
Mouse Logitech G203 / Elan Touchpad
Keyboard Generic / Stock
Software Windows 10 LTSC x64 + Arch Linux
The rule is like this, the open source drivers are a lot better for 3d work, but the proprietary one is better for OpenCL work. The idea of the proprietary AMDGPU-PRO driver is to keep profiles for professional applications that need them, and use the Windows OpenCL driver too, so, for normal use, it's good enough for 3d and the best for opencl.
What distro are you using? In archlinux there's a way to only install the proprietary OpenCL driver and keep the mesa one for 3d.
 
Joined
Mar 16, 2017
Messages
666 (0.68/day)
Location
Tanagra
Processor Intel i5-9600K
Motherboard ASRock H370M-ITX/ac
Cooling Gammax 300
Memory 16GB DDR4 3000
Video Card(s) Sapphire Pulse RX 570 4GB
Storage Inland 512GB NVMe
Display(s) LG 27UL500-W
Case Thermaltake Core V1
Audio Device(s) My ears
Power Supply EVGA 500W
Software Windows 10
The rule is like this, the open source drivers are a lot better for 3d work, but the proprietary one is better for OpenCL work. The idea of the proprietary AMDGPU-PRO driver is to keep profiles for professional applications that need them, and use the Windows OpenCL driver too, so, for normal use, it's good enough for 3d and the best for opencl.
What distro are you using? In archlinux there's a way to only install the proprietary OpenCL driver and keep the mesa one for 3d.
Sorry, I should have mentioned. Linux Mint 19.1. Currently have the 19.20 pro drivers installed.
 

FordGT90Concept

"I go fast!1!11!1!"
Joined
Oct 13, 2008
Messages
25,533 (6.30/day)
Location
IA, USA
System Name BY-2015
Processor Intel Core i7-6700K (4 x 4.00 GHz) w/ HT and Turbo on
Motherboard MSI Z170A GAMING M7
Cooling Scythe Kotetsu
Memory 2 x Kingston HyperX DDR4-2133 8 GiB
Video Card(s) Sapphire NITRO+ RX 590 Special Edition 8 GiB DVI + HDMI
Storage Crucial MX300 275 GB, Seagate Exos X12 TB 7200 RPM
Display(s) Samsung SyncMaster T240 24" LCD (1920x1200 HDMI) + Samsung SyncMaster 906BW 19" LCD (1440x900 DVI)
Case Coolermaster HAF 932 w/ USB 3.0 5.25" bay
Audio Device(s) Realtek ALC1150, Micca OriGen+
Power Supply Enermax Platimax 850w
Mouse SteelSeries Sensei RAW
Keyboard Tesoro Excalibur
Software Windows 10 Pro 64-bit
Benchmark Scores Faster than the tortoise; slower than the hare.
Joined
Oct 2, 2015
Messages
2,382 (1.58/day)
Location
Argentina
System Name Ciel / Yukino
Processor AMD Ryzen R3 1200 @ 3875MHz / Intel Core i3 5005U
Motherboard MSI B350M PRO-VDH / HP 240 G5
Cooling Wraith Stealth / Stock
Memory 2x 8GB Corsair Vengeance LPX DDR4 3200MHz @ 3333MHz / 2x 4GB Hynix + Kingston DDR3L 1600MHz
Video Card(s) Sapphire R9 270X Toxic 2GB / Intel HD 5500
Storage SSD WD Green 240GB M.2 + HDD Toshiba 2TB / SSD Kingston A400 120GB SATA
Display(s) HP w17e 1440x900 @ 75 Hz / Integrated 1366x768 @ 94Hz
Case Generic / Stock
Audio Device(s) Realtek ALC892 / Realtek ALC282
Power Supply Sentey XPP 525W / Power Brick
Mouse Logitech G203 / Elan Touchpad
Keyboard Generic / Stock
Software Windows 10 LTSC x64 + Arch Linux
Joined
Mar 16, 2017
Messages
666 (0.68/day)
Location
Tanagra
Processor Intel i5-9600K
Motherboard ASRock H370M-ITX/ac
Cooling Gammax 300
Memory 16GB DDR4 3000
Video Card(s) Sapphire Pulse RX 570 4GB
Storage Inland 512GB NVMe
Display(s) LG 27UL500-W
Case Thermaltake Core V1
Audio Device(s) My ears
Power Supply EVGA 500W
Software Windows 10
So do I need to uninstall the old somehow first? Last time I tried to do that I lost the ability to StartX. :(
 
Joined
Oct 2, 2015
Messages
2,382 (1.58/day)
Location
Argentina
System Name Ciel / Yukino
Processor AMD Ryzen R3 1200 @ 3875MHz / Intel Core i3 5005U
Motherboard MSI B350M PRO-VDH / HP 240 G5
Cooling Wraith Stealth / Stock
Memory 2x 8GB Corsair Vengeance LPX DDR4 3200MHz @ 3333MHz / 2x 4GB Hynix + Kingston DDR3L 1600MHz
Video Card(s) Sapphire R9 270X Toxic 2GB / Intel HD 5500
Storage SSD WD Green 240GB M.2 + HDD Toshiba 2TB / SSD Kingston A400 120GB SATA
Display(s) HP w17e 1440x900 @ 75 Hz / Integrated 1366x768 @ 94Hz
Case Generic / Stock
Audio Device(s) Realtek ALC892 / Realtek ALC282
Power Supply Sentey XPP 525W / Power Brick
Mouse Logitech G203 / Elan Touchpad
Keyboard Generic / Stock
Software Windows 10 LTSC x64 + Arch Linux
That's the horrible thing about proprietary drivers. Uninstalling.

There is a script for uninstalling AMDGPU-PRO with the download but ROCm is only for OpenCL, I would try it on top of what you have right now.
 
Top