| 21 Jun 2024 |
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 |
woobilicious | the json file is for vulkan overlays only. | 12:27:12 |
Atemu | But we don't have 32bit compat for the wrapper | 12:27:20 |
Atemu | Not entirely sure how you'd do that honestly | 12:27:39 |
Atemu | It'd probably be best to just have a obs-vkcapture_32 or something | 12:27:56 |
Atemu | Should be simple to add | 12:28:31 |
woobilicious | I should check if the latest version works | 12:30:46 |
Atemu | woobilicious: https://github.com/NixOS/nixpkgs/pull/321493 | 12:36:04 |
woobilicious | I wonder if it's possible to make the 64bit one universal? | 12:37:21 |
K900 | Possible, probably, good idea, not really | 12:37:59 |
K900 | LD_PRELOAD is a very powerful tool | 12:38:04 |
K900 | And should be generally handled as carefully as possible | 12:38:18 |
Tumble | can i use it to unsandbox? | 12:38:51 |
K900 | ...what | 12:39:00 |