Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] 5.15.11 kernel broke all Proton Games on NTFS
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
Irets
Tux's lil' helper
Tux's lil' helper


Joined: 17 Dec 2019
Posts: 93

PostPosted: Sun Dec 26, 2021 12:04 pm    Post subject: [SOLVED] 5.15.11 kernel broke all Proton Games on NTFS Reply with quote

Hey,

Last night I upgraded my kernel to 5.15.11 and it has broken all my non-native Steam games that are on my other drive that is formatted as NTFS.
BeamNG.drive crashes upon pressing Play in it's own launcher, Warframe opens up a very broken looking launcher that does not progress and DayZ does not launch at all.

Only Terraria and Team Fortress 2 launch & work as they're both Linux native games.
Proton games on my OS disk that is formatted ext4 work fine.

I'm able to play all my games if I boot into my previous kernel so I must have made some sort of mistake when upgrading my .config to 5.15.11.
I did not opt-in for in-kernel NTFS support and still use ntfs-3g.
When I executed sudo make install in /usr/src/linux, I remember seeing a notification that went something along the lines "CONFIG_X86_X32 enabled but no binutils support".

Here's a log of BeamNG.drive starting up as the game relatively relatively verbose about it's startup.
http://ix.io/3Jy9
The log begins when I launch Steam and stops when I exit.

DayZ is less verbose:
Code:
/bin/sh\0-c\0/home/irets/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=221100 -- '/mnt/ssd2/linux/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-point --verb=waitforexitandrun -- '/home/irets/.local/share/Steam/compatibilitytools.d/Proton-6.21-GE-2'/proton waitforexitandrun  '/mnt/ssd2/linux/steamapps/common/DayZ/DayZ_BE.exe' -exe DayZ_x64.exe\0
Game process added : AppID 221100 "/home/irets/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=221100 -- '/mnt/ssd2/linux/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-point --verb=waitforexitandrun -- '/home/irets/.local/share/Steam/compatibilitytools.d/Proton-6.21-GE-2'/proton waitforexitandrun  '/mnt/ssd2/linux/steamapps/common/DayZ/DayZ_BE.exe' -exe DayZ_x64.exe", ProcID 10664, IP 0.0.0.0:0
chdir /mnt/ssd2/linux/steamapps/common/DayZ
ERROR: ld.so: object '/home/irets/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/irets/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/irets/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/irets/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/irets/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 10668 != 10665, skipping destruction (fork without exec?)
GameAction [AppID 221100, ActionID 1] : LaunchApp changed task to WaitingGameWindow with ""
GameAction [AppID 221100, ActionID 1] : LaunchApp changed task to Completed with ""
Installing breakpad exception handler for appid(steam)/version(1639697812)
ProtonFixes[10866] INFO: Running protonfixes
ProtonFixes[10866] INFO: Running checks
ProtonFixes[10866] INFO: All checks successful
ProtonFixes[10866] INFO: Using global defaults for "DayZ" (221100)
ProtonFixes[10866] INFO: No protonfix found for "DayZ" (221100)
esync: up and running.
Game process updated : AppID 221100 "/home/irets/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=221100 -- '/mnt/ssd2/linux/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-point --verb=waitforexitandrun -- '/home/irets/.local/share/Steam/compatibilitytools.d/Proton-6.21-GE-2'/proton waitforexitandrun  '/mnt/ssd2/linux/steamapps/common/DayZ/DayZ_BE.exe' -exe DayZ_x64.exe", ProcID 11099, IP 0.0.0.0:0
Setting breakpad minidump AppID = 221100
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561198057216786 [API loaded no]
pid 10898 != 10897, skipping destruction (fork without exec?)
Game process removed: AppID 221100 "/home/irets/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=221100 -- '/mnt/ssd2/linux/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-point --verb=waitforexitandrun -- '/home/irets/.local/share/Steam/compatibilitytools.d/Proton-6.21-GE-2'/proton waitforexitandrun  '/mnt/ssd2/linux/steamapps/common/DayZ/DayZ_BE.exe' -exe DayZ_x64.exe", ProcID 11099


Same with Warframe:
Code:
wineserver: using server-side synchronization.
GameAction [AppID 230410, ActionID 2] : LaunchApp changed task to SynchronizingCloud with ""
GameAction [AppID 230410, ActionID 2] : LaunchApp changed task to SynchronizingControllerConfig with ""
Opted-in Controller Mask for AppId 230410: 0
GameAction [AppID 230410, ActionID 2] : LaunchApp changed task to SiteLicenseSeatCheckout with ""
GameAction [AppID 230410, ActionID 2] : LaunchApp changed task to CreatingProcess with ""
GameAction [AppID 230410, ActionID 2] : LaunchApp waiting for user response to CreatingProcess ""
GameAction [AppID 230410, ActionID 2] : LaunchApp continues with user response "CreatingProcess"
/bin/sh\0-c\0/home/irets/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=230410 -- '/mnt/ssd2/linux/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-point --verb=waitforexitandrun -- '/home/irets/.local/share/Steam/compatibilitytools.d/Proton-7.0rc2-GE-1'/proton waitforexitandrun  '/mnt/ssd2/linux/steamapps/common/Warframe/Tools/Launcher.exe' -cluster:public -registry:Steam\0
Game process added : AppID 230410 "/home/irets/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=230410 -- '/mnt/ssd2/linux/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-point --verb=waitforexitandrun -- '/home/irets/.local/share/Steam/compatibilitytools.d/Proton-7.0rc2-GE-1'/proton waitforexitandrun  '/mnt/ssd2/linux/steamapps/common/Warframe/Tools/Launcher.exe' -cluster:public -registry:Steam", ProcID 13356, IP 0.0.0.0:0
chdir /mnt/ssd2/linux/steamapps/common/Warframe/Tools
ERROR: ld.so: object '/home/irets/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
GameAction [AppID 230410, ActionID 2] : LaunchApp changed task to WaitingGameWindow with ""
ERROR: ld.so: object '/home/irets/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/irets/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
GameAction [AppID 230410, ActionID 2] : LaunchApp changed task to Completed with ""
ERROR: ld.so: object '/home/irets/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/irets/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 13360 != 13357, skipping destruction (fork without exec?)
ProtonFixes[13703] INFO: Running protonfixes
ProtonFixes[13703] INFO: Running checks
ProtonFixes[13703] INFO: All checks successful
ProtonFixes[13703] INFO: Using global defaults for "Warframe" (230410)
ProtonFixes[13703] INFO: Using protonfix for "Warframe" (230410)
ProtonFixes[13703] INFO: Overriding libglesv2.dll = d
esync: up and running.
Game process updated : AppID 230410 "/home/irets/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=230410 -- '/mnt/ssd2/linux/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-point --verb=waitforexitandrun -- '/home/irets/.local/share/Steam/compatibilitytools.d/Proton-7.0rc2-GE-1'/proton waitforexitandrun  '/mnt/ssd2/linux/steamapps/common/Warframe/Tools/Launcher.exe' -cluster:public -registry:Steam", ProcID 13839, IP 0.0.0.0:0
Setting breakpad minidump AppID = 230410
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561198057216786 [API loaded no]
Fossilize INFO: Overriding serialization path: "/mnt/ssd2/linux/steamapps/shadercache/230410/fozpipelinesv6/steamapprun_pipeline_cache".


This is dmesg from my current boot after trying to launch various games.
http://ix.io/3Jyb

This is my current kernel .config.
http://ix.io/3Jyc

This is the .config of my previous kernel.
http://ix.io/3Jyd

Assist with this issue is appreciated.

Cheers.


Last edited by Irets on Mon Dec 27, 2021 7:42 am; edited 1 time in total
Back to top
View user's profile Send private message
Irets
Tux's lil' helper
Tux's lil' helper


Joined: 17 Dec 2019
Posts: 93

PostPosted: Mon Dec 27, 2021 7:40 am    Post subject: Reply with quote

I was able to fix it but unfortunately I don't got a clue about how I did it.

All I know was that I went over the kernel configuration a few more times and set N for the option that sets /proc/sys/kernel/unprivileged_bpf_disabled to 2.
Still, I don't believe that the problem was caused by that option, as when I was experimenting I echoed '0' to that location and there was no difference.

Another thing that I noticed when executing emerge @module-rebuild, was that nvidia-drivers complained about the compiler and kernel configuration but still installs the driver successfully.

Code:
make[1]: Entering directory '/usr/src/linux-5.15.11-gentoo'
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (                \
echo >&2;                                                       \
echo >&2 "  ERROR: Kernel configuration is invalid.";           \
echo >&2 "         include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 "         Run 'make oldconfig && make prepare' on kernel src to fix it.";      \
echo >&2 ;                                                      \
/bin/false)
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: gcc (Gentoo 11.2.0 p1) 11.2.0
  You are using:           x86_64-pc-linux-gnu-gcc (Gentoo 11.2.0 p1) 11.2.0

Although I'm assuming that the first "ERROR" is a test that passed and the latter is a harmless warning.
Also, disabling x32 ABI for 64-bit mode got rid of the "CONFIG_X86_X32 enabled but no binutils support" notification.

At least I seem to have a working system now.

Marking the thread as [SOLVED] :?
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 18844

PostPosted: Mon Dec 27, 2021 5:22 pm    Post subject: Reply with quote

Irets wrote:
Code:
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (                \
echo >&2;                                                       \
echo >&2 "  ERROR: Kernel configuration is invalid.";           \
echo >&2 "         include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 "         Run 'make oldconfig && make prepare' on kernel src to fix it.";      \
echo >&2 ;                                                      \
/bin/false)

Although I'm assuming that the first "ERROR" is a test that passed
Correct. The recipe specified the command shown, so Make printed it, then ran it. When it ran, the test -e side yielded the good result, so the shell skipped the parenthesized part which would have echo'd an error message. However, since Make printed the whole command first, you can see the error message anyway. This could have been avoided by using an @-rule to tell Make not to print the recipe, but hiding recipes sometimes causes more problems than it solves, so some projects discourage default-hiding recipe output.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum