AMD GPU tuning

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
JLemur
Level 1
Level 1
Posts: 14
Joined: Fri Nov 03, 2017 11:02 am

AMD GPU tuning

Post by JLemur »

Hi,

Could anyone help me understand if there are tuning parameters I can apply to the amdgpu rocr driver so that OpenCL will work as well in Linux as it does in Windows on the same laptop? In Windows, I'm getting a Geekbench OpenCL score around 8,000, but in Linux Mint it's less than 3,000. I'm hoping to use OpenCL to accelerate Darktable, but when I have OpenCL installed, darktable states that the GPU is too slow and it disables the GPU. If I run Darktable in Windows, it enables the GPU with a "very fast GPU" profile.

I noticed in clinfo output that Linus states I have 11 compute units, but Windows states 10 computes units. I'm only expecting 10 since it is a "Radeon RX Vega 10" integrated graphics. Even if I try another distro, like Ubuntu or OpenSUSE, clinfo states 11 compute units. There are some other things that don't match up between Windows and Linux clinfo, like cache size, which I'm wondering if it explains why Windows is operating better than Linux.
Attachments
clinfo_Linux.txt
(4.02 KiB) Downloaded 12 times
clinfo_Windows.txt
(6.24 KiB) Downloaded 10 times
darktable-cltest_Windows.txt
(13.27 KiB) Downloaded 11 times
Last edited by LockBot on Fri Mar 24, 2023 10:00 pm, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
JLemur
Level 1
Level 1
Posts: 14
Joined: Fri Nov 03, 2017 11:02 am

Re: AMD GPU tuning

Post by JLemur »

Here is the darktable-cltest output in LInux. I couldn't attach it initially due to file size, but I pared it down to what can be attached.

Windows OpenCL Geekbench OpenCL results: https://browser.geekbench.com/v5/compute/5485862
Linux OpenCL Geekbench OpenCL results: https://browser.geekbench.com/v5/compute/5486497

I installed the amdgpu via the amdgpu-install --usecase=opencl --opencl=rocr.

This is the version of amdgpu-install: amdgpu-install_22.20.50200-1_all.deb
Attachments
darktable-cltest_Linux.txt
(2.65 KiB) Downloaded 13 times
User avatar
SMG
Level 25
Level 25
Posts: 32007
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: AMD GPU tuning

Post by SMG »

JLemur wrote: Sat Sep 24, 2022 5:25 pmCould anyone help me understand if there are tuning parameters I can apply to the amdgpu rocr driver so that OpenCL will work as well in Linux as it does in Windows on the same laptop?
The rocr driver is part of the proprietary AMD driver. You might want to ask this question on the AMD community forum.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Locked

Return to “Hardware Support”