Steam for Linux

Steam for Linux

flaburgan Sep 28, 2020 @ 1:46pm
[Solved] Windows game not launching after moving my library to another harddrive
I just moved my whole SteamLibrary folder from one disk to another. I then run "Verify integrity" on some of my games, which fixed a few files.

Now, all my Linux native games (Left 4 Dead 2, Dead Island...) launch without problems, but my games launched with Proton (Age of Empires II HD (2013) or Age Of Empires II DE) doesn't start.

I am running the Steam Beta version. Linux Mint 20, Linux kernel 5.8.11, Mesa 20.3 with a RX580.

Proton log:
====================== Proton: 1582308386 proton-4.11-13 SteamGameId: 221380 Command: ['/media/fla/speed-data/SteamLibrary/steamapps/common/Age2HD/Launcher.exe'] Options: set() ====================== ERROR: ld.so: object '/home/fla/.steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/home/fla/.steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored. ERROR: ld.so: object '/home/fla/.steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored. ERROR: ld.so: object '/home/fla/.steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. esync: up and running. 9717.375:0008:0009:trace:loaddll:load_so_dll Loaded L"C:\\windows\\system32\\kernel32.dll" at 0x7b430000: builtin 9717.375:0008:0009:err:file:init_redirects /media/fla/speed-data/SteamLibrary/steamapps/compatdata/221380/pfx/dosdevices/c:/windows: Aucun fichier ou dossier de ce type ERROR: ld.so: object '/home/fla/.steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. 9717.392:000a:000b:trace:loaddll:load_so_dll Loaded L"C:\\windows\\system32\\kernel32.dll" at 0x7b420000: builtin 9717.393:000a:000b:trace:loaddll:load_so_dll Loaded L"C:\\windows\\system32\\wineboot.exe" at 0x7fd432630000: builtin 9717.393:000a:000b:trace:loaddll:load_native_dll Loaded L"C:\\windows\\system32\\kernelbase.dll" at 0x71040000: PE builtin 9717.393:000a:000b:trace:loaddll:load_so_dll Loaded L"C:\\windows\\system32\\sechost.dll" at 0x7fd432470000: builtin 9717.393:000a:000b:trace:loaddll:load_so_dll Loaded L"C:\\windows\\system32\\advapi32.dll" at 0x7fd4324c0000: builtin 9717.397:000a:000b:err:wineboot:main Cannot set the dir to L"C:\\windows" (2) ERROR: ld.so: object '/home/fla/.steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. 9717.558:000c:000d:trace:loaddll:load_so_dll Loaded L"C:\\windows\\system32\\kernel32.dll" at 0x7b420000: builtin 9717.562:000c:000d:trace:loaddll:load_native_dll Loaded L"C:\\windows\\system32\\services.exe" at 0x400000: PE builtin 9717.569:000c:000d:trace:loaddll:load_native_dll Loaded L"C:\\windows\\system32\\kernelbase.dll" at 0x71040000: PE builtin 9717.570:000c:000d:trace:loaddll:load_so_dll Loaded L"C:\\windows\\system32\\sechost.dll" at 0x7fedb3b00000: builtin 9717.570:000c:000d:trace:loaddll:load_so_dll Loaded L"C:\\windows\\system32\\advapi32.dll" at 0x7fedb3c50000: builtin 9717.572:000c:000d:trace:loaddll:load_so_dll Loaded L"C:\\windows\\system32\\msvcrt.dll" at 0x7fedb3a30000: builtin 9717.574:000c:000d:trace:loaddll:load_native_dll Loaded L"C:\\windows\\system32\\rpcrt4.dll" at 0x6fbc0000: PE builtin 9717.575:000c:000d:trace:loaddll:load_so_dll Loaded L"C:\\windows\\system32\\userenv.dll" at 0x7fedb39f0000: builtin 9717.632:000c:000d:fixme:service:scmdatabase_autostart_services Auto-start service L"PlugPlay" failed to start: 2 9717.632:000c:000d:fixme:service:scmdatabase_autostart_services Auto-start service L"WineBus" failed to start: 2 9717.633:000c:000d:fixme:service:scmdatabase_autostart_services Auto-start service L"WineUsd" failed to start: 2 9717.634:000c:000d:fixme:service:scmdatabase_autostart_services Auto-start service L"MountMgr" failed to start: 2 9717.636:000a:000b:trace:loaddll:load_so_dll Loaded L"C:\\windows\\system32\\gdi32.dll" at 0x7fd431880000: builtin 9717.637:000a:000b:trace:loaddll:load_so_dll Loaded L"C:\\windows\\system32\\msvcrt.dll" at 0x7fd4317a0000: builtin 9717.639:000a:000b:trace:loaddll:load_so_dll Loaded L"C:\\windows\\system32\\version.dll" at 0x7fd4314e0000: builtin 9717.639:000a:000b:trace:loaddll:load_so_dll Loaded L"C:\\windows\\system32\\user32.dll" at 0x7fd431510000: builtin 9717.639:000a:000b:trace:loaddll:load_native_dll Loaded L"C:\\windows\\system32\\shlwapi.dll" at 0x68a40000: PE builtin 9717.641:000a:000b:trace:loaddll:load_native_dll Loaded L"C:\\windows\\system32\\rpcrt4.dll" at 0x6fbc0000: PE builtin 9717.642:000a:000b:trace:loaddll:load_native_dll Loaded L"C:\\windows\\system32\\ole32.dll" at 0x65000000: PE builtin 9717.642:000a:000b:trace:loaddll:load_native_dll Loaded L"C:\\windows\\system32\\shcore.dll" at 0x64940000: PE builtin 9717.940:000a:000b:trace:loaddll:load_native_dll Loaded L"C:\\windows\\system32\\imm32.dll" at 0x6bec0000: PE builtin 9717.941:000a:000b:trace:loaddll:load_so_dll Loaded L"C:\\windows\\system32\\shell32.dll" at 0x7fd431a40000: builtin 9717.941:000a:000b:err:shell:SHGetFolderPathAndSubDirW Failed to create directory L"C:\\users\\steamuser\\Application Data". 9717.941:000a:000b:err:shell:SHGetFolderPathAndSubDirW Failed to create directory L"C:\\users\\steamuser". 9717.941:000a:000b:err:shell:SHGetFolderPathAndSubDirW Failed to create directory L"C:\\users\\steamuser\\Local Settings\\Application Data". 9717.943:0008:0009:trace:loaddll:load_so_dll Loaded L"C:\\windows\\system32\\steam.exe" at 0x7ed80000: builtin 9717.944:0008:0009:trace:loaddll:load_native_dll Loaded L"C:\\windows\\system32\\kernelbase.dll" at 0x71240000: PE builtin 9717.944:0008:0009:trace:loaddll:load_so_dll Loaded L"C:\\windows\\system32\\sechost.dll" at 0x7ec90000: builtin 9717.944:0008:0009:trace:loaddll:load_so_dll Loaded L"C:\\windows\\system32\\advapi32.dll" at 0x7ecd0000: builtin 9717.947:0008:0009:trace:loaddll:load_so_dll Loaded L"C:\\windows\\system32\\gdi32.dll" at 0x7eb40000: builtin 9717.947:0008:0009:trace:loaddll:load_so_dll Loaded L"C:\\windows\\system32\\msvcrt.dll" at 0x7ea70000: builtin 9717.948:0008:0009:trace:loaddll:load_native_dll Loaded L"C:\\windows\\system32\\rpcrt4.dll" at 0x6fdc0000: PE builtin 9717.949:0008:0009:trace:loaddll:load_so_dll Loaded L"C:\\windows\\system32\\version.dll" at 0x7e810000: builtin 9717.949:0008:0009:trace:loaddll:load_so_dll Loaded L"C:\\windows\\system32\\user32.dll" at 0x7e850000: builtin 9717.949:0008:0009:trace:loaddll:load_native_dll Loaded L"C:\\windows\\system32\\ole32.dll" at 0x65200000: PE builtin 9717.950:0008:0009:trace:loaddll:load_native_dll Loaded L"C:\\windows\\system32\\shlwapi.dll" at 0x68c40000: PE builtin 9717.951:0008:0009:trace:loaddll:load_native_dll Loaded L"C:\\windows\\system32\\shcore.dll" at 0x64b40000: PE builtin 9717.951:0008:0009:trace:loaddll:load_so_dll Loaded L"C:\\windows\\system32\\shell32.dll" at 0x7d690000: builtin 9718.051:0008:0009:trace:loaddll:load_native_dll Loaded L"C:\\windows\\system32\\imm32.dll" at 0x6c0c0000: PE builtin 9718.053:0008:000f:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. 9718.053:0008:000f:err:winediag:nodrv_CreateWindow The explorer process failed to start. Setting breakpad minidump AppID = 221380 Steam_SetMinidumpSteamID: Caching Steam ID: 76561198084083487 [API loaded no] 9718.136:0008:0009:fixme:file:GetLongPathNameW UNC pathname L"\\\\?\\unix\\media\\fla\\speed-data\\SteamLibrary\\steamapps\\common\\Age2HD\\Launcher.exe" 9718.136:0008:0009:err:steam:run_process Failed to create process L"/"/?/unix/media/fla/speed-data/SteamLibrary/steamapps/common/Age2HD/Launcher.exe/"": 1115 pid 19184 != 19183, skipping destruction (fork without exec?)
Last edited by flaburgan; Oct 2, 2020 @ 2:07pm
Originally posted by SIGKILL:
Originally posted by flaburgan:
However, I just noticed that all the files and folders in my SteamLibrary folder have rwxrwxrwx on it, while the new created folder doesn't have the w for o (so just rwxrwxr-x)
The 777 (rwxrwxrwx) permissions are inherited from copying off of an NTFS filesystem because NTFS doesn't support Unix file permissions, so NTFS volumes will have full 0777 access everywhere.

Since Steam runs as your user there's no need for 'other' access to those files at all. Giving those files o+w, creates a significant security issue and should never be done. Windows uses some very bad filesystem security and I suggest you get used to thinking in user and group access rights instead of the lawless mess of DOS/Windows filesystems.

Using permanent NTFS partitions under Linux is a very bad idea; don't listen to anyone who tells you otherwise -- they're idiots.



Originally posted by flaburgan:
fla@enigma:/media/fla/speed-data/SteamLibrary/steamapps/compatdata/221380/pfx/dosdevices$ ll total 8 drwxrwxr-x 2 fla fla 4096 sept. 29 21:36 ./ drwxrwxr-x 4 fla fla 4096 sept. 29 21:48 ../ lrwxrwxrwx 1 fla fla 10 sept. 29 21:36 com1 -> /dev/ttyS0 lrwxrwxrwx 1 fla fla 10 sept. 29 21:36 com2 -> /dev/ttyS1 lrwxrwxrwx 1 fla fla 10 sept. 29 21:36 com3 -> /dev/ttyS2 lrwxrwxrwx 1 fla fla 10 sept. 29 21:36 com4 -> /dev/ttyS3
Yep, you're missing the DOS drive name symlinks. From that directory, run:
ln -s ../drive_c c: ln -s / z:
Just make sure /media/fla/speed-data/SteamLibrary/steamapps/compatdata/221380/pfx/drive_c exists.

Again, I'm pretty confident this whole problem is caused by using an NTFS Steam library partition under Linux.
< >
Showing 1-13 of 13 comments
SIGKILL Sep 28, 2020 @ 2:29pm 
How is the new drive formatted?
flaburgan Sep 28, 2020 @ 3:09pm 
Originally posted by (LINUX) Hot Sick:
How is the new drive formatted?


It's an EXT4 drive while the previous one is NTFS. Does that change anything? I copied the folder with the file manager, not with the command line.
jason Sep 28, 2020 @ 3:19pm 
9717.375:0008:0009:err:file:init_redirects /media/fla/speed-data/SteamLibrary/steamapps/compatdata/221380/pfx/dosdevices/c:/windows: Aucun fichier ou dossier de ce type

If it was on NTFS the "c:" symlink will be missing. If it had ever worked your original compatdata folder is probably somewhere else.
SIGKILL Sep 28, 2020 @ 4:22pm 
Originally posted by flaburgan:
It's an EXT4 drive while the previous one is NTFS. Does that change anything? I copied the folder with the file manager, not with the command line.
Yeah, NTFS libraries can cause issues with Linux Steam / Proton.

As pointed out above, the compatdata symlinks are likely broken. Just to unpack that a little, Wine / Proton creates a symlinked directory called "c:" inside the prefix directory which should usually point to "../drive_c". Since NTFS doesn't allow colons in filenames, using a wine prefix on NTFS filesystems is problematic.

Not sure how Proton was working on an NTFS partition, or were these games only being used by Windows?

Possibly just deleting the prefix and re-running the game will fix the problem when Steam creates a new one.

Try renaming
/media/fla/speed-data/SteamLibrary/steamapps/compatdata/221380
to
/media/fla/speed-data/SteamLibrary/steamapps/compatdata/221380-old
and run AoE2HD again.
Last edited by SIGKILL; Sep 28, 2020 @ 4:23pm
flaburgan Sep 29, 2020 @ 12:46pm 
Originally posted by jason:
9717.375:0008:0009:err:file:init_redirects /media/fla/speed-data/SteamLibrary/steamapps/compatdata/221380/pfx/dosdevices/c:/windows: Aucun fichier ou dossier de ce type

If it was on NTFS the "c:" symlink will be missing. If it had ever worked your original compatdata folder is probably somewhere else.


Originally posted by (LINUX) Hot Sick:
Not sure how Proton was working on an NTFS partition, or were these games only being used by Windows?


It worked without problem before the move, and has never been launched from windows, I don't have that OS.

Originally posted by (LINUX) Hot Sick:
Originally posted by flaburgan:

Try renaming
/media/fla/speed-data/SteamLibrary/steamapps/compatdata/221380
to
/media/fla/speed-data/SteamLibrary/steamapps/compatdata/221380-old
and run AoE2HD again.

I just did that, and it indeed created a new 221380 folder, but the message about init_redirects is still there and the game still doesn't launch.

However, I just noticed that all the files and folders in my SteamLibrary folder have
rwxrwxrwx on it, while the new created folder doesn't have the w for o (so just rwxrwxr-x). Also, it contains a new "tracked_files" file which isn't present in the -old backup.

Should I try something with the rights on the files? But chmod777 is the most permissive state, it can't solve access to actually *reduce* rights... ?
flaburgan Sep 29, 2020 @ 12:50pm 
Here is what's in the dosdevice folder. Indeed, nothing named c;

fla@enigma:/media/fla/speed-data/SteamLibrary/steamapps/compatdata/221380/pfx/dosdevices$ ll total 8 drwxrwxr-x 2 fla fla 4096 sept. 29 21:36 ./ drwxrwxr-x 4 fla fla 4096 sept. 29 21:48 ../ lrwxrwxrwx 1 fla fla 10 sept. 29 21:36 com1 -> /dev/ttyS0 lrwxrwxrwx 1 fla fla 10 sept. 29 21:36 com2 -> /dev/ttyS1 lrwxrwxrwx 1 fla fla 10 sept. 29 21:36 com3 -> /dev/ttyS2 lrwxrwxrwx 1 fla fla 10 sept. 29 21:36 com4 -> /dev/ttyS3

I just try to uninstall and reinstall the game, making steam re-download everything, and still the same behavior. I'm surprised.
Last edited by flaburgan; Sep 29, 2020 @ 12:57pm
flaburgan Sep 29, 2020 @ 1:27pm 
Just out of curiosity, I ran
chmod -R o-w SteamLibrary/
but that didn't change anything
The author of this thread has indicated that this post answers the original topic.
SIGKILL Sep 29, 2020 @ 1:28pm 
Originally posted by flaburgan:
However, I just noticed that all the files and folders in my SteamLibrary folder have rwxrwxrwx on it, while the new created folder doesn't have the w for o (so just rwxrwxr-x)
The 777 (rwxrwxrwx) permissions are inherited from copying off of an NTFS filesystem because NTFS doesn't support Unix file permissions, so NTFS volumes will have full 0777 access everywhere.

Since Steam runs as your user there's no need for 'other' access to those files at all. Giving those files o+w, creates a significant security issue and should never be done. Windows uses some very bad filesystem security and I suggest you get used to thinking in user and group access rights instead of the lawless mess of DOS/Windows filesystems.

Using permanent NTFS partitions under Linux is a very bad idea; don't listen to anyone who tells you otherwise -- they're idiots.



Originally posted by flaburgan:
fla@enigma:/media/fla/speed-data/SteamLibrary/steamapps/compatdata/221380/pfx/dosdevices$ ll total 8 drwxrwxr-x 2 fla fla 4096 sept. 29 21:36 ./ drwxrwxr-x 4 fla fla 4096 sept. 29 21:48 ../ lrwxrwxrwx 1 fla fla 10 sept. 29 21:36 com1 -> /dev/ttyS0 lrwxrwxrwx 1 fla fla 10 sept. 29 21:36 com2 -> /dev/ttyS1 lrwxrwxrwx 1 fla fla 10 sept. 29 21:36 com3 -> /dev/ttyS2 lrwxrwxrwx 1 fla fla 10 sept. 29 21:36 com4 -> /dev/ttyS3
Yep, you're missing the DOS drive name symlinks. From that directory, run:
ln -s ../drive_c c: ln -s / z:
Just make sure /media/fla/speed-data/SteamLibrary/steamapps/compatdata/221380/pfx/drive_c exists.

Again, I'm pretty confident this whole problem is caused by using an NTFS Steam library partition under Linux.
Last edited by SIGKILL; Sep 29, 2020 @ 1:32pm
flaburgan Sep 29, 2020 @ 1:43pm 
Originally posted by (LINUX) Hot Sick:
I suggest you get used to thinking in user and group access rights instead of the lawless mess of DOS/Windows filesystems. Using permanent NTFS partitions under Linux is a very bad idea; don't listen to anyone who tells you otherwise -- they're idiots.

Wow, that's a bit rude ^^ the whole point of that post is precisely to switch from NTFS to EXT4. I know UNIX rights and that's why I *removed* write access for "others".

Originally posted by (LINUX) Hot Sick:
Yep, you're missing the DOS drive name symlinks. From that directory, run:
ln -s ../drive_c c: ln -s / z:
Just make sure /media/fla/speed-data/SteamLibrary/steamapps/compatdata/221380/pfx/drive_c exists.

Actually, before you answered, I created another Steam folder in my main EXT4 and installed again Age of Empires there, and it launched without problem. I then copied the compatdata folder of Age of Empires to my Steam folder in the speed-data driver, and now the game launches. I'll check with my other Windows game if just creating the symlink is enough.

Edit: I just tested with cossacks, and creating the c: and z: symlink was enough to make it launch, thank you!

Originally posted by (LINUX) Hot Sick:
Again, I'm pretty confident this whole problem is caused by using an NTFS Steam library partition under Linux.

I am not using it anymore. It was working correctly under NTFS btw ^^

Thank you very much for your help, very appreciated.
Last edited by flaburgan; Sep 29, 2020 @ 1:47pm
SIGKILL Sep 29, 2020 @ 2:55pm 
Also, please mark as solved. Cheers.
flaburgan Oct 2, 2020 @ 11:55am 
How can I do that?
SIGKILL Oct 3, 2020 @ 12:55am 
Hover the post that contains the solution, then click the checked-circle icon in the corner.
Personally I just `$touch /home/$user/$path/SteamLibrary/steamapps/compatdata/$game/tracked_files` and it worked fine. I can't explain. Steam needs files that he doesn't create
< >
Showing 1-13 of 13 comments
Per page: 1530 50

Date Posted: Sep 28, 2020 @ 1:46pm
Posts: 13