ValveSoftware / ValveSoftware/Proton

Proton not working for any game but a few

Open
#5,289 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
32.8k
Forks
1.6k
PR merge metrics
PR metrics pending

Description

For most of my games, attempting to run them with proton will either cause the game to say "running" for the next few seconds, then stop, or cause them to run, I see the game loading in system monitor with ram usage ramping up and then it crashes. In my case, this is the case for the two main games I have tested, being Elite Dangerous and Project Cars 2. The crash logs for each game as as follows:

ED:

Unhandled Exception:
System.ComponentModel.Win32Exception (0x80004005): Success.

  at MS.Win32.UnsafeNativeMethods.CreateWindowEx (System.Int32 dwExStyle, System.String lpszClassName, System.String lpszWindowName, System.Int32 style, System.Int32 x, System.Int32 y, System.Int32 width, System.Int32 height, System.Runtime.InteropServices.HandleRef hWndParent, System.Runtime.InteropServices.HandleRef hMenu, System.Runtime.InteropServices.HandleRef hInst, System.Object pvParam) [0x00030] in <a0f3a5b0d6ba47cdbdab8d002f41f8f4>:0 
  at MS.Win32.HwndWrapper..ctor (System.Int32 classStyle, System.Int32 style, System.Int32 exStyle, System.Int32 x, System.Int32 y, System.Int32 width, System.Int32 height, System.String name, System.IntPtr parent, MS.Win32.HwndWrapperHook[] hooks) [0x0025a] in <a0f3a5b0d6ba47cdbdab8d002f41f8f4>:0 
  at System.Windows.Application.EnsureHwndSource () [0x00031] in <056d17090c2c4f8f80f60e275cccc223>:0 
  at System.Windows.Application.RunInternal (System.Windows.Window window) [0x00106] in <056d17090c2c4f8f80f60e275cccc223>:0 
  at System.Windows.Application.Run (System.Windows.Window window) [0x00008] in <056d17090c2c4f8f80f60e275cccc223>:0 
  at System.Windows.Application.Run () [0x00009] in <056d17090c2c4f8f80f60e275cccc223>:0 
  at CobraBay.App.Main () [0x0000b] in <b9f504b2f2a84ce287b08b5da3007fa9>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.ComponentModel.Win32Exception (0x80004005): Success.

  at MS.Win32.UnsafeNativeMethods.CreateWindowEx (System.Int32 dwExStyle, System.String lpszClassName, System.String lpszWindowName, System.Int32 style, System.Int32 x, System.Int32 y, System.Int32 width, System.Int32 height, System.Runtime.InteropServices.HandleRef hWndParent, System.Runtime.InteropServices.HandleRef hMenu, System.Runtime.InteropServices.HandleRef hInst, System.Object pvParam) [0x00030] in <a0f3a5b0d6ba47cdbdab8d002f41f8f4>:0 
  at MS.Win32.HwndWrapper..ctor (System.Int32 classStyle, System.Int32 style, System.Int32 exStyle, System.Int32 x, System.Int32 y, System.Int32 width, System.Int32 height, System.String name, System.IntPtr parent, MS.Win32.HwndWrapperHook[] hooks) [0x0025a] in <a0f3a5b0d6ba47cdbdab8d002f41f8f4>:0 
  at System.Windows.Application.EnsureHwndSource () [0x00031] in <056d17090c2c4f8f80f60e275cccc223>:0 
  at System.Windows.Application.RunInternal (System.Windows.Window window) [0x00106] in <056d17090c2c4f8f80f60e275cccc223>:0 
  at System.Windows.Application.Run (System.Windows.Window window) [0x00008] in <056d17090c2c4f8f80f60e275cccc223>:0 
  at System.Windows.Application.Run () [0x00009] in <056d17090c2c4f8f80f60e275cccc223>:0 
  at CobraBay.App.Main () [0x0000b] in <b9f504b2f2a84ce287b08b5da3007fa9>:0 (1)

Project Cars 2:


Unhandled exception: page fault on read access to 0x00000000 in 64-bit code (0x000000014142d220).
Register dump:
 rip:000000014142d220 rsp:000000000063f2c0 rbp:000000000063f3c0 eflags:00010246 (  R- --  I  Z- -P- )
 rax:0000000080004005 rbx:0000000000000000 rcx:0000000000000000 rdx:0000000000000000
 rsi:0000000000000000 rdi:000000008020f380  r8:000000000063f390  r9:00000000000039e0 r10:0000000000290020
 r11:a55a5aa5a55a5aa5 r12:0000000080210012 r13:0000000000000000 r14:0000000000000001 r15:000000008020fc12
Stack dump:
0x000000000063f2c0:  0000000000000400 0000000000000000
0x000000000063f2d0:  0000000080210012 000000008020f380
0x000000000063f2e0:  0000000000000000 0000000000000000
0x000000000063f2f0:  0000000000000000 000000035928b500
0x000000000063f300:  0000000359261620 0000000000000000
0x000000000063f310:  0000000000000000 0000000000000000
0x000000000063f320:  0000000000000000 0000000000000000
0x000000000063f330:  0000000000000000 0000000000000000
0x000000000063f340:  0000000000010000 0000000000000000
0x000000000063f350:  0000000000000000 0000000000000000
0x000000000063f360:  0000000000000000 0000000000000002
0x000000000063f370:  00000000003510d0 0000000000000800
Backtrace:
=>0 0x000000014142d220 EntryPoint+0xfe914f10() in pcars2avx (0x000000000063f3c0)
  1 0x000000014140d17b EntryPoint+0xfe8f4e6a() in pcars2avx (0x000000000063fa80)
  2 0x00000001403b1dda EntryPoint+0xfd899ac9() in pcars2avx (0x000000000063fa80)
  3 0x0000000140c8c98b EntryPoint+0xfe17467a() in pcars2avx (0x0000000000000000)
  4 0x0000000140c8c8da EntryPoint+0xfe1745c9() in pcars2avx (0x0000000000000000)
  5 0x000000014192cd67 EntryPoint+0xfee14a56() in pcars2avx (0x0000000000000000)
  6 0x000000007b62c9a9 EntryPoint+0xffffffffffffffff() in kernel32 (0x0000000000000000)
  7 0x000000007bc5e5e3 EntryPoint+0xffffffffffffffff() in ntdll (0x0000000000000000)
0x000000014142d220 EntryPoint+0xfe914f10 in pcars2avx: movq	(%rcx),%rax
Modules:
Module	Address					Debug info	Name (58 modules)
PE	          640000-          660000	Deferred        amd_ags_x64
PE	          660000-          73d000	Deferred        oo2core_4_win64
PE	          740000-          a6f000	Deferred        physx3_x64
PE	          a70000-          cb0000	Deferred        physx3common_x64
PE	          cb0000-          d40000	Deferred        physx3cooking_x64
PE	          d40000-          d88000	Deferred        binkw64
PE	          d90000-          dbe000	Deferred        vcomp140
PE	         ac70000-         ae4b000	Deferred        gameoverlayrenderer64
PE	        3b400000-        3b437000	Deferred        steam_api64
PE	        7b000000-        7b0d7000	Deferred        kernelbase
PE	        7b600000-        7b812000	Export          kernel32
PE	        7bc00000-        7bc9e000	Export          ntdll
PE	       138000000-       1394b5000	Deferred        steamclient64
PE	       140000000-       142b44000	Export          pcars2avx
PE	       180000000-       180060000	Deferred        bugsplat64
PE	       1c8b40000-       1c8b60000	Deferred        msacm32
PE	       1c8db0000-       1c8e3d000	Deferred        msvcrt
PE	       1d7cb0000-       1d7cc1000	Deferred        wsock32
PE	       1d97a0000-       1d97a7000	Deferred        api-ms-win-core-fibers-l1-1-1
PE	       1dd3f0000-       1dd4bd000	Deferred        crypt32
PE	       1f51e0000-       1f51ef000	Deferred        hid
PE	       1fdfd0000-       1fdff8000	Deferred        wintrust
PE	       21a380000-       21a390000	Deferred        xinput9_1_0
PE	       21a7e0000-       21a855000	Deferred        setupapi
PE	       231ae0000-       231b62000	Deferred        rpcrt4
PE	       23d820000-       23da48000	Deferred        user32
PE	       2419a0000-       2419e0000	Deferred        wbemprox
PE	       24dc40000-       24dc48000	Deferred        api-ms-win-appmodel-runtime-l1-1-1
PE	       26b4c0000-       26b642000	Deferred        gdi32
PE	       2739c0000-       273af6000	Deferred        oleaut32
PE	       2bb750000-       2bb894000	Deferred        comctl32
PE	       2bc640000-       2bc650000	Deferred        imagehlp
PE	       2d4d40000-       2d4d57000	Deferred        bcrypt
PE	       2e3540000-       2e3591000	Deferred        shlwapi
PE	       2e8f10000-       2e9028000	Deferred        ole32
PE	       2edf00000-       2ee0e9000	Deferred        dxgi
PE	       2f1fa0000-       2f1fad000	Deferred        version
PE	       2f7230000-       2f725d000	Deferred        uxtheme
PE	       30c980000-       30c988000	Deferred        api-ms-win-core-synch-l1-2-0
PE	       3126f0000-       312709000	Deferred        shcore
PE	       327020000-       327072000	Deferred        combase
PE	       32a700000-       32a729000	Deferred        sechost
PE	       330260000-       33029f000	Deferred        advapi32
PE	       351680000-       351688000	Deferred        api-ms-win-core-localization-l1-2-1
PE	       359050000-       359325000	Deferred        d3d11
PE	       3785e0000-       3785ec000	Deferred        vulkan-1
PE	       3af670000-       3af728000	Deferred        ucrtbase
PE	       3afd00000-       3afd1a000	Deferred        imm32
PE	       3b8f00000-       3b8fb7000	Deferred        winmm
PE	       3be590000-       3be5f0000	Deferred        dbghelp
PE	    7f57b07b0000-    7f57b07b3000	Deferred        wineopenxr
PE	    7f57b07e0000-    7f57b07eb000	Deferred        winspool
PE	    7f57b0840000-    7f57b0844000	Deferred        winevulkan
PE	    7f57b2940000-    7f57b2943000	Deferred        lsteamclient
PE	    7f57b3670000-    7f57b3674000	Deferred        iphlpapi
PE	    7f57b4f50000-    7f57b4f5b000	Deferred        dinput8
PE	    7f57b4fc0000-    7f57b4fc4000	Deferred        ws2_32
PE	    7f57b5260000-    7f57b5b37000	Deferred        shell32
Threads:
process  tid      prio (all id:s are in hex)
00000020 steam.exe
	00000024    0
	000000c8    0
	000000e0    0
00000030 services.exe
	00000034    0
	00000038    0
	00000044    0
	00000054    0
	00000064    0
	00000070    0
	00000094    0
	000000ac    0
0000003c winedevice.exe
	00000040    0
	0000004c    0
	00000050    0
	00000058    0
0000005c winedevice.exe
	00000060    0
	00000068    0
	0000006c    0
	00000074    0
	00000078    0
	0000007c    0
	00000080    0
	0000008c    0
	00000090    0
00000084 plugplay.exe
	00000088    0
	00000098    0
	0000009c    0
	000000a0    0
000000a4 svchost.exe
	000000a8    0
	000000b0    0
	000000b4    0
000000e8 (D) Z:\mnt\HardDrive\Steam Games\steamapps\common\Project CARS 2\pCARS2AVX.exe
	000000ec    0 <==
	000000f0    0
	000000f4    0
System information:
    Wine build: wine-6.3
    Platform: x86_64
    Version: Windows 10
    Host system: Linux
    Host version: 5.4.0-89-generic

These were both tested with Proton Experimental, Proton 6.3 and Proton 5.0 on Linux Mint 20.2 Cinnamon. The proton fork Proton-GE allows these games to run almost flawlessly, so this is just a valve proton issue. The games tested were running on an NTFS partition (mount options: auto,uid=1000,gid=1000,rw,user,exec,umask=000), so when I get the chance I'll try to get enough disk space for an ext4 partition to see if it's a file system issue.

Other games exhibit similar behaviour to this, however geometry dash seems to run fine in proton 5.0-10 and I'm yet to try out proton versions <5.

I will carry on troubleshooting this and trying out different possible causes, and update this when necessary, however I'm not sure what to exactly try changing and testing a lot of this is a bit tedious, so any pointers in the right direction would be greatly helpful.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the provided Elite Dangerous and Project CARS 2 crash logs and reproduce the failures using Proton Experimental, Proton 6.3, and Proton 5.0 on Linux Mint 20.2. Compare the same games with Proton-GE and test whether the NTFS partition is involved, as proposed in the report. Done would require isolating a reproducible Proton-specific cause rather than documenting failures across several games.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
operating-systems
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.