Description
Distribution (run cat /etc/os-release
):
Pop OS 20.04
Related Application and/or Package Version (run apt policy $PACKAGE NAME
):
OBS Studio error in Pop OS.
Issue/Bug Description:
The screen capture for any program on the Pop OS system is black. If I try to open any individual third-party program window, it works normally.
I use OBS Studio in dual boot and whatever works normally, so I suppose there may be a problem with the system integration.
I have already tested the .deb and Flatpak versions that are in the Pop Shop.
My GPU:
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 950/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 440.100
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6.0 NVIDIA 440.100
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 440.100
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
Log:
_cleomenezes@pop-os:~$ flatpak run com.obsproject.Studio
Gtk-Message: 17:14:35.712: Failed to load module "appmenu-gtk-module"
Gtk-Message: 17:14:35.809: Failed to load module "canberra-gtk-module"
Gtk-Message: 17:14:35.809: Failed to load module "canberra-gtk-module"
Qt: Session management error: None of the authentication protocols specified are supported
Attempted path: share/obs/obs-studio/locale/en-US.ini
Attempted path: /app/share/obs/obs-studio/locale/en-US.ini
Attempted path: share/obs/obs-studio/locale.ini
Attempted path: /app/share/obs/obs-studio/locale.ini
Attempted path: share/obs/obs-studio/locale/pt-BR.ini
Attempted path: /app/share/obs/obs-studio/locale/pt-BR.ini
info: Using preferred locale 'pt-BR'
Attempted path: share/obs/obs-studio/themes/Dark.qss
Attempted path: /app/share/obs/obs-studio/themes/Dark.qss
info: CPU Name: Intel(R) Core(TM) i3-3225 CPU @ 3.30GHz
info: CPU Speed: 1772.485MHz
info: Physical Cores: 2, Logical Cores: 4
info: Physical Memory: 7826MB Total, 958MB Free
info: Kernel Version: Linux 5.4.0-7634-generic
info: Distribution: "KDE Flatpak runtime" "5.14"
info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.20.8
info: Portable mode: false
qt.svg: Cannot open file '/app/share/obs/obs-studio/themes/Dark/Close.svg', because: No such file or directory
qt.svg: Cannot open file '/app/share/obs/obs-studio/themes/Dark/Close.svg', because: No such file or directory
qt.svg: Cannot open file '/app/share/obs/obs-studio/themes/Dark/Popout.svg', because: No such file or directory
qt.svg: Cannot open file '/app/share/obs/obs-studio/themes/Dark/Popout.svg', because: No such file or directory
Attempted path: share/obs/obs-studio/themes/Dark/no_sources.svg
Attempted path: /app/share/obs/obs-studio/themes/Dark/no_sources.svg
QMetaObject::connectSlotsByName: No matching signal for on_advAudioProps_clicked()
QMetaObject::connectSlotsByName: No matching signal for on_advAudioProps_destroyed()
QMetaObject::connectSlotsByName: No matching signal for on_actionGridMode_triggered()
QMetaObject::connectSlotsByName: No matching signal for on_program_customContextMenuRequested(QPoint)
info: OBS 25.0.8 (linux)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
samples per sec: 44100
speakers: 2
info: ---------------------------------
info: Initializing OpenGL...
info: Loading up OpenGL on adapter NVIDIA Corporation GeForce GTX 950/PCIe/SSE2
info: OpenGL loaded successfully, version 3.3.0 NVIDIA 440.100, shading language 3.30 NVIDIA via Cg compiler
info: ---------------------------------
info: video settings reset:
base resolution: 1850x1040
output resolution: 1232x692
downscale filter: Bicubic
fps: 30/1
format: NV12
YUV mode: 601/Partial
info: NV12 texture support not available
info: Audio monitoring device:
name: Padrão
id: default
info: ---------------------------------
warning: Failed to load 'en-US' text for module: 'decklink-ouput-ui.so'
libDeckLinkAPI.so: não é possível abrir arquivo compartilhado: Arquivo ou diretório inexistente
warning: A DeckLink iterator could not be created. The DeckLink drivers may not be installed
info: No blackmagic support
info: NVENC supported
info: FFMPEG VAAPI supported
error: os_dlopen(/app//lib/obs-plugins/obs-ndi.so->/app//lib/obs-plugins/obs-ndi.so): /app//lib/obs-plugins/obs-ndi.so: não é possível abrir arquivo compartilhado: Arquivo ou diretório inexistente
warning: Module '/app//lib/obs-plugins/obs-ndi.so' not loaded
error: os_dlopen(/app//lib/obs-plugins/obs-v4l2sink.so->/app//lib/obs-plugins/obs-v4l2sink.so): /app//lib/obs-plugins/obs-v4l2sink.so: não é possível abrir arquivo compartilhado: Arquivo ou diretório inexistente
warning: Module '/app//lib/obs-plugins/obs-v4l2sink.so' not loaded
info: ---------------------------------
info: Loaded Modules:
info: text-freetype2.so
info: rtmp-services.so
info: obs-xdg-portal.so
info: obs-x264.so
info: obs-transitions.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-decklink.so
info: linux-capture.so
info: image-source.so
info: frontend-tools.so
info: decklink-ouput-ui.so
info: ---------------------------------
info: ==== Startup complete ===============================================
error: Service '' not found
info: All scene data cleared
info: ------------------------------------------------
info: pulse-input: Server name: 'pulseaudio 13.99.1'
info: pulse-input: Audio format: s16le, 44100 Hz, 2 channels
info: pulse-input: Started recording from 'alsa_output.pci-0000_00_1b.0.analog-stereo.monitor'
info: [Loaded global audio device]: 'Desktop Áudio'
info: xshm-input: Geometry 1920x1080 @ 0,0
info: Switched to scene 'Cena'
info: ------------------------------------------------
info: Loaded scenes:
info: - scene 'Cena':
info: - source: 'Captura de Tela (XSHM)' (xshm_input)
info: ------------------------------------------------
Attempted path: share/obs/obs-studio/images/overflow.png
Attempted path: /app/share/obs/obs-studio/images/overflow.png
info: adding 46 milliseconds of audio buffering, total audio buffering is now 46 milliseconds (source: Desktop Áudio)
info: ==== Shutting down ==================================================
info: Switched to scene '(null)'
info: pulse-input: Stopped recording from 'alsa_output.pci-0000_00_1b.0.analog-stereo.monitor'
info: pulse-input: Got 8175 packets with 1778932 frames
info: All scene data cleared
info: ------------------------------------------------
error: X Error: GLXBadDrawable, Major opcode: 151, Minor opcode: 26, Serial: 17314
error: Failed to make context current.
error: X Error: GLXBadDrawable, Major opcode: 151, Minor opcode: 26, Serial: 17316
error: Failed to make context current.
error: X Error: GLXBadDrawable, Major opcode: 151, Minor opcode: 26, Serial: 17318
error: Failed to make context current.
error: X Error: GLXBadDrawable, Major opcode: 151, Minor opcode: 26, Serial: 17320
error: Failed to make context current.
error: Failed to fetch parent window geometry!
error: X Error: BadDrawable (invalid Pixmap or Window parameter), Major opcode: 151, Minor opcode: BadLength (poly request too large or internal Xlib length error), Serial: 17322
error: X Error: GLXBadDrawable, Major opcode: 151, Minor opcode: BadAlloc (insufficient resources for operation), Serial: 17323
error: X Error: GLXBadDrawable, Major opcode: 151, Minor opcode: 26, Serial: 17325
error: Failed to make context current.
error: X Error: GLXBadDrawable, Major opcode: 151, Minor opcode: 26, Serial: 17327
error: Failed to make context current.
info: Freeing OBS context data
info: [Scripting] Total detached callbacks: 0
info: == Profiler Results =============================
info: run_program_init: 797,076 ms
info: ┣OBSApp::AppInit: 2,594 ms
info: ┃ ┗OBSApp::InitLocale: 1,425 ms
info: ┗OBSApp::OBSInit: 583,175 ms
info: ┣obs_startup: 22,582 ms
info: ┗OBSBasic::OBSInit: 464,755 ms
info: ┣OBSBasic::InitBasicConfig: 0,154 ms
info: ┣OBSBasic::ResetAudio: 0,217 ms
info: ┣OBSBasic::ResetVideo: 73,082 ms
info: ┣OBSBasic::InitOBSCallbacks: 0,005 ms
info: ┣OBSBasic::InitHotkeys: 0,049 ms
info: ┣obs_load_all_modules: 136,574 ms
info: ┃ ┣obs_init_module(decklink-ouput-ui.so): 0,879 ms
info: ┃ ┣obs_init_module(frontend-tools.so): 95,429 ms
info: ┃ ┣obs_init_module(image-source.so): 0,006 ms
info: ┃ ┣obs_init_module(linux-capture.so): 0,321 ms
info: ┃ ┣obs_init_module(linux-decklink.so): 0,146 ms
info: ┃ ┣obs_init_module(linux-pulseaudio.so): 0,002 ms
info: ┃ ┣obs_init_module(linux-v4l2.so): 0,001 ms
info: ┃ ┣obs_init_module(obs-ffmpeg.so): 0,472 ms
info: ┃ ┃ ┗nvenc_check: 0,408 ms
info: ┃ ┣obs_init_module(obs-filters.so): 0,009 ms
info: ┃ ┣obs_init_module(obs-libfdk.so): 0,001 ms
info: ┃ ┣obs_init_module(obs-outputs.so): 0,002 ms
info: ┃ ┣obs_init_module(obs-transitions.so): 0,006 ms
info: ┃ ┣obs_init_module(obs-x264.so): 0,001 ms
info: ┃ ┣obs_init_module(obs-xdg-portal.so): 15,566 ms
info: ┃ ┣obs_init_module(rtmp-services.so): 0,461 ms
info: ┃ ┗obs_init_module(text-freetype2.so): 0,009 ms
info: ┣OBSBasic::ResetOutputs: 0,177 ms
info: ┣OBSBasic::CreateHotkeys: 0,032 ms
info: ┣OBSBasic::InitService: 1,242 ms
info: ┣OBSBasic::InitPrimitives: 0,242 ms
info: ┗OBSBasic::Load: 9,066 ms
info: obs_hotkey_thread(25 ms): min=0,094 ms, median=0,401 ms, max=15,149 ms, 99th percentile=1,843 ms, 100% below 25 ms
info: audio_thread(Audio): min=0 ms, median=0,062 ms, max=2,931 ms, 99th percentile=0,108 ms
info: obs_graphics_thread(33,3333 ms): min=0,501 ms, median=2,293 ms, max=13,165 ms, 99th percentile=5,453 ms, 100% below 33,333 ms
info: ┣tick_sources: min=0,001 ms, median=0,167 ms, max=1,124 ms, 99th percentile=0,241 ms
info: ┣output_frame: min=0,192 ms, median=0,639 ms, max=5,293 ms, 99th percentile=1,25 ms
info: ┃ ┗gs_context(video->graphics): min=0,192 ms, median=0,638 ms, max=5,291 ms, 99th percentile=1,249 ms
info: ┃ ┣render_video: min=0,01 ms, median=0,239 ms, max=4,572 ms, 99th percentile=0,41 ms
info: ┃ ┃ ┗render_main_texture: min=0,006 ms, median=0,209 ms, max=4,544 ms, 99th percentile=0,344 ms
info: ┃ ┗gs_flush: min=0,001 ms, median=0,021 ms, max=0,555 ms, 99th percentile=0,067 ms
info: ┗render_displays: min=0,088 ms, median=0,966 ms, max=11,218 ms, 99th percentile=1,836 ms
info: =================================================
info: == Profiler Time Between Calls ==================
info: obs_hotkey_thread(25 ms): min=25,162 ms, median=25,497 ms, max=40,224 ms, 50,3717% within ±2% of 25 ms (0% lower, 49,6283% higher)
info: obs_graphics_thread(33,3333 ms): min=33,123 ms, median=33,333 ms, max=33,55 ms, 100% within ±2% of 33,333 ms (0% lower, 0% higher)
info: =================================================
info: Number of memory leaks: 0_