-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some OpenGL programs don't work. #185
Comments
For Flatpak I don't really know how the GL capture should work, because |
Or maybe it works and you just didn't install https://github.com/flathub/org.freedesktop.Platform.VulkanLayer.OBSVkCapture ? |
Hi, I have installed that package. To be safe, I did run the install command again to check and was told it was already installed. I tried testing to see if I could narrow it down, it appears to be exclusively when I use OpenGL through Flatpak. Native GL, native VK, and Flatpak VK all seem to work perfectly fine. |
@Asurasim Can you try running the flatpak with |
I'm not very familiar with how environment variables work so please correct me if I've done this wrong.
I found libobs_glcapture.so inside of /usr/lib/ however it still says that there is no such file or directory. |
@Asurasim I should've included the full command, sorry.
|
The error is gone, but overall this seems to have given very mixed results. Parallel-Launcher works perfectly now. |
If it crashes it would be nice to get backtrace. If it doesn't get picked up, please post logs. Also if you use zink then you should just use Vulkan capture, not GL. |
Hi again. I haven't done backtracing before so it took me a while to (hopefully) figure it out. I tried it with bsnes since it seems to reliably crash once it begins capture in obs, if obs is closed it works normally. I ran bsnes with the command
Here is the coredump.
I'm unsure as to how I would get coredump on puNES since it doesn't crash. Here is what it says when I try to run it.
|
Thank you for taking the time to try and fix it but I'm not quite sure how I would go about using the fix.
|
For Flatpak you'll have to wait until next release. To install system-wide you need |
Thank you for clarifying. I take it there's no way to build the flatpak myself or use a beta to try it out? |
There is, but you'll have to look for instructions elsewhere.
Sure. |
Describe the bug
This is the first bug report I have ever done so I apologize if I have written something wrong or missed anything.
I have been trying this out to compare it with the Hyprland window capture and this has overall been much easier and better to use. However, some OpenGL software gives an error for obs-gamecapture and won't display anything in the obs window, the program still runs normally otherwise.
It has worked perfectly for all Vulkan games I have tried, and even some OpenGL applications.
What has worked:
vkcube (and every other Vulkan application I've tried, won't list them here as they have had no errors.)
glxgears
Celeste (Native - I'm pretty sure it uses OpenGL)
Olive video editor (Uses OpenGL.)
bsnes (Flatpak - Using Zink, I know Zink converts OpenGL to VK, but I was unsure whether it was Flatpak causing the errors or not by this point.)
What hasn't worked:
Garry's Mod (Native version - x86-64 beta build (Unless using Zink.))
Parallel-Launcher (Flatpak - Zink causes roms to not load unless using the parallel core, which uses Vulkan and doesn't work with old Mario 64 romhacks.)
puNES (Flatpak - Zink causes window to not display anything.)
RMG (Noticed this emulator was listed in another issue and decided to test it - same problem occured)
bsnes (Flatpak - When not using Zink)
Screenshots or video
Nothing displays so I'm not sure if there's anything I can screenshot.
System (please complete the following information):
OBS log:
Game log:
The text was updated successfully, but these errors were encountered: