!hzgkCxLtCOTmFXGauj:nixos.org

NixOS Gaming

579 Members
Gaming things, my hands are typing words.160 Servers

Load older messages


SenderMessageTime
18 Jun 2024
@atemu12:matrix.orgAtemu

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:0upti.meK900I'm not sure tbh, I've just been very low on spoons lately 18:03:49
19 Jun 2024
@atemu12:matrix.orgAtemu🥄🥄🥄🥄🥄🥄🥄🥄🥄🥄🥄🥄🥄🥄01:18:10
@eljamm:matrix.orgeljamm joined the room.11:07:09
@flameopathic:matrix.orgflameopathic joined the room.18:03:26
20 Jun 2024
@woobilicious:matrix.orgwoobiliciousAnyone 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
@3650badcop:catgirl.cloudRonnie Hounskul (they/it) changed their display name from Ronnie Hounskul (they/them) to Ronnie Hounskul (they/it).02:16:29
@firerain:matrix.orgfirerain joined the room.12:34:09
21 Jun 2024
@woobilicious:matrix.orgwoobilicious

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
@atemu12:matrix.orgAtemu 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:matrix.orgwoobiliciousit throws errors about missing x libraries11:00:41
@woobilicious:matrix.orgwoobilicious
{
    "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
@atemu12:matrix.orgAtemuAs in xorg?11:04:03
@atemu12:matrix.orgAtemu obs vkcapture is working for me on pkgsi686Linux.vulkan-tools' vkcube 11:06:32
@atemu12:matrix.orgAtemu (Using OBS_VKCAPTURE=1 vkcube) 11:06:49
@woobilicious:matrix.orgwoobiliciousopengl, not vulkan11:16:38
@woobilicious:matrix.orgwoobiliciouslimit 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:matrix.orgwoobiliciousI assume vulkan-tools has correct rpaths but a 3rd party game won't work.11:28:18
@atemu12:matrix.orgAtemuThat's correct12:20:05
@atemu12:matrix.orgAtemu For OGL games, upstream says to use obs-gamecapture %command% 12:20:42
@atemu12:matrix.orgAtemuIt's likely a wrapper that sets LD_LIBRARY_PATH for you12:20:56
@woobilicious:matrix.orgwoobiliciousNoticed 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
@atemu12:matrix.orgAtemuWait, I confused myself12:21:33
@atemu12:matrix.orgAtemuvkcapture obviously won't work with OGL12:21:40
@atemu12:matrix.orgAtemuOr not? Wait12:21:58
@atemu12:matrix.orgAtemuIt says OGL too12:22:03
@woobilicious:matrix.orgwoobiliciousI'm using the 64bit obs-gamecapture, it only works with 64bit apps.12:22:27
@woobilicious:matrix.orgwoobilicious Atemu: the script is setup for multi lib distros: https://github.com/nowrep/obs-vkcapture/blob/master/src/obs-gamecapture.in 12:23:40
@atemu12:matrix.orgAtemuWe build it for both bitnesses too12:26:16
@atemu12:matrix.orgAtemuThe 32bit version's JSON is on your system already12:26:41

Show newer messages


Back to Room ListRoom Version: 10