Open fredplante opened 6 years ago
Hello @fredplante, 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.
Hey, sorry @kisak-valve, I do not have this information anymore because I wanted so much to play this game that I installed windows on that computer only to play !
All I can say : It was a Ubuntu 18.04, fully updated, with nvidia drivers version 396. Sorry :(
Problem confirmed. The Total War launch screen shows up, but the game exits after click in Play. Sys info steam-214950.log
With Proton 3.7.5-beta I could play the game. System info in the previous comment.
Thanks @juliotux , I can confirm it works.
I've tried playing the game with Proton beta and everything seems to work fine, except there is no sound.
Oh never mid, the sound works now.
So, @kisak-valve, this game should be re-tagged as Whitelist Request, no?
I (and others, judging by the SPCRs) experience a CTD when entering some battles from the campaign map, but only with high graphics settings. With 'low' settings, there's no CTD. Entirely reproducible for me, on the 1st 'intro' battle of the Rome grand campaign.
System: i7-4790K, GTX 1060 6GB (396.54.05), 16GB RAM
I can submit the steam-214950.log later, if that helps.
Did you check if it is a problem with DXVK running on Intel iGPU? This seems to be related to a bug in the Intel vulkan driver, which already has a patch done, but not delivered yet.
For me the game crashes when pressing F1. Other than that it seems to work fine.
Did you check if it is a problem with DXVK running on Intel iGPU? This seems to be related to a bug in the Intel vulkan driver, which already has a patch done, but not delivered yet.
I'll try to find time to reboot on the Intel iGPU and retest.
In the meantime, my current setup (and CTD woes):
For me the launcher doesn't work. It starts up but displays nothing but a white box. I would post the log file but it is about 100MB. Instead here are the errors that are repeated at the end of the file:
4549.070:0024:0025:fixme:hlsl_parser:hlsl_parse Check for valued return on void function. 4549.070:0024:0025:fixme:hlsl_parser:hlsl_parse Implicit conversion to the return type if needed, error out if conversion not possible.
4549.071:0024:0025:fixme:d3dcompiler:make_assignment Check for casts in the lhs. 4549.071:0024:0025:err:d3dcompiler:compile_shader HLSL shader parsing failed.
4570.200:0024:0025:fixme:hlsl_parser:hlsl_parse Array. 4570.200:0024:0025:fixme:d3dcompiler:make_assignment Check for casts in the lhs. 4570.200:0024:0025:err:d3dcompiler:compile_shader HLSL shader parsing failed. 4570.200:0024:0025:warn:debugstr:OutputDebugStringA "QGLShader::link: \"Line 31: variable '_setPosition' not declared\n\nWarning: D3D shader compilation failed with \ndefault\n flags.\n Retrying with \navoid flow control\n.\n\nLine 31: variable '_setPosition' not declared\n\nWarning: D3D shader compilation failed with \navoid flow control\n flags.\n Re"...
If I point the run script at the Rome2.exe instead of the launcher the game starts and runs fine on ultra settings until I start switching between the campaign and battle maps at which point it crashes with the following error:
err: DxvkMemoryAllocator: Mapping memory failed with VK_ERROR_MEMORY_MAP_FAILED err: DxvkMemoryAllocator: Mapping memory failed with VK_ERROR_MEMORY_MAP_FAILED err: DxvkMemoryAllocator: Memory allocation failed Size: 251658240 Alignment: 16 Mem flags: 0x7 Mem types: 0xf terminate called after throwing an instance of 'dxvk::DxvkError'
Reducing the settings to high resolves the problem. It appears to be related to DXVK's issues with memory management in 32 bit applications. Using WineD3D the game does not crash but performs considerably worse while also exhibiting many rendering errors.
I re-tested and confirmed the regression. White launcher, but if you click in the spot where there is the play button, the game launches normally. #1414 also report the same problem.
When I logged in to steam this evening I received an update to the steam common re-distributable and gave the game another go.
The launcher now fails to render anything, instead hanging for about five minutes before crashing.
I again tried bypassing the launcher by pointing the run script at the Rome2.exe however it now also fails to render anything before crashing after about five minutes with the following error:
../common/pipes.cpp (770) : Assertion Failed: fatal stalled cross-thread pipe ../common/pipes.cpp (770) : Fatal assert failed: ../common/pipes.cpp, line 770. Application exiting.
According to the log file(attached below) the launcher failed with the same error.
Scratch my last comment. After rebooting my PC it's back to the white launcher.
There is still a white launcher, also the game is crashing in battles when using graphic settings of very high or above. When using VSync, game crashes instantly. Also there is a rendering issue in the in "game benchmark"
I also experience a white launcher window. Clicking where the "Play" button should be, starts rome2.exe shortly before it closes itself.
CA have released a new launcher which now works with proton 3.16.7. The only problem I still have is the memory issues at higher graphics settings.
New launcher & the game works BUT only after adding PROTON_USE_WINED3D launch option, graphics are a mess once actually into the game making it unplayable for me, using the latest Nvidia drivers 418.43. steam-214950.log
With the new launcher, everything looks fine to me. No trick needed.
Hooray, Proton 4.2-1 has finally put to bed the 'CTD with settings too high' issue for me.
New test with Proton 4.2-9, no launch options used, the game is fully working, all Total War games I own are now playable on my Linux system, happy happy me. :) Thanks everyone for your efforts with Proton.
new system info | new OS MX Linux https://gist.github.com/lucifertdark/584c14275612e8e3c4a8070d428d8a02
The new Qt launcher is great. But game still crashes on high graphic settings if you join battles. Proton log told me the issue:
wine: Call from 0x7b43d64d to unimplemented function d3dx11_42.dll.D3DX11LoadTextureFromTexture, aborting
I then did a dll override of d3dx11_42 and now the game works perfectly. But I have to say, random crashes still occur but only after some hours, had this on windows too. Atilla is Vulkan based btw and more a challenge. Rome 2 is too easy, you just blob and steam roll everything.
Hello, Did you installed d3dx11_42 via winetricks and what override di you made - native, native,builtin etc.?
I downloaded the dll (dunno if I'm allowed to put it here) and put it under ~/.steam/steam/steamapps/common/Total War Rome II/d3dx11_42.dll
15718.628:0073:0074:trace:loaddll:load_native_dll Loaded L"Z:\\home\\<deleted>\\.local\\share\\Steam\\steamapps\\common\\Total War Rome II\\d3dx11_42.dll" at 0x3b0000: native
To configure proton with winecfg I used this script:
#!/bin/bash
STEAMROOT="$HOME/.steam"
protVer=$1
gameID=$2
export PATH="$STEAMROOT/steam/steamapps/common/Proton $protVer/dist/bin/:$STEAMROOT/ubuntu12_32/steam-runtime/amd64/bin:$STEAMROOT/ubuntu12_32/steam-runtime/amd64/usr/bin:$PATH"
export WINEDEBUG="-all"
export WINEDLLPATH="$STEAMROOT/steam/steamapps/common/Proton $protVer/dist/lib64/wine:$STEAMROOT/steam/steamapps/common/Proton $protVer/dist/lib/wine"
export LD_LIBRARY_PATH="$STEAMROOT/steam/steamapps/common/Proton $protVer/dist/lib64:$STEAMROOT/steam/steamapps/common/Proton $protVer/dist/lib:$STEAMROOT/ubuntu12_32/steam-runtime/pinned_libs_32:$STEAMROOT/ubuntu12_32/steam-runtime/pinned_libs_64:/usr/lib/x86_64-linux-gnu/libfakeroot:/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu:/usr/local/lib:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/lib:/usr/lib:/usr/lib/i386-linux-gnu/i686:/usr/lib/i386-linux-gnu/sse2:/usr/lib/i386-linux-gnu/i686/sse2:$STEAMROOT/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu:$STEAMROOT/ubuntu12_32/steam-runtime/i386/lib:$STEAMROOT/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu:$STEAMROOT/ubuntu12_32/steam-runtime/i386/usr/lib:$STEAMROOT/ubuntu12_32/steam-runtime/amd64/lib/x86_64-linux-gnu:$STEAMROOT/ubuntu12_32/steam-runtime/amd64/lib:$STEAMROOT/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu:$STEAMROOT/ubuntu12_32/steam-runtime/amd64/usr/lib:"
export WINEDLLOVERRIDES="d3d11=n;dxgi=n"
WINEPREFIX=$STEAMROOT/steam/steamapps/compatdata/$gameID/pfx/ wine winecfg
and called it with:
./protoncfg 4.2 214950
Thank you :)
Some comments on Proton 4.11:
Otherwise seems pretty good. Aside for the lighting issues and probably should have higher FPS, it runs pretty well.
System:
Arch Linux (5.2.3-arch1-1-ARCH), KDE (5.16.4, Frameworks 5.60) Ryzen 2700x, GTX 1070 (430.34)
Hi, same problems here. The game works at ~ 25 - 30 FPS in battles with black trees, lights and shadows does not work almost at all. I have noticed that inside video settings I'm not able to change the Shader Model version which is fixed to 3 (other options are not selectable).
System Info:
Hope this could be useful,
Best Regards hawake
Rome-2 doesn't work with newer proton version than 4.11-12
Issue transferred from https://github.com/ValveSoftware/Proton/issues/3575. @RubixPower posted on 2020-02-27T18:11:36:
The launcher starts but when i launch/start the game there is the intro video and it crashes when after 1-2 seconds of the intro video.
I don't know how could others reproduce this issue because some people don't have this issue according to protondb's Total War: Rome II report.
The game run somewhat fine with proton 4.11-12 but it crashes frequently it got it somewhat fixed by installing d3dx11_42 but the game still crashes but not as many times as before.
I also found a report from 2018 (Proton 3.7.5-beta) which is old and not usefull.
Some possible lines of interest from the log:
free(): invalid next size (fast)
wine: Assertion failed at address F7F9AAB9 (thread 009d), starting debugger...
corrupted size vs. prev_size
When I click 'play prologue' and it finishes loading, the game exits. Using proton experimental,
Here is the log https://gist.github.com/MavropaliasG/009ab6d2769ea82430e9d2d2595ff30f
My system https://gist.github.com/MavropaliasG/3e8b84b39d324cb7a5b8f155ed3ac7d8
my system by steam https://gist.github.com/MavropaliasG/48f5bb79362bb4deaf393cf7592b978f
@kisak-valve managed to get it to play when setting shadows to 'low'; that's what was required. However, the game just exits randomly when I click buttons in the campaign map. Any updates on work being done on this game?
I will attempt to play it later tonight, as I realized I haven't tried it in a while. At least before it did work well, except that the shadows/lighting in the benchmark were really off (seemed like the lighting was just missing in parts putting things in dark shadows). The fireballs were especially funky.
This is the console output when the game randomly exits when I press a button ingame. It happens in line 333 abnormal program termination
https://gist.github.com/MavropaliasG/db8f74aebc46159aecf1edc8fd825d77
It does that randomly, e.g. I would be playing for 10 min, then I click a button in-game (any button, not a specific one), and then the game immediately closes.
So things ran fine for me, for a bit at least. I was able to jump into a historical battle with everything on Ultra. It did crash after about 10 minutes. I tried 'The Nile' historical battle. The lighting was completely off, though, with the entire backside of the hill (ocean side) black/no light source making things rather difficult even without the crash later. This is on a GTX2080, ultra settings, and 460.39 drivers.
So things ran fine for me, for a bit at least. I was able to jump into a historical battle with everything on Ultra. It did crash after about 10 minutes. I tried 'The Nile' historical battle. The lighting was completely off, though, with the entire backside of the hill (ocean side) black/no light source making things rather difficult even without the crash later. This is on a GTX2080, ultra settings, and 460.39 drivers.
I've noticed a few things. That might be specific to my system though, https://gist.github.com/MavropaliasG/3e8b84b39d324cb7a5b8f155ed3ac7d8
1) Proton 4.11-13 and 4.2-9 do not crash BUT my laptop overheats and my entire PC suddenly shuts off after ~20 min of play. I've noticed the clouds in the campaign map make it very laggy (whenever I pan over a lot of clouds or fog of war). But apart from clouds it, my pc is really stressed whenever it's running, even in the lowest settings. That's only for the campaign map, I have not tried battles.
2) Proton experimental does not overheat my system, but maybe it is because the game randomly crashes when I click buttons in-game.
Total War: Rome 2 - Crashes After Period of time
Issue transferred from https://github.com/ValveSoftware/Proton/issues/4798. @patmann03 posted on 2021-05-02T00:59:00:
The game crashes after a period of 20-30 minutes of playing.
The game plays well when forcing the flag: PROTON_USE_WINED3D= 1 and when using Proton 4.11-13. However, with these settings I'm unable to join a multiplayer campaign
Normal play of the compaign can cause a crash.
Using 6.3-4. Game crashes after ending a turn and your next turn is starting. Right before showing you the results of the previous turn.
Total War: Rome 2 Crashing during play
Issue transferred from https://github.com/ValveSoftware/Proton/issues/5096. @Sackbuoy posted on 2021-08-20T20:47:56:
Game is crashing during a campaign, seemingly at random after about 10-15 minutes of play, typically when ending a turn while it is processing all of the other factions moves. It produces not output, nothing happens, the game window simply closes without warning.
The only way I can reproduce it is by playing the game for about 15 minutes. I cannot seem to intentionally trigger it any way, though I will keep trying and update If i find anything
https://github.com/ValveSoftware/Proton/issues/512 is the only other issue I can find, but it appears to be a different issue that never got resolved. I am opening this one since that one seems unrelated.
Running with the latest version of proton experimental. DXVK 1.9.3 While fighting a battle the game will crash while in the battle.
Notable part of log.
Had an Exception access violation, was able to get a full wine dump with backtrace. See log
This appears to be an esync/fsync issue. I've found by disable esync & fsync, then using winetricks to installing d3dx11_42 and d3dcompiler_42 the game seems to run quite well.
Total War: Rome 2 (214950)
Issue transferred from https://github.com/ValveSoftware/Proton/issues/6754. @Storm-Peter posted on 2023-05-08T15:28:10:
The game is almost working properly, there's just a few issues that break it. The campaign map works, the battles work and there's no obviously broken features in terms of gameplay. It's just not stable enough to play.
This is my favourite game of all time so if you need me to test anything let me know. I really want to be able to play it again.
@kisak-valve can confirm basically all of that behavior. Also the lighting and what not seems to be broken in the benchmark - heavy shadows everywhere, and the flaming balls look off vs Windows (both AMD and Nvidia). Performance is also worse from the benchmark. I have trouble hitting over 60 fps with a 6900xt and 5900x. Same when I had a 2080 super.
I've done some further testing and PROTON_NO_ESYNC=1
in the launch options seems to have fixed all the campaign freezing. So it does seem like it's running into some sort of limit and that's causing the problem. Is there a way to fix that so it can run for everyone with esync enabled?
@bakgwailo try disabling esync and fsync. You can use proton-ge. I did a pull request to do this automatically. However, I found that, for me, protonfixes aren't applied without small modifications.
hopefully that works. I'm able to play without crashes
Lots of different recommendations around for this, is there an accepted way to make the game playable right now? Out of the box its performance isn't great and there's some kind of rendering issues where shadows are a black void, setting it to DX9 fixes that and then you're stuck at 30fps.
Edit;
Game thinks I have 2gb VRAM (I have 8) and some users report this could be the cause of the 30fps lock, so I tried forcing it via the games config file as others have suggested but that's not worked either, still locked at 30fps. Tried experimental/GE/etc as well.
Replying to https://github.com/ValveSoftware/Proton/issues/512#issuecomment-1866960082
The game is 32-bit, WINED3D will limit you to 2gb, DXVK limits to 3gb.
You need to install d3dx11_42 and d3dcompiler_42 via protontricks/winetricks then disable esync and fsync. For me, I can play with no crashes and can play mods.
Thanks for the tips, I'll give that a go when I get a chance and let you know if it worked
I launch game, total war launcher shows up. When I click Play nothing happens