this post was submitted on 16 Jan 2024
28 points (88.9% liked)

Linux

48302 readers
858 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I went out and got the AMD 7800xt to do ultrafast AV1 encoding of large h264 and hevc files.

I am able to select VCN acceleration options in Windows but not Linux Handbrake.

I have tried the flatpak and both the Pop_OS and ppa deb packages of Handbrake. I have the latest mesa driver and am running the most current version of PopOS 22.04. I've had no issues gaming at all, just with picking the hardware encoder in Handbrake. Any ideas or rabbit holes I can go down?

top 11 comments
sorted by: hot top controversial new old
[–] db2@lemmy.world 6 points 10 months ago (2 children)

Check which version of ffmpeg it's using and whether it has hardware acceleration for that codec.

Also bear in mind that you can't hardware decode and hardware encode at the same time on the same device. If that's what you're trying to do it's probably falling back on software silently in Windows instead of telling you.

[–] xyguy@startrek.website 2 points 10 months ago

I saw that in the docs. I am only interested in encoding in AV1. My CPU is a 5900x so it's decent enough at decoding. I'll check ffmpeg settings.

[–] ryannathans@aussie.zone 1 points 10 months ago (1 children)

Why can't you decode and encode on the same device at the same time? I thought you could do a couple in parallel (but haven't done so in a while)

[–] db2@lemmy.world 1 points 10 months ago (1 children)

Because one process will be running on the hardware, because of the way it works it can't really share that hardware between processes. I'm not sure if that's entirely a hardware limitation, but it seems to be enough of one that software hasn't overcome it.

[–] ryannathans@aussie.zone 1 points 10 months ago

What if that process had multiple streams to decode/encode?

[–] taaz@biglemmowski.win 6 points 10 months ago (1 children)

Does handbrake use ffmpeg under the hood? If yes you might want to have a look if ffmpeg can see/use the hwenc.

[–] xyguy@startrek.website 2 points 10 months ago

I'll check the ffmpeg settings. Thanks.

[–] cybersandwich@lemmy.world 3 points 10 months ago (1 children)

Are you using the amdgpu ?

[–] xyguy@startrek.website 2 points 10 months ago (1 children)
[–] Antiochus@lemmy.one 2 points 9 months ago (1 children)

You need to use amdgpu-pro, according to the page here. I tried installing the pro drivers on Linux Mint a few weeks ago and still couldn't get hardware acceleration in Handbrake to work, but it might be worth a shot.

[–] xyguy@startrek.website 1 points 9 months ago

I tried this and also had no luck. Oh well.