Closed boxerab closed 3 years ago
@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 Thanks
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...
ffmpeg -vaapi_device /dev/dri/renderD129 -i input.mp4 -vf 'format=nv12,hwupload' -c:v h264_vaapi output.mkv
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? Hope AMD isn't too late to the party.
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. It is all relative. Compare to which card?
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.
It is coming.
Will Linux be using VAAPI or AMD's AMF library? Or will both be available?
Open source driver already has VAAPI and closed source driver will have AMF working on Vulkan.
So, that's a yes? For HW encoding? in linux?
Why not?
The ending to this thread is a bit confusing. AMF is coming to Linux but by judging from your response, there's already VAAPI and somehow closed source AMF will do something with Vulkan? I am even more confused. I don't know what's the purpose of AMF on Linux. And VAAPI, you've indicated few times, is a community project not directly supported by AMD. People in past have been reluctant to support VAAPI because, apparently it's not stable enough. Sooo, even more confused again.
This forum is for AMF so I would leave VAAPI aside. When an app does encoding or decoding using HW often it is about making GPU pipeline. For example render game, apply color conversion, submit to HW encoder. For maximum throughoutput and minimum latency it is important that frames stay in video memory and are not transferred to system memory and back. To achieve this all components of video pipeline should use the same API. For AMF on Windows it is D3D9 or D3D11. Also OpenCL has interop with both as well as with OpenGL. On Linux our choice is Vulkan. It provides best access to GFX and Compute HW queues and maximally suites multimedia needs. Note that AMF will support Vulkan on Windows as well. If an application submits a frame in system memory, choice of API doesn't really matter.
"This forum is for AMF so I would leave VAAPI aside" I asked "So, that's a yes? For HW encoding? in linux?" So AMF is not coming to linux?
AMF is coming on Linux. It will provide access to HW encoding and decoding on AMD GPUs with submission of Vulkan 2d images or host/system memory.
Thank you!
in fact is here with amdgpu-pro 18.30: amf-amdgpu-pro_1.4.9-633530_amd64.deb installs at /opt/amdgpu-pro/lib/x86_64-linux-gnu: lrwxrwxrwx 1 root root 15 Aug 3 19:47 libamfrt64.so -> libamfrt64.so.1 lrwxrwxrwx 1 root root 19 Aug 3 19:47 libamfrt64.so.1 -> libamfrt64.so.1.4.9 -rw-r--r-- 1 root root 3397408 Aug 3 19:47 libamfrt64.so.1.4.9 @MikhailAMD can update SDK with some sample for Linux?
Coming pretty soon
I'm looking forward to adding Linux support to the OBS AMD Encoder.
Nice.. keep us updated on this thread please, @Xaymar ..
@Xaymar SDK with Linux support has been shipping for two weeks.. any news on OBS AMD Encoder Linux support?
There are no Debian drivers. AMD only allows Ubuntu users to install their drivers, so the only thing that I can use is VAAPI, and someone already made a plugin for that.
Coming pretty soon
@MikhailAMD Do you still plan to publish SDK sample usage for Linux?
In the resent AMF update (v1.4.9) Linux support was added including Linux support in most of samples.
Is this only supported by the AMDGPU-PRO driver? I'm using an embedded amd chipset (E91xx) which only has the amdgpu driver available from what I can tell.
For open source driver you can look for VAAPI.
Why is only VAAPI supported?
Why is only VAAPI and therefore libva supported rather than ffmpeg?
We are investigating use of VAAPI on embedded chipsets. Do you know if it will work with both the open source 'radeon' driver and the AMD Catalyst 'fglrx' driver on older GPUs? Has it been tested on newer GPUs with the 'amdgpu' driver. I'm having difficulty finding resources online specific for AMD gpus w/ VAAPI.
Few topic to cover:
More info from Linux team:
For video transcoding, Linux is an ideal platform. And for this use case, no Vulkan support is necessary, just access to hardware decode/encode.