Steam for Linux

Steam for Linux

Ways To Determine If You're Running AMDGPU_PRO
Recently I went through the laborious process of installing OpenCL acceleration for Davinci Resolve on Linux; however, I just wanted the OpenCL portions of the pro driver, and now I'm not sure if I may have installed the other (worse performing) "pro" components. After running GLXINFO in a terminal, the vendor string returns with "ATI Technologies"; is that indicative of running the pro driver? Are there any other ways to determine if the pro driver is running? (I want OpenCL but I don't want to tank my gaming performance. LOL)
< >
Showing 1-6 of 6 comments
phillippi2 26 Aug, 2022 @ 11:39am 
You would likely know if you are using the Pro driver. It usually have to either install the driver from AMD, or by a repository specifically for it.

It is possible to get GPU based processing using the open source driver. You need a HiP based card, like the RX 6600. Exactly how the necessary driver is installed depends on your distro.
i_nive 26 Aug, 2022 @ 12:34pm 
Grepping the loaded modules could give some clue:
`$ lsmod |grep -i amd`

For comparison: On my amdgpu (discrete RX) and Intel CPU-integrated VGAs I get:
```
lsmod |grep -i amd
amdgpu 8208384 1
drm_ttm_helper 16384 1 amdgpu
iommu_v2 24576 1 amdgpu
ttm 86016 3 amdgpu,drm_ttm_helper,i915
gpu_sched 53248 1 amdgpu
i2c_algo_bit 16384 2 amdgpu,i915
drm_dp_helper 159744 2 amdgpu,i915
drm_kms_helper 192512 3 drm_dp_helper,amdgpu,i915
drm 618496 26 gpu_sched,drm_dp_helper,drm_kms_helper,drm_buddy,amdgpu,drm_ttm_helper,i915,ttm
```
x_wing 26 Aug, 2022 @ 11:22pm 
Run
glxinfo | grep OpenGL

If you don't see mesa mentioned, them you're definitely running Pro drivers for everything.

Bear in mind that if you only need OpenCL from the pro drivers, you can get that by running the installer with "--headless" as argument.
Aoi Blue 28 Aug, 2022 @ 10:11am 
ROCm is a better option for AMD OpenCL under Linux.

Also, at this point the AMDGPU Open driver is pretty much as good as the AMDGPU Pro driver. The Mesa driver still tends to be faster, than either for the purpose of gaming.

It's noted that the AMDGPU Pro driver might be better for certain workstation use, and scientific use. This is it's main purpose these days.

Oh, little warning for everyone on Arch, Gentoo and other Distros with custom build flag support. Be careful with custom build flags on LLVM for the purpose of improving OpenCL performance. Such settings can cause problems elsewhere.
Last edited by Aoi Blue; 28 Aug, 2022 @ 10:17am
Aoi Blue 28 Aug, 2022 @ 10:54am 
As of knowing which OpenGL stack you are running, type "glxinfo -B" in any prompt. It will tell you your GL Stack info and some other base info about it.

(Edit: capital "-B" lowercase gives best visual ID, which isn't what you want.)

p.s. "glxinfo -t -l" gives tons of good info.
Last edited by Aoi Blue; 28 Aug, 2022 @ 10:59am
Marlock 4 Sep, 2022 @ 6:35pm 
for scientific use you rarely need to install the entire AMDGPU PRO driver

usually what's required is just OpenCL, which can be installed from the PRO driver installer in "-headless" mode and thus just adding the OpenCL component to the current system without replacing Mesa with AMDGPU PRO

check this thread for a little more details:
https://steamhost.cn/steamcommunity_com/app/221410/discussions/0/1862742067789070076/
Last edited by Marlock; 4 Sep, 2022 @ 6:36pm
< >
Showing 1-6 of 6 comments
Per page: 1530 50