You are not logged in.

#1 2021-03-21 05:30:04

tz4678
Member
From: St. Petersburg
Registered: 2019-07-30
Posts: 10
Website

amdgpu pro

My V-Card is AMD RX 590.

$ paru -S --skipreview amdgpu-pro-libgl opencl-amd vulkan-amdgpu-pro amf-amdgpu-pro

$ paru -Rdd mesa

$ reboot

Result: black screen with _. What am I doing wrong?

UPD:

$ echo $XDG_SESSION_TYPE  
x11

$ paru -Qs amd     
local/amd-ucode 20210315.3568f96-1
    Microcode update image for AMD CPUs
local/xf86-video-amdgpu 19.1.0-2 (xorg-drivers)
    X.org amdgpu video driver

If i don't remove mesa, then the open source driver is used.

Installed mesa & amdgpu-pro-libgl both:

~ took 15s 
❯ glxinfo | grep "OpenGL vendor string" | cut -f2 -d":" | xargs
Found existing global alias for "| grep". You should use: "G"
AMD

Last edited by tz4678 (2021-03-21 21:07:29)

Offline

#2 2021-03-21 09:28:28

StJimmy
Member
From: Rheinland
Registered: 2020-02-26
Posts: 72

Re: amdgpu pro

Well, you're removing your 3D graphics library, i.e. mesa - so nothing that requires anything graphical can really work because Mesa isn't there.

Why did you even remove it in the first place? I read over the last sentence of your post.
amdgpu is an open source driver - so it makes sense you're always using that, as it's also the only one available.

Last edited by StJimmy (2021-03-21 09:32:44)


Nanos gigantum humeris insidentes.

Offline

#3 2021-03-21 10:12:16

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: amdgpu pro

tz4678 wrote:

My V-Card is AMD RX 590.

So why are you trying to install the PRO drivers then? Their performance is inferior for most tasks compared to the open source drivers and AMD themselves only recommend them for their PRO video cards (hence the name).

tz4678 wrote:

Result: black screen with _. What am I doing wrong?

Not sharing the X.Org log or relevant systemd journal entries.

And have you read the latest comment left on the opencl-amd AUR package page?


Jin, Jîyan, Azadî

Offline

#4 2021-03-21 20:36:18

tz4678
Member
From: St. Petersburg
Registered: 2019-07-30
Posts: 10
Website

Re: amdgpu pro

StJimmy wrote:

Well, you're removing your 3D graphics library, i.e. mesa - so nothing that requires anything graphical can really work because Mesa isn't there.

Why did you even remove it in the first place? I read over the last sentence of your post.
amdgpu is an open source driver - so it makes sense you're always using that, as it's also the only one available.

mesa is open source opengl driver
amdgpu-pro-libgl is amd opengl driver

Offline

#5 2021-03-21 22:21:44

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

Re: amdgpu pro

ITs not a good idea to remove mesa regardless. there are libs that are necessary for a few programs. Proper redirection to the PRO stack should generally happen anyway.

Offline

#6 2021-03-21 22:36:42

tz4678
Member
From: St. Petersburg
Registered: 2019-07-30
Posts: 10
Website

Re: amdgpu pro

V1del wrote:

ITs not a good idea to remove mesa regardless. there are libs that are necessary for a few programs. Proper redirection to the PRO stack should generally happen anyway.

how to force  to use amdgpu-pro-libgl?

Offline

#7 2021-03-22 00:15:32

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

Re: amdgpu pro

Your surmise it's not being used how exactly? What's your output of

glxinfo -B

?

Offline

#8 2021-03-22 01:02:13

tz4678
Member
From: St. Petersburg
Registered: 2019-07-30
Posts: 10
Website

Re: amdgpu pro

V1del wrote:

Your surmise it's not being used how exactly? What's your output of

glxinfo -B

?

~ 
❯ glxinfo -B
name of display: :1
display: :1  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: AMD (0x1002)
    Device: Radeon RX 590 Series (POLARIS10, DRM 3.40.0, 5.11.7-arch1-1, LLVM 11.1.0) (0x67df)
    Version: 20.3.4
    Accelerated: yes
    Video memory: 8192MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
    VBO free memory - total: 7169 MB, largest block: 7169 MB
    VBO free aux. memory - total: 8004 MB, largest block: 8004 MB
    Texture free memory - total: 7169 MB, largest block: 7169 MB
    Texture free aux. memory - total: 8004 MB, largest block: 8004 MB
    Renderbuffer free memory - total: 7169 MB, largest block: 7169 MB
    Renderbuffer free aux. memory - total: 8004 MB, largest block: 8004 MB
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 8192 MB
    Total available memory: 16384 MB
    Currently available dedicated video memory: 7169 MB
OpenGL vendor string: AMD
OpenGL renderer string: Radeon RX 590 Series (POLARIS10, DRM 3.40.0, 5.11.7-arch1-1, LLVM 11.1.0)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 20.3.4
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 20.3.4
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 20.3.4
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

I have installed both mesa and amdgpu-pro-libgl. System automatic use mesa.

Last edited by tz4678 (2021-03-22 01:02:30)

Offline

#9 2021-03-22 01:04:22

tz4678
Member
From: St. Petersburg
Registered: 2019-07-30
Posts: 10
Website

Re: amdgpu pro

~ 
❯ cat /etc/X11/xorg.conf.d/20-amdgpu.conf
Section "Device"
     Identifier "AMD"
     Driver "amdgpu"
EndSection

Offline

#10 2021-03-22 20:47:27

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,086

Re: amdgpu pro

What is the output of

$ progl glxinfo -B

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

#11 2021-03-23 01:05:50

tz4678
Member
From: St. Petersburg
Registered: 2019-07-30
Posts: 10
Website

Re: amdgpu pro

Lone_Wolf wrote:

What is the output of

$ progl glxinfo -B
❯ progl glxinfo -B
name of display: :1
...
OpenGL vendor string: Advanced Micro Devices, Inc.
...

Proprietary vendor string.

Last edited by tz4678 (2021-03-23 01:06:43)

Offline

#12 2021-03-23 12:06:32

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,086

Re: amdgpu pro

That gives you an option to run specific opengl apps on the proprietary driver.
For vulkan & opencl there are also methods to achieve that.

Archlinux mesa uses glvnd to swtich between opengl providers, but amd proprietary driver doesn't support that.
If you want to use the proprietary driver exclusive you will have to build a customized mesa version without glvnd .

https://aur.archlinux.org/packages/mesa-noglvnd was created to do that job for the catalyst proprietary driver and could probably be updated to do the same for amdgpu pro .

Last edited by Lone_Wolf (2021-03-23 12:06:46)


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

#13 2021-03-26 07:48:56

apaz
Member
Registered: 2018-07-23
Posts: 130

Re: amdgpu pro

With the 20.xx driver, amdgpu-pro-libgl has stopped working in Arch. see:
https://aur.archlinux.org/packages/amdgpu-pro-libgl/
Causes have not been found.  There are workarounds for starting some programs (DaVinci Resolve, for example).

Offline

Board footer

Powered by FluxBB