x264 is only available encoder for Streaming

sneedmoder18

New Member
I'm kind of new to Linux so this could be a very easy fix but I am trying to start streaming on Arch Linux. However, the only encoder available on the Streaming tab for output on settings is x264 (as far as I'm aware this is a software encoder, and would not be using my GPU). AOM AV1 and SVT-AV1 are both available as encoders for recording, just not streaming. I am using Arch Linux with an AMD RX 6800 GPU. This is the output when I start OBS via terminal.

[aubrey@claire-v3 ~]$ obs debug: Found portal inhibitor debug: Attempted path: /usr/bin/../share/obs/obs-studio/locale/en-US.ini debug: Attempted path: /usr/bin/../share/obs/obs-studio/locale.ini debug: Attempted path: /usr/bin/../share/obs/obs-studio/locale/en-GB.ini info: Using preferred locale 'en-GB' debug: Attempted path: /usr/bin/../share/obs/obs-studio/themes debug: Attempted path: /usr/bin/../share/obs/obs-studio/themes/ warning: ReadOne on org.freedesktop.portal.Settings returned an invalid reply info: Using EGL/X11 info: CPU Name: AMD Ryzen 5 4600G with Radeon Graphics info: CPU Speed: 4292.033MHz info: Physical Cores: 6, Logical Cores: 12 info: Physical Memory: 15803MB Total, 9578MB Free info: Kernel Version: Linux 6.10.6-arch1-1 info: Distribution: "Arch Linux" Unknown info: Desktop Environment: KDE (KDE) info: Session Type: x11 info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.21.1 info: Qt Version: 6.7.2 (runtime), 6.7.2 (compiled) info: Portable mode: false info: OBS 30.2.1-1 (linux) info: --------------------------------- info: --------------------------------- info: audio settings reset: samples per sec: 48000 speakers: 2 max buffering: 960 milliseconds buffering type: dynamically increasing info: --------------------------------- info: Initializing OpenGL... info: Loading up OpenGL on adapter AMD AMD Radeon RX 6800 (radeonsi, navi21, LLVM 18.1.8, DRM 3.57, 6.10.6-arch1-1) info: OpenGL loaded successfully, version 4.6 (Core Profile) Mesa 24.1.6-arch1.1, shading language 4.60 info: --------------------------------- info: video settings reset: base resolution: 1920x1080 output resolution: 1280x720 downscale filter: Bicubic fps: 60/1 format: NV12 YUV mode: Rec. 709/Partial info: NV12 texture support enabled info: P010 texture support not available info: Audio monitoring device: name: Default id: default info: --------------------------------- warning: Failed to load 'en-US' text for module: 'decklink-captions.so' warning: Failed to load 'en-US' text for module: 'decklink-output-ui.so' libDeckLinkAPI.so: cannot open shared object file: No such file or directory warning: A DeckLink iterator could not be created. The DeckLink drivers may not be installed warning: Failed to initialize module 'decklink.so' info: [pipewire] Available capture sources: info: [pipewire] - Monitor source info: [pipewire] - Window source warning: v4l2loopback not installed, virtual camera not registered error: VAAPI: Failed to initialize display in vaapi_device_h264_supported info: FFmpeg VAAPI H264 encoding not supported error: VAAPI: Failed to initialize display in vaapi_device_av1_supported info: FFmpeg VAAPI AV1 encoding not supported error: VAAPI: Failed to initialize display in vaapi_device_hevc_supported info: FFmpeg VAAPI HEVC encoding not supported info: --------------------------------- info: Loaded Modules: info: text-freetype2.so info: rtmp-services.so info: obs-x264.so info: obs-webrtc.so info: obs-vst.so info: obs-transitions.so info: obs-qsv11.so info: obs-outputs.so info: obs-libfdk.so info: obs-filters.so info: obs-ffmpeg.so info: linux-v4l2.so info: linux-pulseaudio.so info: linux-pipewire.so info: linux-jack.so info: linux-capture.so info: linux-alsa.so info: image-source.so info: frontend-tools.so info: decklink-output-ui.so info: decklink-captions.so info: --------------------------------- info: --------------------------------- info: Available Encoders: info: Video Encoders: info: - ffmpeg_svt_av1 (SVT-AV1) info: - ffmpeg_aom_av1 (AOM AV1) info: - obs_x264 (x264) info: Audio Encoders: info: - ffmpeg_aac (FFmpeg AAC) info: - ffmpeg_opus (FFmpeg Opus) info: - ffmpeg_pcm_s16le (FFmpeg PCM (16-bit)) info: - ffmpeg_pcm_s24le (FFmpeg PCM (24-bit)) info: - ffmpeg_pcm_f32le (FFmpeg PCM (32-bit float)) info: - ffmpeg_alac (FFmpeg ALAC (24-bit)) info: - ffmpeg_flac (FFmpeg FLAC (16-bit)) info: - libfdk_aac (libfdk AAC) info: ==== Startup complete =============================================== info: All scene data cleared info: ------------------------------------------------ info: pulse-input: Server name: 'PulseAudio (on PipeWire 1.2.2) 15.0.0' info: pulse-input: Audio format: s16le, 48000 Hz, 2 channels info: pulse-input: Started recording from 'alsa_output.usb-Razer_Razer_Kraken_Ultimate_00000000-00.analog-stereo.monitor' (default) info: [Loaded global audio device]: 'Desktop Audio' info: pulse-input: Server name: 'PulseAudio (on PipeWire 1.2.2) 15.0.0' info: pulse-input: Audio format: s16le, 48000 Hz, 1 channels info: pulse-input: Started recording from 'alsa_input.usb-Razer_Inc_Razer_Seiren_Mini_UC2103L03402623-00.mono-fallback' (default) info: [Loaded global audio device]: 'Mic/Aux' info: [window-capture: 'Window Capture (Xcomposite)'] update settings: title: Prism Launcher: b1.7.3 class: sun-awt-X11-XFramePeer info: Switched to scene 'Scene' info: ------------------------------------------------ info: Loaded scenes: info: - scene 'Scene': info: - source: 'Window Capture (Xcomposite)' (xcomposite_input) info: ------------------------------------------------ info: adding 21 milliseconds of audio buffering, total audio buffering is now 21 milliseconds (source: Desktop Audio) warning: ReadOne on org.freedesktop.portal.Settings returned an invalid reply warning: ReadOne on org.freedesktop.portal.Settings returned an invalid reply warning: OpenType support missing for "Open Sans", script 11 warning: OpenType support missing for "Open Sans", script 12 warning: OpenType support missing for "Open Sans", script 16 warning: OpenType support missing for "Open Sans", script 20 info: adding 64 milliseconds of audio buffering, total audio buffering is now 85 milliseconds (source: Mic/Aux)
1724533073409.png

1724532997158.png
 

Tuna

Member
> error: VAAPI: Failed to initialize display in vaapi_device_h264_supported

Seems like you system does not expose access to the hardware encoder.
 
Top