The last of us is not properly nested under proton experimental

lsd@Crawler-E25:~$ nvidia-smi 
Thu Jul 11 12:30:50 2024       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 550.90.07              Driver Version: 550.90.07      CUDA Version: 12.4     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce RTX 3050 ...    Off |   00000000:01:00.0 Off |                  N/A |
| N/A   51C    P0             12W /   60W |    3878MiB /   4096MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

it starts using almost 3,9 GB of ram, but it doesnt appear with any PID, then it closes
to get comparsion, i installed farcry 5 and it works perfectly under system, so im I’m leaning towards that naughty dog doesnt code well their games

DXVK_CONFIG="dxvk.hideIntegratedGraphics = True" 

doesnt work

DRI_PRIME=1 VK_ICD_FILENAMES=/etc/vulkan/icd.d/nvidia_icd.json %command%

doesnt work

youtube

__NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only __GLX_VENDOR_LIBRARY_NAME=nvidia steam

doesnt work
video 2 - forcing to run steam on nvidia card

lsd@Crawler-E25:~$ __NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only __GLX_VENDOR_LIBRARY_NAME=nvidia steam
Unable to determine whether the expected Nvidia drivers are available.
The Steam client may have limited functionality.
steam.sh[14891]: Running Steam on ubuntu 24.04 64-bit
steam.sh[14891]: STEAM_RUNTIME is enabled automatically
setup.sh[15007]: Steam runtime environment up-to-date!
steam.sh[14891]: Steam client's requirements are satisfied
[2024-07-11 12:55:20] Startup - updater built Jun 20 2024 17:13:49
[2024-07-11 12:55:20] Startup - Steam Client launched with: '/home/lsd/.local/share/Steam/ubuntu12_32/steam' '-srt-logger-opened'
07/11 12:55:20 minidumps folder is set to /tmp/dumps
07/11 12:55:20 Init: Installing breakpad exception handler for appid(steam)/version(1718904662)/tid(15070)
[2024-07-11 12:55:20] Loading cached metrics from disk (/home/lsd/.local/share/Steam/package/steam_client_metrics.bin)
[2024-07-11 12:55:20] Using the following download hosts for Public, Realm steamglobal
[2024-07-11 12:55:20] 1. https://client-update.akamai.steamstatic.com, /, Realm 'steamglobal', weight was 1000, source = 'update_hosts_cached.vdf'
[2024-07-11 12:55:20] 2. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'update_hosts_cached.vdf'
[2024-07-11 12:55:20] 3. https://cdn.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
[2024-07-11 12:55:20] Verifying installation...
[2024-07-11 12:55:20] Verification complete
UpdateUI: skip show logo
Steam logging initialized: directory: /home/lsd/.local/share/Steam/logs

XRRGetOutputInfo Workaround: initialized with override: 0 real: 0xe230e860
XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0xe230cfc0
CAppInfoCacheReadFromDiskThread took 28 milliseconds to initialize
Steam Runtime Launch Service: starting steam-runtime-launcher-service
Steam Runtime Launch Service: steam-runtime-launcher-service is running pid 15202
bus_name=com.steampowered.PressureVessel.LaunchAlongsideSteam
/usr/share/themes/Breeze/gtk-2.0/widgets/entry:70: error: unexpected identifier 'direction', expected character '}'
/usr/share/themes/Breeze/gtk-2.0/widgets/styles:36: error: invalid string constant "combobox_entry", expected valid string constant
BRefreshApplicationsInLibrary 1: 0ms
BuildCompleteAppOverviewChange: 143 apps
RegisterForAppOverview 1: 15ms
RegisterForAppOverview 2: 15ms
x86_64-linux-gnu-capsule-capture-libs: warning: Dependencies of libnvidia-pkcs11.so.550.90.07 not found, ignoring: Missing dependencies: Could not find "libcrypto.so.1.1" in LD_LIBRARY_PATH "/home/lsd/.local/share/Steam/ubuntu12_32:/home/lsd/.local/share/Steam/ubuntu12_32/panorama:/usr/lib/x86_64-linux-gnu/libfakeroot:/lib/i386-linux-gnu:/usr/local/lib:/lib/x86_64-linux-gnu:/lib", ld.so.cache, DT_RUNPATH or fallback /lib:/usr/lib
x86_64-linux-gnu-capsule-capture-libs: warning: we are assuming "_el_fn_sh_complete" to be private, but it's just a guess
i386-linux-gnu-capsule-capture-libs: warning: we are assuming "_el_fn_sh_complete" to be private, but it's just a guess
pressure-vessel-wrap[15716]: N: Not replacing "/etc/vulkan/explicit_layer.d" with tmpfs: Path "/etc" is reserved by the container framework
pressure-vessel-wrap[15716]: N: Not replacing "/etc/vulkan/implicit_layer.d" with tmpfs: Path "/etc" is reserved by the container framework
wine: using kernel write watches, use_kernel_writewatch 1.
fsync: up and running.
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
chdir "/home/lsd/.local/share/Steam/steamapps/common/The Last of Us Part I"
ERROR: ld.so: object '/home/lsd/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/lsd/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
Adding process 15895 for gameID 1888930
ERROR: ld.so: object '/home/lsd/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/lsd/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Adding process 15896 for gameID 1888930
ERROR: ld.so: object '/home/lsd/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Adding process 15897 for gameID 1888930
Adding process 15898 for gameID 1888930
x86_64-linux-gnu-capsule-capture-libs: warning: Dependencies of libnvidia-pkcs11.so.550.90.07 not found, ignoring: Missing dependencies: Could not find "libcrypto.so.1.1" in LD_LIBRARY_PATH "/usr/lib/x86_64-linux-gnu/libfakeroot:/lib/i386-linux-gnu:/usr/local/lib:/lib/x86_64-linux-gnu:/lib:/home/lsd/.local/share/Steam/steamapps/common/The Last of Us Part I", ld.so.cache, DT_RUNPATH or fallback /lib:/usr/lib
x86_64-linux-gnu-capsule-capture-libs: warning: we are assuming "_el_fn_sh_complete" to be private, but it's just a guess
i386-linux-gnu-capsule-capture-libs: warning: we are assuming "_el_fn_sh_complete" to be private, but it's just a guess
pressure-vessel-wrap[15897]: N: Not replacing "/etc/vulkan/explicit_layer.d" with tmpfs: Path "/etc" is reserved by the container framework
pressure-vessel-wrap[15897]: N: Not replacing "/etc/vulkan/implicit_layer.d" with tmpfs: Path "/etc" is reserved by the container framework
Adding process 15996 for gameID 1888930
wine: using kernel write watches, use_kernel_writewatch 1.
Adding process 15997 for gameID 1888930
Adding process 15998 for gameID 1888930
fsync: up and running.
wine: using kernel write watches, use_kernel_writewatch 1.
Adding process 15999 for gameID 1888930
Adding process 16002 for gameID 1888930
wine: using kernel write watches, use_kernel_writewatch 1.
Adding process 16004 for gameID 1888930
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
Adding process 16007 for gameID 1888930
Adding process 16017 for gameID 1888930
wine: using kernel write watches, use_kernel_writewatch 1.
Adding process 16030 for gameID 1888930
wine: using kernel write watches, use_kernel_writewatch 1.
Adding process 16036 for gameID 1888930
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
Adding process 16055 for gameID 1888930
Setting breakpad minidump AppID = 1888930
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561198929852059 [API loaded no]
wine: using kernel write watches, use_kernel_writewatch 1.
Adding process 16072 for gameID 1888930
wine: using kernel write watches, use_kernel_writewatch 1.
Adding process 16075 for gameID 1888930
wine: using kernel write watches, use_kernel_writewatch 1.
Adding process 16082 for gameID 1888930
wine: using kernel write watches, use_kernel_writewatch 1.
Adding process 16088 for gameID 1888930
amdgpu_device_initialize: DRM version is 0.0.0 but this driver is only compatible with 3.x.x.
Fossilize INFO: Overriding serialization path: "/home/lsd/.local/share/Steam/steamapps/shadercache/1888930/fozpipelinesv6/steamapprun_pipeline_cache".
Fossilize INFO: Overriding serialization path: "/home/lsd/.local/share/Steam/steamapps/shadercache/1888930/fozpipelinesv6/steamapprun_pipeline_cache".
pid 16000 != 15999, skipping destruction (fork without exec?)
Game 1888930 created interface STEAMAPPS_INTERFACE_VERSION008 / 
Game 1888930 created interface SteamFriends017 / 
Game 1888930 created interface SteamUser021 / 
Game 1888930 created interface SteamUser021 / User
Game 1888930 created interface SteamUtils010 / 
Game 1888930 method call count for IClientAppManager::BIsDlcEnabled : 1
Game 1888930 method call count for IClientUtils::RecordSteamInterfaceCreation : 7
Game 1888930 method call count for IClientUtils::GetSteamUILanguage : 1
Game 1888930 method call count for IClientUtils::GetAppID : 9
Game 1888930 method call count for IClientFriends::GetPersonaName : 1
Game 1888930 method call count for IClientUser::BIsSubscribedApp : 1
Game 1888930 method call count for IClientUser::GetAuthSessionTicket : 1
Game 1888930 method call count for IClientUser::GetSteamID : 2
Uploaded AppInterfaceStats to Steam
Removing process 16088 for gameID 1888930
Removing process 16082 for gameID 1888930
Removing process 16075 for gameID 1888930
Removing process 16072 for gameID 1888930
Removing process 16055 for gameID 1888930
Removing process 16036 for gameID 1888930
Removing process 16030 for gameID 1888930
Removing process 16017 for gameID 1888930
Removing process 16007 for gameID 1888930
Removing process 16004 for gameID 1888930
Removing process 16002 for gameID 1888930
Removing process 15999 for gameID 1888930
Removing process 15998 for gameID 1888930
Removing process 15997 for gameID 1888930
Removing process 15996 for gameID 1888930
Removing process 15898 for gameID 1888930
Removing process 15897 for gameID 1888930
Removing process 15896 for gameID 1888930
Removing process 15895 for gameID 1888930
x86_64-linux-gnu-capsule-capture-libs: warning: Dependencies of libnvidia-pkcs11.so.550.90.07 not found, ignoring: Missing dependencies: Could not find "libcrypto.so.1.1" in LD_LIBRARY_PATH "/home/lsd/.local/share/Steam/ubuntu12_32:/home/lsd/.local/share/Steam/ubuntu12_32/panorama:/usr/lib/x86_64-linux-gnu/libfakeroot:/lib/i386-linux-gnu:/usr/local/lib:/lib/x86_64-linux-gnu:/lib", ld.so.cache, DT_RUNPATH or fallback /lib:/usr/lib
x86_64-linux-gnu-capsule-capture-libs: warning: we are assuming "_el_fn_sh_complete" to be private, but it's just a guess
i386-linux-gnu-capsule-capture-libs: warning: we are assuming "_el_fn_sh_complete" to be private, but it's just a guess
pressure-vessel-wrap[16255]: N: Not replacing "/etc/vulkan/explicit_layer.d" with tmpfs: Path "/etc" is reserved by the container framework
pressure-vessel-wrap[16255]: N: Not replacing "/etc/vulkan/implicit_layer.d" with tmpfs: Path "/etc" is reserved by the container framework
wine: using kernel write watches, use_kernel_writewatch 1.
fsync: up and running.
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
chdir "/home/lsd/.local/share/Steam/steamapps/common/The Last of Us Part I"
ERROR: ld.so: object '/home/lsd/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Adding process 16433 for gameID 1888930
ERROR: ld.so: object '/home/lsd/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/lsd/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Adding process 16434 for gameID 1888930
ERROR: ld.so: object '/home/lsd/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/lsd/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Adding process 16435 for gameID 1888930
Adding process 16436 for gameID 1888930
x86_64-linux-gnu-capsule-capture-libs: warning: Dependencies of libnvidia-pkcs11.so.550.90.07 not found, ignoring: Missing dependencies: Could not find "libcrypto.so.1.1" in LD_LIBRARY_PATH "/usr/lib/x86_64-linux-gnu/libfakeroot:/lib/i386-linux-gnu:/usr/local/lib:/lib/x86_64-linux-gnu:/lib:/home/lsd/.local/share/Steam/steamapps/common/The Last of Us Part I", ld.so.cache, DT_RUNPATH or fallback /lib:/usr/lib
x86_64-linux-gnu-capsule-capture-libs: warning: we are assuming "_el_fn_sh_complete" to be private, but it's just a guess
i386-linux-gnu-capsule-capture-libs: warning: we are assuming "_el_fn_sh_complete" to be private, but it's just a guess
pressure-vessel-wrap[16435]: N: Not replacing "/etc/vulkan/explicit_layer.d" with tmpfs: Path "/etc" is reserved by the container framework
pressure-vessel-wrap[16435]: N: Not replacing "/etc/vulkan/implicit_layer.d" with tmpfs: Path "/etc" is reserved by the container framework
Adding process 16534 for gameID 1888930
Adding process 16535 for gameID 1888930
wine: using kernel write watches, use_kernel_writewatch 1.
Adding process 16536 for gameID 1888930
fsync: up and running.
Adding process 16537 for gameID 1888930
wine: using kernel write watches, use_kernel_writewatch 1.
Adding process 16540 for gameID 1888930
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
Adding process 16542 for gameID 1888930
Adding process 16547 for gameID 1888930
wine: using kernel write watches, use_kernel_writewatch 1.
Adding process 16557 for gameID 1888930
wine: using kernel write watches, use_kernel_writewatch 1.
Adding process 16570 for gameID 1888930
wine: using kernel write watches, use_kernel_writewatch 1.
Adding process 16576 for gameID 1888930
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
Adding process 16595 for gameID 1888930
Setting breakpad minidump AppID = 1888930
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561198929852059 [API loaded no]
wine: using kernel write watches, use_kernel_writewatch 1.
Adding process 16612 for gameID 1888930
wine: using kernel write watches, use_kernel_writewatch 1.
Adding process 16615 for gameID 1888930
wine: using kernel write watches, use_kernel_writewatch 1.
Adding process 16622 for gameID 1888930
wine: using kernel write watches, use_kernel_writewatch 1.
Adding process 16628 for gameID 1888930
amdgpu_device_initialize: DRM version is 0.0.0 but this driver is only compatible with 3.x.x.
Fossilize INFO: Overriding serialization path: "/home/lsd/.local/share/Steam/steamapps/shadercache/1888930/fozpipelinesv6/steamapprun_pipeline_cache".
Fossilize INFO: Overriding serialization path: "/home/lsd/.local/share/Steam/steamapps/shadercache/1888930/fozpipelinesv6/steamapprun_pipeline_cache".
pid 16538 != 16537, skipping destruction (fork without exec?)
Game 1888930 created interface STEAMAPPS_INTERFACE_VERSION008 / 
Game 1888930 created interface SteamFriends017 / 
Game 1888930 created interface SteamUser021 / 
Game 1888930 created interface SteamUser021 / User
Game 1888930 created interface SteamUtils010 / 
Game 1888930 method call count for IClientAppManager::BIsDlcEnabled : 1
Game 1888930 method call count for IClientUtils::RecordSteamInterfaceCreation : 7
Game 1888930 method call count for IClientUtils::GetSteamUILanguage : 1
Game 1888930 method call count for IClientUtils::GetAppID : 9
Game 1888930 method call count for IClientFriends::GetPersonaName : 1
Game 1888930 method call count for IClientUser::BIsSubscribedApp : 1
Game 1888930 method call count for IClientUser::GetAuthSessionTicket : 1
Game 1888930 method call count for IClientUser::GetSteamID : 2
Uploaded AppInterfaceStats to Steam
Removing process 16628 for gameID 1888930
Removing process 16622 for gameID 1888930
Removing process 16615 for gameID 1888930
Removing process 16612 for gameID 1888930
Removing process 16595 for gameID 1888930
Removing process 16576 for gameID 1888930
Removing process 16570 for gameID 1888930
Removing process 16557 for gameID 1888930
Removing process 16547 for gameID 1888930
Removing process 16542 for gameID 1888930
Removing process 16540 for gameID 1888930
Removing process 16537 for gameID 1888930
Removing process 16536 for gameID 1888930
Removing process 16535 for gameID 1888930
Removing process 16534 for gameID 1888930
Removing process 16436 for gameID 1888930
Removing process 16435 for gameID 1888930
Removing process 16434 for gameID 1888930
Removing process 16433 for gameID 1888930
[2024-07-11 12:56:52] Shutdown
lsd@Crawler-E25:~$ 

Are you using a laptop right?
What happens if you use the Integrated GPU instead? It works?
And after doing that
What is the output of dmesg -w when you try to open The Last of Us?

1.yes
2. DRI_PRIME=0 VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/radeon_icd.x86_64.json %command%
works, had to type that in launch options, otherwise game would never run since it wants to run on nvidia card.
3.nothing
on nvidia card i had output [21512.603794] nvidia 0000:01:00.0: Using 47-bit DMA addresses
thats all


EDIT2:
i think i managed to run game now on nvidia card without any extra launch parameters, so problem must be in game itself