-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Linux #4
Comments
@jstewart-amd can you write any notice about plans for it? |
For this project, I am basically just the GitHub monkey. I'll ping the AMF team for comment. |
@jstewart-amd Hey bro! Any news? Will be rly cool to know when AMD will support Linux :3 |
This would really be nice to have in the future. On Linux all the APIs that would be needed are Host, Vulkan and OpenGL, with Vulkan being optional / in the future. |
Your request has been forwarded to the AMF developers. Unfortunately, we are unable to provide any information on LINUX AMF support but we really appreciate you sending this feedback. |
This is probably a question that isn't exactly related to this SDK, but does VAAPI encoding work well enough to be used with official AMD drivers on linux (debian, ubuntu)? |
So far AMD did not provide VAAPI encoder, decoder only. |
Ah okay, so it's probably something that the community mesa driver provides. |
I'm assuming by unable to provide any information on GNU/Linux AMF support but thanks for the feedback that you mean it's not going to come? If that's the case, wouldn't it be better to close the ticket so people don't get their hopes up? Otherwise, I'm a bit confused by there not going to be information about it but the ticket still being open like there might be information about it... |
When could we expect AMD Video Encoding (VCE) in OBS Studio / Linux? It's about time! PS: For me it works using...
Can't that feature being used on OBS? |
You are asking in the wrong place. Someone has already started a vaapi plugin: https://obsproject.com/forum/threads/experimental-ffmpeg-vaapi-plugin.61529/ |
I wonder how long will it take to implement AMF for Linux? |
Well, these brothers have a lot on their plate at the moment. Hopefully they will get to it. |
Another vote for this! |
Any updates on plans for linux port ? I am thinking of starting a port myself, but if there is already some work done at AMD, it would be nice to know this before I get started. |
Looking forward to some news related to AMF Linux ports. |
There is a lot of work on kernel mode and user mode drivers. AMF runtime is an easy part. We are working on this. No comments on the date and feature set. |
When could we expect AMD Video Encoding (VCE) in OBS Studio / Linux? |
I cannot comment on dates. It is in progress. |
@MikhailAMD Is there any rough guesstimate like "most likely within Q1 2018" or "when kernel version 4.15 releases" or something like that? Also is it true that the encoding performance of VCE is lower for polaris cards like the rx 480? |
See, I am responsible for AMF runtime but several other driver components are involved. They don't want to publicly state their schedule, which may change based on other projects. I was assured that they are committed to finish the work in reasonable time. |
We really need AMF to work on linux too(we are using CentOS). So is there a schedule for this? |
Understood. I cannot share the schedule but this is work in progress. But check existing drivers if they work for your OS. |
Another vote for this. |
Does it work now? VCE seems implemented with handbreak now. |
@MikhailAMD yes I know.. but is missing.. decompressed amdgpu-pro-20.20-1089974-ubuntu-20.04 file and can't find any deb file |
I understand with this that amf is better than vaapi for using those things like vulkan and synchronisation things. Right? In that terms any app that can use both are going to be more performance with amf rather than vaapi. Right? |
AMF on open source driver would be possible once Khronos finalizes specs for Vulkan encoder and decoder extensions and AMD implements them. I can only provide general thoughts about comparative performance on both APIs: The performance depends on several factors:
|
Hi @MikhailAMD , |
Yes, we just found that AMF is missing in the driver for Ubuntu 20.04 by an accident. Working on restoration ASAP and prevention for the future. I will post updates. |
might also be a problem w/ the dkms on 20.04: |
AMF is back in the latest LTS 20.04 driver. amdgpu-pro-20.20-1098277-ubuntu-20.04.tar.xz
|
@nyanmisaka Thank you, just wanted to post this info here. |
plzz? |
Hello, has anyone had their amf encoder hang when receiving frame using avcodec's avcodec_send_frame? I am using the latest drivers amdgpu-pro-20.40-1147287 for ubuntu 18.04 and a Radeon 5700XT. |
Could you please share command line and input clip if possible? |
Unfortunately it is not possible since I have code that uses the avcodec library (not ffmpeg command), and I am passing a blank black image to the encoder (as a test). The 1st call to avcodec_send_frame hangs and no error code is returned. |
Here are few things you can do:
|
Can you please direct me to what and where is the AMF sample, and some information regarding this adapter for AMF traces? I am mostly unfamiliar with ffmpeg or AMF and only used avcodec encode/decode functionality through libx264 and nvenc which did not require any advanced knowledge. |
Here is full AMF SDK: https://github.com/GPUOpen-LibrariesAndSDKs/AMF |
What is the state of HEVC support in AMF for Linux? |
Yes, there are definite plans. I cannot provide a date though.. |
I would like to close this general issue and discuss problems and questions separately. |
Hi Mikhail! As of the end of 2021, the open source standard for Vulkan Video has been published by Khronos group. Any progress on making Vulkan Video extensions public available and adopt them by AMF?
|
Hi, few notes:
|
When will AMF have HEVC (H.265) encoding support for Ubuntu Linux? |
It is supported for a while. Install the latest proprietary Ubuntu driver for supported distro and add optional AMF package: |
Is this only supported on RX5000 and RX6000?
|
Sorry, correction: On Linux, HEVC is supported in RX5000 and RX6000 only. From the log it seems you have older GPU. |
i get this error using a compiled FFMPEG (--enable-vaapi --enable-amf --enable-nonfree) in ubuntu with AMF I have pro drivers and amf in drivers, too workstation. |
For video transcoding, Linux is an ideal platform. And for this use case, no Vulkan support is necessary, just access to hardware decode/encode.
The text was updated successfully, but these errors were encountered: