On D3D11, the TruckersMP overlay doesn't render after having tabbed out once
See original GitHub issueOn D3D11, the overlay doesn’t render after having tabbed out once.
To get the overlay to render on D3D11 in the first place i needed to pass the --activate-native-d3dcompiler-47
flag. After that, the overlay will render on D3D11 but will stop rendering after having alt tabbed out and back in.
It works as expected using OpenGL.
Command
./truckersmp-cli -n friz64mc -vv -d --activate-native-d3dcompiler-47
Terminal output
Collapsed log
** DEBUG ** No moddir set, setting to default
** INFO ** Mod directory: /home/friz64/.local/share/truckersmp-cli/TruckersMP
** INFO ** --update/--start not specified, doing both.
** INFO ** --ats/--ets2 not specified, choosing ETS2.
** INFO ** Platform is Linux, use Proton
** INFO ** AppID/GameID: 227300 (ets2)
** INFO ** Game directory: /home/friz64/.local/share/truckersmp-cli/Euro Truck Simulator 2/data
** INFO ** Prefix: /home/friz64/.local/share/truckersmp-cli/Euro Truck Simulator 2/prefix
** INFO ** Proton directory: /home/friz64/.local/share/truckersmp-cli/Proton
** DEBUG ** Updating game files
** DEBUG ** Closing Steam
Running Steam on arch rolling 64-bit
STEAM_RUNTIME is enabled automatically
Pins up-to-date!
Steam client's requirements are satisfied
/home/friz64/.local/share/Steam/ubuntu12_32/steam -shutdown
** INFO ** SteamCMD: /home/friz64/.local/share/truckersmp-cli/steamcmd/steamcmd.sh
** DEBUG ** Updating Proton (AppID:1245040)
** INFO ** Command:
/home/friz64/.local/share/truckersmp-cli/steamcmd/steamcmd.sh
+login friz64mc
+force_install_dir /home/friz64/.local/share/truckersmp-cli/Proton
+app_update 1245040 validate
+quit
Redirecting stderr to '/home/friz64/.local/share/Steam/logs/stderr.txt'
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[ 0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam API...CreateBoundSocket: ::bind couldn't find an open port between 27060 and 27060
OK.
Logging in user 'friz64mc' to Steam Public ...
Logged in OK
Waiting for user info...OK
Update state (0x5) verifying install, progress: 0.42 (4344374 / 1036531502)
Update state (0x5) verifying install, progress: 70.42 (729958966 / 1036531502)
Success! App '1245040' fully installed.
** DEBUG ** Updating Game (AppID:227300)
** INFO ** Command:
/home/friz64/.local/share/truckersmp-cli/steamcmd/steamcmd.sh
+@sSteamCmdForcePlatformType windows
+login friz64mc
+force_install_dir /home/friz64/.local/share/truckersmp-cli/Euro Truck Simulator 2/data
+app_update 227300 -beta public validate
+quit
Redirecting stderr to '/home/friz64/.local/share/Steam/logs/stderr.txt'
[ 0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam API...OK.
"@sSteamCmdForcePlatformType" = "windows"
Logging in user 'friz64mc' to Steam Public ...
Logged in OK
Waiting for user info...OK
Update state (0x5) verifying install, progress: 0.05 (2097152 / 4310802820)
Update state (0x5) verifying install, progress: 14.90 (642385612 / 4310802820)
Update state (0x5) verifying install, progress: 34.22 (1474954956 / 4310802820)
Update state (0x5) verifying install, progress: 54.06 (2330592972 / 4310802820)
Update state (0x5) verifying install, progress: 73.77 (3179939532 / 4310802820)
Update state (0x5) verifying install, progress: 93.03 (4010411724 / 4310802820)
Success! App '227300' fully installed.
** DEBUG ** Updating mod files
** DEBUG ** No files to download
** DEBUG ** Starting game with Proton
** DEBUG ** Starting Steam...
** DEBUG ** Steam should now be up and running and the user logged in.
** INFO ** Steam installation directory: /home/friz64/.local/share/Steam
** DEBUG ** d3dcompiler_47.dll is present, MD5 is OK.
** DEBUG ** Copying d3dcompiler_47.dll into /home/friz64/.local/share/truckersmp-cli/Euro Truck Simulator 2/prefix/pfx/drive_c/windows/system32
** DEBUG ** Adding DLL override setting for eurotrucks2.exe
wineserver: using server-side synchronization.
The registry value 'd3dcompiler_47' already exists. Do you want to overwrite it? (Yes|No)Yes
The operation completed successfully
** INFO ** Startup command:
SteamGameId=227300
SteamAppId=227300
STEAM_COMPAT_DATA_PATH=/home/friz64/.local/share/truckersmp-cli/Euro Truck Simulator 2/prefix
STEAM_COMPAT_CLIENT_INSTALL_PATH=/home/friz64/.local/share/Steam
PROTON_USE_WINED3D=0
PROTON_NO_D3D11=0
LD_PRELOAD=/home/friz64/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so
/usr/bin/python3 /home/friz64/.local/share/truckersmp-cli/Proton/proton
run
/mnt/hdd1/Documents/truckersmp-cli-0.1.0/truckersmp_cli/truckersmp-cli.exe /home/friz64/.local/share/truckersmp-cli/Euro Truck Simulator 2/data /home/friz64/.local/share/truckersmp-cli/TruckersMP
** INFO ** Proton output:
ERROR: ld.so: object '/home/friz64/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/friz64/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
fsync: up and running.
Setting breakpad minidump AppID = 227300
Steam_SetMinidumpSteamID: Caching Steam ID: 76561198242564406 [API loaded no]
Fossilize INFO: Overriding serialization path: "/mnt/hdd1/SteamLibrary/steamapps/shadercache/227300/fozpipelinesv4/steamapprun_pipeline_cache".
Fossilize INFO: Overriding serialization path: "/mnt/hdd1/SteamLibrary/steamapps/shadercache/227300/fozpipelinesv4/steamapprun_pipeline_cache".
mesa: for the --simplifycfg-sink-common option: may only occur zero or one times!
mesa: for the --global-isel-abort option: may only occur zero or one times!
mesa: for the --amdgpu-atomic-optimizations option: may only occur zero or one times!
wine: Unhandled page fault on read access to 00007F1A0308AA10 at address 0000000140115169 (thread 00c4), starting debugger...
pid 81164 != 81163, skipping destruction (fork without exec?)
Information
- OS: Arch Linux
- GPU: Radeon RX 580 (Mesa 20.1.1)
- Proton or Wine version: Proton 5.0
- truckersmp-cli version: 0.1.0
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:5
Top Results From Across the Web
Steam Overlay Stuck when Alt+tabing out of game
The best way to work around this is, to Start TruckersMP until you reach the Login Screen. Then tab out and back in....
Read more >DX11 - hard to ALT-TAB out of the game - Steam Community
Its message announcing its activation only shows after I successfully ALT-TAB out of the game the first time. Also, subsequent ALT-TABs within ...
Read more >Can not access Steam client · Issue #50 - GitHub
Since the last ETS2 and ATS updates truckersmp-cli is very much outdated. Please try #31 which should work in the meantime until it's...
Read more >oak - Mercurial - Mozilla
b) media-blocked tabs (tab2) will remain media-blocked. ... INTER_SLICE_GC=There has been a relatively long time since the last incremental GC slice.
Read more >Bypass ffxiv launcher - Divadonna.it
After you solve the issue and the client is updated, you won't experience it ... Having been out for a long time, the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I can confirm it’s fixed. Thank you!
@Friz64 This seems to be fixed now, can you give it a short test if the overlay is still disappearing?