While using the older DXVK libraries provided by the guide did work, I came across a reproducible crash involving a ship model (Akhetaten).
My fix was to remove the DXVK libraries from the game directory and instead use the newest ones provided by the package manager.
To install the package manager libraries on the Discovery wine prefix, you must set it as default with an environment variable:
export WINEPREFIX=/dir/to/disco/prefix
And then run dxvk_setup install, the script should come bundled with the package, and it's intended to install DXVK on wine prefixes, this script also ensures to setup environment variables so that Lutris properly detects DXVK.
Very interesting. Can you provide more details where exactly command needs to be run? In which opened menu? available after pressing which buttons? (assuming we are in Lutris environment)
(06-08-2025, 11:26 PM)darkwind Wrote: Very interesting. Can you provide more details where this command needs to be run?
It can be run anywhere, the environment variable will point to the wine prefix you want to install DXVK into. If the environment variable is missing it'll install DXVK on the generic wine prefix that can be found in ~/.wine, it might still work this way, as I think you can run libraries from one prefix inside another one, but the proper practice is to install DXVK on each prefix that requires it, specially to avoid incidents when you prune old prefixes that are no longer needed.
(06-08-2025, 11:26 PM)darkwind Wrote: Very interesting. Can you provide more details where this command needs to be run?
It can be run anywhere, the environment variable will point to the wine prefix you want to install DXVK into. If the environment variable is missing it'll install DXVK on the generic wine prefix that can be found in ~/.wine, it might still work this way, as I think you can run libraries from one prefix inside another one, but the proper practice is to install DXVK on each prefix that requires it, specially to avoid incidents when you prune old prefixes that are no longer needed.
The script can not be run anywhere (for example it is not present at my OS if i just open my default terminal and try to execute `dxvk_setup -- help` ). if u wish to provide precise human friendly instruction, it should begin with the step where to acquire the script / or how to access Lutris/Wine specific terminal environment where this script is already installed and ready for execution.
Otherwise instruction is incomplete and guess work to find out how to perform it exactly.
Please be more detailed in provided documentation So that your instructions would be reproducable.
Highly Preferably also do mention exact verison of `dxvk_setup` that helped you.
(06-08-2025, 11:41 PM)darkwind Wrote: The script can not be run anywhere (for example it is not present at my OS if i just open my default terminal and try to execute `dxvk_setup -- help` ). if u wish to provide precise human friendly instruction, it should begin with the step where to acquire the script / or how to access Lutris/Wine specific terminal environment where this script is already installed and ready for execution.
Otherwise instruction is incomplete and guess work to find out how to perform it exactly.
Please be more detailed in provided documentation So that your instructions would be reproducable.
Highly Preferably also do mention exact verison of `dxvk_setup` that helped you.
Looks like I'm an embarrassment as usual.
The script name is setup_dxvk, apologies. This script comes bundled with the dxvk package and it's from upstream DXVK.
(06-08-2025, 11:41 PM)darkwind Wrote: The script can not be run anywhere (for example it is not present at my OS if i just open my default terminal and try to execute `dxvk_setup -- help` ). if u wish to provide precise human friendly instruction, it should begin with the step where to acquire the script / or how to access Lutris/Wine specific terminal environment where this script is already installed and ready for execution.
Otherwise instruction is incomplete and guess work to find out how to perform it exactly.
Please be more detailed in provided documentation So that your instructions would be reproducable.
Highly Preferably also do mention exact verison of `dxvk_setup` that helped you.
After some digging I double checked how other distributions package DXVK and it seems this script isn't shipped with Debian (be stable or Sid), I'm currently doing some tests on Artix and using the dxvk-bin package sourced from AUR, which does include it.
I noticed that the one provided by AUR does include an entry to install for d3d8to9, which the upstream one lacks and it's necessary to run Freelancer.
Nonetheless if someone wants to install and play Discovery/Freelancer in Arch/Artix I suggest they install DXVK on wine prefixes using this script for the sake of convenience, it worked fine so far.
Yes, I've noticed the artifacts as well, don't worry.
Other than that, the game runs at a steady and very playable 60FPS at 1080p, I'm double-checking to get rid of the issue, maybe it requires some special setup on DXVK or maybe a mesa patch (already had to compile a custom driver on the console to get rendering working so that'd be expected) so it looks as intended.
But other than that you technically could play Freelancer on a Playstation 4 if you really wanted to, and if you don't mind the texture artifact issues, if people is interested in learning how I got this far I could make a dedicated thread later on.
Yes, I've noticed the artifacts as well, don't worry.
Other than that, the game runs at a steady and very playable 60FPS at 1080p, I'm double-checking to get rid of the issue, maybe it requires some special setup on DXVK or maybe a mesa patch (already had to compile a custom driver on the console to get rendering working so that'd be expected) so it looks as intended.
But other than that you technically could play Freelancer on a Playstation 4 if you really wanted to, and if you don't mind the texture artifact issues, if people is interested in learning how I got this far I could make a dedicated thread later on.
Changelog Wrote:winetricks dotnet40
winetricks dotnet45 // winetricks dotnet40 // i suspect not needed at all any longer if u install dotnet48, try not to install
// winetricks dotnet45 // deprecated disco dotnet, no longer needed
// some level of issues with dotnet48 is present, ensure to deinstall old one dotnet45 first and install new one with --force flag
// for deinstallation of dotnet45, run `wine deinstaller` in Bash lutris console`, in same console where we input winetricks commands
// https://github.com/Winetricks/winetricks/issues/2159
// https://www.reddit.com/r/winehq/comments...scoreedll/
winetricks --force dotnet48 // latest in use by Discovery Freelancer
Updated linux tutorial for Disco stuff, u need `winetricks --force dotnet48` now, with previously deinstalled dotnet45 if was installed. `wine deinstaller` is able to deinstall previous version.