[HEROIC/GAME] OBS Game Capture doesn't capture HGL installed games

Hello everyone! I have an issue using obs-vkcapture plugin with HGL installed games. It doesn't seems to capture in OBS when I launch a game. On the other side, everything works with Steam. I tried to add OBS_VKCAPTURE=1 and OBS_GLCAPTURE=1 in the environment zone in the game options, and then tried obs-gamecapture as an argument, with no results. Everything with first Wine-GE, and then with GE-Proton with UMU activated. I also tried to add the game to Steam and then adding env OBS_VKCAPTURE=1 %command%, still nothing. Finally, I added OBS_VKCAPTURE=1 to /etc/environment, works for Steam, not HGL. 🙁 I tried 3 different games. I'm using HGL and OBS with Flatpak. Thanks for any help! System:
CPU: 16x 12th Gen Intel(R) Core(TM) i5-12600KF
Memory: 33.49 GB (used: 5.55 GB)
GPUs:
GPU 0:
Name: Advanced Micro Devices, Inc. [AMD/ATI] Navi 32 [Radeon RX 7700 XT / 7800 XT]
IDs: D=747e V=1002 SD=5327 SV=1849
Driver: amdgpu
OS: Linux Mint 22.1 (Xia) (linux)

The current system is not a Steam Deck
We are running inside a Flatpak container

Software Versions:
Heroic: 2.16.0 Scopper Gaban
Legendary: 0.20.36 Urban Flight (Heroic)
gogdl: 1.1.2
comet: comet 0.2.0
Nile: 1.1.2 Will A. Zeppeli
CPU: 16x 12th Gen Intel(R) Core(TM) i5-12600KF
Memory: 33.49 GB (used: 5.55 GB)
GPUs:
GPU 0:
Name: Advanced Micro Devices, Inc. [AMD/ATI] Navi 32 [Radeon RX 7700 XT / 7800 XT]
IDs: D=747e V=1002 SD=5327 SV=1849
Driver: amdgpu
OS: Linux Mint 22.1 (Xia) (linux)

The current system is not a Steam Deck
We are running inside a Flatpak container

Software Versions:
Heroic: 2.16.0 Scopper Gaban
Legendary: 0.20.36 Urban Flight (Heroic)
gogdl: 1.1.2
comet: comet 0.2.0
Nile: 1.1.2 Will A. Zeppeli
Logs: - HGL: https://paste.debian.net/hidden/f02ebdd2/ - CIV6 (example game): https://paste.debian.net/hidden/93efadc6/
10 Replies
rival-black
rival-blackOP3mo ago
UPDATE: just remembered that Proton doesn't have good logs, but just saw that with UMU we have a verbose logs option now! Here are the new one for CIV6: https://paste.debian.net/hidden/0d795439/
grumpy-cyan
grumpy-cyan3mo ago
you are using flatpak do you have flatpak obs gamecapture vulkan layer installed?
rival-black
rival-blackOP3mo ago
Yep I installed everything proposed on the Github page. Here are the installed OBS related packages:
OBS Studio com.obsproject.Studio 31.0.1 stable flathub system

OBS VkCapture com.obsproject.Studio.Plugin.OBSVkCapture 1.5.0 stable flathub system

OBS VkCapture tools org.freedesktop.Platform.VulkanLayer.OBSVkCapture 1.5.1 24.08 flathub system
OBS Studio com.obsproject.Studio 31.0.1 stable flathub system

OBS VkCapture com.obsproject.Studio.Plugin.OBSVkCapture 1.5.0 stable flathub system

OBS VkCapture tools org.freedesktop.Platform.VulkanLayer.OBSVkCapture 1.5.1 24.08 flathub system
And I also built and install the plugin to capture outside games, because Steam is non-flatpak.
grumpy-cyan
grumpy-cyan3mo ago
heroic uses 23.08 as platform/runtime you need to install VulkanLayer.OBSVkCapture for that runtime
rival-black
rival-blackOP3mo ago
Okay, will try that!
rival-black
rival-blackOP3mo ago
It was that, I installed the 23.08 version and after a reboot, OBS is now capturing HGL games. Thank you very much!
No description
rival-black
rival-blackOP3mo ago
It was so simple, I feel dumb 😅 How can we know which Flatpak packages version to use with HGL?
grumpy-cyan
grumpy-cyan3mo ago
Don't feel bad, that is one of the downsides of flatpaks since you need to track which platform is being used by the flatpak
sunny-green
sunny-green3mo ago
flatpak list --columns=name,runtime lists which runtime is used for each of the apps, there you can see which one heroic is using our idea is to update to runtime 24 soon (we did a few months ago but there was a bug and we reverted it back to 23)
rival-black
rival-blackOP3mo ago
Haha thanks, yes it adds procedures 🙃 Thank you, will definitely note that command I kept 24.08 installed, so nothing should break 👍

Did you find this page helpful?