beeradmoore / dlss-swapper

GNU General Public License v3.0
1.79k stars 63 forks source link

[Feature request] Support for Proton/Linux #104

Open benjamimgois opened 1 year ago

benjamimgois commented 1 year ago

Is your feature request related to a problem? Please describe. Add support Proton / Linux systems

Describe the solution you'd like A cmd or GUI that could update the dll inside proton prefixes

beeradmoore commented 1 year ago

Would this be specifically only through Steam on Linux or is there a way to use Proton outside of that?

benjamimgois commented 1 year ago

@beeradmoore Steam would be the primary focus since it's the only "official" game store on the system. Proton can be used by external applications, so supporting it would automatically support alternative stores enabled by Heroic (Epic games and GOG) and Lutris (Epic, GOG, Amazon, Ubisoft and Origin).

mokurai82 commented 1 month ago

@beeradmoore Thank you for creating this great tool! Any Linux support would be awesome as the Linux market share is growing fast lately. Best Regards!

beeradmoore commented 1 month ago

I will revisit when I can.

Any suggestions on what flavour of Linux I should use (on a VM), and what games in Steam work on Linux that also have DLSS support for Linux?

Rool-IO commented 1 month ago

Cyberpunk of course since you'll even get to play with swapping all 3 DLSS variants ;)

beeradmoore commented 1 month ago

That works for me!

I assume this is running via Proton and Steam handles setting that up for me. So DLSS would be using the same DLL as Windows does? Because I had seen in the DLSS SDK they have linux builds that use .so.

Does anyone know if there any linux native games that have DLSS so I can also support that?

mokurai82 commented 1 month ago

Cheers for responding! Shadow of the Tomb Raider has both a proton and a native Linux version, however the latter does not have DLSS support. I found via Google search that DLSS is not yet a thing for native Linux games. Which would simplify the solution for now as for instance a proton Steam game folder has the same contents as a Windows steam game folder.

beeradmoore commented 1 month ago

DLSS is not yet a thing for native Linux games

Thats ok, a solution would have to eventually support both games running through proton and games running natively. With the changes I've been making of how DLSS Swapper detects DLSS frame generation and ray reconstruction dlls, it will be easy to change that to include these Linux specific files.

At some point I'll look at moving the detecting and parsing of files and put it into a "DLSS_Swapper.Core" package, and then after that a Linux frontend to do the swapping.

But that work will be after FG/RR, maybe and FSR/XeSS come to mainline DLSS Swapper.