Elite Dangerous

Elite Dangerous

Got it to work under Linux at last
I had tried ED:O under Steam before (maybe a year ago?) but never got it to work - and not for the lack of trying. Hardware is AMD Ryzen 5 5600G, integrated graphics, 64BG memory. OS is OpenSuse Tumbleweed.

After a recent Twitch Prime offer, I got ED (without O) for free, and got it to work under Lutris/Epic Games Store after a little tinkering. I had to

export WINE_D3D_CONFIG='renderer=vulkan' unset WINEFSYNC

Now I wanted to try ED:O again, under Steam. After clicking the Play button, a window with title "Elite -Dangerous (CLIENT)" popped up and instantly closed again.

After trying a lot of random stuff, I eventually thought that newer versions of Odyssey might perhaps want DXVK now, but Steam passes it the PROTON_USE_WINED3D11=1 shell environment variable which disables DXVK. And lo!, unsetting that variable makes it start! So now I use a shell script wrapper

#!/usr/bin/env bash export WINEFSYNC=0 echo "Setting WINEFSYNC=$WINEFSYNC" echo "Unsetting PROTON_USE_WINED3D11" unset PROTON_USE_WINED3D11 export WINE_D3D_CONFIG='renderer=vulkan' echo "Setting WINE_D3D_CONFIG=$WINE_D3D_CONFIG" echo "Executing command:" echo "$@" "$@"
and set in the Steam Properties, Launch options,
/home/myname/bin/elite_wrapper.sh %command%
I yet have to test which of the manually set shell variables are really necessary. I'm just happy I got it to work after days of poking and prodding.
< >
Showing 1-9 of 9 comments
Sighman Dec 4, 2024 @ 2:08am 
Sounds good.

I've run the game under Ubuntu on 4 PCs for months now - I just install the Steam client, tick the option to allow all games to run (not just Linux titles), then install ED and click Play.

Everything is handled for me.

(Obviously only in the Steam client, not other clients as you've had to experiment with.)
It works out-of-the-box for a lot of people, but I saw a few posts reporting similar problems like I had. I'm not really sure what the conditions are for these problems to occur. I'm just posting my solution here, and did on Reddit, too, so that if someone else runs into the same problem, they may perhaps find my post and can try the trick that worked for me.
Sighman Dec 4, 2024 @ 2:42am 
Originally posted by Feeds after midnight:
It works out-of-the-box for a lot of people, but I saw a few posts reporting similar problems like I had. I'm not really sure what the conditions are for these problems to occur. I'm just posting my solution here, and did on Reddit, too, so that if someone else runs into the same problem, they may perhaps find my post and can try the trick that worked for me.

Yep, as I said, it's good to see the solution. Just because mine worked straight away doesn't mean it won't stop working later, and I'll have to start running around looking for answers.
Planewalker Dec 4, 2024 @ 4:37am 
Lutris has a couple of install/run options to run elite ootb.
-always good with more insights, so kudos OP. =)

As you are using an integrated GPU it might be worth it to also use
gamemoderun %command% (requires gamemode to be installed ofc)


cheers
Last edited by Planewalker; Dec 4, 2024 @ 4:38am
Viper Dec 23, 2024 @ 11:08pm 
wine EDLaunch.exe 0164:err:ole:CoGetContextToken apartment not initialised 015c:err:combase:RoGetActivationFactory Failed to find library for L"Windows.Foundation.Diagnostics.AsyncCausalityTracer" 0168:err:d3dcompiler:D3DCompile2 Failed to compile shader, vkd3d result -4. 0168:err:d3dcompiler:D3DCompile2 Shader log: 0168:err:d3dcompiler:D3DCompile2 <anonymous>:178:1: E5000: syntax error, unexpected KW_PASS, expecting '}' 0168:err:d3dcompiler:D3DCompile2

Unfortunately on Steam it doesn't start with any proton, even with the pre-intended .sh file.

SYSTEM : VGA start NVIDIA
System: Kernel: 6.8.0-51-generic arch: x86_64 bits: 64 compiler: gcc v: 13.3.0 clocksource: tsc Desktop: Cinnamon v: 6.2.9 tk: GTK v: 3.24.41 wm: Muffin v: 6.2.0 vt: 7 dm: LightDM v: 1.30.0 Distro: Linux Mint 22 Wilma base: Ubuntu 24.04 noble Machine: Type: Laptop System: ASUSTeK product: ROG Strix G713QM_G713QM v: 1.0 UEFI: American Megatrends LLC. v: G713QM.331 date: 02/24/2023 model: AS3GWAF3KC GA50358 type: Li-ion serial: <filter> status: full VGA compatible controller: NVIDIA Corporation GA106M [GeForce RTX 3060 Mobile / Max-Q] (rev a1) VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [Radeon Vega Series / Radeon Vega Mobile Series] (rev c4)
Last edited by Viper; Dec 23, 2024 @ 11:14pm
Harriet Dec 24, 2024 @ 1:31am 
Originally posted by Viper:
wine EDLaunch.exe 0164:err:ole:CoGetContextToken apartment not initialised 015c:err:combase:RoGetActivationFactory Failed to find library for L"Windows.Foundation.Diagnostics.AsyncCausalityTracer" 0168:err:d3dcompiler:D3DCompile2 Failed to compile shader, vkd3d result -4. 0168:err:d3dcompiler:D3DCompile2 Shader log: 0168:err:d3dcompiler:D3DCompile2 <anonymous>:178:1: E5000: syntax error, unexpected KW_PASS, expecting '}' 0168:err:d3dcompiler:D3DCompile2

Unfortunately on Steam it doesn't start with any proton, even with the pre-intended .sh file.

SYSTEM : VGA start NVIDIA
System: Kernel: 6.8.0-51-generic arch: x86_64 bits: 64 compiler: gcc v: 13.3.0 clocksource: tsc Desktop: Cinnamon v: 6.2.9 tk: GTK v: 3.24.41 wm: Muffin v: 6.2.0 vt: 7 dm: LightDM v: 1.30.0 Distro: Linux Mint 22 Wilma base: Ubuntu 24.04 noble Machine: Type: Laptop System: ASUSTeK product: ROG Strix G713QM_G713QM v: 1.0 UEFI: American Megatrends LLC. v: G713QM.331 date: 02/24/2023 model: AS3GWAF3KC GA50358 type: Li-ion serial: <filter> status: full VGA compatible controller: NVIDIA Corporation GA106M [GeForce RTX 3060 Mobile / Max-Q] (rev a1) VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [Radeon Vega Series / Radeon Vega Mobile Series] (rev c4)

I have 3 PCs running the game on Ubuntu via Steam/Proton as I type this.

I'm not running any shell scripts, I'm just double-clicking the game in my Steam library.
Wee Skint Gamer Dec 24, 2024 @ 2:21pm 
Runs great on fedora 41 🎄o7
Citizen Sloth Dec 25, 2024 @ 2:53pm 
Originally posted by Viper:
wine EDLaunch.exe 0164:err:ole:CoGetContextToken apartment not initialised 015c:err:combase:RoGetActivationFactory Failed to find library for L"Windows.Foundation.Diagnostics.AsyncCausalityTracer" 0168:err:d3dcompiler:D3DCompile2 Failed to compile shader, vkd3d result -4. 0168:err:d3dcompiler:D3DCompile2 Shader log: 0168:err:d3dcompiler:D3DCompile2 <anonymous>:178:1: E5000: syntax error, unexpected KW_PASS, expecting '}' 0168:err:d3dcompiler:D3DCompile2

Unfortunately on Steam it doesn't start with any proton, even with the pre-intended .sh file.

SYSTEM : VGA start NVIDIA
System: Kernel: 6.8.0-51-generic arch: x86_64 bits: 64 compiler: gcc v: 13.3.0 clocksource: tsc Desktop: Cinnamon v: 6.2.9 tk: GTK v: 3.24.41 wm: Muffin v: 6.2.0 vt: 7 dm: LightDM v: 1.30.0 Distro: Linux Mint 22 Wilma base: Ubuntu 24.04 noble Machine: Type: Laptop System: ASUSTeK product: ROG Strix G713QM_G713QM v: 1.0 UEFI: American Megatrends LLC. v: G713QM.331 date: 02/24/2023 model: AS3GWAF3KC GA50358 type: Li-ion serial: <filter> status: full VGA compatible controller: NVIDIA Corporation GA106M [GeForce RTX 3060 Mobile / Max-Q] (rev a1) VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [Radeon Vega Series / Radeon Vega Mobile Series] (rev c4)

You have Nvidia and AMD graphics cards in that system? You might want to disable one of them.
Last edited by Citizen Sloth; Dec 25, 2024 @ 2:54pm
Viper Dec 26, 2024 @ 1:00pm 
Originally posted by Citizen Sloth:

You have Nvidia and AMD graphics cards in that system? You might want to disable one of them.


Start with the Nvidia in performance mode, it's a laptop, so I can't deactivate the AMD because it starts with the AMD and it doesn't have the performance either. But I wrote that I would start the Nvidia.


Ran on Linux Mint 21 without any problems, after update to the 22 there is the problem.
< >
Showing 1-9 of 9 comments
Per page: 1530 50

Date Posted: Dec 4, 2024 @ 1:59am
Posts: 9