Unable to record with QSV encoder - Fedora 39

leod

New Member
Hi,
My system is:

Fedora 39 KDE spin
Wayland session
OBS 30.0.0 from Flathub

When I open Settings -> Output, I can see Quicksync there.

Screenshot_20231128_095548.png


If I select QuickSync, when I click to record, I get an error.

Screenshot_20231128_095942.png


I have 2 GPUs:

Code:
lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Raptor Lake-S GT1 [UHD Graphics 770] (rev 04)
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 23 [Radeon RX 6600/6600 XT/6600M] (rev c7)

My 2 monitors are connected to the AMD gpu. The integrated GPU (intel) is also enabled (but no monitor is connected to it).

OBS logs:

-
Code:
09:45:36.902: Platform: Wayland
09:45:36.902: CPU Name: 13th Gen Intel(R) Core(TM) i9-13900K
09:45:36.902: CPU Speed: 3401.281MHz
09:45:36.902: Physical Cores: 24, Logical Cores: 32
09:45:36.902: Physical Memory: 64026MB Total, 60340MB Free
09:45:36.902: Kernel Version: Linux 6.5.12-300.fc39.x86_64
09:45:36.902: Flatpak Branch: stable
09:45:36.902: Flatpak Arch: x86_64
09:45:36.902: Flatpak Runtime: runtime/org.kde.Platform/x86_64/6.5
09:45:36.902: App Extensions:
09:45:36.902:  - com.obsproject.Studio.Locale
09:45:36.902: Runtime Extensions:
09:45:36.902:  - org.freedesktop.Platform.GL.default
09:45:36.902:  - org.freedesktop.Platform.VAAPI.Intel
09:45:36.902:  - org.freedesktop.Platform.openh264
09:45:36.902:  - org.gtk.Gtk3theme.Breeze
09:45:36.902:  - org.kde.Platform.Locale
09:45:36.902:  - org.freedesktop.Platform.GL.default
09:45:36.902: Flatpak Framework Version: 1.15.4
09:45:36.902: Desktop Environment: KDE (KDE)
09:45:36.902: Session Type: wayland
09:45:36.904: Qt Version: 6.5.3 (runtime), 6.5.3 (compiled)
09:45:36.904: Portable mode: false
09:45:36.931: OBS 30.0.0 (linux)
09:45:36.931: ---------------------------------
09:45:36.931: ---------------------------------
09:45:36.931: audio settings reset:
09:45:36.931:     samples per sec: 48000
09:45:36.931:     speakers:        2
09:45:36.931:     max buffering:   960 milliseconds
09:45:36.931:     buffering type:  dynamically increasing
09:45:36.933: ---------------------------------
09:45:36.933: Initializing OpenGL...
09:45:36.934: Using EGL/Wayland
09:45:36.997: Initialized EGL 1.5
09:45:37.011: Loading up OpenGL on adapter AMD AMD Radeon RX 6600 (navi23, LLVM 15.0.7, DRM 3.54, 6.5.12-300.fc39.x86_64)
09:45:37.011: OpenGL loaded successfully, version 4.6 (Core Profile) Mesa 23.1.9 (git-acb5ee278a), shading language 4.60
09:45:37.035: ---------------------------------
09:45:37.035: video settings reset:
09:45:37.035:     base resolution:   1920x1080
09:45:37.035:     output resolution: 1920x1080
09:45:37.035:     downscale filter:  Bicubic
09:45:37.035:     fps:               60/1
09:45:37.035:     format:            NV12
09:45:37.035:     YUV mode:          Rec. 709/Partial
09:45:37.036: NV12 texture support not available
09:45:37.036: P010 texture support not available
09:45:37.038: Audio monitoring device:
09:45:37.038:     name: Default
09:45:37.038:     id: default
09:45:37.039: ---------------------------------
09:45:37.048: No AJA devices found, skipping loading AJA UI plugin
09:45:37.048: Failed to initialize module 'aja-output-ui.so'
09:45:37.057: No AJA devices found, skipping loading AJA plugin
09:45:37.057: Failed to initialize module 'aja.so'
09:45:37.059: Failed to load 'en-US' text for module: 'decklink-captions.so'
09:45:37.062: Failed to load 'en-US' text for module: 'decklink-output-ui.so'
09:45:37.064: A DeckLink iterator could not be created.  The DeckLink drivers may not be installed
09:45:37.064: Failed to initialize module 'decklink.so'
09:45:37.200: [pipewire] Available captures:
09:45:37.200: [pipewire]     - Desktop capture
09:45:37.200: [pipewire]     - Window capture
09:45:37.214: v4l2loopback not installed, virtual camera disabled
09:45:37.221: [obs-browser]: Version 2.22.1
09:45:37.221: [obs-browser]: CEF Version 103.0.5060.134 (runtime), 103.0.0-5060-shared-textures.2594+g17f8588+chromium-103.0.5060.134 (compiled)
09:45:37.247: VAAPI: API version 1.18
09:45:37.248: FFmpeg VAAPI H264 encoding supported
09:45:37.251: FFmpeg VAAPI HEVC encoding supported
09:45:37.335: [obs-websocket] [obs_module_load] you can haz websockets (Version: 5.3.3 | RPC Version: 1)
09:45:37.335: [obs-websocket] [obs_module_load] Qt version (compile-time): 6.5.3 | Qt version (run-time): 6.5.3
09:45:37.335: [obs-websocket] [obs_module_load] Linked ASIO Version: 102800
09:45:37.343: [obs-websocket] [obs_module_load] Module loaded.
09:45:37.363: ---------------------------------
09:45:37.363:   Loaded Modules:
09:45:37.363:     text-freetype2.so
09:45:37.363:     rtmp-services.so
09:45:37.363:     obs-x264.so
09:45:37.363:     obs-websocket.so
09:45:37.363:     obs-webrtc.so
09:45:37.363:     obs-vst.so
09:45:37.363:     obs-transitions.so
09:45:37.363:     obs-qsv11.so
09:45:37.363:     obs-outputs.so
09:45:37.363:     obs-libfdk.so
09:45:37.363:     obs-filters.so
09:45:37.363:     obs-ffmpeg.so
09:45:37.363:     obs-browser.so
09:45:37.363:     linux-v4l2.so
09:45:37.363:     linux-pulseaudio.so
09:45:37.363:     linux-pipewire.so
09:45:37.363:     linux-jack.so
09:45:37.363:     linux-capture.so
09:45:37.363:     image-source.so
09:45:37.363:     frontend-tools.so
09:45:37.363:     decklink-output-ui.so
09:45:37.363:     decklink-captions.so
09:45:37.363: ---------------------------------
09:45:37.364: ==== Startup complete ===============================================
09:45:37.405: All scene data cleared
09:45:37.405: ------------------------------------------------
09:45:37.415: pulse-input: Server name: 'PulseAudio (on PipeWire 1.0.0) 15.0.0'
09:45:37.416: pulse-input: Audio format: s32le, 48000 Hz, 2 channels
09:45:37.416: pulse-input: Started recording from 'alsa_output.usb-Generic_USB_Audio-00.HiFi__hw_Audio__sink.monitor' (default)
09:45:37.416: [Loaded global audio device]: 'Desktop Audio'
09:45:37.417: pulse-input: Server name: 'PulseAudio (on PipeWire 1.0.0) 15.0.0'
09:45:37.418: pulse-input: Audio format: s16le, 32000 Hz, 2 channels
09:45:37.418: pulse-input: Started recording from 'alsa_input.usb-046d_C922_Pro_Stream_Webcam_44D1DF6F-02.analog-stereo' (default)
09:45:37.418: [Loaded global audio device]: 'Mic/Aux'
09:45:37.419: PipeWire initialized
09:45:37.421: Switched to scene 'Scene'
09:45:37.421: ------------------------------------------------
09:45:37.421: Loaded scenes:
09:45:37.421: - scene 'Scene':
09:45:37.421:     - source: 'Screen Capture (PipeWire)' (pipewire-desktop-capture-source)
09:45:37.421: ------------------------------------------------
09:45:37.451: [pipewire] Screencast session created
09:45:37.468: [pipewire] Asking for desktop
09:45:37.629: [pipewire] desktop selected, setting up screencast
09:45:37.725: [pipewire] Server version: 1.0.0
09:45:37.725: [pipewire] Library version: 0.3.65
09:45:37.725: [pipewire] Header version: 0.3.65
09:45:37.726: [pipewire] Created stream 0x55807d6a77a0
09:45:37.726: [pipewire] Stream 0x55807d6a77a0 state: "connecting" (error: none)
09:45:37.726: [pipewire] Playing stream 0x55807d6a77a0
09:45:37.726: [pipewire] Stream 0x55807d6a77a0 state: "paused" (error: none)
09:45:37.730: [pipewire] Negotiated format:
09:45:37.730: [pipewire]     Format: 12 (Spa:Enum:VideoFormat:BGRA)
09:45:37.730: [pipewire]     Modifier: 0x0
09:45:37.730: [pipewire]     Size: 1920x1080
09:45:37.730: [pipewire]     Framerate: 0/1
09:45:37.731: [pipewire] Negotiated format:
09:45:37.731: [pipewire]     Format: 12 (Spa:Enum:VideoFormat:BGRA)
09:45:37.731: [pipewire]     Modifier: 0x20000001876bb03
09:45:37.731: [pipewire]     Size: 1920x1080
09:45:37.731: [pipewire]     Framerate: 0/1
09:45:37.750: [pipewire] Stream 0x55807d6a77a0 state: "streaming" (error: none)
09:45:38.126: adding 21 milliseconds of audio buffering, total audio buffering is now 21 milliseconds (source: Desktop Audio)
09:45:38.126:
09:45:38.275: adding 21 milliseconds of audio buffering, total audio buffering is now 42 milliseconds (source: Mic/Aux)
09:45:38.275:
09:45:41.354:   OpenType support missing for "Open Sans", script 11
09:45:41.357:   OpenType support missing for "Open Sans", script 12
09:45:41.359:   OpenType support missing for "Open Sans", script 16
09:45:41.363:   OpenType support missing for "Open Sans", script 20
09:46:15.702: Settings changed (outputs)
09:46:15.702: ------------------------------------------------
09:46:29.193: Settings changed (outputs)
09:46:29.193: ------------------------------------------------
09:46:38.042: >>> gpu tex not active, fall back to old qsv encoder
09:46:38.042: [qsv encoder: 'advanced_video_recording'] settings:
09:46:38.042:     codec:          H.264
09:46:38.042:     rate_control:   CBR
09:46:38.042:     target_bitrate: 2500
09:46:38.042:     Lookahead Depth:60
09:46:38.042:     target_usage:   TU4
09:46:38.042:     profile:        high
09:46:38.042:     keyint:         0
09:46:38.042:     latency:        normal
09:46:38.042:     b-frames:       3
09:46:38.042:     enhancements:   on
09:46:38.042:     fps_num:        60
09:46:38.042:     fps_den:        1
09:46:38.042:     width:          1920
09:46:38.042:     height:         1080
09:46:38.042: [qsv encoder: 'advanced_video_recording'] debug info:
09:46:38.042: Failed to initialize MFX
09:46:38.042: [qsv encoder: 'msdk_impl'] Specified object/item/sync point not found. (MFX_ERR_NOT_FOUND)
09:46:38.042: [qsv encoder: 'advanced_video_recording'] qsv failed to load
09:46:38.042:     major:          1
09:46:38.042:     minor:          0
09:46:38.042:     interval:       4
09:46:38.042:     GopPictSize:    0
09:46:38.042:     g_pts2dtsShift: 0
-


Does anyone know what could be happening here?

Thanks!
 

R@de

Member
I suspect its something to do with the Flathub version, I have the same issue in openSUSE Tumbleweed using OBS v30.0.0 from Flathub. However, if I use OBS v29.1.3 from the openSUSE packman repos its works fine.
 

leod

New Member
I suspect its something to do with the Flathub version, I have the same issue in openSUSE Tumbleweed using OBS v30.0.0 from Flathub. However, if I use OBS v29.1.3 from the openSUSE packman repos its works fine.
Yes I think you're right.

QSV encoding seems broken in the Flatpak version

@kurufu from the Discord support channel said the same thing.
 
Top