error: Failed to initialize MFX (obs 30.2.3, on Ubuntu Noble 24.04)

legec

New Member
Running Obs 30.2.3, on Ubuntu 24.04 (noble numbat), I tried starting a recording. Here are, I think, the logs describing the input devices I set:
Code:
info: Switched to scene 'Scene'
info: ------------------------------------------------
info: Loaded scenes:
info: - scene 'Scene':
info:     - source: 'Audio Input Capture (PulseAudio)' (pulse_input_capture)
info:     - source: 'Window Capture (PipeWire)' (pipewire-window-capture-source)
info: ------------------------------------------------
info: [pipewire] Screencast session created
info: [pipewire] Asking for window
info: [pipewire] source selected, setting up screencast
info: [pipewire] Server version: 1.0.5
info: [pipewire] Library version: 1.0.5
info: [pipewire] Header version: 1.0.5
info: [pipewire] Created stream 0x5c2014f101d0
info: [pipewire] Stream 0x5c2014f101d0 state: "connecting" (error: none)
info: [pipewire] Playing stream 0x5c2014f101d0
info: [pipewire] Stream 0x5c2014f101d0 state: "paused" (error: none)
info: [pipewire] Negotiated format:
info: [pipewire]     Format: 12 (Spa:Enum:VideoFormat:BGRA)
info: [pipewire]     Modifier: 0x0
info: [pipewire]     Size: 1920x1080
info: [pipewire]     Framerate: 0/1
info: [pipewire] Negotiated format:
info: [pipewire]     Format: 12 (Spa:Enum:VideoFormat:BGRA)
info: [pipewire]     Modifier: 0x100000000000002
info: [pipewire]     Size: 1920x1080
info: [pipewire]     Framerate: 0/1
info: [pipewire] Stream 0x5c2014f101d0 state: "streaming" (error: none)
info: adding 21 milliseconds of audio buffering, total audio buffering is now 21 milliseconds (source: Desktop Audio)


when clicking on "Start Recording", I get an error

here are the logs around the error;
Code:
info: >>> new qsv encoder
info: [qsv encoder: 'simple_video_recording'] settings:
    codec:          H.264
    rate_control:   ICQ
info:     ICQ Quality:    23
info:     target_usage:   TU4
    profile:        high
    keyint:         0
    latency:        normal
    b-frames:       3
    fps_num:        30
    fps_den:        1
    width:          1920
    height:         1080
info: [qsv encoder: 'simple_video_recording'] debug info:
error: Failed to initialize MFX

 Specified object not found. ./plugins/obs-qsv11/common_utils_linux.cpp 347

 Specified object not found. ./plugins/obs-qsv11/QSV_Encoder_Internal.cpp 153
warning: [qsv encoder: 'msdk_impl'] Specified object/item/sync point not found. (MFX_ERR_NOT_FOUND)
warning: [qsv encoder: 'simple_video_recording'] qsv failed to load
info:     major:          1
    minor:          0
info:     interval:       4
    GopPictSize:    0
    g_pts2dtsShift: 0
info: >>> new qsv encoder
info: [qsv encoder: 'simple_video_recording'] settings:
    codec:          H.264
    rate_control:   ICQ
info:     ICQ Quality:    23
info:     target_usage:   TU4
    profile:        high
    keyint:         0
    latency:        normal
    b-frames:       3
    fps_num:        30
    fps_den:        1
    width:          1920
    height:         1080
info: [qsv encoder: 'simple_video_recording'] debug info:
error: Failed to initialize MFX

 Specified object not found. ./plugins/obs-qsv11/common_utils_linux.cpp 347

 Specified object not found. ./plugins/obs-qsv11/QSV_Encoder_Internal.cpp 153
warning: [qsv encoder: 'msdk_impl'] Specified object/item/sync point not found. (MFX_ERR_NOT_FOUND)
warning: [qsv encoder: 'simple_video_recording'] qsv failed to load
info:     major:          1
    minor:          0
info:     interval:       4
    GopPictSize:    0
    g_pts2dtsShift: 0

Is this a known issue ? should I configure something else ?
 

obpg

New Member
@R@de I'm using OBS 30.2.3 (64-bit) on Ubuntu 24.04 LTS (noble numbat). I got a similar error so i followed what you said and installed `onevpl-tools` and `libmfx-gen1.2` but when i started to record, OBS crashed.

Code:
19:22:14.037:
19:22:32.227: >>> new qsv encoder
19:22:32.227: [qsv encoder: 'simple_video_recording'] settings:
19:22:32.227:     codec:          H.264
19:22:32.227:     rate_control:   ICQ
19:22:32.227:     ICQ Quality:    23
19:22:32.227:     target_usage:   TU4
19:22:32.227:     profile:        high
19:22:32.227:     keyint:         0
19:22:32.227:     latency:        normal
19:22:32.227:     b-frames:       3
19:22:32.227:     fps_num:        60
19:22:32.227:     fps_den:        1
19:22:32.227:     width:          1728
19:22:32.227:     height:         1080
19:22:32.227: [qsv encoder: 'simple_video_recording'] debug info:
19:22:32.228: Failed to initialize MFX
19:22:32.228: [qsv encoder: 'msdk_impl'] Specified object/item/sync point not found. (MFX_ERR_NOT_FOUND)
19:22:32.228: [qsv encoder: 'simple_video_recording'] qsv failed to load
19:22:32.228:     major:          1
19:22:32.228:     minor:          0
19:22:32.228:     interval:       4
19:22:32.228:     GopPictSize:    0
19:22:32.228:     g_pts2dtsShift: 0

full log: https://pastebin.com/vKvZph61

sudo apt install onevpl-tools libmfx-gen1.2

After installed `onevpl-tools` and `libmfx-gen1.2`, restarted OBS and started record, it crashed. `_usr_bin_obs.1002.crash` file 32.1 MB (if you need it, i can upload). This is the basic information.

obs crash: https://pastebin.com/4dNK5Knt

how to solve this?
 
Top