Its been a week since i don’t have AMD encoder anymore,
im not a developer and my english has it limite but when i read that : https://aur.archlinux.org/packages/obs-studio-amf it seem the guy managing that package just stoped ?
So how can i have AV1 hardware back ?
thanks in advance
pebcak
November 22, 2023, 12:14pm
2
There is a link in the package maintainer’s comment :
obsproject:master
← nowrep:vaapi-occupancy
opened 05:33AM - 30 Jun 23 UTC
Default ffmpeg initial buffer fullness (75%) is too low and results in significa… ntly lower video quality on AMD cards.
Changing it to 100% fixes the quality and also matches what AMF encoder is doing.
### Description
Set HRD initial buffer fullness to 100% to fix video quality on AMD cards.
### Motivation and Context
Encoded video quality on AMD cards is rather bad with default settings at low bitrates (6000kbps).
### How Has This Been Tested?
Tested on ArchLinux with mesa 23.1.3 and 7900XTX.
### Types of changes
- Tweak (non-breaking change to improve existing functionality)
### Checklist:
- [x] My code has been run through [clang-format](https://github.com/obsproject/obs-studio/blob/master/.clang-format).
- [x] I have read the [**contributing** document](https://github.com/obsproject/obs-studio/blob/master/CONTRIBUTING.rst).
- [x] My code is not on the master branch.
- [x] The code has been tested.
- [x] All commit messages are properly formatted and commits squashed where appropriate.
- [x] I have included updates to all appropriate documentation.
Default ffmpeg initial buffer fullness (75%) is too low and results in significantly lower video quality on AMD cards.
Changing it to 100% fixes the quality and also matches what AMF encoder is doing.
Looks like the proposed change has already been merged into the code.
i still dont have any AMD encoder, VAAPI can’t av1 hardware either. For my rx 7900 xt its a lose since the strenght of this gpu is to be able to AV1 hardware
I0F
November 22, 2023, 12:56pm
4
Did you install libva-mesa-driver ?
According to the wiki VAAPI can AV1 with that.
yeah i re-installed it but no avi from vaapi (av1) for hardware
from this : https://wiki.archlinux.org/title/Hardware_video_acceleration#Verification:~:text=VA-API.-,Verifying%20VDPAU,-Install%20vdpauinfo%20to
Decoder capabilities:
AV1_MAIN — not supported —
AV1_HIGH — not supported —
AV1_PROFESSIONAL — not supported —
I0F
November 23, 2023, 6:39am
7
You are checking VDPAU, but we need to check VAAPI.
Install libva-utils and run vainfo. Check for every “AV1” string entry and if it has VAEntrypointEncSlice
behind it. See the arch wiki .
Preferably, post the output of the command here.
$ vainfo
Trying display: wayland
Trying display: x11
vainfo: VA-API version: 1.20 (libva 2.20.0)
vainfo: Driver version: Mesa Gallium driver 23.2.1-arch1.2 for AMD Radeon RX 7900 XT (gfx1100, LLVM 16.0.6, DRM 3.54, 6.6.2-arch1-1)
vainfo: Supported profile and entrypoints
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileHEVCMain : VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointEncSlice
VAProfileHEVCMain10 : VAEntrypointVLD
VAProfileHEVCMain10 : VAEntrypointEncSlice
VAProfileJPEGBaseline : VAEntrypointVLD
VAProfileVP9Profile0 : VAEntrypointVLD
VAProfileVP9Profile2 : VAEntrypointVLD
VAProfileAV1Profile0 : VAEntrypointVLD
VAProfileAV1Profile0 : VAEntrypointEncSlice
VAProfileNone : VAEntrypointVideoProc
I0F
November 23, 2023, 1:42pm
9
AV1 support seems to be there.
I have one last thing you could try. In the AUR there is obs-vaapi . Other than that I’m out of ideas. Sorry.
thanks a lot of new encoder just pop !
ill try them and update latter
Edit : still no AVI yet
Edit : https://github.com/fzwoch/obs-vaapi/issues/6
"
AV1 support requires up-stream merge of the AV1 encoder element:
Currently scheduled for GStreamer 1.24 inclusion."
i currently use the 1.22.7
OBS does not support AV1 via VA-API. There’s a merge request for it: https://github.com/obsproject/obs-studio/pull/8832
Afaik OBS Linux AV1 is implemented for Intel’s Arc GPUs via QSV at the moment only.
1 Like
Gamall
November 23, 2023, 5:30pm
12
I was wondering why I didn’t get AV1 for my 4070…
So i guess next patch ?
aniways thanks for the information