OBS crashing when browse for file

Whenever I try to open a file in OBS like you would for adding an image as a source, it crashes. I can't find any logs about the issue, even when starting OBS from the terminal. For me it feels like it tries to open a file browser window that doesn't exist on the KDE Bazzite os. (I have freshly rebased form Kinoite in order to get virtual camera support easier than it would be to enable it on the base image)
Solution:
I have a solution for you, if we run obs in a Ubuntu distrobox, I don't have the file issue. Might have other issues though. If you paste this script into your terminal it will make a distrobox called obs-ubuntu running Ubuntu 22.04. ```bash distrobox create --image ubuntu:22.04 --name obs-ubuntu -Y...
Jump to solution
20 Replies
wolfyreload
wolfyreload8mo ago
I can reproduce your issue, let me see if I can see what the issue is If I run journalctrl -f while running obs I can see that it is doing a kernal dump when you try and load a file. There might be a bug in the libQt6Widgets module which is responsible for file dialogs Same issue if I hit settings and try and browse the output path
dpeter99
dpeter99OP8mo ago
ohh wow thanks for the fast repply
wolfyreload
wolfyreload8mo ago
I booted back to Bazzite 40.20240508.0 and it still crashes for me, so it's not a recent update issue
Solution
wolfyreload
wolfyreload8mo ago
I have a solution for you, if we run obs in a Ubuntu distrobox, I don't have the file issue. Might have other issues though. If you paste this script into your terminal it will make a distrobox called obs-ubuntu running Ubuntu 22.04.
distrobox create --image ubuntu:22.04 --name obs-ubuntu -Y
distrobox enter obs-ubuntu
distrobox create --image ubuntu:22.04 --name obs-ubuntu -Y
distrobox enter obs-ubuntu
Once you are in the distrobox run the following, this will install obs in Ubuntu and export a shortcut in your menu called OBS Studio (on obs-ubuntu)
sudo apt update
sudo apt install software-properties-common
sudo add-apt-repository ppa:obsproject/obs-studio
sudo apt update
sudo apt install ffmpeg obs-studio -y
distrobox-export --app obs
sudo apt update
sudo apt install software-properties-common
sudo add-apt-repository ppa:obsproject/obs-studio
sudo apt update
sudo apt install ffmpeg obs-studio -y
distrobox-export --app obs
Launch OBS Studio (on obs-ubuntu) and the file issue is fixed, but it might break other things. Not sure
dpeter99
dpeter99OP8mo ago
does the virtual camera work with this?
wolfyreload
wolfyreload8mo ago
Looks like it, tested the virtual camera obs feature in Microsoft Teams and it's showing the picture I selected instead of the webcam. I tested a short recording and that worked too
dpeter99
dpeter99OP8mo ago
hmm no idea why but add-apt-repository seams to be missing ? even tho apt is there?
wolfyreload
wolfyreload8mo ago
I have modified the instructions, weird it looks like that command isn't available which is super weird try run this then run the other instructions
sudo apt update
sudo apt install software-properties-common
sudo apt update
sudo apt install software-properties-common
Did you come right?
dpeter99
dpeter99OP8mo ago
Yeah that works now. Where should I report the issue? casue having to run an extra container is not the more efficient XD
wolfyreload
wolfyreload8mo ago
I'm not sure where to log it as I think it's an upsteam issue. I need to check if it's an issue in Fedora Kinoite.
dpeter99
dpeter99OP8mo ago
tho now the context menus are outside my screen. Like when I right click on a source to set it's transform the dropdown ends offscreen tho after a restart is seams to work... it is a bit messy
wolfyreload
wolfyreload8mo ago
Agreed, it's not a great solution. Looks like Ublue Aurora is having the same issue. So at it's not just Bazzite.
dpeter99
dpeter99OP8mo ago
Aaannnd it crashed when I tried to rename a source
wolfyreload
wolfyreload8mo ago
Just tried the latest Fedora Kinoite. OBS still crashes when opening a file open dialog with the same error. So the issue is either OBS or Fedora Kinoite
dpeter99
dpeter99OP8mo ago
can you rename a source on Kinoite?
wolfyreload
wolfyreload8mo ago
No issues with renaming a source, in Kinoite, Bazzite KDE or the distrobox
dpeter99
dpeter99OP8mo ago
not even in the distrobox? that is where I'm getting the issue
wolfyreload
wolfyreload8mo ago
Even the distrobox one I tried renaming an image source and it doesn't crash on me Maybe it's one of the specific sources that crashes?
dpeter99
dpeter99OP8mo ago
it was an image source hmmm
wolfyreload
wolfyreload8mo ago
I'm out of guesses Will let you know if I think of anything else
Want results from more Discord servers?
Add your server