Open MarJose123 opened 4 years ago
Same problem with Fedora Silverblue 33
I believe I'm seeing the same issue on Arch Linux, Gnome 3.38, using the beta (26.0.0-flathub-beta) package installed using instructions from this suggestion. Adding a desktop or window source succeeds, but output is a black screen rather than a screen copy. Adding logs below. @GeorgesStavracas please let me know if this looks like a separate issue & I will open one. Also please let me know if I an help with further debugging.
✗ flatpak run com.obsproject.Studio
QSocketNotifier: Can only be used with threads started with QThread
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/themes/Dark.qss
Attempted path: /app/share/obs/obs-studio/themes/Dark.qss
info: Platform: Wayland
info: CPU Name: Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz
info: CPU Speed: 1485.708MHz
info: Physical Cores: 4, Logical Cores: 8
info: Physical Memory: 15665MB Total, 1717MB Free
info: Kernel Version: Linux 5.8.14-arch1-1
info: Distribution: "KDE Flatpak runtime" "5.15"
info: Portable mode: false
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)
QMetaObject::connectSlotsByName: No matching signal for on_transitionRemove_clicked()
info: OBS 26.0.0-flathub-beta (linux)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
samples per sec: 48000
speakers: 2
info: ---------------------------------
info: Initializing OpenGL...
info: Using EGL/Wayland
info: Initialized EGL 1.4
info: Loading up OpenGL on adapter Intel Open Source Technology Center Mesa DRI Intel(R) UHD Graphics 620 (WHL GT2)
info: OpenGL loaded successfully, version 4.6 (Core Profile) Mesa 20.1.5, shading language 4.60
info: ---------------------------------
info: video settings reset:
base resolution: 1920x1080
output resolution: 1280x720
downscale filter: Bicubic
fps: 30/1
format: NV12
YUV mode: 709/Partial
info: NV12 texture support not available
info: Audio monitoring device:
name: Default
id: default
info: ---------------------------------
warning: Failed to load 'en-US' text for module: 'decklink-ouput-ui.so'
error: linux-capture cannot run on EGL platforms
warning: Failed to initialize module 'linux-capture.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
info: No blackmagic support
error: os_dlopen(libnvidia-encode.so.1->libnvidia-encode.so.1): libnvidia-encode.so.1: cannot open shared object file: No such file or directory
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: cannot open shared object file: No such file or directory
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: cannot open shared object file: No such file or directory
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-vst.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-jack.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 ===============================================
info: All scene data cleared
info: ------------------------------------------------
info: pulse-input: Server name: 'pulseaudio 13.99.2-13-g7f4d7'
info: pulse-input: Audio format: s16le, 44100 Hz, 2 channels
info: pulse-input: Started recording from 'alsa_output.pci-0000_00_1f.3.analog-stereo.monitor'
info: [Loaded global audio device]: 'Desktop Audio'
info: pulse-input: Server name: 'pulseaudio 13.99.2-13-g7f4d7'
info: pulse-input: Audio format: s16le, 44100 Hz, 2 channels
info: pulse-input: Started recording from 'alsa_input.pci-0000_00_1f.3.analog-stereo'
info: [Loaded global audio device]: 'Mic/Aux'
info: OBS XDG initialized (sender name: 1_1094)
info: OBS XDG initialized (sender name: 1_1094)
info: Switched to scene 'Scene'
info: ------------------------------------------------
info: Loaded scenes:
info: - scene 'Scene':
info: - source: 'Desktop Screencast (Wayland / X11)' (obs-xdg-source)
info: - source: 'Desktop Capture (X11 / Wayland)' (obs-xdg-source)
info: ------------------------------------------------
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
info: [OBS XDG] Screencast session created
info: [OBS XDG] Screencast session created
Attempted path: share/obs/obs-studio/images/overflow.png
Attempted path: /app/share/obs/obs-studio/images/overflow.png
info: [OBS XDG] Asking for monitor…
info: [OBS XDG] Asking for monitor…
info: adding 42 milliseconds of audio buffering, total audio buffering is now 42 milliseconds (source: Mic/Aux)
info: [OBS XDG] Monitor selected, setting up screencast
info: [OBS XDG] Starting monitor screencast…
info: [OBS XDG] Monitor selected, setting up screencast
info: [OBS XDG] Starting monitor screencast…
Same issue here on KDE Neon with PLasma 5.20.2, Wayland session, and OBS flatpak installed. I have only a black screen. The OBS flatpak package should have the plugin "obs-xdg-portal" included, but I can't find it.
I am having this problem on Wayland with the beta, but not on XWayland with the stable.
14:45:42.657: Platform: Wayland
14:45:42.673: CPU Name: Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
14:45:42.673: CPU Speed: 3100.186MHz
14:45:42.673: Physical Cores: 2, Logical Cores: 4
14:45:42.673: Physical Memory: 7857MB Total, 1206MB Free
14:45:42.674: Kernel Version: Linux 5.9.8-arch1-1
14:45:42.674: Distribution: "KDE Flatpak runtime" "5.15"
14:45:42.674: Session Type: wayland
14:45:42.674: Portable mode: false
14:45:42.732: OBS 26.0.2 (linux)
14:45:42.732: ---------------------------------
14:45:42.732: ---------------------------------
14:45:42.732: audio settings reset:
14:45:42.732: samples per sec: 48000
14:45:42.732: speakers: 2
14:45:42.736: ---------------------------------
14:45:42.737: Initializing OpenGL...
14:45:42.737: Using EGL/Wayland
14:45:42.750: Initialized EGL 1.4
14:45:42.772: Loading up OpenGL on adapter Intel Open Source Technology Center Mesa DRI Intel(R) HD Graphics 620 (KBL GT2)
14:45:42.772: OpenGL loaded successfully, version 4.6 (Core Profile) Mesa 20.1.10 (git-5fa3aae868), shading language 4.60
14:45:42.789: ---------------------------------
14:45:42.789: video settings reset:
14:45:42.789: base resolution: 1600x900
14:45:42.789: output resolution: 1600x900
14:45:42.789: downscale filter: Bicubic
14:45:42.789: fps: 30/1
14:45:42.789: format: NV12
14:45:42.789: YUV mode: 709/Partial
14:45:42.789: NV12 texture support not available
14:45:42.789: Audio monitoring device:
14:45:42.789: name: Predefinito
14:45:42.789: id: default
14:45:42.789: ---------------------------------
14:45:42.790: Failed to load 'en-US' text for module: 'decklink-captions.so'
14:45:42.792: Failed to load 'en-US' text for module: 'decklink-ouput-ui.so'
14:45:42.892: linux-capture cannot run on EGL platforms
14:45:42.892: Failed to initialize module 'linux-capture.so'
14:45:42.893: A DeckLink iterator could not be created. The DeckLink drivers may not be installed
14:45:42.893: No blackmagic support
14:45:42.899: v4l2loopback not installed, virtual camera disabled
14:45:42.899: os_dlopen(libnvidia-encode.so.1->libnvidia-encode.so.1): libnvidia-encode.so.1: impossibile aprire il file oggetto condiviso: File o directory non esistente
14:45:42.899:
14:45:42.900: FFMPEG VAAPI supported
14:45:42.901: os_dlopen(/app//lib/obs-plugins/obs-ndi.so->/app//lib/obs-plugins/obs-ndi.so): /app//lib/obs-plugins/obs-ndi.so: impossibile aprire il file oggetto condiviso: File o directory non esistente
14:45:42.901:
14:45:42.901: Module '/app//lib/obs-plugins/obs-ndi.so' not loaded
14:45:42.903: os_dlopen(/app//lib/obs-plugins/obs-v4l2sink.so->/app//lib/obs-plugins/obs-v4l2sink.so): /app//lib/obs-plugins/obs-v4l2sink.so: impossibile aprire il file oggetto condiviso: File o directory non esistente
14:45:42.903:
14:45:42.903: Module '/app//lib/obs-plugins/obs-v4l2sink.so' not loaded
14:45:42.906: Failed to load 'it-IT' text for module: 'obs-xdg-portal.so'
14:45:42.908: ---------------------------------
14:45:42.908: Loaded Modules:
14:45:42.908: text-freetype2.so
14:45:42.908: rtmp-services.so
14:45:42.908: obs-xdg-portal.so
14:45:42.908: obs-x264.so
14:45:42.908: obs-vst.so
14:45:42.908: obs-transitions.so
14:45:42.908: obs-outputs.so
14:45:42.908: obs-libfdk.so
14:45:42.908: obs-filters.so
14:45:42.908: obs-ffmpeg.so
14:45:42.908: linux-v4l2.so
14:45:42.908: linux-pulseaudio.so
14:45:42.908: linux-jack.so
14:45:42.908: linux-decklink.so
14:45:42.908: linux-capture.so
14:45:42.908: image-source.so
14:45:42.908: frontend-tools.so
14:45:42.908: decklink-ouput-ui.so
14:45:42.908: decklink-captions.so
14:45:42.908: ---------------------------------
14:45:42.908: ==== Startup complete ===============================================
14:45:42.910: All scene data cleared
14:45:42.910: ------------------------------------------------
14:45:42.916: pulse-input: Server name: 'pulseaudio 13.99.3'
14:45:42.916: pulse-input: Audio format: s16le, 48000 Hz, 2 channels
14:45:42.916: pulse-input: Started recording from 'alsa_output.pci-0000_00_1f.3.analog-stereo.monitor'
14:45:42.916: [Loaded global audio device]: 'Audio del desktop'
14:45:42.918: pulse-input: Server name: 'pulseaudio 13.99.3'
14:45:42.919: pulse-input: Audio format: s16le, 44100 Hz, 2 channels
14:45:42.919: pulse-input: Started recording from 'alsa_input.pci-0000_00_1f.3.analog-stereo'
14:45:42.919: [Loaded global audio device]: 'Microfono/disp. ausiliario'
14:45:42.922: OBS XDG initialized (sender name: 1_1312)
14:45:42.922: OBS XDG initialized (sender name: 1_1312)
14:45:42.923: Switched to scene 'Scena'
14:45:42.923: ------------------------------------------------
14:45:42.923: Loaded scenes:
14:45:42.923: - scene 'Scena':
14:45:42.923: - source: 'Desktop Screencast (Wayland / X11) 2' (obs-xdg-source)
14:45:42.923: - source: 'Window Capture (X11 / Wayland)' (obs-xdg-window-capture)
14:45:42.923: ------------------------------------------------
14:45:43.003: [OBS XDG] Screencast session created
14:45:43.003: [OBS XDG] Screencast session created
14:45:43.054: [OBS XDG] Error selecting screencast source: GDBus.Error:org.freedesktop.portal.Error.InvalidArgument: Unavailable cursor mode 4
14:45:43.054: [OBS XDG] Error selecting screencast source: GDBus.Error:org.freedesktop.portal.Error.InvalidArgument: Unavailable cursor mode 4
14:45:43.474: adding 42 milliseconds of audio buffering, total audio buffering is now 42 milliseconds (source: Microfono/disp. ausiliario)
14:45:43.474:
14:45:52.379: [OBS XDG] Screencast session cancelled
14:45:52.380: OBS XDG initialized (sender name: 1_1312)
14:45:52.404: [OBS XDG] Screencast session created
14:45:52.418: [OBS XDG] Error selecting screencast source: GDBus.Error:org.freedesktop.portal.Error.InvalidArgument: Unavailable cursor mode 4
info: CPU Name: Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
info: CPU Speed: 2675.763MHz
info: Physical Cores: 2, Logical Cores: 4
info: Physical Memory: 7857MB Total, 1101MB Free
info: Kernel Version: Linux 5.9.8-arch1-1
info: Distribution: "KDE Flatpak runtime" "5.15"
info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.20.9
info: Portable mode: false
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)
QMetaObject::connectSlotsByName: No matching signal for on_transitionRemove_clicked()
info: OBS 26.0.2 (linux)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
samples per sec: 48000
speakers: 2
info: ---------------------------------
info: Initializing OpenGL...
info: Loading up OpenGL on adapter Intel Open Source Technology Center Mesa DRI Intel(R) HD Graphics 620 (KBL GT2)
info: OpenGL loaded successfully, version 4.6 (Core Profile) Mesa 20.1.10 (git-5fa3aae868), shading language 4.60
info: ---------------------------------
info: video settings reset:
base resolution: 1600x900
output resolution: 1600x900
downscale filter: Bicubic
fps: 30/1
format: NV12
YUV mode: 709/Partial
info: NV12 texture support not available
info: Audio monitoring device:
name: Predefinito
id: default
info: ---------------------------------
warning: Failed to load 'en-US' text for module: 'decklink-ouput-ui.so'
libDeckLinkAPI.so: impossibile aprire il file oggetto condiviso: File o directory non esistente
warning: A DeckLink iterator could not be created. The DeckLink drivers may not be installed
info: No blackmagic support
error: os_dlopen(libnvidia-encode.so.1->libnvidia-encode.so.1): libnvidia-encode.so.1: impossibile aprire il file oggetto condiviso: File o directory non esistente
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: impossibile aprire il file oggetto condiviso: File o directory non esistente
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: impossibile aprire il file oggetto condiviso: File o directory non esistente
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-vst.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 ===============================================
info: All scene data cleared
info: ------------------------------------------------
info: pulse-input: Server name: 'pulseaudio 13.99.3'
info: pulse-input: Audio format: s16le, 48000 Hz, 2 channels
info: pulse-input: Started recording from 'alsa_output.pci-0000_00_1f.3.analog-stereo.monitor'
info: [Loaded global audio device]: 'Audio del desktop'
info: pulse-input: Server name: 'pulseaudio 13.99.3'
info: pulse-input: Audio format: s16le, 44100 Hz, 2 channels
info: pulse-input: Started recording from 'alsa_input.pci-0000_00_1f.3.analog-stereo'
info: [Loaded global audio device]: 'Microfono/disp. ausiliario'
info: OBS XDG initialized (sender name: 1_1334)
error: Source ID 'obs-xdg-window-capture' not found
error: Failed to create source 'Window Capture (X11 / Wayland)'!
info: Switched to scene 'Scena'
info: ------------------------------------------------
info: Loaded scenes:
info: - scene 'Scena':
info: - source: 'Desktop Screencast (Wayland / X11) 2' (obs-xdg-source)
info: - source: 'Window Capture (X11 / Wayland)' (obs-xdg-window-capture)
info: ------------------------------------------------
Attempted path: share/obs/obs-studio/images/overflow.png
Attempted path: /app/share/obs/obs-studio/images/overflow.png
info: [OBS XDG] Screencast session created
info: [OBS XDG] Asking for monitor…
info: adding 42 milliseconds of audio buffering, total audio buffering is now 42 milliseconds (source: Microfono/disp. ausiliario)
info: [OBS XDG] Monitor selected, setting up screencast
info: [OBS XDG] Starting monitor screencast…
Same problem when try add gnome terminal
or sublime text 3
window as source (xcomposite) on ubuntu 20.04 lts and obs 26.1.1.
info: User switched to scene 'Terminal'
error: xcompcap: glXCreatePixmap failed: BadAlloc (insufficient resources for operation)
But other window like mozilla firefox works fine.
Related: https://github.com/obsproject/obs-studio/issues/3862
error: xcompcap: glXCreatePixmap failed: BadAlloc (insufficient resources for operation)
^^^ indicates the driver reports there's no available memory to create the temporary buffer to capture.
Platform
Installed using the the Flatpack Operating system and version: Ubuntu 18.04.5 OBS Studio version: 25.0.8 (64bit)
Expected Behavior
It should display the Chrome or Opera Browser in the OBS Studio Screen Preview
Current Behavior
it showing black screen in the OBS preview screen
Steps to Reproduce