Skip to content

add amd gpu driver#401

Open
mikey0000 wants to merge 3 commits intojlesage:masterfrom
mikey0000:amd-support
Open

add amd gpu driver#401
mikey0000 wants to merge 3 commits intojlesage:masterfrom
mikey0000:amd-support

Conversation

@mikey0000
Copy link

in theory support should just be the same as intel quick sync. I've yet to try it out but will do so soon.

@jlesage
Copy link
Owner

jlesage commented Apr 2, 2025

The INSTALL_PACKAGES variable can be used to try.

@mikey0000
Copy link
Author

mikey0000 commented Apr 16, 2025

version: '3'
services:
  handbrake:
    environment:
      INSTALL_PACKAGES: linux-firmware-amdgpu
    image: jlesage/handbrake
    ports:
      - "5800:5800"
    volumes:
      - "/docker/appdata/handbrake:/config:rw"
      - "/home/user:/storage:ro"
      - "/home/user/HandBrake/watch:/watch:rw"
      - "/home/user/HandBrake/output:/output:rw"
      - "/opt/amdgpu...:/opt/amdgpu"
    devices:
      - /dev/dri:/dev/dri

along with the amdgpu-install instructions for the host

I see GPU use spike here and there with the encoding but I'm unsure if I should be witnessing higher spikes on my 7900XTX
seeing odd spikes to 33% - 40% or so but still mostly CPU using VCN preset or H256
Both running handbrake directly and via docker-compose result in the same behaviour.

EDIT: I compiled ffmpeg with VCN support to compare, it seems the VCE support in Handbrake isn't working in this image. At least compared to ffmpeg on its own.

I can get encoding to work on Handbrake using the flatpak version.

@mikey0000 mikey0000 force-pushed the amd-support branch 2 times, most recently from 6b28c86 to e54016d Compare April 16, 2025 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants