1

I'm RTFM here. They say to download the tar archive, but the link provided leads to a deb package. Anyway, I was pretty sure my board should support the pro version of amdgpu driver, but I can only see the open version here.

Anyway I downloaded the deb package and installed it. Now I have the amdgpu-install command (NOT pro). But still I can install the Vulkan drivers, which seems not possible from the first link (they should be only in the pro variant). I'm quite confused.

I installed all the stuff using:

amdgpu-install --opencl=rocr --opengl=mesa --vulkan=pro --usecase=graphics,opencl --accept-eula

It completed the installation and I can see stuff under /opt:

$ ls /opt/
rocm  rocm-5.4.3

And here some other outputs:

$ sudo lshw -c video
  *-display                 
       description: VGA compatible controller
       product: Navi 21 [Radeon RX 6800/6800 XT / 6900 XT]
       vendor: Advanced Micro Devices, Inc. [AMD/ATI]
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: /dev/fb0
       version: c1
       width: 64 bits
       clock: 33MHz
       capabilities: pm pciexpress msi vga_controller bus_master cap_list rom fb
       configuration: depth=32 driver=amdgpu latency=0 mode=1920x1080 resolution=1920,1080 visual=truecolor xres=1920 yres=1080
       resources: iomemory:f80-f7f iomemory:fc0-fbf irq:201 memory:f800000000-fbffffffff memory:fc00000000-fc0fffffff ioport:f000(size=256) memory:fca00000-fcafffff memory:fcb00000-fcb1ffff
$ modinfo amdgpu 
filename:       /lib/modules/5.19.0-38-generic/kernel/drivers/gpu/drm/amd/amdgpu/amdgpu.ko
license:        GPL and additional rights
description:    AMD GPU
author:         AMD linux driver team
...

$ dpkg -l | grep amdgpu ii amdgpu-install 5.4.50403-1538762.20.04 all AMDGPU driver repository and installer ii libdrm-amdgpu1:amd64 2.4.113-2 amd64 Userspace interface to amdgpu-specific kernel DRM services -- runtime ii xserver-xorg-video-amdgpu 22.0.0-3 amd64 X.Org X server -- AMDGPU display driver

$ dpkg -l | grep vulkan ii libvulkan1:amd64 1.3.224.0-1 amd64 Vulkan loader library ii mesa-vulkan-drivers:amd64 22.2.5-0ubuntu0.1 amd64 Mesa Vulkan graphics drivers

$ dpkg -l | grep rocr ii hsa-rocr 1.7.0.50403-121~22.04 amd64 AMD Heterogeneous System Architecture HSA - Linux HSA Runtime for Boltzmann (ROCm) platforms

$ dpkg -l | grep mesa ii libegl-mesa0:amd64 22.2.5-0ubuntu0.1 amd64 free implementation of the EGL API -- Mesa vendor library ii libgl1-mesa-dri:amd64 22.2.5-0ubuntu0.1 amd64 free implementation of the OpenGL API -- DRI modules rc libgl1-mesa-dri:i386 22.2.5-0ubuntu0.1 i386 free implementation of the OpenGL API -- DRI modules ii libglapi-mesa:amd64 22.2.5-0ubuntu0.1 amd64 free implementation of the GL API -- shared library ii libglu1-mesa:amd64 9.0.2-1 amd64 Mesa OpenGL utility library (GLU) ii libglx-mesa0:amd64 22.2.5-0ubuntu0.1 amd64 free implementation of the OpenGL API -- GLX vendor library ii mesa-vulkan-drivers:amd64 22.2.5-0ubuntu0.1 amd64 Mesa Vulkan graphics drivers

Still I'm not sure if I have the drivers installed and running. For example I have no vulkaninfo command and Blender does not enable the cycle renderer because it does not find a suitable GPU.

What else should I do in order to enable my graphic card? I'm running Ubuntu 22.10

UPDATE

After seeing the comments, some more clarifications:

  • I tried to install the drivers by myself following the official documentations. Usually, questions that does NOT report this will be downvoted or closed. I showed my effort. I strongly hope this would be appreciated.

  • I'm not asking for an opinion! I'm kindly asking to check what I did and help me to understand if I did it correctly or not

  • if what I did is not the right way to install the drivers, please tell me what procedure I need to follow since I tried to read the manufacturer manual

Mark
  • 577

1 Answers1

0

Actually, my procedure was incomplete. To correctly install the drivers I had to invoke the installer with the -y argument after selecting the packages as per the original question.

So, after:

amdgpu-install --opencl=rocr --opengl=mesa --vulkan=pro --usecase=graphics,opencl --accept-eula

I also issued:

amdgpu-install -y

This did the trick and now Blender can see my GPU card. I didn't understand this step from the docs, but I found the hint here.

I did the procedure a couple of times: without the newer drivers from the AMD site, the GPU does not work properly.

Mark
  • 577