You are not logged in.
Hello everyone!
Recently I built a new PC with AMD Ryzen 5 5600g CPU. No discrete graphics card.
And I can't figure up video drivers. Or something else.
I am following Installation guide for clean setup.
At first time with pacstrap I install this packages:
pacstrap /mnt base base-devel linux linux-firmware grub efibootmgr os-prober networkmanager terminus-font man-db man-pages texinfo nano bash-completion git lynx
amd-ucode was installed at first try and now it says that it's already exist. So boot partition stays mostly untouched, just grub-mkconfig -o /boot/grub/grub.cfg.
After reboot to installed system and setting up yay I execute file with the next command:
#!/usr/bin/sh
yay -Syyu \
xorg \
xorg-xinit \
zsh \
tmux \
stow \
pass \
tomb \
firefox \
gtk2 \
libxft \
libxinerama \
redshift \
reflector \
xdot \
gst-plugin-pipewire \
libpipewire02 \
pipewire \
pipewire-alsa \
pipewire-docs \
pipewire-jack \
pipewire-pulse \
pipewire-v4l2 \
pipewire-zeroconf \
wireplumber \
wireplumber-docs \
easyeffects \
helvum \
pavucontrol \
qjackctl \
dmenu \
st \
dwm \
xf86-video-amdgpu \
opencl-amd \
amdgpu-pro-libgl \
vulkan-amdgpu-pro \
amf-amdgpu-pro \
mesa-utils \
gnu-free-fonts \
noto-fonts \
noto-fonts-cjk \
noto-fonts-emoji \
noto-fonts-extra \
ttf-dejavu \
ttf-font-awesome \
ttf-liberation \
ttf-nerd-fonts-symbols \
ttf-roboto \
ttf-roboto-mono \
ttf-ubuntu-font-family
*There is no empty lines in original file.
And everything works just fine. That I can check at this point --- Firefox. Everything looks smooth and fast. Video, sound, fonts.
Then I try to install davinci-resolve. After installation it even starts, but displays:
Unsupported GPU Processing Mode
Please review the GPU drivers and GPU configuration under preferences.
https://i.imgur.com/y3n8QBO.png
When I press "Update Configuration" some settings window appear and in "Memory and GPU" menu at "GPU configuration" section there is no any detected device.
https://i.imgur.com/tRSjiJn.png
As written in How to ensure you are using AMDGPU-PRO driver I have next output of that commands:
[alex@netsphere ~]$ glxinfo | grep "OpenGL vendor string" | cut -f2 -d":" | xargs
AMD
[alex@netsphere ~]$ glmark2
=======================================================
glmark2 2021.12
=======================================================
OpenGL Information
GL_VENDOR: AMD
GL_RENDERER: AMD RENOIR (DRM 3.42.0, 5.15.13-arch1-1, LLVM 13.0.0)
GL_VERSION: 4.6 (Compatibility Profile) Mesa 21.3.3
=======================================================
[build] use-vbo=false: FPS: 8062 FrameTime: 0.124 ms
[build] use-vbo=true: FPS: 10365 FrameTime: 0.096 ms
=======================================================
glmark2 Score: 9213
=======================================================
[alex@netsphere ~]$ progl glmark2
=======================================================
glmark2 2021.12
=======================================================
OpenGL Information
GL_VENDOR: ATI Technologies Inc.
GL_RENDERER: AMD Radeon Graphics
GL_VERSION: 4.6.14739 Compatibility Profile Context
=======================================================
[build] use-vbo=false: FPS: 3249 FrameTime: 0.308 ms
[build] use-vbo=true: FPS: 5375 FrameTime: 0.186 ms
=======================================================
glmark2 Score: 4312
=======================================================
When I run davinci-resolve-checker it outputs next:
[alex@netsphere davinci-resolve-checker]$ progl ./davinci-resolve-checker.py
Using locale en_US
DaVinci Resolve checker 2.4.1
Installed DaVinci Resolve package:
Chassis type: desktop
Installed OpenCL drivers: opencl-amd
Presented GPUs:
Cezanne (kernel driver in use: amdgpu)
OpenGL vendor string: Advanced Micro Devices, Inc.
All seems good. You should be able to run DaVinci Resolve successfully.
I have reinstalled the system already 8 or so times (5 for sure) and now I am completely confused.
Tried only left xf86-video-amdgpu and opencl-amd without libgl, vulkan and amf.
Tried not selecting xf86-video-vesa from xorg package.
I left the cache yay (so as not to download everything again) and downloaded it over again.
The result remained the same all the time.
All packages except video drivers remained the same all the time.
In a neighboring thread, I saw that someone was using the inxi program to show the system configuration. This is what it shows:
[alex@netsphere ~]$ inxi -Fxxxza
System:
Kernel: 5.15.13-arch1-1 x86_64 bits: 64 compiler: gcc v: 11.1.0
parameters: BOOT_IMAGE=/vmlinuz-linux
root=UUID=f7407ac5-a6a9-46e9-9a48-76603c8feffc rw loglevel=3 quiet
Desktop: dwm 6.2 vt: 1 dm: startx Distro: Arch Linux
Machine:
Type: Desktop Mobo: Micro-Star model: B550M PRO-VDH (MS-7C95) v: 1.0
serial: <superuser required> UEFI: American Megatrends LLC. v: 2.80
date: 06/22/2021
CPU:
Info: model: AMD Ryzen 5 5600G with Radeon Graphics bits: 64 type: MT MCP
arch: Zen 3 family: 0x19 (25) model-id: 0x50 (80) stepping: 0
microcode: 0xA50000C
Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB
L3: 16 MiB desc: 1x16 MiB
Speed (MHz): avg: 2032 high: 2468 min/max: 1400/4464 boost: enabled
scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 2468 2: 1532
3: 2029 4: 1314 5: 2395 6: 1589 7: 1507 8: 1976 9: 2395 10: 2395 11: 2395
12: 2393 bogomips: 93445
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities:
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl and seccomp
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional,
IBRS_FW, STIBP: always-on, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: AMD Cezanne driver: amdgpu v: kernel bus-ID: 30:00.0
chip-ID: 1002:1638 class-ID: 0300
Display: server: X.Org 1.21.1.3 driver: loaded: amdgpu
unloaded: modesetting alternate: ati,fbdev,vesa display-ID: :0 screens: 1
Screen-1: 0 s-res: 3600x1080 s-dpi: 96 s-size: 952x285mm (37.5x11.2")
s-diag: 994mm (39.1")
Monitor-1: HDMI-A-0 res: 1920x1080 hz: 60 dpi: 93
size: 527x296mm (20.7x11.7") diag: 604mm (23.8")
Monitor-2: DisplayPort-0 res: 1680x1050 hz: 60 dpi: 90
size: 474x296mm (18.7x11.7") diag: 559mm (22")
OpenGL: renderer: AMD RENOIR (DRM 3.42.0 5.15.13-arch1-1 LLVM 13.0.0)
v: 4.6 Mesa 21.3.3 direct render: Yes
Audio:
Device-1: AMD vendor: Micro-Star MSI driver: snd_hda_intel v: kernel
bus-ID: 30:00.1 chip-ID: 1002:1637 class-ID: 0403
Device-2: AMD Family 17h HD Audio vendor: Micro-Star MSI
driver: snd_hda_intel v: kernel bus-ID: 30:00.6 chip-ID: 1022:15e3
class-ID: 0403
Device-3: C-Media USB Audio Device type: USB
driver: cmedia_hs100b,snd-usb-audio,usbhid bus-ID: 3-2:2 chip-ID: 0d8c:0014
class-ID: 0300
Sound Server-1: ALSA v: k5.15.13-arch1-1 running: yes
Sound Server-2: JACK v: 1.9.19 running: no
Sound Server-3: PulseAudio v: 15.0 running: no
Sound Server-4: PipeWire v: 0.3.43 running: yes
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Micro-Star MSI driver: r8169 v: kernel port: f000 bus-ID: 2a:00.0
chip-ID: 10ec:8168 class-ID: 0200
IF: enp42s0 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives:
Local Storage: total: 2.6 TiB used: 116.44 GiB (4.4%)
SMART Message: Required tool smartctl not installed. Check --recommends
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Kingston model: SNVS500G
size: 465.76 GiB block-size: physical: 512 B logical: 512 B
speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: S8542105
temp: 41.9 C scheme: GPT
ID-2: /dev/sda maj-min: 8:0 vendor: Seagate model: ST2000DM005-2CW102
size: 1.82 TiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
type: HDD rpm: 5425 serial: <filter> rev: 0001 scheme: GPT
ID-3: /dev/sdb maj-min: 8:16 vendor: Kingston model: SUV400S37240G
size: 223.57 GiB block-size: physical: 4096 B logical: 512 B
speed: 6.0 Gb/s type: SSD serial: <filter> rev: D6SD scheme: GPT
ID-4: /dev/sdc maj-min: 8:32 vendor: Kingston model: SUV500M8120G
size: 111.79 GiB block-size: physical: 4096 B logical: 512 B
speed: 6.0 Gb/s type: SSD serial: <filter> rev: 56RI scheme: GPT
Partition:
ID-1: / raw-size: 40 GiB size: 39.08 GiB (97.69%) used: 11.04 GiB (28.3%)
fs: ext4 dev: /dev/nvme0n1p3 maj-min: 259:3
ID-2: /boot raw-size: 1024 MiB size: 1022 MiB (99.80%)
used: 94.2 MiB (9.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
Swap:
Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
ID-1: swap-1 type: partition size: 16 GiB used: 0 KiB (0.0%) priority: -2
dev: /dev/nvme0n1p2 maj-min: 259:2
Sensors:
System Temperatures: cpu: N/A mobo: N/A gpu: amdgpu temp: 28.0 C
Fan Speeds (RPM): N/A
Info:
Processes: 248 Uptime: 1h 22m wakeups: 0 Memory: 11.64 GiB
used: 1.73 GiB (14.9%) Init: systemd v: 250 tool: systemctl Compilers:
gcc: 11.1.0 Packages: pacman: 542 lib: 138 Shell: Bash v: 5.1.12
running-in: tmux: inxi: 3.3.11
Thanks in advance and apologize for my "google" english.
Mod Edit - Replaced oversized images with links.
CoC - Pasting pictures and code
Last edited by alexeygorelov (2022-01-11 16:30:50)
Offline
DVR needs amdgpu-pro's libgl (and this is no longer an issue, with Progl) and a working OpenCL driver. AMD right now is in the midst of driver and support confusion. It is switching from amdgpu-pro to ROCm, but we have to wait who knows how long to get something stable. It works for me with the RX 5700XT now, but those who have Polaris started having problems and with the new APUs there is no support yet. Try an older version of opencl-amd; for example 21.30 or even 20.45
See in AUR if you can find some hints that can help you:
https://aur.archlinux.org/packages/open … O=10&PP=10
Offline
AMD Cezanne RENOIR doesn't look like a polaris card.
Both inxi and glxinfo output indicates mesa driver is used, not amdgpu-pro .
Please post output of
$ progl glxinfo -B
$ progl clinfo --list
Last edited by Lone_Wolf (2022-01-07 12:25:50)
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
Try an older version of opencl-amd; for example 21.30 or even 20.45
See in AUR if you can find some hints that can help you:
Thank you. I will look.
This disappointing note caught my eye:
Note: The integrated GPUs of Ryzen are not officially supported targets for ROCm.
Lone_Wolf, thank you too. This is what those commands output:
[alex@netsphere ~]$ progl glxinfo -B
name of display: :0
display: :0 screen: 0
direct rendering: Yes
Memory info (GL_ATI_meminfo):
VBO free memory - total: 3804 MB, largest block: 3034 MB
VBO free aux. memory - total: 4058 MB, largest block: 3065 MB
Texture free memory - total: 3804 MB, largest block: 3034 MB
Texture free aux. memory - total: 4058 MB, largest block: 3065 MB
Renderbuffer free memory - total: 3804 MB, largest block: 3034 MB
Renderbuffer free aux. memory - total: 4058 MB, largest block: 3065 MB
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: AMD Radeon Graphics
OpenGL core profile version string: 4.6.14739 Core Profile Context
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.14739 Compatibility Profile Context
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL ES profile version string: 4.6.14739 Compatibility Profile Context
OpenGL ES profile shading language version string: 4.60
[alex@netsphere ~]$ glxinfo -B
name of display: :0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: AMD (0x1002)
Device: AMD RENOIR (DRM 3.42.0, 5.15.13-arch1-1, LLVM 13.0.0) (0x1638)
Version: 21.3.3
Accelerated: yes
Video memory: 4096MB
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: 3801 MB, largest block: 3801 MB
VBO free aux. memory - total: 4056 MB, largest block: 4056 MB
Texture free memory - total: 3801 MB, largest block: 3801 MB
Texture free aux. memory - total: 4056 MB, largest block: 4056 MB
Renderbuffer free memory - total: 3801 MB, largest block: 3801 MB
Renderbuffer free aux. memory - total: 4056 MB, largest block: 4056 MB
Memory info (GL_NVX_gpu_memory_info):
Dedicated video memory: 4096 MB
Total available memory: 8192 MB
Currently available dedicated video memory: 3801 MB
OpenGL vendor string: AMD
OpenGL renderer string: AMD RENOIR (DRM 3.42.0, 5.15.13-arch1-1, LLVM 13.0.0)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 21.3.3
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 21.3.3
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 21.3.3
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
[alex@netsphere ~]$ progl clinfo --list
Platform #0: AMD Accelerated Parallel Processing
[alex@netsphere ~]$ clinfo --list
Platform #0: AMD Accelerated Parallel Processing
Both inxi and glxinfo output indicates mesa driver is used, not amdgpu-pro
Is the line GL_VENDOR: ATI Technologies Inc. doesn't mean amdgpu-pro driver is being used? Or is it different?
With progl, the long name is displayed, without the short one.
[alex@netsphere ~]$ progl glmark2
=======================================================
glmark2 2021.12
=======================================================
OpenGL Information
GL_VENDOR: ATI Technologies Inc.
GL_RENDERER: AMD Radeon Graphics
GL_VERSION: 4.6.14739 Compatibility Profile Context
I do not mind reinstalling the system a couple of more times, but I do not know at what stage I can already see that nothing will work and I need to try another option. The need to download 4GB each time slightly delays the "clean" installation process.
I saw this topic but it looks like something has changed over the past few months.
Some additional information on this CPU: Zen 3 based (4th generation) APUs Wikipedia, CPU-World specifications
Offline
progl glxinfo -B & progl glmark2 outputs do match, but I prefer using the right tool for a job.
glmark2 is a benchmark for opengl 2 functionality that shows some info, while glxinfo is an informational tool.
Re-installing won't help, the problem is in the way DVR works.
It was never designed to work with amd opensource drivers on linux and still can't use them at all .
In your case
[alex@netsphere ~]$ progl clinfo --list
Platform #0: AMD Accelerated Parallel Processing
[alex@netsphere ~]$ clinfo --list
Platform #0: AMD Accelerated Parallel Processing
shows what the issue is : the installed opencl-amd is unable to handle your device.
I just build opencl-amd 21.40.2.1350682-3 and installed it.
$ clinfo --list
Platform #0: AMD Accelerated Parallel Processing
`-- Device #0: Ellesmere
Platform #1: Clover
`-- Device #0: AMD Radeon RX 580 Series (polaris10, LLVM 14.0.0, DRM 3.42, 5.15.13-arch1-1)
$
`-- Device #0: Ellesmere shows opencl-amd 21.40 does support my RX 580 card.
Apaz advice to try previous opencl-amd versions is likely the best chance you have.
Keep in mind that this is not archlinux specific, you will face the same issue on all other distros.
It's possbile the conclusion will be DVR doesn't work with your APU and you will have to replace hardware or use an alternative for DVR that does support your hardware.
(no idea if that alternative exists).
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
Thank you very much apaz and Lone_Wolf!
Now with opencl-amd 21.30.1290604-1 DR starts and seems to work.
https://i.imgur.com/Z1ILCD1.png
$ clinfo --list
Platform #0: AMD Accelerated Parallel Processing
`-- Device #0: gfx902:xnack+
$ progl glxinfo -B
name of display: :0
display: :0 screen: 0
direct rendering: Yes
Memory info (GL_ATI_meminfo):
VBO free memory - total: 3796 MB, largest block: 3034 MB
VBO free aux. memory - total: 4058 MB, largest block: 3064 MB
Texture free memory - total: 3796 MB, largest block: 3034 MB
Texture free aux. memory - total: 4058 MB, largest block: 3064 MB
Renderbuffer free memory - total: 3796 MB, largest block: 3034 MB
Renderbuffer free aux. memory - total: 4058 MB, largest block: 3064 MB
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: AMD Radeon Graphics
OpenGL core profile version string: 4.6.14739 Core Profile Context
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.14739 Compatibility Profile Context
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL ES profile version string: 4.6.14739 Compatibility Profile Context
OpenGL ES profile shading language version string: 4.60
$ inxi -Faz
...
Graphics:
Device-1: AMD Cezanne driver: amdgpu v: kernel bus-ID: 30:00.0
chip-ID: 1002:1638 class-ID: 0300
Display: server: X.Org 1.21.1.3 driver: loaded: amdgpu
unloaded: modesetting,vesa alternate: ati,fbdev display-ID: :0 screens: 1
Screen-1: 0 s-res: 3600x1080 s-dpi: 96 s-size: 952x285mm (37.5x11.2")
s-diag: 994mm (39.1")
Monitor-1: HDMI-A-0 res: 1920x1080 hz: 60 dpi: 93
size: 527x296mm (20.7x11.7") diag: 604mm (23.8")
Monitor-2: DisplayPort-0 res: 1680x1050 hz: 60 dpi: 90
size: 474x296mm (18.7x11.7") diag: 559mm (22")
OpenGL: renderer: AMD RENOIR (DRM 3.42.0 5.15.13-arch1-1 LLVM 13.0.0)
v: 4.6 Mesa 21.3.3 direct render: Yes
...
$ progl inxi -Faz
...
Graphics:
Device-1: AMD Cezanne driver: amdgpu v: kernel bus-ID: 30:00.0
chip-ID: 1002:1638 class-ID: 0300
Display: server: X.Org 1.21.1.3 driver: loaded: amdgpu
unloaded: modesetting,vesa alternate: ati,fbdev display-ID: :0 screens: 1
Screen-1: 0 s-res: 3600x1080 s-dpi: 96 s-size: 952x285mm (37.5x11.2")
s-diag: 994mm (39.1")
Monitor-1: HDMI-A-0 res: 1920x1080 hz: 60 dpi: 93
size: 527x296mm (20.7x11.7") diag: 604mm (23.8")
Monitor-2: DisplayPort-0 res: 1680x1050 hz: 60 dpi: 90
size: 474x296mm (18.7x11.7") diag: 559mm (22")
OpenGL: renderer: AMD Radeon Graphics v: 4.6.14739 Core Profile Context
compat-v: 4.6.14739 direct render: Yes
...
Offline
Had the same problem on my Radeon VII, rolling back to opencl-amd 21.40.2 fixed for me too.
Last edited by tjbbjt (2022-01-12 01:33:32)
Offline