RX570 GPU: Shotcut going far slower than it should?

Greetings

I have Thinkcenter S20 with RX 570 GPU.

I had some crashing issues but now I solved it by updating the BIOS on the thinkcenter and changing some bios settings.

I am noticing that the RX570 is severely underperforming in Windows 10 Shotcut. Or at least I think it does?

It has hardware encoding enabled but using H264-Amf and hevc-amf

are these too slow?

What could be causing the slowness for rendering videos when compared to using it in Linux?

How long does it take, and how long do you think it should take?

The video encoder is not the only factor in the export time. Resolution, number of tracks, filters, etc all make an impact.

For example, I commonly hear that if a project adds the size, position and rotate filter the export time can double.

What is the comparison for rendering the same MLT file on Linux vs Windows?

You don’t give any specifications for your Hardware, so I’m not sure if this helps but: the following webpage points towards a problem running Windows with more than 16GB of memory and an RX570 GPU (it’s OK with 16GB or less).

Greetings

Here are my system specs which I thought I included. Im getting another forum confused with this one.

How do I know for sure my Shotcut install is using everything possible? Like I said, when I click on “detect” for hardware encoder codecs it says “not found.” Very bizarre!

System:
  Kernel: 5.15.0-56-generic x86_64 bits: 64 compiler: gcc v: 11.3.0 Desktop: MATE 1.26.0 wm: marco
    dm: LightDM Distro: Linux Mint 21.1 Vera base: Ubuntu 22.04 jammy
Machine:
  Type: Desktop System: LENOVO product: 4105R9F v: ThinkStation S20 serial: <superuser required>
    Chassis: type: 7 serial: <superuser required>
  Mobo: LENOVO model: LENOVO serial: <superuser required> BIOS: LENOVO v: 60KT47AUS
    date: 01/15/2014
CPU:
  Info: 6-core model: Intel Xeon X5660 bits: 64 type: MT MCP arch: Nehalem rev: 2 cache:
    L1: 384 KiB L2: 1.5 MiB L3: 12 MiB
  Speed (MHz): avg: 2875 high: 2892 min/max: 1596/2794 boost: enabled cores: 1: 2861 2: 2889
    3: 2855 4: 2882 5: 2876 6: 2869 7: 2876 8: 2881 9: 2860 10: 2892 11: 2887 12: 2874
    bogomips: 67031
  Flags: ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] vendor: Sapphire
    driver: amdgpu v: kernel pcie: speed: 5 GT/s lanes: 4 ports: active: HDMI-A-2
    empty: DP-1, DP-2, DVI-D-1, HDMI-A-1 bus-ID: 01:00.0 chip-ID: 1002:67df
  Display: x11 server: X.Org v: 1.21.1.3 compositor: marco v: 1.26.0 driver: X:
    loaded: amdgpu,ati unloaded: fbdev,modesetting,vesa gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96
  Monitor-1: HDMI-A-1 mapped: HDMI-A-2 model: Samsung res: 1920x1080 dpi: 305
    diag: 551mm (21.7")
  OpenGL: renderer: AMD Radeon RX 570 Series (polaris10 LLVM 13.0.1 DRM 3.42 5.15.0-56-generic)
    v: 4.6 Mesa 22.0.5 direct render: Yes
Audio:
  Device-1: Intel 82801JI HD Audio vendor: Lenovo driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
    chip-ID: 8086:3a3e
  Device-2: AMD Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] vendor: Sapphire
    driver: snd_hda_intel v: kernel pcie: speed: 5 GT/s lanes: 4 bus-ID: 01:00.1 chip-ID: 1002:aaf0
  Sound Server-1: ALSA v: k5.15.0-56-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Broadcom NetXtreme BCM5755 Gigabit Ethernet PCI Express vendor: Lenovo driver: tg3
    v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: N/A bus-ID: 05:00.0 chip-ID: 14e4:167b
  IF: ens5 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:
  Local Storage: total: 119.24 GiB used: 11.91 GiB (10.0%)
  ID-1: /dev/sda vendor: Crucial model: C300-CTFDDAC128MAG size: 119.24 GiB speed: 3.0 Gb/s
    serial: <filter>
Partition:
  ID-1: / size: 116.32 GiB used: 11.91 GiB (10.2%) fs: ext4 dev: /dev/sda3
  ID-2: /boot/efi size: 512 MiB used: 5.2 MiB (1.0%) fs: vfat dev: /dev/sda2
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) priority: -2 file: /swapfile
USB:
  Hub-1: 1-0:1 info: Full speed or root hub ports: 4 rev: 2.0 speed: 480 Mb/s chip-ID: 1d6b:0002
  Device-1: 1-4:2 info: Realtek USB2.0-CRW type: Mass Storage driver: usb-storage rev: 2.0
    speed: 480 Mb/s chip-ID: 0bda:0181
  Hub-2: 2-0:1 info: Full speed or root hub ports: 8 rev: 2.0 speed: 480 Mb/s chip-ID: 1d6b:0002
  Hub-3: 3-0:1 info: Full speed or root hub ports: 2 rev: 1.1 speed: 12 Mb/s chip-ID: 1d6b:0001
  Hub-4: 4-0:1 info: Full speed or root hub ports: 2 rev: 1.1 speed: 12 Mb/s chip-ID: 1d6b:0001
  Hub-5: 5-0:1 info: Full speed or root hub ports: 2 rev: 1.1 speed: 12 Mb/s chip-ID: 1d6b:0001
  Hub-6: 6-0:1 info: Full speed or root hub ports: 2 rev: 1.1 speed: 12 Mb/s chip-ID: 1d6b:0001
  Device-1: 6-1:2 info: Dell Keyboard SK-8115 type: Keyboard driver: hid-generic,usbhid rev: 1.1
    speed: 1.5 Mb/s chip-ID: 413c:2003
  Hub-7: 7-0:1 info: Full speed or root hub ports: 2 rev: 1.1 speed: 12 Mb/s chip-ID: 1d6b:0001
  Device-1: 7-1:2 info: A4Tech Optical Mouse WOP-35 / Trust 450L type: Mouse
    driver: a4tech,usbhid rev: 1.1 speed: 1.5 Mb/s chip-ID: 09da:0006
  Hub-8: 8-0:1 info: Full speed or root hub ports: 2 rev: 1.1 speed: 12 Mb/s chip-ID: 1d6b:0001
  Device-1: 8-1:2 info: SHARKOON GmbH 2.4GHz Wireless rechargeable vertical mouse [More&Better]
    type: Mouse driver: hid-generic,usbhid rev: 1.1 speed: 12 Mb/s chip-ID: 1ea7:0064
Sensors:
  System Temperatures: cpu: 53.0 C mobo: N/A gpu: amdgpu temp: 44.0 C
  Fan Speeds (RPM): N/A gpu: amdgpu fan: 1717
Repos:
  Packages: apt: 2208
  No active apt repos in: /etc/apt/sources.list
  No active apt repos in: /etc/apt/sources.list.d/amdgpu-proprietary.list
  Active apt repos in: /etc/apt/sources.list.d/amdgpu.list
    1: deb https: //repo.radeon.com/amdgpu/22.20/ubuntu focal main
  No active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb http: //packages.linuxmint.com vera main upstream import backport
    2: deb http: //archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
    3: deb http: //archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
    4: deb http: //archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
    5: deb http: //security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
  Active apt repos in: /etc/apt/sources.list.d/rocm.list
    1: deb [arch=amd64] https: //repo.radeon.com/rocm/apt/5.2 ubuntu main
Info:
  Processes: 332 Uptime: 9m Memory: 15.62 GiB used: 3.12 GiB (19.9%) Init: systemd v: 249
  runlevel: 5 Compilers: gcc: 11.3.0 alt: 11 Client: Unknown python3.10 client inxi: 3.3.13

It looks to me as if you don’t have the up-to-date driver loaded for the RX570. See:

https://www.amd.com/en/support/graphics/radeon-500-series/radeon-rx-500-series/radeon-rx-570

yes i installed the recommeended one by the system… I could have installed the latest, but it said to install the recommended one?

I am asking in the linux mint forum as wlel

For what it’s worth, I encounter the same massive difference in speed with Blender in Linux vs Blender under Windows.

Blender under Linux loads in less that a second on my i5, yet a few seconds on my i7 with Windows 10.

There are detailed explanations on the Web about why this is.

Linux is just so much faster and the idea would be to use that if speed is what you need.

I was going on the statement the OP made:

which looks like a driver/hardware problem.

2 Likes

I agree. I checked a Nvidia video card in a machine that I bought and found out that what I thought was a genuine card was actually “a fake” and made in a copy factory. Be aware that there are many fake Nvidia cards out there in the market - especially if they are “cheap”.

it was going faster on my previous install BUT it was showing “not found” when I tried to select a hardware encoder!

now I reinstalled with a new SSD and the hardware encoder is selected and those are H264_vapi and hevc_vapi

However it shows 2 encoders and when I try to encode videos it goes PAINFULLY slow! MUCH slower than before… actually its like its not recognizing a video card at all now?

Any idea why this would be?

I tried a graphic intensive game and it looks like it uses the video card! Very bizaree

herer are my system specs again

System:
  Kernel: 5.15.0-58-generic x86_64 bits: 64 compiler: gcc v: 11.3.0 Desktop: MATE 1.26.0 wm: marco
    dm: LightDM Distro: Linux Mint 21.1 Vera base: Ubuntu 22.04 jammy
Machine:
  Type: Desktop System: LENOVO product: 4105R9F v: ThinkStation S20 serial: <superuser required>
    Chassis: type: 7 serial: <superuser required>
  Mobo: LENOVO model: LENOVO serial: <superuser required> BIOS: LENOVO v: 60KT47AUS
    date: 01/15/2014
CPU:
  Info: 6-core model: Intel Xeon X5660 bits: 64 type: MT MCP arch: Nehalem rev: 2 cache:
    L1: 384 KiB L2: 1.5 MiB L3: 12 MiB
  Speed (MHz): avg: 2793 high: 2794 min/max: 1596/2794 boost: enabled cores: 1: 2793 2: 2793
    3: 2793 4: 2793 5: 2793 6: 2793 7: 2793 8: 2794 9: 2793 10: 2793 11: 2793 12: 2793
    bogomips: 67034
  Flags: ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] vendor: Sapphire
    driver: amdgpu v: kernel pcie: speed: 5 GT/s lanes: 4 ports: active: HDMI-A-2
    empty: DP-1, DP-2, DVI-D-1, HDMI-A-1 bus-ID: 01:00.0 chip-ID: 1002:67df
  Display: x11 server: X.Org v: 1.21.1.3 compositor: marco v: 1.26.0 driver: X:
    loaded: amdgpu,ati unloaded: fbdev,modesetting,vesa gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96
  Monitor-1: HDMI-A-1 mapped: HDMI-A-2 model: Samsung res: 1920x1080 dpi: 305
    diag: 551mm (21.7")
  OpenGL: renderer: AMD Radeon RX 570 Series (polaris10 LLVM 13.0.1 DRM 3.42 5.15.0-58-generic)
    v: 4.6 Mesa 22.0.5 direct render: Yes
Audio:
  Device-1: Intel 82801JI HD Audio vendor: Lenovo driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
    chip-ID: 8086:3a3e
  Device-2: AMD Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] vendor: Sapphire
    driver: snd_hda_intel v: kernel pcie: speed: 5 GT/s lanes: 4 bus-ID: 01:00.1 chip-ID: 1002:aaf0
  Sound Server-1: ALSA v: k5.15.0-58-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Broadcom NetXtreme BCM5755 Gigabit Ethernet PCI Express vendor: Lenovo driver: tg3
    v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: N/A bus-ID: 05:00.0 chip-ID: 14e4:167b
  IF: ens5 state: down mac: <filter>
  Device-2: Belkin F6D4050 N150 Enhanced Wireless Network Adapter v2000 [Ralink RT3070]
    type: USB driver: rt2800usb bus-ID: 1-1:2 chip-ID: 050d:935b
  IF: wlx002275a27feb state: up mac: <filter>
Drives:
  Local Storage: total: 2.73 TiB used: 842.7 GiB (30.2%)
  ID-1: /dev/sda vendor: Samsung model: SSD 860 QVO 1TB size: 931.51 GiB speed: 3.0 Gb/s
    serial: <filter>
  ID-2: /dev/sdb vendor: Seagate model: ST2000DM001-9YN164 size: 1.82 TiB speed: 3.0 Gb/s
    serial: <filter>
Partition:
  ID-1: / size: 915.32 GiB used: 28.95 GiB (3.2%) fs: ext4 dev: /dev/sda3
  ID-2: /boot/efi size: 512 MiB used: 5.2 MiB (1.0%) fs: vfat dev: /dev/sda2
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) priority: -2 file: /swapfile
USB:
  Hub-1: 1-0:1 info: Full speed or root hub ports: 4 rev: 2.0 speed: 480 Mb/s chip-ID: 1d6b:0002
  Device-1: 1-1:2
    info: Belkin F6D4050 N150 Enhanced Wireless Network Adapter v2000 [Ralink RT3070] type: Network
    driver: rt2800usb rev: 2.0 speed: 480 Mb/s chip-ID: 050d:935b
  Device-2: 1-4:4 info: Realtek USB2.0-CRW type: Mass Storage driver: usb-storage rev: 2.0
    speed: 480 Mb/s chip-ID: 0bda:0181
  Hub-2: 2-0:1 info: Full speed or root hub ports: 8 rev: 2.0 speed: 480 Mb/s chip-ID: 1d6b:0002
  Hub-3: 3-0:1 info: Full speed or root hub ports: 2 rev: 1.1 speed: 12 Mb/s chip-ID: 1d6b:0001
  Device-1: 3-2:2 info: Dell Keyboard SK-8115 type: Keyboard driver: hid-generic,usbhid rev: 1.1
    speed: 1.5 Mb/s chip-ID: 413c:2003
  Hub-4: 4-0:1 info: Full speed or root hub ports: 2 rev: 1.1 speed: 12 Mb/s chip-ID: 1d6b:0001
  Hub-5: 5-0:1 info: Full speed or root hub ports: 2 rev: 1.1 speed: 12 Mb/s chip-ID: 1d6b:0001
  Device-1: 5-2:2 info: A4Tech Optical Mouse WOP-35 / Trust 450L type: Mouse
    driver: a4tech,usbhid rev: 1.1 speed: 1.5 Mb/s chip-ID: 09da:0006
  Hub-6: 6-0:1 info: Full speed or root hub ports: 2 rev: 1.1 speed: 12 Mb/s chip-ID: 1d6b:0001
  Hub-7: 7-0:1 info: Full speed or root hub ports: 2 rev: 1.1 speed: 12 Mb/s chip-ID: 1d6b:0001
  Hub-8: 8-0:1 info: Full speed or root hub ports: 2 rev: 1.1 speed: 12 Mb/s chip-ID: 1d6b:0001
Sensors:
  System Temperatures: cpu: 26.0 C mobo: N/A gpu: amdgpu temp: 44.0 C
  Fan Speeds (RPM): N/A gpu: amdgpu fan: 821
Repos:
  Packages: 2532 apt: 2525 flatpak: 7
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list
    1: deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg] https: //brave-browser-apt-release.s3.brave.com/ stable main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb http: //mirror.metrocast.net/linuxmint-packages vera main upstream import backport
    2: deb http: //gpl.savoirfairelinux.net/pub/mirrors/ubuntu jammy main restricted universe multiverse
    3: deb http: //gpl.savoirfairelinux.net/pub/mirrors/ubuntu jammy-updates main restricted universe multiverse
    4: deb http: //gpl.savoirfairelinux.net/pub/mirrors/ubuntu jammy-backports main restricted universe multiverse
    5: deb http: //security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
Info:
  Processes: 324 Uptime: 34m Memory: 15.62 GiB used: 1.83 GiB (11.7%) Init: systemd v: 249
  runlevel: 5 Compilers: gcc: 11.3.0 alt: 11 Client: Unknown python3.10 client inxi: 3.3.13

Did you do the experiment of encoding on Windows, noting the time taken, then encoding on Linux the same MLT project and then comparing the times? If so, what were the results? If they are drastically different it would possibly indicate a driver problem.

Yes it is drastically drastically different times…

Why would one install say “not found” while others will not?

this happened even in different installs of linux Mint!\

Like you said maybe a driver problem?

Could it be because I was getting “not detected” before that it was giving me a false reading?

This is very strange to me!

What does it say in your logfile?

This topic was automatically closed after 90 days. New replies are no longer allowed.