How to install ED on Linux using Wine [EXPERIMENTAL, NOT OFFICIALLY SUPPORTED]

Would you mind saying how you do that here, for others?

I've been using the lutris launcher with wine 3.19, so I selected the audio option to use "ALSA" instead, inside lutris. ALSA is already configured to use pulse by default (I have the standard .asoundrc that routes to pulse). To switch audio devices, I just use pavucontrol to reroute ED's sounds. Seems to work great. I think you can do all this by using winecfg too (under the audio tab there).
 
Is it just me or did the launcher just get much less buggy when running in wine? I'm no longer getting significant visual artifacting, and it seems to be downloading much more quickly.
 
Last edited:
Disclaimer: this is an guide of installing ED on Linux distribution using Windows library wrapper Wine. This is not official (and not officially supported), and is deemed experimental, so only use your commander account only if you know what you are doing. Also please don't ask FD for help as they won't be really aware about this setup and don't support it. Also ED Horizons using Wine won't work on MacOS due of Apple not supporting OpenGL beyond 4.1 version.

This OP will get regularly updated so check it out for newest updates


QUICK LINKS

1. How to solve CRC error
(please note this should be solved for Wine 3.18 and later) - instructions from commander RedMcG here
2. How to install ED Horizons on SUSE - instructions from commander wstephenson here
3. Fedora 29 has newest GNU TLS library which has bug that doesn't allow to launch launcher. Use these instructions to work around this issue;
4. Currently Steam Play freezes with ED - see RedMcG update regarding this. No ETA where his (and other required) work will appear in Proton, but work is ongoing;

STATUS

As for 30.10.2018 using Wine 3.19 staging version with Nvidia binary driver - GAME WORKS, there are few ongoing issues, currently figured out by lot of people who test this thing. People report also success with Proton / Let's Play, SUSE, ArchLinux, Fedora.

Please note that while technically Wine translates to appropriate OpenGL version, and thus DirectX11 will be translated to OpenGL 4.3 at least, various graphics drivers will behave differently. It is highly suggested to use newest stable driver version for your card. Also if you are using DXVK, you MUST use newest drivers for best Vulkan API support along with up to date DXVK patches.

Installation steps for Elite Dangerous under Wine 3.19 (For lower versions see notes)

1. To initialize Wine 64-bit prefix use WINEPREFIX=~/ed-wine wine64 winecfg. Then choose 'Windows 7' in version list and hit Apply for configuration change
2. To install Winetricks dependencies use WINEPREFIX=~/ed-wine WINE=/usr/bin/wine64 ./winetricks dotnet452 corefonts quartz vcrun2012 dxvk
This provides .NET 4.5.2 support, Core Fonts, C++ runtime support 2012, and DXVK support
For Wine 3.17 and lower you will need quartz dll for intro video - WINEPREFIX=~/ed-wine WINE=/usr/bin/wine64 ./winetricks quartz
3. Switch back to Windows 7 after winetricks have changed it with WINEPREFIX=~/ed-wine wine64 winecfg to switch Windows version used to Windows 7
4. Install Elite Dangerous installer and launcher WINEPREFIX=~/ed-wine wine64 EliteDangerous-Client-Installer.exe
5. Launch ED launcher:
Wine 3.19 and higher - WINEPREFIX=~/ed-wine wine64 "c:\Program Files\Frontier\EDLauncher\EDLaunch.exe"
Wine 3.18 and lower - WINEPREFIX=~/ed-wine wine "c:\Program Files\Frontier\EDLauncher\EDLaunch.exe"
!!! Also note please that for wine 3.18 and lower
you need to change registry to match MachineID entries with what launcher expects you to get !!! - See instructions here
8. Install EDH and try to play it. There are however numerous issues, so be aware. Performance wise currently there's penalty which is about 10% of performance loss comparing to Windows (might differ from setup to setup though), There are ongoing work for sorting out bindings, be sure you are using newest Wine possible due of patches that are included in Wine and Wine Staging 3.19 and above for better experience. Also don't be shy and ask if you have issues, we are here to help!


Report all bugs to Wine bugzilla https://bugs.winehq.org. Also there's ongoing rendering bug for Elite Dangerous https://bugs.winehq.org/show_bug.cgi?id=43162 so you can add your experience there.

SIDE NOTES

* Regular DirectX -> OpenGL translator have visual glitches. For best performance / visual result use DXVK; However, if you want to try OpenGL, then use winecfg to switch d10/d11 dlls to builtin.
* setting up is not that easy - there can be issues with dotnet40 installation, sometimes it crashes or not working fully. Try again if you fail for first time;
* graphical artifact issues with launcher, annoying, but allows to login and launch game;
5. For wine 3.18 and later you don't need winetricks installation of quartz, as native implementation has fixed to play ED intro and menu videos;
6. For wine 3.19 and later you can run EDLaunch.exe with wine64 again;
7. You can control previous bindings, but you have to figure out right IDs for devices. Investigation continues;


Known issues

* ED Launcher parts of info panes disappear/appear (all Wine versions, but not Proton / Steam Play version of Wine from Valve)
* ED Horizons 64-bit version having CRC error - (Wine 2.13)
https://bugs.winehq.org/show_bug.cgi?id=43464 - WORKAROUND by commander RedMcG, see solution here . THIS IS SOLVED in wine 3.19 and higher.
* ED Horizons having issues with keybindings - patches here https://www.winehq.org/pipermail/wine-devel/2018-April/125332.html. Patches are included in Wine 3.19 Staging so you don't need them if you use Staging Wine 3.19 on your distribution.

Hey everyone!

We've had reports that the above "experiments" are causing some technical problems in-game. The issues aren't just happening for those playing Elite Dangerous on Linux, but also for players who end up in the same instance while playing on PC.

Just a reminder that Linux is not an officially supported platform, and we are currently investigating these issues. We wanted to let you know so you don't too much time on something that we can not support, and that could potentially change.

Thanks,

Ed
 
Hey everyone!

We've had reports that the above "experiments" are causing some technical problems in-game. The issues aren't just happening for those playing Elite Dangerous on Linux, but also for players who end up in the same instance while playing on PC.

Just a reminder that Linux is not an officially supported platform, and we are currently investigating these issues. We wanted to let you know so you don't too much time on something that we can not support, and that could potentially change.

Thanks,

Ed

Thanks Ed for letting us know. There's no issue, you can fix things if you required to, we understand that. But if problem can be shared with us, it would be cool to let us know, so we can actually fix it so it doesn't bother you at all. Cheers :)
 
Hey everyone!

We've had reports that the above "experiments" are causing some technical problems in-game. The issues aren't just happening for those playing Elite Dangerous on Linux, but also for players who end up in the same instance while playing on PC.

Just a reminder that Linux is not an officially supported platform, and we are currently investigating these issues. We wanted to let you know so you don't too much time on something that we can not support, and that could potentially change.

Thanks,

Ed

Then work. with. us. to get these issues sorted out. You have a lot of very clever folks working in Frontier, but there are a lot of very clever and knowledgeable Linux users and developers outside of Frontier. Would it not benefit everyone if you didn't go into an insular, walled-garden mode and instead did things like list any issues arising?

Regards.
 
What is the actual request here, Ed? Cease operations on Linux, only play in Solo, only play with each other in a Penguin Cmdrs private group?

I'm assuming from your message that the issue is in peer to peer connections between commanders in the same session, something like upnp or MTU discovery, or firewall state detection. Do you need our participation in helping identify the cause of the issue? We've got Wine committers here and Linux distribution people, and network protocol specialists, and there may be issues specific to one underlying flavour of Linux that someone of us is using.
 
Last edited:
Hey everyone!

We've had reports that the above "experiments" are causing some technical problems in-game. The issues aren't just happening for those playing Elite Dangerous on Linux, but also for players who end up in the same instance while playing on PC.

Just a reminder that Linux is not an officially supported platform, and we are currently investigating these issues. We wanted to let you know so you don't too much time on something that we can not support, and that could potentially change.

Thanks,

Ed

Then work. with. us. to get these issues sorted out. You have a lot of very clever folks working in Frontier, but there are a lot of very clever and knowledgeable Linux users and developers outside of Frontier. Would it not benefit everyone if you didn't go into an insular, walled-garden mode and instead did things like list any issues arising?

Regards.

Yes, but if not the fine people here then work with Valve to bring ED on Steam Play officially a reality: https://github.com/ValveSoftware/Proton https://github.com/ValveSoftware/Proton/issues/150
 
Yes, but if not the fine people here then work with Valve to bring ED on Steam Play officially a reality: https://github.com/ValveSoftware/Proton https://github.com/ValveSoftware/Proton/issues/150

Yeah my post came off as a bit peeved - because I was. Combination of lack of sleep and a fear that FDEV will stomp all over attempts to run ED on anything but Winduhs.

ED's running really well on my Arch installation, so much so that I haven't really had to boot into Windows 10 and I'm attempting to make a linux port of my application.

It would be a pity if all the effort you guys have been putting into this was stomped on. :/
 
Hey everyone!

We've had reports that the above "experiments" are causing some technical problems in-game. The issues aren't just happening for those playing Elite Dangerous on Linux, but also for players who end up in the same instance while playing on PC.

Just a reminder that Linux is not an officially supported platform, and we are currently investigating these issues. We wanted to let you know so you don't too much time on something that we can not support, and that could potentially change.

Thanks,

Ed

It would be great if Frontier would at less supported Elite through Steam play. Then a Linux version would be needed yet ;).

DC out
 
Yeah my post came off as a bit peeved - because I was. Combination of lack of sleep and a fear that FDEV will stomp all over attempts to run ED on anything but Winduhs.

ED's running really well on my Arch installation, so much so that I haven't really had to boot into Windows 10 and I'm attempting to make a linux port of my application.

It would be a pity if all the effort you guys have been putting into this was stomped on. :/

To be honest I can't tell from the language in Ed's post, whether it's a "we're shutting this down" or whether it's a "we don't want to break anything but we might have to remove this functionality which may cause issues".

It may even be just the case some disgruntled persons with a bad internet connections are reporting us Linux folk are breaking their game and they have to investigate.

I'm hoping they don't deliberately go out of their way to break this though, there are people who've been wanting to play this game on Linux since the kickstarter.
 
Muahahaha

Well then Mr Lewis it may just be time to officially support linux. That is the direction the winds are blowing! More and more people are dropping windows for linux.
 
For what it's worth, the ability to comfortably run on Linux might actually be the thing that gets me to log back in to Elite. It's the only thing on my Windows disk, and given that I have to have my main Linux installation running as much of the time as possible (for work reasons too in-depth to go into here), casually firing up Elite whenever I fancy it isn't really practical.

Go on, Ed - I know it's not "officially supported", but chucking a few hours of dev time into working out a solution that can be both community-supported and tolerable to FDev surely isn't out of the question?
 
To be honest I can't tell from the language in Ed's post, whether it's a "we're shutting this down" or whether it's a "we don't want to break anything but we might have to remove this functionality which may cause issues".

It may even be just the case some disgruntled persons with a bad internet connections are reporting us Linux folk are breaking their game and they have to investigate.

I'm hoping they don't deliberately go out of their way to break this though, there are people who've been wanting to play this game on Linux since the kickstarter.

As far as I read Ed's comment I suspect this is more "if clients will cause trouble we will filter them out in matchmaking" vibe than "we will ban Linux users". Which as I said totally ok - if client behaves way it causes trouble for others, it should play alone (until it doesn't).

My only wish is FD letting us to know what exactly it is. I doubt they can or will ban Linux gamers.

Also depending on nature of issue we can recommend to play Solo if there's solution required that is not available in code yet.
 
Muahahaha

Well then Mr Lewis it may just be time to officially support linux. That is the direction the winds are blowing! More and more people are dropping windows for linux.
Proof? Nah. Hyperbole? Yes.

Of Steam's 125m+ users, a whole 0.72% use Linux...

Windows Steam users outnumber them by 144-to-1, and even Mac Steam users outnumber them 4-to-1. This month Steam Linux usage dropped by 0.06%, oh dear :(

Looks like FDev might be correct in not allocating devteam to such a miniscule section of the gaming community. SteamPlay might be a worthwhile option if its userbase isn't also tiny.
 
Last edited:
Well, that's a very disappointing read from Ed. What do we think might the problem be here? Is it that Linux has a better networking stack - is it breaking timing for others? Maybe because Linux has better firewalling, meaning the instancing doesn't work as well?

Of Steam's 125m+ users, a whole 0.72% use Linux...
This is a topic for discussing getting it working (or not). There's another thread where you can pretend over one million passionate gamers are not worth anyone's time.
 
  • Like (+1)
Reactions: EUS
Go on, Ed - I know it's not "officially supported", but chucking a few hours of dev time into working out a solution that can be both community-supported and tolerable to FDev surely isn't out of the question?

they can't really do much more about it: either address the side effect or deliberately block wine usage (always good to remember, this is running on wine, not linux) which would be clunky, intrusive, legally dubious and really a bad reaction. however, if they do decide to support this they will be placing themselves in an awkward position regarding future incompatibilities. so, no, frontier is probably not happy with this.
 
As far as I read Ed's comment I suspect this is more "if clients will cause trouble we will filter them out in matchmaking" vibe than "we will ban Linux users". Which as I said totally ok - if client behaves way it causes trouble for others, it should play alone (until it doesn't).

My only wish is FD letting us to know what exactly it is. I doubt they can or will ban Linux gamers.

Also depending on nature of issue we can recommend to play Solo if there's solution required that is not available in code yet.

Fun fact since the fix was discovered I've literally done two waypoints of an expedition on Linux without a hitch (well nothing out of the ordinary regarding connections etc in expeditions).

[video=youtube;MKZJMpCPafo]https://www.youtube.com/watch?v=MKZJMpCPafo[/video]

Stream from windows users perspective:

[video=youtube;t9NcJ-8x0Fw]https://www.youtube.com/watch?v=t9NcJ-8x0Fw[/video]

That's sort of why... 'while it is plausible' I'm not 100% buying that these reported issues are a result of Linux.
 
  • Like (+1)
Reactions: EUS
they can't really do much more about it: either address the side effect or deliberately block wine usage (always good to remember, this is running on wine, not linux) which would be clunky, intrusive, legally dubious and really a bad reaction. however, if they do decide to support this they will be placing themselves in an awkward position regarding future incompatibilities. so, no, frontier is probably not happy with this.

I will challenge your legal assertion about "blocking Wine usage". There have been historical instances of negative actions taken against Wine based players - I was once banned from WOW for a short period because I used Wine to play ~12 years ago (!). They quickly recinded the ban, but not for legal reasons but for PR reasons - it garnered significant negative attention. Legally, Blizz was fine - they can do what they want with their game. The same goes for Frontier - it's their game, if they want to ban Wine play, that is within their right.

Regarding "support" - I think that Frontier should join valve in partnering for official support on SteamPlay myself. Not only would that support Linux (we've got demonstrated functionality right into the current beta, working well), but it would also give them a way to potentially give Mac players a way to play again as well. I don't believe that program puts an onerous level of requirements on the partner, but rather Valve and the Proton team take the lions share of compatibility responsibility.

Watching that livestream a bit, I still haven't seen anything that could be uniquely ascribed to the presence of Linux - it sounds like the normal instancing glitchiness they've had for years at this point, and is as much a factor of running simulation code on the game PC as anything, and relying on customer's uplink to get timely updates to the rest of the instance.

Edit: one final thought on "blocking Wine". Feasible? Yes? Long-term viable? Almost definitely not. We know the game works now. If Frontier tries to detect and fail when Wine is present, we have the capability to fix that. Which becomes a really really stupid arms race. That's why Blizz blocked the users, not the client - users are much easier to lock out (well, that and it was a Watchdog bug, but meh).
 
Last edited:
Back
Top Bottom