Bug 28521

Summary: Cannot record the screen using OBS Studio
Product: Mageia Reporter: Omer I.S. <omeritzicschwartz>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: Normal CC: ouaurelien
Version: 8   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: https://madb.mageia.org/package/show/release/cauldron/arch/x86_64/name/obs-studio CVE:
Status comment:

Description Omer I.S. 2021-03-05 00:10:32 CET
An error message appears when trying to record the screen using OBS Studio.
Log:
19:49:38.985: CPU Name: Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
19:49:38.985: CPU Speed: 2400.000MHz
19:49:38.986: Physical Cores: 4, Logical Cores: 8
19:49:38.986: Physical Memory: 7873MB Total, 5352MB Free
19:49:38.986: Kernel Version: Linux 5.10.19-desktop-1.mga8
19:49:38.986: Distribution: "Mageia" 8
19:49:38.986: Session Type: x11
19:49:38.986: Window System: X11.0 - vendor string: Mageia - vendor release: 12010000
19:49:38.991: Portable mode: false
19:49:39.272: OBS 26.1.2 by Mageia.Org (linux)
19:49:39.272: ---------------------------------
19:49:39.322: ---------------------------------
19:49:39.322: audio settings reset:
19:49:39.322: 	samples per sec: 48000
19:49:39.322: 	speakers:        2
19:49:39.374: ---------------------------------
19:49:39.374: Initializing OpenGL...
19:49:39.788: Loading up OpenGL on adapter Intel Mesa Intel(R) UHD Graphics 620 (KBL GT2)
19:49:39.788: OpenGL loaded successfully, version 4.6 (Core Profile) Mesa 20.3.4, shading language 4.60
19:49:39.861: ---------------------------------
19:49:39.861: video settings reset:
19:49:39.861: 	base resolution:   1920x1080
19:49:39.861: 	output resolution: 1280x720
19:49:39.861: 	downscale filter:  Bicubic
19:49:39.861: 	fps:               30/1
19:49:39.861: 	format:            NV12
19:49:39.861: 	YUV mode:          709/Partial
19:49:39.861: NV12 texture support not available
19:49:39.870: Audio monitoring device:
19:49:39.870: 	name: Default
19:49:39.870: 	id: default
19:49:39.870: ---------------------------------
19:49:39.873: Failed to load 'en-US' text for module: 'decklink-captions.so'
19:49:39.879: Failed to load 'en-US' text for module: 'decklink-ouput-ui.so'
19:49:39.971: A DeckLink iterator could not be created.  The DeckLink drivers may not be installed
19:49:39.971: No blackmagic support
19:49:39.982: v4l2loopback not installed, virtual camera disabled
19:49:39.998: FFMPEG VAAPI supported
19:49:40.012: Failed to load 'he-IL' text for module: 'sndio.so'
19:49:40.017: VLC found, VLC video source enabled
19:49:40.017: ---------------------------------
19:49:40.017:   Loaded Modules:
19:49:40.017:     vlc-video.so
19:49:40.017:     text-freetype2.so
19:49:40.018:     sndio.so
19:49:40.018:     rtmp-services.so
19:49:40.018:     obs-transitions.so
19:49:40.018:     obs-outputs.so
19:49:40.018:     obs-filters.so
19:49:40.018:     obs-ffmpeg.so
19:49:40.018:     linux-v4l2.so
19:49:40.018:     linux-pulseaudio.so
19:49:40.018:     linux-jack.so
19:49:40.018:     linux-decklink.so
19:49:40.018:     linux-capture.so
19:49:40.018:     linux-alsa.so
19:49:40.018:     image-source.so
19:49:40.018:     frontend-tools.so
19:49:40.018:     decklink-ouput-ui.so
19:49:40.018:     decklink-captions.so
19:49:40.018: ---------------------------------
19:49:40.018: ==== Startup complete ===============================================
19:49:40.019: Encoder ID 'obs_x264' not found
19:49:40.028: All scene data cleared
19:49:40.028: ------------------------------------------------
19:49:40.051: pulse-input: Server name: 'pulseaudio 14.2.0-2.mga8'
19:49:40.051: pulse-input: Audio format: s16le, 48000 Hz, 2 channels
19:49:40.052: pulse-input: Started recording from 'alsa_output.pci-0000_00_1f.3.analog-stereo.monitor'
19:49:40.052: [Loaded global audio device]: 'Desktop audio'
19:49:40.053: pulse-input: Server name: 'pulseaudio 14.2.0-2.mga8'
19:49:40.053: pulse-input: Audio format: s16le, 44100 Hz, 2 channels
19:49:40.053: pulse-input: Started recording from 'alsa_input.pci-0000_00_1f.3.analog-stereo'
19:49:40.053: [Loaded global audio device]: 'Microphone/Aux'
19:49:40.057: xshm-input: Geometry 1920x1080 @ 0,0
19:49:40.162: Switched to scene 'Recording'
19:49:40.162: ------------------------------------------------
19:49:40.162: Loaded scenes:
19:49:40.162: - scene 'Recording':
19:49:40.164:     - source: 'Video' (group)
19:49:40.165:         - source: 'Screen capture (XSHM)' (xshm_input)
19:49:40.165:         - source: 'Watermark' (image_source)
19:49:40.165:     - source: 'Audio' (group)
19:49:40.165:         - source: 'Desktop audio' (pulse_output_capture)
19:49:40.165:         - source: 'Microphone/Aux' (pulse_input_capture)
19:49:40.165: ------------------------------------------------
19:49:44.841: ---------------------------------
19:49:44.841: [FFMPEG VAAPI encoder: 'recording_h264'] settings:
19:49:44.841: 	device:       /dev/dri/renderD128
19:49:44.841: 	rate_control: CBR
19:49:44.841: 	profile:      578
19:49:44.841: 	level:        40
19:49:44.841: 	qp:           0
19:49:44.841: 	bitrate:      2500
19:49:44.841: 	maxrate:      2500
19:49:44.841: 	keyint:       120
19:49:44.841: 	width:        1280
19:49:44.841: 	height:       720
19:49:44.841: 	b-frames:     0
19:49:44.841: 
19:49:44.851: ---------------------------------
19:49:44.851: [FFmpeg aac encoder: 'Track1'] Couldn't find encoder
19:57:43.019: ---------------------------------
19:57:43.019: [FFmpeg aac encoder: 'Track1'] Couldn't find encoder
19:57:54.699: Settings changed (general)
19:57:54.699: ------------------------------------------------
19:58:01.389: ==== Shutting down ==================================================
19:58:01.427: pulse-input: Stopped recording from 'alsa_output.pci-0000_00_1f.3.analog-stereo.monitor'
19:58:01.427: pulse-input: Got 102305 packets with 24062088 frames
19:58:01.428: pulse-input: Stopped recording from 'alsa_input.pci-0000_00_1f.3.analog-stereo'
19:58:01.428: pulse-input: Got 50860 packets with 22110288 frames
19:58:01.429: All scene data cleared
19:58:01.429: ------------------------------------------------
19:58:01.552: [Scripting] Total detached callbacks: 0
19:58:01.554: Freeing OBS context data
19:58:01.584: == Profiler Results =============================
19:58:01.584: run_program_init: 1976.39 ms
19:58:01.584:  ┣OBSApp::AppInit: 131.103 ms
19:58:01.584:  ┃ ┗OBSApp::InitLocale: 42.735 ms
19:58:01.584:  ┗OBSApp::OBSInit: 1580.78 ms
19:58:01.584:    ┣obs_startup: 17.682 ms
19:58:01.584:    ┗OBSBasic::OBSInit: 1232.96 ms
19:58:01.584:      ┣OBSBasic::InitBasicConfig: 0.159 ms
19:58:01.584:      ┣OBSBasic::ResetAudio: 0.227 ms
19:58:01.584:      ┣OBSBasic::ResetVideo: 547.826 ms
19:58:01.584:      ┣OBSBasic::InitOBSCallbacks: 0.012 ms
19:58:01.584:      ┣OBSBasic::InitHotkeys: 0.049 ms
19:58:01.584:      ┣obs_load_all_modules: 147.633 ms
19:58:01.584:      ┃ ┣obs_init_module(decklink-captions.so): 0.07 ms
19:58:01.584:      ┃ ┣obs_init_module(decklink-ouput-ui.so): 1.715 ms
19:58:01.584:      ┃ ┣obs_init_module(frontend-tools.so): 71.915 ms
19:58:01.584:      ┃ ┣obs_init_module(image-source.so): 0.013 ms
19:58:01.584:      ┃ ┣obs_init_module(linux-alsa.so): 0.006 ms
19:58:01.584:      ┃ ┣obs_init_module(linux-capture.so): 0.484 ms
19:58:01.584:      ┃ ┣obs_init_module(linux-decklink.so): 0.395 ms
19:58:01.584:      ┃ ┣obs_init_module(linux-jack.so): 0.006 ms
19:58:01.584:      ┃ ┣obs_init_module(linux-pulseaudio.so): 0.006 ms
19:58:01.584:      ┃ ┣obs_init_module(linux-v4l2.so): 4.672 ms
19:58:01.584:      ┃ ┣obs_init_module(obs-ffmpeg.so): 0.425 ms
19:58:01.584:      ┃ ┃ ┗nvenc_check: 0.334 ms
19:58:01.584:      ┃ ┣obs_init_module(obs-filters.so): 0.059 ms
19:58:01.584:      ┃ ┣obs_init_module(obs-outputs.so): 0.004 ms
19:58:01.584:      ┃ ┣obs_init_module(obs-transitions.so): 0.015 ms
19:58:01.584:      ┃ ┣obs_init_module(rtmp-services.so): 1.354 ms
19:58:01.584:      ┃ ┣obs_init_module(sndio.so): 0.006 ms
19:58:01.584:      ┃ ┣obs_init_module(text-freetype2.so): 0.034 ms
19:58:01.584:      ┃ ┗obs_init_module(vlc-video.so): 2.11 ms
19:58:01.584:      ┣OBSBasic::ResetOutputs: 0.612 ms
19:58:01.584:      ┣OBSBasic::CreateHotkeys: 0.069 ms
19:58:01.584:      ┣OBSBasic::InitService: 4.22 ms
19:58:01.584:      ┣OBSBasic::InitPrimitives: 0.429 ms
19:58:01.584:      ┗OBSBasic::Load: 199.486 ms
19:58:01.584: obs_hotkey_thread(25 ms): min=0.072 ms, median=0.72 ms, max=39.096 ms, 99th percentile=4.26 ms, 99.9481% below 25 ms
19:58:01.584: audio_thread(Audio): min=0 ms, median=0.273 ms, max=3.857 ms, 99th percentile=0.647 ms
19:58:01.584: obs_graphics_thread(33.3333 ms): min=0.107 ms, median=7.141 ms, max=95.66 ms, 99th percentile=9.481 ms, 99.9402% below 33.333 ms
19:58:01.584:  ┣tick_sources: min=0.001 ms, median=6.219 ms, max=92.376 ms, 99th percentile=7.71 ms
19:58:01.584:  ┣output_frame: min=0.042 ms, median=0.384 ms, max=9.169 ms, 99th percentile=0.61 ms
19:58:01.584:  ┃ ┗gs_context(video->graphics): min=0.042 ms, median=0.383 ms, max=9.168 ms, 99th percentile=0.609 ms
19:58:01.584:  ┃   ┣render_video: min=0.034 ms, median=0.265 ms, max=9.024 ms, 99th percentile=0.43 ms
19:58:01.584:  ┃   ┃ ┗render_main_texture: min=0.027 ms, median=0.257 ms, max=9.017 ms, 99th percentile=0.418 ms
19:58:01.584:  ┃   ┗gs_flush: min=0.001 ms, median=0.076 ms, max=0.485 ms, 99th percentile=0.14 ms
19:58:01.584:  ┗render_displays: min=0.003 ms, median=0.692 ms, max=35.811 ms, 99th percentile=1.857 ms
19:58:01.584: =================================================
19:58:01.584: == Profiler Time Between Calls ==================
19:58:01.584: obs_hotkey_thread(25 ms): min=25.113 ms, median=25.852 ms, max=64.168 ms, 14.9533% within ±2% of 25 ms (0% lower, 85.0467% higher)
19:58:01.584: obs_graphics_thread(33.3333 ms): min=10.223 ms, median=33.333 ms, max=95.681 ms, 99.8538% within ±2% of 33.333 ms (0.0664584% lower, 0.0797501% higher)
19:58:01.584: =================================================
19:58:01.615: Number of memory leaks: 0
Comment 1 Aurelien Oudelet 2021-03-05 07:34:01 CET
Hi, thanks reporting this.
Have you enabled the tainted repository?

> Encoder ID 'obs_x264' not found

This error is due that x264 encoder is in tainted repository.
You should enable it using drakrpm-edit-media command and rpmdrake after to look for one studio.

CC: (none) => ouaurelien
Status: NEW => NEEDINFO

Comment 2 Omer I.S. 2021-03-05 09:38:24 CET
(In reply to Aurelien Oudelet from comment #1)
> Hi, thanks reporting this.
> Have you enabled the tainted repository?
> 
> > Encoder ID 'obs_x264' not found
> 
> This error is due that x264 encoder is in tainted repository.
> You should enable it using drakrpm-edit-media command and rpmdrake after to
> look for one studio.

Yes, this solves the problem, thank you.

Resolution: (none) => WORKSFORME
Status: NEEDINFO => RESOLVED