| 18 Jun 2024 |
Atemu | As mentioned, I think it's an improvement over the status quo in its current form already. If you think the "more ideal" version I drafted is too complex to implement until the next release or so I'd be in favour of your PR as is.
We could also set a deadline of a month or so and simply merge if neither of us found the motivation to work on it until then. | 17:55:54 |
K900 | I'm not sure tbh, I've just been very low on spoons lately | 18:03:49 |
| 19 Jun 2024 |
Atemu | 🥄🥄🥄🥄🥄🥄🥄🥄🥄🥄🥄🥄🥄🥄 | 01:18:10 |
| eljamm joined the room. | 11:07:09 |
| flameopathic joined the room. | 18:03:26 |
| 20 Jun 2024 |
woobilicious | Anyone have any idea how to get obs-gamecapture to hook in to 32bit opengl games? upstream supports it, but I don't understand nix enough to set it up correctly. | 02:12:40 |
| Ronnie Hounskul (they/it) changed their display name from Ronnie Hounskul (they/them) to Ronnie Hounskul (they/it). | 02:16:29 |
| firerain joined the room. | 12:34:09 |
| 21 Jun 2024 |
woobilicious | got it running with these envars atm lol:
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/nix/store/i8zj05aiw2qxcwjwfjvcy9dwz798w7wm-libxcb-1.16/lib:/nix/store/9z0smixinzbi23jr3zjs87gnq6s8r1y3-libX11-1.8.7/lib
LD_PRELOAD=/nix/store/jvjxynmkri8l0mzpi49l3b1741h7818k-obs-vkcapture-1.4.7/lib/libobs_glcapture.so
| 09:49:21 |
Atemu | Hm, you shouldn't have to resort to LD_LIRBARY_PATH. What's the contents of /run/current-system/sw/share/vulkan/implicit_layer.d/obs_vkcapture_32.json? | 11:00:15 |
woobilicious | it throws errors about missing x libraries | 11:00:41 |
woobilicious | {
"file_format_version": "1.1.2",
"layer": {
"name": "VK_LAYER_OBS_vkcapture_32",
"type": "GLOBAL",
"library_path": "/nix/store/jvjxynmkri8l0mzpi49l3b1741h7818k-obs-vkcapture-1.4.7/lib/libVkLayer_obs_vkcapture.so",
"api_version": "1.3.280",
"implementation_version": "1",
"description": "OBS Linux game capture",
"functions": {
"vkNegotiateLoaderLayerInterfaceVersion": "OBS_Negotiate"
},
"enable_environment": {
"OBS_VKCAPTURE": "1"
},
"disable_environment": {
"DISABLE_OBS_VKCAPTURE": "1"
}
}
}
| 11:02:37 |
Atemu | As in xorg? | 11:04:03 |
Atemu | obs vkcapture is working for me on pkgsi686Linux.vulkan-tools' vkcube | 11:06:32 |
Atemu | (Using OBS_VKCAPTURE=1 vkcube) | 11:06:49 |
woobilicious | opengl, not vulkan | 11:16:38 |
woobilicious | limit of so files? I notice ldd can't show any info, so there's no way to hard code paths via rpath? | 11:27:44 |
woobilicious | I assume vulkan-tools has correct rpaths but a 3rd party game won't work. | 11:28:18 |
Atemu | That's correct | 12:20:05 |
Atemu | For OGL games, upstream says to use obs-gamecapture %command% | 12:20:42 |
Atemu | It's likely a wrapper that sets LD_LIBRARY_PATH for you | 12:20:56 |
woobilicious | Noticed there was a patch pushed to nixpkgs recently that actually hard codes the paths in to injectgl.c that might fix it. | 12:21:23 |
Atemu | Wait, I confused myself | 12:21:33 |
Atemu | vkcapture obviously won't work with OGL | 12:21:40 |
Atemu | Or not? Wait | 12:21:58 |
Atemu | It says OGL too | 12:22:03 |
woobilicious | I'm using the 64bit obs-gamecapture, it only works with 64bit apps. | 12:22:27 |
woobilicious | Atemu: the script is setup for multi lib distros: https://github.com/nowrep/obs-vkcapture/blob/master/src/obs-gamecapture.in | 12:23:40 |
Atemu | We build it for both bitnesses too | 12:26:16 |
Atemu | The 32bit version's JSON is on your system already | 12:26:41 |