Question / Help Running OBS in Wayland

mcgrew

New Member
I'm not sure if OBS should run in Wayland or not, but I am getting a core dump any time I try it. I have attached the core dump and glxinfo (since it is complaining about GLX_ARB_create_context)

This may be an OpenGL version issue with Wayland, but I'm hoping someone can help me make this work, since it works from X11 on this machine.
 

Attachments

  • dump.txt
    86.2 KB · Views: 50
  • glxinfo.txt
    14.6 KB · Views: 45

mcgrew

New Member
Here is the glxinfo file from X11, which contains core profile information not contained in glxinfo from Wayland. This is likely the issue, but I'm not sure how to fix it.

OpenGL version string is 3.0 in both. Core profile version is 3.3, but this does not show up when running from Wayland.
 

Attachments

  • glxinfo2.txt
    22.1 KB · Views: 47

Lain

Forum Admin
Lain
Forum Moderator
Developer
We probably don't have wayland support yet (though I want it). You appear to be on Arch. How do you set it up exactly? (Actually I can probably google it)
 

stratacast1

New Member
I would like to see if I can help out in some way with Wayland support. I'm running Fedora 23 with the GNOME desktop right now. Looking at the preview, it detects mouse input but does not display any of my desktop, just a black screen.
 

stratacast1

New Member
I don't know for sure about third party software like OBS, but I can capture screen/windows with GNOME's built in screen recorder and screenshot when in a Wayland session
 

Francewhoa

New Member
This challenge can potentially be resolve using either obs-xdg-portal or obs-gnome-screencast free and open source plugins
--- --- --- --- --- --- --- --- --- --- --- --- --- ---

Below is the same answer as above. But with details if you're interested in those.

Option 1: obs-xdg-portal
  1. Download & install this obs-xdg-portal plugin from https://gitlab.gnome.org/feaneron/obs-xdg-portal
  2. If needed read this introduction from the author at https://feaneron.com/2019/11/21/screencasting-with-obs-studio-on-wayland/
  3. If needed read this documentation at https://gitlab.gnome.org/feaneron/obs-xdg-portal/-/blob/master/README.md
  4. If needed, to get support from volunteers, create a new issue at https://gitlab.gnome.org/feaneron/obs-xdg-portal/-/issues
  5. Contribute at https://gitlab.gnome.org/feaneron/obs-xdg-portal/-/tree/master
Option 2: obs-gnome-screencast
  1. If not already done, using GNOME, you need to install those two required packages:
    1. GNOME Screen Cast
      For example for Debian it is this package at https://packages.debian.org/search?...+Cast&searchon=names&suite=stable&section=all
    2. GStreamer pipewire
      For example for Debian it is this package at https://packages.debian.org/search?...ny&searchon=names&keywords=GStreamer+pipewire
  2. Still using GNOME, using "GNOME Settings", navigate to "Sharing" vertical tab. Enable "Desktop Sharing"
  3. Using your internet browser, go to obs-xdg-portal plug in homepage at https://github.com/fzwoch/obs-gnome-screencast
    1. Download and configure obs-xdg-portal
  4. If needed, find this documentation at https://github.com/fzwoch/obs-gnome-screencast/blob/master/README.md
  5. If needed, get support from volunteers, create a new issue at https://github.com/fzwoch/obs-gnome-screencast/issues
  6. Contribute at https://github.com/fzwoch/obs-gnome-screencast
 
Last edited:
Top