mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
[Issue]: hardware acceleration doesn't work on amdgpu while playing bluray HEVC video #3373
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @PetrusZ on GitHub (Nov 13, 2021).
Please describe your bug
I'm using jellyfin/jellyfin:unstable docker image. Hardware acceleration doesn't work on amdgpu while playing UHD Blu-ray HEVC video, the CPU usage is 100%. Ffmpeg log says:
And radeontop usage is 0.00%.
But on another non-bluray video, HMAX.WEB-DL.HDR.HEVC, hardware acceleration works fine. And the radeontop pipe usage is around 20%. BTW, is it normal that radeontop Graphics pipe usage is only 20%?
I use ffmepg to check codec info, the blu-ray video shows:
The non-bluray video shows:
Jellyfin Version
Other
if other:
10.8.0
Environment
Jellyfin logs
FFmpeg logs
Please attach any browser or client logs here
No response
Please attach any screenshots here
Code of Conduct
@jellyfin-bot commented on GitHub (Mar 14, 2022):
This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments.
If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or master branch, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label.
This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on Matrix or Social Media.
@Shadowghost commented on GitHub (Mar 14, 2022):
Are you sure you've enabled hardware acceleration? Your logs say that everything happens in software.
@PetrusZ commented on GitHub (Mar 14, 2022):
Yeah, definitly.
@nyanmisaka commented on GitHub (Jun 18, 2022):
Is this still an issue in 10.8.0 release?
@PetrusZ commented on GitHub (Jun 18, 2022):
Looks like it's still an issue. I forget how to check stream mapping info, but I can see radeontop's Graphics pipe usage is still 0%, and my CPU usage is around 70%-80%.
@nyanmisaka commented on GitHub (Jun 18, 2022):
The radeontop from ubuntu distro is too old to show Raven APU. It's impossible to be zero in all pipes since you are in the desktop environment.
Also you should check all available video decoders and encoders. FFmpeg should be updated to jellyfin-ffmpeg 5.0.1-5 or newer.
@PetrusZ commented on GitHub (Jun 18, 2022):
Checked, video decoders and encoders are same as your picture, jellyfin-ffmpeg version is ffmpeg version 5.0.1-Jellyfin.
@nyanmisaka commented on GitHub (Jun 18, 2022):
Can you share a new ffmpeg transcode log?
@PetrusZ commented on GitHub (Jun 18, 2022):
May be tomorrow? Is 2 am here, I need to sleep. And I forget how to get ffmpeg transcode log.
@nyanmisaka commented on GitHub (Jun 18, 2022):
Sure. Thanks.
@PetrusZ commented on GitHub (Jun 19, 2022):
Hi @nyanmisaka , it's my ffmpeg log, I trimed a bit redundance.
@nyanmisaka commented on GitHub (Jun 19, 2022):
This should be fixed in 10.8.1.
@PetrusZ commented on GitHub (Jun 19, 2022):
Thanks!
@srcrist commented on GitHub (Oct 5, 2023):
Issue closed by https://github.com/jellyfin/jellyfin/pull/7968