obs-amd-encoder
obs-amd-encoder copied to clipboard
[tracker] Linux support in 2020.
Description
The complete Linux support (all distribution). Gentoo linux e.g. AMF is open-source and supports Linux now https://github.com/GPUOpen-LibrariesAndSDKs/AMF
System Information
rarogcmex@RarogCmexEngine ~ $ uname --all Linux RarogCmexEngine 5.4.6-ck-RarogCmex #3 SMP PREEMPT Sun Jan 12 19:40:04 +05 2020 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
Checklist:
- [x] I have read the contribution guidelines.
- [x] This is not a bug, crash or generic issue.
Please don't close its because it should be used as tracker for all Linux-related things
Linux support is not planned for this project. Please use alternatives like ffmpeg and VAAPI instead, which have much wider support.
See #335, #361. Unless someone else picks up Linux integration, nothing will change with that plan.
Ok, so we should wait. Well, but alternative -- obs ffmpeg encoder is dead, isnt it? I couldn't get it working.
obs-ffmpeg-encoder is merged into obs-streamfx. It still needs work, but at the moment I am prioritizing paid work and secret projects.
Agree too, we need AMF plugin for Linux, because (or I don't know how to) we can't set preset profiles (quality, balanced, speed) in VAAPI way on OBS for a great video encoding offload.
Please someone add AMF, FFMPEG seems only record 1080p30fps on my mid range amd gpu.
any update recently?
There's obs-studio-amf package that used to work like a month or two ago but I just tried it and it doesn't compile. I didn't try to just bump up versions in PKGBUILD file because of the AUR comment:
Since OBS 30.0 has been released, I'll close the package.
The person who did the patch to enable AMF Encoding says that now the quality with FFMPEG has been fixed on AMD Cards (https://github.com/obsproject/obs-studio/pull/9179)
Since the MR in closed and the patch no longer maintained I would close this AUR package.
So it sounds like if someone was to update the patch for OBS 30, it'd be working.
I tried OBS 30 without the patch with ffmpeg-obs and it works fine, I can record with HEVC Main and Main10 through VAAPI without issues - it's in Advanced view only, doesn't show in Simple.
That would be interesting, there's already nvenc. The AMF encoder is only available with the amdgpupro driver while the free amdgpu driver is equally powerful or faster. Is there really a benefit over VAAPI (cpu, gpu, bus loads)?
I've tested recording a video on arch Linux with AMF using the closed source AMD driver AMDGPU and it records correctly on OBS
sudo pacman -S obs-studio
or
paru -S obs-studio-git
More info
- I can record correctly on 8 and 10 bits on hyprland (wayland).
- Note that you don't need to run the AMDGPU driver system wide. You can install the driver in /opt/ and start OBS the next way even if your system is currently running the RADV driver, or any other.
AMD_VULKAN_ICD=RADV-PRO VK_ICD_FILENAMES=/opt/amdgpu-pro/etc/vulkan/icd.d/amd_icd64.json obs
What doesn't work yet
- I can't choose AMF for streaming. → Not a big deal because no streaming service support it yet anyway.
AMD_VULKAN_ICD=RADV-PRO VK_ICD_FILENAMES=/opt/amdgpu-pro/etc/vulkan/icd.d/amd_icd64.json obs
Not working with 30.0.2-2, neither with git. Also running hyprland.
On Arch based distros there's AUR package obs-studio-av1
that brings a patched version of latest OBS Studio, it supports FFmpeg AV1. Works fine on open driver.
Since tuesday that's no longer necessary with obs-studio-git