ValveSoftware / gamescope

SteamOS session compositing window manager
Other
3.07k stars 204 forks source link

gamescope_reshade: Couldn't find texture with name: V__ReShade__BackBufferTex #1422

Open Erfboom opened 3 months ago

Erfboom commented 3 months ago

I'm trying to use Deband.fx and I receive the following:

gamescope_reshade: Using technique: Deband

gamescope_reshade: Couldn't find texture with name: V__ReShade__BackBufferTex
gamescope_reshade: Couldn't find texture with name: V__ReShade__DepthBufferTex

the command is:

gamescope -f -W 2560 -H 1440 --reshade-effect Deband.fx  --reshade-technique-idx Deband --hdr-itm-enable --hdr-enabled --hdr-debug-force-output --hdr-itm-target-nits 436  -- Applications/Moonlight.AppImage

I really don't know how to use gamescope very well, so forgive the parameters. From the limited information on the internet on how to use ReShade + gamescope, that's what I've come up with.

The reshade-technique-idx is found inside the FX file and it's a function more or less?

There's another issue with TriDither.fxh that tells me I have the wrong reshade-technique index.

misyltoad commented 3 months ago

Unfortunately Depth buffer stuff is not supported. Games don't submit depth buffers in their swapchains, and don't have any logic to try and pull them out (which is much harder in VK than DX9/11)

V__ReShade__BackBufferTex should work, perhaps we are just missing some variant of it with V_ at the start or something?

Erfboom commented 3 months ago

well in this case it's not a game, but you may have provided a clue.

moonlight-qt uses ffmpeg to stream a video to the user. so perhaps i need to see if it's possible to add the -vf option to deband the stream as it gets decoded.

sharkautarch commented 3 months ago

@Erfboom Not sure if this could be of use, but I have a repo with some third-party reshade shaders that I had tested to work with gamescope: https://github.com/sharkautarch/GamescopeShaders/tree/main ^it's a fork of Joshua Ashton's reshade shader collection, w/ some third-party reshade shaders added in

Erfboom commented 3 months ago

Thanks for the link! But unfortunately I'm looking to apply a Deband effect on the incoming stream which might be too involved.

On Thu, Jul 18, 2024, 10:24 AM sharkautarch @.***> wrote:

@Erfboom https://github.com/Erfboom Not sure if this could be of use, but I have a repo with some third-party reshade shaders that I had tested to work with gamescope: https://github.com/sharkautarch/GamescopeShaders/tree/main

— Reply to this email directly, view it on GitHub https://github.com/ValveSoftware/gamescope/issues/1422#issuecomment-2236675827, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANOCNB5H4T3X66EIDSXNL7TZM7FYPAVCNFSM6AAAAABLA75SNOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZWGY3TKOBSG4 . You are receiving this because you were mentioned.Message ID: @.***>