Open markg85 opened 11 months ago
The issue when encoding AV1 on Linux with a GPU such as Radeon RX 7900 XT is known. We are working on this and it will be fixed in an upcoming driver release.
I'm looking forward to that! Any hint on which driver version that might be?
Any update here? Is there a release where this work? I just tried it again and at least on ffmpeg 6.1.1 it still freezes the gpu. Do note that this is the ffmpeg from arch (aka, mostly vanilla), it's not a special flavor.
A fix has been made internally and will be available in a future public driver release. We will notify when the exact release is made publicly available.
(this post is all in an ffmpeg + linux mindset!)
Hi @rhutsAMD,
That is great to hear! I do hope "future" means "next release" or "this year" at the latest.
It's also very disappointing that it's taken this long. This card was unveiled on November 3rd 2022 in an AMD press release with AV1 being mentioned no less then 7 times out of which 6 were in the context of encoding!
We're about 18 months further now and still AV1 encoding just doesn't work. That's a shame for a high end card costing near a thousand bucks.
To end on a positive complementary note. The linux support outside of AV1 is commendable! I'm happy i got this card to work mere months after release on Linux with only minimal issues. That includes hardware video decoding working out of the box! That's all very commendable! Nicely done! It's one of many reasons for me to pick AMD over that other GPU vendor.
Still no release date?
Hi, we understand the frustration, but public Linux drivers are not updated as often as Windows drivers. The fix is coming in the next Linux driver release.
I'm curious if that next version is just an AMF update that others can use. By which i intent to say that it's a backwards compatible library update that just works. Or does it mean that the next AMF release makes it work (from an AMF point of view) and that the next ffmpeg release (so after that next AMF release) will be the one where it's fixed in the full stack?
If it's the later then we're waiting on:
Which could still mean next year in terms of general availability.
Describe the bug Encoding a video with
amf_av1
causes system to freeze. Only a hard reset solves it. Ex.ffmpeg -i <input> -pix_fmt yuv420p -c:v av1_amf -y <output>
To Reproduce Steps to reproduce the behavior:
ffmpeg -i <input> -pix_fmt yuv420p -c:v av1_amf -y <output>
Setup (please complete the following information):
Debug Log (please upload or paste): Unable to see, system freezes
Expected behavior Don't freeze, encode as instructed.
Screenshots N/A
Additional context I can encode with
hevc_amf
just fine which leads me to think the drivers are properly loaded. Also note that i'm prefixing my ffmpeg commands withvk_pro
(according to this documentation) which essentially loads the drivers for the command that follows it.I'll happily provide debug logging but having a system freeze makes this very difficult. Even if i'd see logging, i still can't copy it as - well - freeze.. can't do anything besides a hard reset.