Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Endless Space 2 (392110) #2014

Open
2 tasks done
luisXoliveira opened this issue Nov 22, 2018 · 38 comments
Open
2 tasks done

Endless Space 2 (392110) #2014

luisXoliveira opened this issue Nov 22, 2018 · 38 comments
Labels
Game compatibility - Unofficial Games not expected to work without issues overlay Steam overlay is involved Regression Confirmed working on an older version of Proton XAudio2 Uses the XAudio2 subsystem

Comments

@luisXoliveira
Copy link

Compatibility Report

  • Name of the game with compatibility issues: Endless space 2
  • Steam AppID of the game: 392110

System Information

  • GPU: RX480

  • Driver/LLVM version: Mesa 18.2.4

  • Kernel version: 4.15

  • Link to full system information report as Gist:
    steam-392110.log

  • Proton version:3.16.4

I confirm:

  • that I haven't found an existing compatibility report for this game.
  • that I have checked whether there are updates for my system available.

Symptoms

The game crashes when I try to start it.

Reproduction

every time at i try to launching the game he stuck in the load screen

@kisak-valve kisak-valve added the Game compatibility - Unofficial Games not expected to work without issues label Nov 22, 2018
@Jimmy1500
Copy link

Jimmy1500 commented Dec 15, 2018

Issue:

  • Endless space 2 crashes on start

System Information:

  • GPU: Nvidia GTX 1070
  • Driver Version: 410.78
  • OS: Ubuntu 18.04 LTS
  • Kernel: 4.15.0
  • Proton version: 3.16-5 beta

Symptoms:

I can confirm that:

  • I have verified that all available updates for my system and steam are applied before attempting to start the game.

@zzhiyi
Copy link
Contributor

zzhiyi commented Jan 7, 2019

GPU: Intel UHD 630.

I haven't had any crashes. Although it took longer than I expected to load.(a few minutes)

@igo95862
Copy link

DXVK causes the amdgpu driver to crash.

Using WINE3D11 will NOT crash driver

Proton version: 3.16-6

Gist with system information.

Gist journalctl log

I have not tested it with mesa-git or llvm-svn

@kisak-valve kisak-valve added the Mesa drivers Possibly involves an issue with a Mesa video driver label Jan 25, 2019
@kisak-valve
Copy link
Member

Hello @igo95862, it may be worthwhile to mention your issue to your video driver vendor if it has not been already.

@hakzsam
Copy link

hakzsam commented Jan 29, 2019

Can't be reproduced with latest mesa/llvm (git) on my RX480. Can you try to upgrade ?

@vmatare
Copy link

vmatare commented Feb 3, 2019

So to clarify what @igo95862 wrote:

I get the following e.g. in ~/.local/share/Steam/steamapps/common/Endless Space 2/2019-02-03_155122/output_log.txt:

Initialize engine version: 5.5.1p4 (70301f5c2872)
GfxDevice: creating device client; threaded=1
d3d11: failed to create D3D11 device (0x80004005)
GfxDevice: creating device client; threaded=1
Crash!!!
[...]

And that is fixed by putting the following in the game's launch options:
PROTON_USE_WINED3D11=1 %command%

@kisak-valve
Copy link
Member

Hello @vmatare, just to check, does any vulkan application like vulkaninfo work?

@vmatare
Copy link

vmatare commented Feb 6, 2019

Huh... This is interesting. So I had disabled vulkan support throughout my system, i.e. mesa was built without it. Now that I enabled it, EL2 does start up without the PROTON_USE_WINED3D11=1, but then it freezes the GPU on completion of the loading screen. After that, the kernel remains responsive, i.e. I can use SysRQ to emergency-sync and to soft-reset the system, but the display remains frozen.
I have a Radeon RX 480 with the opensource amdgpu driver 18.1.0, mesa 18.3.1, running Linux 4.20.5 currently.
I'll play around with the configuration of the vulkan-related stack a bit and see if I can't get it to run with vulkan support. The graphics did feel slightly sluggish with D3D11 now that I think back ;-)

@asazernik
Copy link

I seem to be hitting the same error as @luisXoliveira, judging from my PROTON_LOG. @luisXoliveira inserted the PROTON_LOG instead of the system information report, so here's mine

I believe the relevant lines from the proton log are:

156747.329:0023:002b:trace:module:MODULE_InitDLL (0x7a850000 L"opengl32.dll",THREAD_ATTACH,(nil)) - CALL
156747.329:0023:002b:trace:module:MODULE_InitDLL (0x7a850000,THREAD_ATTACH,(nil)) - RETURN 1
156747.329:0023:002b:trace:module:MODULE_InitDLL (0x7fb0e29f0000 L"ws2_32.dll",THREAD_ATTACH,(nil)) - CALL
156747.329:0023:002b:trace:module:MODULE_InitDLL (0x7fb0e29f0000,THREAD_ATTACH,(nil)) - RETURN 1
156747.329:0023:002b:trace:module:MODULE_InitDLL (0x180000000 L"mono.dll",THREAD_ATTACH,(nil)) - CALL
156747.329:0023:002b:trace:module:MODULE_InitDLL (0x180000000,THREAD_ATTACH,(nil)) - RETURN 1
156747.329:0023:002b:trace:seh:NtRaiseException code=406d1388 flags=0 addr=0x7b44af1c ip=7b44af1c tid=002b
156747.329:0023:002b:trace:seh:NtRaiseException  info[0]=0000000000001000
156747.329:0023:002b:trace:seh:NtRaiseException  info[1]=000000014108f680
156747.329:0023:002b:trace:seh:NtRaiseException  info[2]=000000000000002b
156747.329:0023:002b:trace:seh:NtRaiseException  rax=000000000311fca0 rbx=0000000000000000 rcx=000000000311fca0 rdx=000000000311fcc0
156747.329:0023:002b:trace:seh:NtRaiseException  rsi=000000000311fd98 rdi=000000000311fcd8 rbp=000000000311fd50 rsp=000000000311fc80
156747.329:0023:002b:trace:seh:NtRaiseException   r8=0000000000000003  r9=000000000311fd80 r10=0000000000000008 r11=0000000000000246
156747.329:0023:002b:trace:seh:NtRaiseException  r12=0000000000000000 r13=0000000000000000 r14=0000000000000000 r15=0000000000000000
156747.329:0023:002b:trace:seh:call_vectored_handlers calling handler at 0x180133600 code=406d1388 flags=0
156747.329:0023:002b:trace:seh:call_vectored_handlers handler at 0x180133600 returned 0
156747.329:0023:002b:trace:seh:dwarf_virtual_unwind function 7b44af1c base 0x7b44aeb0 cie 0x7b6356b8 len 14 id 0 version 1 aug 'zR' code_align 1 data_align -8 retaddr %rip
156747.329:0023:002b:trace:seh:execute_cfa_instructions 7b44aeb0: DW_CFA_def_cfa %rsp, 8
156747.329:0023:002b:trace:seh:execute_cfa_instructions 7b44aeb0: DW_CFA_offset %rip, -8
156747.329:0023:002b:trace:seh:dwarf_virtual_unwind fde 0x7b644330 len 34 personality (nil) lsda (nil) code 7b44aeb0-7b44af45
156747.329:0023:002b:trace:seh:execute_cfa_instructions 7b44aeb0: DW_CFA_advance_loc 1
156747.329:0023:002b:trace:seh:execute_cfa_instructions 7b44aeb1: DW_CFA_def_cfa_offset 16
156747.329:0023:002b:trace:seh:execute_cfa_instructions 7b44aeb1: DW_CFA_offset %rbp, -16
156747.329:0023:002b:trace:seh:execute_cfa_instructions 7b44aeb1: DW_CFA_advance_loc 6
156747.329:0023:002b:trace:seh:execute_cfa_instructions 7b44aeb7: DW_CFA_def_cfa_register %rbp
156747.329:0023:002b:trace:seh:execute_cfa_instructions 7b44aeb7: DW_CFA_advance_loc 13
156747.329:0023:002b:trace:seh:execute_cfa_instructions 7b44aec4: DW_CFA_offset %rdi, -24
156747.329:0023:002b:trace:seh:execute_cfa_instructions 7b44aec4: DW_CFA_offset %rsi, -32
156747.329:0023:002b:trace:seh:execute_cfa_instructions 7b44aec4: DW_CFA_advance_loc1 93
156747.329:0023:002b:trace:seh:dwarf_virtual_unwind next function rip=000000014028d218
156747.329:0023:002b:trace:seh:dwarf_virtual_unwind   rax=000000000311fca0 rbx=0000000000000000 rcx=000000000311fca0 rdx=000000000311fcc0
156747.329:0023:002b:trace:seh:dwarf_virtual_unwind   rsi=0000000000000000 rdi=000000000137c9e0 rbp=000000000311ffd0 rsp=000000000311fd60
156747.329:0023:002b:trace:seh:dwarf_virtual_unwind    r8=0000000000000003  r9=000000000311fd80 r10=0000000000000008 r11=0000000000000246
156747.329:0023:002b:trace:seh:dwarf_virtual_unwind   r12=0000000000000000 r13=0000000000000000 r14=0000000000000000 r15=0000000000000000
156747.329:0023:002b:trace:seh:RtlVirtualUnwind type 1 rip 14028d218 rsp 311fd60
1

@vmatare
Copy link

vmatare commented Apr 7, 2019

Some updates later the game now runs stable for me, with vulkan support. I.e. I have no special launch options and I can play without crashes so far.

Current versions:
xf86-video-amdgpu 19.0.1
mesa 19.0.1
proton 4.2
vulkan 1.1.101
Endless Space 2 V1.4.13

I can keep 3D accel enabled in my window manager, I can safely alt+tab out of the game, switch desktops and so on. Everything seems very stable.

@kisak-valve
Copy link
Member

Hello, is anyone still seeing crashes with this game, Proton 4.2, and mesa 19.0+?

@kisak-valve kisak-valve added the Need Retest Request to retest an issue with vanilla Proton label May 7, 2019
@hologhost
Copy link

Everything but videos work for me with proton 4.2, mesa 19.0 and a rx570.

@kisak-valve kisak-valve removed Mesa drivers Possibly involves an issue with a Mesa video driver Need Retest Request to retest an issue with vanilla Proton labels Jun 15, 2019
@mvdstam
Copy link

mvdstam commented Sep 9, 2019

@kisak-valve Just wanted to mention that although the game runs smoothly with the latest Proton version at the time of writing (4.11), there still are some issues that hopefully can by looked at:

  • In-game videos don't work
  • Many in-game screens such as the research screen, military screen and quests and evens screen seem to have completely black backgrounds (see example below)

image

Aside from these issues, the game seems to work perfectly for me.

@mvdstam
Copy link

mvdstam commented Dec 24, 2019

@kisak-valve Since the new Steam UI release, Endless Space 2 doesn't seem to start at all. Also reported on ProtonDB.

@kisak-valve
Copy link
Member

Hello @mvdstam, please add PROTON_LOG=1 %command% to the game's launch options and drag and drop the generated $HOME/steam-$APPID.log into the comment box.

@mvdstam
Copy link

mvdstam commented Dec 24, 2019

Hi @kisak-valve,

This is all that is logged:

======================
Proton: 1576654630 4.21-GE-2-8-geab983d
SteamGameId: 392110
Command: ['/home/max/.local/share/Steam/steamapps/common/Endless Space 2/EndlessSpace2.exe']
Options: set()
======================

That's it. The game simply exits immediately without further information. As you can see, I've tried it with the 4.21-GE-2 Proton version in this attempt, but the same result happens with any other Proton version.

@mvdstam
Copy link

mvdstam commented Jan 2, 2020

Hi @kisak-valve, have you been able to determine the cause of the problem? Can I do anything else to help you fix this?

@rfliam
Copy link

rfliam commented Jan 7, 2020

I also see that this is unable to launch. The proton log is attached:

steam-208140.log

Endless Space (1) and a few others work. I am using nvidia OPTIMUS.

akmod-nvidia-440.44-1.fc31.x86_64

PROTON_LOG=1 __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia %command%

for launch options

@roypen
Copy link

roypen commented May 17, 2020

The game runs on Fedora32, Flatpak version, Proton 5.0.7, Intel HD4000 but only with:
PROTON_USE_WINED3D=1 %command%
Without it, black background on Xorg or resolution change error on Wayland occur.
Cinematics still don't work.

@DanMan
Copy link

DanMan commented Mar 3, 2021

Game generally works here, too, with Proton 5.0-10 and 5.13-6 but unfortunately it also freezes occasionally with both. I think it didn't freeze the first time I played it, which went for about 5h. Only ever after resuming from a savegame it started freezing IIRC. They're getting more frequent all the time, sometimes it just takes a few minutes. :-(

The cinematics work with ProtonGE 5.21-1, the mouse wheel sometimes doesn't work with Proton 5.10.

Edit: found out that using the -force-opengl parameter fixes the freezing.

@zaggynl
Copy link

zaggynl commented Aug 27, 2021

When I probe a planet I used to get a short video about the planet, now I'm getting what appears to be a TV test screen?
endlessspace2testscreenonprobe
Proton 6.3-6

@kisak-valve
Copy link
Member

Hello @zaggynl, what was the most recent Proton version you know rendered the video correctly?

Please add PROTON_LOG=1 %command% to the game's launch options, reproduce the regression, and attach the generated $HOME/steam-$APPID.log to this issue report as a file. (Proton logs compress well if needed.) Also, please copy your system information from Steam (Steam -> Help -> System Information) and put it in a gist, then include a link to the gist in this issue report.

@zaggynl
Copy link

zaggynl commented Aug 29, 2021

Appears resolved after restarting Steam, sorry about that.

Edit: still shows now and then for some cutscenes, not sure what causes this?

@zaggynl
Copy link

zaggynl commented Sep 2, 2021

Endless Space 2 appears to crash when using F12 for screenshots via Steam:
endlessspacecrashonF12screenshotsteam
Files as mentioned in dialog:
crash.zip (dump file)
error.log
output_log.txt

System Information: https://gist.githubusercontent.com/zaggynl/cc0eb5cf0665164d972707b9be4d4fdf/raw/9788b8870635e2b70ab6c5edd378b0f0c1032c1c/gistfile1.txt

Proton log: steam-392110.log

@kisak-valve kisak-valve added XAudio2 Uses the XAudio2 subsystem overlay Steam overlay is involved labels Sep 2, 2021
@gerazov
Copy link

gerazov commented Jan 28, 2022

Awesome work guys 😎

I'm having issues with the cutscene playback as well. The videos were generally upside down and mirrored, and some were substituted with the color Test Screen. This subtracts from the game experience (and hurts the neck a bit 😅 ), but the game is fully playable.

However, after a recent upgrade (maybe the NVIDIA driver changed from 495.44 to 495.46) no cutscene plays at all, i.e. all are substituted for the color test screen. This is a major issue since there is a video that plays in the GUI in the empire/tech/military screens, and with the test color screen they're rendered useless:

tech_screen_small

This happens with Proton Experimental. With Proton 6.3-8 and 5.13-6 no videos play and the background in the UI is black like in @mvdstam case (usable but aesthetically unpleasing)

Here are my hardware specs:

Operating System Version:
    "Manjaro Linux" (64 bit)
    Kernel Version:  5.10.93-1-MANJARO
    X Server Release:  12101003
    X Window Manager:  KWin
    Steam Runtime Version:  steam-runtime_0.20211207.0

Video Card:
    Driver:  NVIDIA Corporation NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2
    Driver Version:  4.6.0 NVIDIA 495.46
    OpenGL Version: 4.6

And the steam log:
steam-392110.log

@KhamilloKing
Copy link

KhamilloKing commented Feb 21, 2022

Aside from the already reported issue of test screens replacing all videos, the game crashes after a few turns on Proton 7.0-1, showing a window with "Error in gc" title and "Too many threads" message. Issue does not appear in Proton 6.3-8.

System info from neofetch
Update with steam log, both issues reproduced with Proton 7.0-1: steam-392110.log

@kisak-valve kisak-valve added the Regression Confirmed working on an older version of Proton label Feb 21, 2022
@KhamilloKing
Copy link

KhamilloKing commented Mar 5, 2022

Aside from the already reported issue of test screens replacing all videos, the game crashes after a few turns on Proton 7.0-1, showing a window with "Error in gc" title and "Too many threads" message. Issue does not appear in Proton 6.3-8.

System info from neofetch Update with steam log, both issues reproduced with Proton 7.0-1: steam-392110.log

Both issues are now fixed in the bleeding-edge version of Proton Experimental. Cutscenes, however, are vertically mirrored.
es2_mirrorexample2
es2_mirrorexample1
A trip to Australia, anyone?

Proton log: steam-392110.log

@DanMan
Copy link

DanMan commented Mar 5, 2022

The SEGA video on launch is all black for me here on Fedora 35 (newly created prefix, Proton 7 and Exp.), but I do hear its sound playing. wine64-preloader crashes on exit though, which is new compared to ProtonGE I mentioned above.

Sysinfo (Newer kernel and Nvidia driver by now though)

Funny thing is that videos keep working as they should, if I switch from ProntonGE (5.12 for example) to vanilla Proton 7 without deleting the prefix. Anyone know why?

@KhamilloKing
Copy link

KhamilloKing commented Mar 6, 2022

Replying to #2014 (comment)

I believe that's because GE-Proton downloads and installs the codecs that Valve can't include directly to the separate prefix of the game. I've had an issue where running GE-Proton AFTER running the game with a vanilla version of Proton makes the game crash and the prefix unusable.
That being said, make sure you have the bleeding-edge version of Proton Experimental (available by clicking the setting of Proton Experimental and selecting the bleeding-edge beta branch) and a clean prefix to test compatibility, as Valve can't offer support for GE-Proton issues.

@KhamilloKing
Copy link

Issue of vertically mirrored cutscenes persists as of today, with the bleeding-edge version of Proton and after a reinstall.
I wouldn't know it, but I wonder if this could be a driver issue like gerazov mentioned (Currently using amdgpu open source driver)
Gist with system info pulled from Steam
Proton log: steam-392110.log

@gerazov
Copy link

gerazov commented Mar 15, 2022

I also confirm - the color test screen is not present for the GUI empire control screens, which makes playing possible. However, all planetary colonization cutscenes are showing the color test screen (not the reverse effect they did before). I'm on Proton experimental.

@GloriousEggroll
Copy link
Contributor

upside down videos are fixed by this PR:

ValveSoftware/wine#157

@rottedmood
Copy link

Hi all,

Recently purchased this game, and went to try to start it up and it doesn't seem to load. When you hit the Play button, it goes and starts to load, the button changes to blue cancel then stop, shadders start to process, and that finishes, and then the game looks like its going to load (like a new screen is popping up) but nothing is on the screen (transparent) and it goes away and the button goes back to the green play button.

I had this issue in another game, and I believe it may be a kernel issue where the game tries to load and display to the mobo display, and not the GPU display. However there is nothing plugged into the mobo display. I was able to fix it with the other game by adding DXVK_FILTER_DEVICE_NAME="NVIDIA GeForce RTX 3070 Ti" %command% with proton 9. However, this doesn't work with this game.

I've attached an output log. If any one sees anything obvious that I'm missing please let me know! thanks.

steam-392110.log

@varkhan
Copy link

varkhan commented Jun 19, 2024

Apparently, you need both command line options to make it work. I got it to stop crashing with:
DXVK_FILTER_DEVICE_NAME="NVIDIA GeForce RTX 4070" PROTON_USE_WINED3D11=1 %command%
Thanks @rottedmood for providing one half of the solution... I hope it works for you with the other half added.

@rottedmood
Copy link

Apparently, you need both command line options to make it work. I got it to stop crashing with: DXVK_FILTER_DEVICE_NAME="NVIDIA GeForce RTX 4070" PROTON_USE_WINED3D11=1 %command% Thanks @rottedmood for providing one half of the solution... I hope it works for you with the other half added.

That did indeed fix it for me as well (combining the two commands). Thanks @varkhan !!!!

@varkhan
Copy link

varkhan commented Jun 21, 2024

@rottedmood This is still very unreliable and crashy, even with those options. I can get it to start a game, load a game, and play, but not start a map, exit and restart a new map in solo without a crash. And sometimes I get a GPU (and system) freeze at startup even then, requiring a hard reboot.

I have to explore what the video card interface selection does to that.

Until recently I was running ES2 on a potato (laptop with an MX150, so only one interface advertising 3d acceleration, and a very limited set of features), and I had zero problems expect slowness and ES2 being a RAM hog.
I switched to something with both integrated graphics and a decent GPU, and that's where the problems started.
So I think limiting its selection to a bare minimum set of features that it can't try to set up features it doesn't strictly need, and fail badly at, might help.

That was on Proton 9.0-2, but I tried other Proton version with no apparent difference.

@rottedmood
Copy link

rottedmood commented Jun 23, 2024

@rottedmood This is still very unreliable and crashy, even with those options. I can get it to start a game, load a game, and play, but not start a map, exit and restart a new map in solo without a crash. And sometimes I get a GPU (and system) freeze at startup even then, requiring a hard reboot.

@varkhan Dang. I haven't had time to sit down and try to play the game it self. Just did a load test with the parameters you suggested. I'll give it a try today/tonight and report back. What version of Proton are you using? I was going to try w/ GE.

@kisak-valve
Copy link
Member

Endless Space 2 Takes 20+ Minutes to Launch

Issue transferred from #7866.
@Xelveki posted on 2024-07-02T00:27:38:

Compatibility Report

  • Name of the game with compatibility issues: Endless Space 2
  • Steam AppID of the game: 392110

System Information

  • GPU: AMD AMD Radeon RX 6900 XT (radeonsi, navi21, LLVM 17.0.6, DRM 3.57, 6.8.12-200.fsync.fc39.x86_64)
  • Video driver version: 4.6 (Compatibility Profile) Mesa 24.1.0
  • Kernel version: 6.8.12-200.fsync.fc39.x86_64
  • Link to full system information report as Gist:
  • Proton version: 9.0-2

I confirm:

  • that I haven't found an existing compatibility report for this game.
  • that I have checked whether there are updates for my system available.

steam-392110.zip

Symptoms

The game takes 20 to 30 minutes to start. Once started, it runs well.

Reproduction

Launch the game from steam with any compatibility mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Game compatibility - Unofficial Games not expected to work without issues overlay Steam overlay is involved Regression Confirmed working on an older version of Proton XAudio2 Uses the XAudio2 subsystem
Projects
None yet
Development

No branches or pull requests