Discovery Gaming Community
Discovery on Linux. Article Guide (2025) (Requires update by Koshi materials) - Printable Version

+- Discovery Gaming Community (https://discoverygc.com/forums)
+-- Forum: Welcome (https://discoverygc.com/forums/forumdisplay.php?fid=399)
+--- Forum: Help & Support (https://discoverygc.com/forums/forumdisplay.php?fid=26)
+---- Forum: Tutorials & Tools (https://discoverygc.com/forums/forumdisplay.php?fid=178)
+----- Forum: Linux Guides (https://discoverygc.com/forums/forumdisplay.php?fid=743)
+----- Thread: Discovery on Linux. Article Guide (2025) (Requires update by Koshi materials) (/showthread.php?tid=204034)

Pages: 1 2 3


RE: Discovery on Linux. Article Guide (2025) - darkwind - 06-08-2025

(06-08-2025, 11:16 PM)0verflow Wrote: HEADS UP!

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)


RE: Discovery on Linux. Article Guide (2025) - 0verflow - 06-08-2025

(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.


RE: Discovery on Linux. Article Guide (2025) - darkwind - 06-08-2025

(06-08-2025, 11:31 PM)0verflow Wrote:
(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 (sun) So that your instructions would be reproducable.

Highly Preferably also do mention exact verison of `dxvk_setup` that helped you.


RE: Discovery on Linux. Article Guide (2025) - 0verflow - 06-08-2025

(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 (sun) 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.


RE: Discovery on Linux. Article Guide (2025) - 0verflow - 06-10-2025

(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 (sun) 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.

Here's the script from upstream.

And here's the one I have.

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.


RE: Discovery on Linux. Article Guide (2025) - 0verflow - 06-14-2025

Here to show a glimpse of what I've been working on for the past few days:
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.


RE: Discovery on Linux. Article Guide (2025) - SSV - 06-15-2025

(06-14-2025, 05:07 PM)0verflow Wrote: Here to show a glimpse of what I've been working on for the past few days:
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.

Crazy mf, respectSmile


RE: Discovery on Linux. Article Guide (2025) - darkwind - 09-21-2025

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/eqx1uu/wine_doesnt_see_mscoreedll/
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.


RE: Discovery on Linux. Article Guide (2025) - darkwind - 11-03-2025

Based on discussions of Octadrius that installed wine through pacman and had it not working because 32 bit support was broken
and he had to downgrade it to Wine 9 to get 32 bit support back

Quote:Octadrius

— 1:56 PM
sorted out! it was the wine system package, newest versions do not support 32-bit somehow, if anyone encounters the problem, downgrade is the way to go.
so glad I can play again :mlem:
Darkwind The Dark Duck

— 2:03 PM
how did u downgrade it / where did u downgraded it
https://bbs.archlinux.org/viewtopic.php?id=306356 perhaps related discussion
Octadrius

— 2:06 PM
I've installed a program called downgrade (sudo pacman -S downgrade), then ran sudo downgrade wine and selected version 9

this issue should not appear if u follow the guide
Nevertheless warning for people attempting to use Wine newer than guide recommends (9 smth) that 32 bit support may be working less than in Wine guide recommends


RE: Discovery on Linux. Article Guide (2025) - Sally - 11-10-2025

Two reminders.

1. I've upgraded my Wine runner to wine-tkg-mainline (manually compiled) and it works like a charm, no need to use the ancient 9.0 runner.

2. The launcher's doing something funny and wineserver is quitting due to bad memory allocation (runs out of virtual memory), this is bad because if wineserver quits everything running on top of it does as well, including the game. Two ways I've found to bypass this, you can close/kill the launcher altogether or alt-tab back to the launcher after running the game, and then back at the game. You might notice the launcher looks greyed out after running the game and clicking back at it won't do a thing, so that's a hint about something off going on, if you leave it like that wineserver will exit after X seconds due to running out of virtual memory, once the launcher responds again the problem disappears and nothing quits.