You are not logged in.

#1 2022-01-07 20:19:15

ktatar156
Member
Registered: 2012-10-01
Posts: 79

Switch to AMDGPU-PRO

Hi,

Due to some reasons, I would like to switch from opensource amdgpu usage to amdgpu-pro (Proprietary).
I looked at:
https://wiki.archlinux.org/title/Xorg#AMD
https://wiki.archlinux.org/title/AMDGPU_PRO

I've installed:

amdgpu-pro-libgl
lib32-amdgpu-pro-libgl
opencl-amd
vulkan-amdgpu-pro
amf-amdgpu-pro

but because of some dependencies, I cannot uninstall open source mesa.
How can I force the system to use AMDGPU-PRO instead of open source version? Is there any way to uninstall the open source drivers completely?

I checked with this https://wiki.archlinux.org/title/AMDGPU_PRO (section: How to ensure you are using AMDGPU-PRO driver) that my system still uses open source instead of proprietary one.

 [krzysiek@Tatar ~]$ glxinfo | grep "OpenGL vendor string" | cut -f2 -d":" | xargs
AMD
[krzysiek@Tatar ~]$ glmark2
=======================================================
    glmark2 2021.12
=======================================================
    OpenGL Information
    GL_VENDOR:     AMD
    GL_RENDERER:   AMD Radeon RX 590 Series (POLARIS10, DRM 3.42.0, 5.15.12-arch1-1, LLVM 13.0.0)
    GL_VERSION:    4.6 (Compatibility Profile) Mesa 21.3.3
=======================================================
[build] use-vbo=false: FPS: 10881 FrameTime: 0.092 ms
=======================================================
                                  glmark2 Score: 10881 
=======================================================
[krzysiek@Tatar ~]$ 

Last edited by ktatar156 (2022-01-07 20:28:42)

Offline

#2 2022-01-07 22:32:00

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,104

Re: Switch to AMDGPU-PRO

Prefix things you want to run with the pro driver with the progl command. I don't think it's wise to try and get rid of mesa completely there are quite a few things that work better with it and at least radv routinely outperforms amdgpu-pro in a lot of cases.

Offline

#3 2022-01-08 11:12:59

ktatar156
Member
Registered: 2012-10-01
Posts: 79

Re: Switch to AMDGPU-PRO

I would like to run the whole environment with AMDGPU-PRO by default - how can I do that?

Offline

#4 2022-01-08 11:47:50

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,104

Re: Switch to AMDGPU-PRO

Try running the entirety of your session with progl. Check what the progl script actually does and export the relevant environments somewhere that is read before your graphical session starts e.g. /etc/profile or so.  I can't really imagine the reasoning for trying to do this but you do you.

Offline

#5 2022-01-08 12:05:44

ktatar156
Member
Registered: 2012-10-01
Posts: 79

Re: Switch to AMDGPU-PRO

Thanks, so progl 'forces' to use AMDGPU-PRO I understand.
Hmm... It's strange that it cannot simply set PRO driver by default... Maybe I should edit KMS (/etc/mkinitcpio.conf)? Here https://wiki.archlinux.org/title/kernel_mode_setting there is a guide how to set-up AMDGPU (open source), but not how to set PRO. Do you know what is the name of module for that?

Offline

#6 2022-01-08 13:16:51

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,893

Re: Switch to AMDGPU-PRO

The difference between amdgpu-pro and amd opensource drivers only matters at user level, at kernel level they use exactly the same modules.

https://www.reddit.com/r/archlinux/comm … m/djsc8at/ has  a general description .

In theory you could remove every driver you don't want support for from mesa (including radv, radeonsi , glvnd to name a few) , but you'll have to build, maintain and troubleshoot it yourself.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB