OBS not working on Wayland

OBS studio is not working for me on Wayland. On launching it through terminal, this is what I get:

obs
qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: vnc, eglfs, xcb, minimal, vkkhrdisplay, linuxfb, minimalegl, offscreen.

Aborted (core dumped)

On Xorg, it does run, but the recordings are extremely choppy. This is a new issue that I’ve never had before.

System info:
https://0x0.st/oUHN.txt

1 Like

Try installing qt support for Wayland:

sudo pacman qt5-wayland qt6-wayland

and see if it will work.

https://wiki.archlinux.org/title/Open_Broadcaster_Software#Wayland
https://wiki.archlinux.org/title/Wayland#Qt

HTH

From a terminal run:

QT_QPA_PLATFORM=xcb obs

Does that work? If it does, change the desktop file.

I set up Flatpak and installed it that way and it works.

Well since (as far as I know) flatpak has nothing to do with Wayland, that would imply that your display technology had nothing to do with the original package not working either, but was likely just a matter of configuration/additonal packaging. Stating this for (I think) the record.

I did try doing this, this made Wayland unbootable for me, I had to reinstall wayland. Weird.

Thanks it works

CAn you tell me what does that mean and how to do it?

1 Like

I don’t have OBS installed, but,

cd /usr/share/applications
sudo nano <name of desktop file for OBS>.desktop

Change the exec line to:

Exec=env QT_QPA_PLATFORM=xcb obs

I think that should work. I do remember OBS having a weird naming convention for the desktop file.

com.obsproject.Studio.desktop

^ That is the file :smiley:

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.