protonscr

Ni No Kuni II - Crashes on startup

protonopen appid 589360Game compatibility - Unofficial
ValveSoftware/Proton#1933 · opened 2018-11-07 by Technomancer2 · updated 2023-11-27 · 18 comments · github · game page · search this game
TTechnomancer2 2018-11-07 github

steam-589360.log

Compatibility Report

  • Name of the game with compatibility issues: Ni no Kuni II: Revenant Kingdom
  • Steam AppID of the game: 589360

System Information

  • GPU: GeForce GTX 1070
  • Driver/LLVM version: Nvidia 396.54.09
  • Kernel version: 4.15.0-36-generic
  • Link to full system information report as Gist:
  • Proton version: 3.16-4 Beta

I confirm:

  • [x] that I haven't found an existing compatibility report for this game.
  • [x] that I have checked whether there are updates for my system available.

Symptoms

Game tries to start but crashes immediately.

Reproduction

Start the game.

Vviggy96 2018-11-16 github

Game works for me, but performance has gotten progressively worse since the first versions of Proton.
As stated in other comments and posts, I'm running Ubuntu 18.04, the latest mainline kernel, and Mesa from the Padoka unstable PPA.

GPU: 2x R9 Fury
CPU: Ryzen 7 2700X

Rrcgamer29 2018-11-17 github

Works perfectly here. 1070 GTX, 396.54.09

MMatoking 2018-11-28 github

The game runs well most of the time, but at random (might be around an hour of gameplay or so) one of the character 3D models will start distorting, and this distortion won't stop until the game is restarted:

https://steamuserimages-a.akamaihd.net/ugc/947341929947080143/6F0B48FB1B5942B65F2D059D547C46CDF7E45004/

I'm running the game under Arch Linux with Vega 64.
I have the mesa-git repository installed which provides the latest upstream drivers (version at the time of writing is 105843.61b535437e-1).

I'll try running the game with the more stable Mesa 18.2 since that seems to be new enough to run DXVK. There's also the faint possibility of this being an hardware issue.

EDIT:

This happens on Mesa 18.2 as well.

EDIT:

I've continued playing the game for dozens of hours without encountering the model distortion issue, so a recent Mesa/RADV update probably fixed the issue.

Vviggy96 2018-12-04 github

Game runs terribly for me now. It ran great in the early days of Proton, but now there's something wrong with how Proton is running the frame limiting feature of the game. With the frame limiter off, I can easily run 40 - 50 fps, but when I set the frame limiter to 30, my fps struggles to even get to 29 fps, usually hovering between 20 - 25 fps. This didn't happen in older versions of Proton. This occurs on all three versions of Proton currently available on Steam, 3.7-8 stable, 3.7-8 beta, and 3.16-4 beta. In any configuration, the game has become a stuttery mess. This game used to run well, but now it doesn't. I have tried everything, including running the latest amdgpu driver patched kernels, to no avail.

Vviggy96 2019-01-20 github

Game was working very well a few days ago, but now the game fails to start. It puts up a white screen, then crashes. I've tried all the Proton versions for that game.

Mminecraft2048 2019-01-20 github

Game works for me under https://github.com/felixdoerre/primus_vk, but if I uses nvidia-xrun to run my whole DE under nvidia it crashes at startup:steam-589360.log
System information is the same as https://github.com/ValveSoftware/Proton/issues/103

Vviggy96 2019-04-09 github

I get the following output in terminal when trying to run this game with Proton 4.2, with Radeon VII, and Mesa 19 from stable Padoka PPA:

Long paste

Register dump:
 rip:0000000000000000 rsp:000000000032f7c8 rbp:000000000032f8b0 eflags:00010202 (  R- --  I   - - - )
 rax:0000000000000001 rbx:0000000004948748 rcx:0000000004948748 rdx:0000000000000110
 rsi:0000000000000000 rdi:0000000004948740  r8:000000000032f910  r9:0000000000000000 r10:0000000000000008
 r11:0000000000000246 r12:000000000032f910 r13:0000000000000110 r14:0000000000000001 r15:0000000000000000
Stack dump:
0x000000000032f7c8:  00007f0a175cbab1 0000000000000000
0x000000000032f7d8:  0000000000000001 0000000000000000
0x000000000032f7e8:  000000003c888889 0000000000000000
0x000000000032f7f8:  000000003c888889 0000000000000000
0x000000000032f808:  0000000000000000 0000000000000000
0x000000000032f818:  000000003c888889 0000000000000000
0x000000000032f828:  2000202020202020 0020202020202020
0x000000000032f838:  0000000000000000 0000000000000000
0x000000000032f848:  0000000000000000 0000000000000000
0x000000000032f858:  0000000000000000 0000000000000000
0x000000000032f868:  0000000000000000 0000000000000000
0x000000000032f878:  0000000000000000 0000000000000000
Backtrace:
=>0 0x0000000000000000 (0x000000000032f8b0)
0x0000000000000000: -- no code accessible --
Modules:
Module	Address					Debug info	Name (180 modules)
PE	          330000-          5b5000	Deferred        physx3_x64
PE	          5c0000-          641000	Deferred        physx3characterkinematic_x64
PE	          650000-          823000	Deferred        physx3common_x64
PE	          830000-          8ba000	Deferred        physx3cooking_x64
PE	          8c0000-          9fa000	Deferred        apexframework_x64
PE	         5ae0000-         5b74000	Deferred        openvr_api_dxvk
PE	         cd20000-         cef1000	Deferred        apex_clothing_x64
PE	         cf00000-         d035000	Deferred        apex_clothinggpu_x64
PE	        3b400000-        3b441000	Deferred        steam_api64
PE	        6a340000-        6a582000	Deferred        d3d11
PE	        6f200000-        6f381000	Deferred        dxgi
ELF	        7b400000-        7b825000	Deferred        kernel32<elf>
  \-PE	        7b420000-        7b825000	\               kernel32
ELF	        7bc00000-        7bd42000	Deferred        ntdll<elf>
  \-PE	        7bc20000-        7bd42000	\               ntdll
ELF	        7c000000-        7c003000	Deferred        <wine-loader>
PE	       140000000-       1416f2000	Deferred        nino2
PE	       180000000-       1800bc000	Deferred        sdkencryptedappticket64
ELF	    7f09f4234000-    7f09f44dd000	Deferred        libvorbisenc.so.2
ELF	    7f09f44dd000-    7f09f4708000	Deferred        libvorbis.so.0
ELF	    7f09f4708000-    7f09f4911000	Deferred        libogg.so.0
ELF	    7f09f4911000-    7f09f4b88000	Deferred        libflac.so.8
ELF	    7f09f4b88000-    7f09f4d8e000	Deferred        libasyncns.so.0
ELF	    7f09f4d8e000-    7f09f5007000	Deferred        libsndfile.so.1
ELF	    7f09f5007000-    7f09f5211000	Deferred        libwrap.so.0
ELF	    7f09f5211000-    7f09f548f000	Deferred        libpulsecommon-11.1.so
ELF	    7f09f548f000-    7f09f56df000	Deferred        libpulse.so.0
ELF	    7f09f56df000-    7f09f570c000	Deferred        winepulse<elf>
  \-PE	    7f09f56f0000-    7f09f570c000	\               winepulse
ELF	    7f09f580c000-    7f09f5833000	Deferred        mmdevapi<elf>
  \-PE	    7f09f5810000-    7f09f5833000	\               mmdevapi
ELF	    7f09f6feb000-    7f09f7200000	Deferred        libgpg-error.so.0
ELF	    7f09f7200000-    7f09f751b000	Deferred        libgcrypt.so.20
ELF	    7f09f751b000-    7f09f7737000	Deferred        liblz4.so.1
ELF	    7f09f7737000-    7f09f795d000	Deferred        liblzma.so.5
ELF	    7f09f795d000-    7f09f7be1000	Deferred        libsystemd.so.0
ELF	    7f09f7be1000-    7f09f7dfc000	Deferred        libresolv.so.2
ELF	    7f09f7dfc000-    7f09f8000000	Deferred        libkeyutils.so.1
ELF	    7f0a0416f000-    7f0a043bc000	Deferred        libdbus-1.so.3
ELF	    7f0a043bc000-    7f0a0463d000	Deferred        libgmp.so.10
ELF	    7f0a0463d000-    7f0a04871000	Deferred        libhogweed.so.4
ELF	    7f0a04871000-    7f0a04aa7000	Deferred        libnettle.so.6
ELF	    7f0a04aa7000-    7f0a04cba000	Deferred        libtasn1.so.6
ELF	    7f0a04cba000-    7f0a05038000	Deferred        libunistring.so.2
ELF	    7f0a05038000-    7f0a05255000	Deferred        libidn2.so.0
ELF	    7f0a05255000-    7f0a05584000	Deferred        libp11-kit.so.0
ELF	    7f0a05584000-    7f0a0578f000	Deferred        libkrb5support.so.0
ELF	    7f0a0578f000-    7f0a05993000	Deferred        libcom_err.so.2
ELF	    7f0a05993000-    7f0a05bc5000	Deferred        libk5crypto.so.3
ELF	    7f0a05bc5000-    7f0a05e9b000	Deferred        libkrb5.so.3
ELF	    7f0a05e9b000-    7f0a060ac000	Deferred        libavahi-client.so.3
ELF	    7f0a060ac000-    7f0a062b8000	Deferred        libavahi-common.so.3
ELF	    7f0a062b8000-    7f0a0661d000	Deferred        libgnutls.so.30
ELF	    7f0a0661d000-    7f0a06868000	Deferred        libgssapi_krb5.so.2
ELF	    7f0a06868000-    7f0a06af4000	Deferred        libcups.so.2
ELF	    7f0a06af4000-    7f0a06b25000	Deferred        iphlpapi<elf>
  \-PE	    7f0a06b00000-    7f0a06b25000	\               iphlpapi
ELF	    7f0a06b25000-    7f0a06b6f000	Deferred        winspool<elf>
  \-PE	    7f0a06b30000-    7f0a06b6f000	\               winspool
ELF	    7f0a06b6f000-    7f0a06bb4000	Deferred        wbemprox<elf>
  \-PE	    7f0a06b80000-    7f0a06bb4000	\               wbemprox
ELF	    7f0a083b7000-    7f0a0c000000	Deferred        libllvm-8.so.1
ELF	    7f0a10012000-    7f0a1021f000	Deferred        libudev.so.0
ELF	    7f0a102f7000-    7f0a1051d000	Deferred        libpng12.so.0
ELF	    7f0a10833000-    7f0a10a49000	Deferred        steamoverlayvulkanlayer.so
ELF	    7f0a10a49000-    7f0a10c84000	Deferred        libvklayer_steam_fossilize.so
ELF	    7f0a10c84000-    7f0a1127e000	Deferred        libvulkan_intel.so
ELF	    7f0a1127e000-    7f0a114a8000	Deferred        libtinfo.so.5
ELF	    7f0a114a8000-    7f0a116df000	Deferred        libedit.so.2
ELF	    7f0a116df000-    7f0a118e7000	Deferred        libffi.so.6
ELF	    7f0a119a2000-    7f0a11bb1000	Deferred        libwayland-client.so.0
ELF	    7f0a11bb1000-    7f0a11db3000	Deferred        libxshmfence.so.1
ELF	    7f0a11db3000-    7f0a11fba000	Deferred        libxcb-sync.so.1
ELF	    7f0a11fba000-    7f0a121bd000	Deferred        libxcb-present.so.0
ELF	    7f0a121bd000-    7f0a123c1000	Deferred        libxcb-dri3.so.0
ELF	    7f0a123c1000-    7f0a125c3000	Deferred        libx11-xcb.so.1
ELF	    7f0a125c3000-    7f0a127d3000	Deferred        libxcb-randr.so.0
ELF	    7f0a127d3000-    7f0a129e4000	Deferred        libdrm.so.2
ELF	    7f0a129e4000-    7f0a12bed000	Deferred        libdrm_amdgpu.so.1
ELF	    7f0a12bed000-    7f0a12e07000	Deferred        libelf.so.1
ELF	    7f0a12e07000-    7f0a132c7000	Deferred        libvulkan_radeon.so
ELF	    7f0a132c7000-    7f0a132db000	Deferred        api-ms-win-security-systemfunctions-l1-1-0<elf>
  \-PE	    7f0a132d0000-    7f0a132db000	\               api-ms-win-security-systemfunctions-l1-1-0
ELF	    7f0a1330e000-    7f0a13323000	Deferred        api-ms-win-appmodel-runtime-l1-1-1<elf>
  \-PE	    7f0a13310000-    7f0a13323000	\               api-ms-win-appmodel-runtime-l1-1-1
ELF	    7f0a13323000-    7f0a14cbd000	Deferred        steamclient.so
ELF	    7f0a14cbd000-    7f0a14fdd000	Deferred        lsteamclient<elf>
  \-PE	    7f0a14dc0000-    7f0a14fdd000	\               lsteamclient
ELF	    7f0a14fdd000-    7f0a1501b000	Deferred        uxtheme<elf>
  \-PE	    7f0a14fe0000-    7f0a1501b000	\               uxtheme
ELF	    7f0a1501b000-    7f0a1526f000	Deferred        libvulkan.so.1
ELF	    7f0a15271000-    7f0a15477000	Deferred        libxfixes.so.3
ELF	    7f0a15477000-    7f0a15681000	Deferred        libxcursor.so.1
ELF	    7f0a15681000-    7f0a1588b000	Deferred        libxrender.so.1
ELF	    7f0a1588b000-    7f0a15a9b000	Deferred        libxi.so.6
ELF	    7f0a15a9b000-    7f0a15c9e000	Deferred        libxcomposite.so.1
ELF	    7f0a15c9e000-    7f0a15ea4000	Deferred        libxxf86vm.so.1
ELF	    7f0a15ea4000-    7f0a160a7000	Deferred        libxinerama.so.1
ELF	    7f0a160a7000-    7f0a162b9000	Deferred        libxext.so.6
ELF	    7f0a162b9000-    7f0a16363000	Deferred        winex11<elf>
  \-PE	    7f0a162d0000-    7f0a16363000	\               winex11
ELF	    7f0a16363000-    7f0a16378000	Deferred        api-ms-win-core-localization-l1-2-1<elf>
  \-PE	    7f0a16370000-    7f0a16378000	\               api-ms-win-core-localization-l1-2-1
ELF	    7f0a16378000-    7f0a1638c000	Deferred        api-ms-win-core-fibers-l1-1-1<elf>
  \-PE	    7f0a16380000-    7f0a1638c000	\               api-ms-win-core-fibers-l1-1-1
ELF	    7f0a1638c000-    7f0a163a1000	Deferred        api-ms-win-core-synch-l1-2-0<elf>
  \-PE	    7f0a16390000-    7f0a163a1000	\               api-ms-win-core-synch-l1-2-0
ELF	    7f0a164e4000-    7f0a16716000	Deferred        libexpat.so.1
ELF	    7f0a16716000-    7f0a1695b000	Deferred        libfontconfig.so.1
ELF	    7f0a1695b000-    7f0a16b78000	Deferred        libz.so.1
ELF	    7f0a16b78000-    7f0a16daa000	Deferred        libpng16.so.16
ELF	    7f0a16daa000-    7f0a1705e000	Deferred        libfreetype.so.6
ELF	    7f0a1705e000-    7f0a17078000	Deferred        hid<elf>
  \-PE	    7f0a17060000-    7f0a17078000	\               hid
ELF	    7f0a17078000-    7f0a17091000	Deferred        xinput1_3<elf>
  \-PE	    7f0a17080000-    7f0a17091000	\               xinput1_3
ELF	    7f0a17091000-    7f0a170bb000	Deferred        imm32<elf>
  \-PE	    7f0a170a0000-    7f0a170bb000	\               imm32
ELF	    7f0a170bb000-    7f0a17109000	Deferred        usp10<elf>
  \-PE	    7f0a170c0000-    7f0a17109000	\               usp10
ELF	    7f0a17109000-    7f0a17262000	Deferred        comctl32<elf>
  \-PE	    7f0a17110000-    7f0a17262000	\               comctl32
ELF	    7f0a17262000-    7f0a1759d000	Deferred        libsdl2-2.0.so.0
ELF	    7f0a1759d000-    7f0a17601000	Deferred        dinput8<elf>
  \-PE	    7f0a175b0000-    7f0a17601000	\               dinput8
ELF	    7f0a17601000-    7f0a1767f000	Deferred        setupapi<elf>
  \-PE	    7f0a17610000-    7f0a1767f000	\               setupapi
ELF	    7f0a1767f000-    7f0a17758000	Deferred        msvcrt<elf>
  \-PE	    7f0a176a0000-    7f0a17758000	\               msvcrt
ELF	    7f0a17758000-    7f0a177a9000	Deferred        winevulkan<elf>
  \-PE	    7f0a17770000-    7f0a177a9000	\               winevulkan
ELF	    7f0a177a9000-    7f0a177c2000	Deferred        vulkan-1<elf>
  \-PE	    7f0a177b0000-    7f0a177c2000	\               vulkan-1
ELF	    7f0a177c2000-    7f0a177f0000	Deferred        msacm32<elf>
  \-PE	    7f0a177d0000-    7f0a177f0000	\               msacm32
ELF	    7f0a177f0000-    7f0a178b6000	Deferred        winmm<elf>
  \-PE	    7f0a17800000-    7f0a178b6000	\               winmm
ELF	    7f0a178b6000-    7f0a17a2a000	Deferred        oleaut32<elf>
  \-PE	    7f0a178e0000-    7f0a17a2a000	\               oleaut32
ELF	    7f0a17a2a000-    7f0a17a69000	Deferred        ws2_32<elf>
  \-PE	    7f0a17a30000-    7f0a17a69000	\               ws2_32
ELF	    7f0a17a69000-    7f0a17b08000	Deferred        rpcrt4<elf>
  \-PE	    7f0a17a80000-    7f0a17b08000	\               rpcrt4
ELF	    7f0a17b08000-    7f0a17cad000	Deferred        ole32<elf>
  \-PE	    7f0a17b30000-    7f0a17cad000	\               ole32
ELF	    7f0a17cad000-    7f0a17cd6000	Deferred        shcore<elf>
  \-PE	    7f0a17cb0000-    7f0a17cd6000	\               shcore
ELF	    7f0a17cd6000-    7f0a17cf1000	Deferred        version<elf>
  \-PE	    7f0a17ce0000-    7f0a17cf1000	\               version
ELF	    7f0a17cf1000-    7f0a17e71000	Deferred        gdi32<elf>
  \-PE	    7f0a17d10000-    7f0a17e71000	\               gdi32
ELF	    7f0a17e71000-    7f0a180d5000	Deferred        user32<elf>
  \-PE	    7f0a17e90000-    7f0a180d5000	\               user32
ELF	    7f0a180d5000-    7f0a1815d000	Deferred        shlwapi<elf>
  \-PE	    7f0a180f0000-    7f0a1815d000	\               shlwapi
ELF	    7f0a1815d000-    7f0a18b69000	Deferred        shell32<elf>
  \-PE	    7f0a18180000-    7f0a18b69000	\               shell32
ELF	    7f0a18c69000-    7f0a18cfa000	Deferred        advapi32<elf>
  \-PE	    7f0a18c80000-    7f0a18cfa000	\               advapi32
ELF	    7f0a198c9000-    7f0a19adb000	Deferred        libnss_files.so.2
ELF	    7f0a19adb000-    7f0a19cf5000	Deferred        libnsl.so.1
ELF	    7f0a19cf5000-    7f0a19f01000	Deferred        libnss_nis.so.2
ELF	    7f0a19f01000-    7f0a1a10b000	Deferred        libnss_compat.so.2
ELF	    7f0a1b7ea000-    7f0a1b9ff000	Deferred        libbsd.so.0
ELF	    7f0a1b9ff000-    7f0a1bc05000	Deferred        libxdmcp.so.6
ELF	    7f0a1bc05000-    7f0a1be09000	Deferred        libxau.so.6
ELF	    7f0a1be09000-    7f0a1c031000	Deferred        libxcb.so.1
ELF	    7f0a1c033000-    7f0a1c36b000	Deferred        libx11.so.6
ELF	    7f0a1c36b000-    7f0a1c583000	Deferred        libgcc_s.so.1
ELF	    7f0a1c583000-    7f0a1c839000	Deferred        libgldispatch.so.0
ELF	    7f0a1c839000-    7f0a1ca6a000	Deferred        libglx.so.0
ELF	    7f0a1ca6a000-    7f0a1ce08000	Deferred        libm.so.6
ELF	    7f0a1d193000-    7f0a1d397000	Deferred        libdl.so.2
ELF	    7f0a1d397000-    7f0a1d59f000	Deferred        librt.so.1
ELF	    7f0a1d59f000-    7f0a1d82b000	Deferred        libgl.so.1
ELF	    7f0a1d82b000-    7f0a1dc1c000	Deferred        libc.so.6
ELF	    7f0a1dc1c000-    7f0a1de3b000	Deferred        libpthread.so.0
ELF	    7f0a1de3d000-    7f0a1e1e8000	Export          libwine.so.1
ELF	    7f0a1e1e8000-    7f0a1e424000	Deferred        gameoverlayrenderer.so
ELF	    7f0a1e426000-    7f0a1e650000	Deferred        ld-linux-x86-64.so.2
Threads:
process  tid      prio (all id:s are in hex)
00000008 steam.exe
	00000026    0
	00000009    0
0000000c services.exe
	00000022    0
	0000001f    0
	0000001a    0
	00000016    0
	00000011    0
	0000000e    0
	0000000d    0
0000000f winedevice.exe
	00000017    0
	00000015    0
	00000014    0
	00000010    0
00000018 plugplay.exe
	0000001c    0
	0000001b    0
	00000019    0
0000001d winedevice.exe
	00000025    0
	00000024    0
	00000023    0
	00000021    0
	00000020    0
	0000001e    0
00000027 explorer.exe
	0000002d    0
	0000002c    0
	0000002b    0
	00000028    0
00000029 (D) Z:\mnt\Data\SteamLibrary\steamapps\common\Ni no Kuni II Revenant Kingdom\Nino2.exe
	0000005b    0
	0000005a    0
	00000059    0
	00000058    0
	00000057    0
	00000056    0
	00000055    0
	00000054    0
	00000053    0
	00000052    0
	00000051    0
	00000050   -1
	0000004f    0
	0000004e    0
	0000004d   15
	0000004c    2
	0000004b    0
	0000004a    0
	00000048    0
	00000047   15
	00000046    0
	00000045    0
	00000044    0
	00000043    0
	00000042    0
	00000041   -2
	00000040   -2
	0000003f   -2
	0000003e   -2
	0000003d   -2
	0000003c   -2
	0000003b   -2
	0000003a   -2
	00000039   -2
	00000038   -2
	00000037   -2
	00000036   -2
	00000035    2
	00000034   -2
	00000033   -2
	00000032    2
	00000031    1
	00000030    0
	0000002f    0
	0000002e    0
	0000002a    0 <==
System information:
    Wine build: wine-4.2
    Platform: x86_64
    Version: Windows 7
    Host system: Linux
    Host version: 5.0.7-050007-generic
nant Kingdom\Nino2.exe: ../nptl/pthread_mutex_lock.c:434: __pthread_mutex_cond_lock_full: Assertion `robust || (oldval & FUTEX_OWNER_DIED) == 0' failed.
wine client error:4e: write: Bad file descriptor
pid 29411 != 29410, skipping destruction (fork without exec?)
Game removed: AppID 589360 "", ProcID 29450 
Exiting app 589360

With Proton 3.16-4, the backtrace is this:

=>0 0x00007f40674c15b3 in libsdl2-2.0.so.0 (+0x3c5b3) (0x0000000000000000)
0x00007f40674c15b3: movzbl	(%rax,%r12,1),%ebp
Vviggy96 2019-04-09 github

@kisak-valve Here's a Proton log for this game:
steam-589360.log

Vviggy96 2019-04-19 github

Same issue when using Proton 4.2-3. I've tried installing a backport libSDL2, version 2.0.9, from ppa:cybermax-dexter/sdl2-backport, but it didn't help.

SShin-Aska 2019-06-26 github

Same issue as @viggy96 . Whitescreen on startup. Strangely, not using my external gpu, using intel uhd 630, the game runs fine.

TTechnomancer2 2019-06-26 github

This may be a problem with EGPUs as I can also run the game on my internal intel gpu but it just runs too slow to make it playable.

Vvalgusk 2019-06-27 github

I use multi-gpu setup, and it crashed on launch with segfault due to igpu also having vulkan icd. Workaround that worked for me: set launch options to something like "VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.json %command%", where the json file points to your GPU icd

TTechnomancer2 2019-06-28 github

Kudos to Valgusk as this appears to do the trick.

SShin-Aska 2019-06-29 github

I just followed @valgusk's command as well and now the game runs great. Awesome!

Zzpangwin 2023-11-12 github

Same issue as OP (Technomancer2). When launching from Steam, the game simply does not launch, despite the first Ni no Kuni game running perfectly on the same box using GEProton8-20. I don't get a whitescreen as reported in some of the comments above, nor do I get a blackscreen as reported in some other locations online (windows troubleshooting posts on steam community mostly).

  • System: Fedora 38 (Cinnamon DE)
  • GPU: GeForce GTX 970
  • Driver version: Nvidia 535.129.03
  • Kernel version: 6.5.10-200.fc38.x86_64
  • Proton versions: attempted with Proton Experimental, Proton 8.0-4, Proton 7.0-6, and GEProton8-20

Also attempted:

  • Per protondb, I also tried with the launch args VK_ICD_FILENAMES="/usr/share/vulkan/icd.d/nvidia_icd.json" %command% and (separately) with PROTON_USE_WINED3D=1. Tried each option under each of the above listed Proton versions. No dice.
  • Running protontricks 589360 winecfg and configuring wine to 1920x1080. I actually got an error while using the command as suggested on protondb ("Your wine binary was not upgraded correctly" - despite my system and wine being fully up-to-date. system wine was wine-8.19 Staging), so what I actually ran was WINEPREFIX="/media/ssd/SteamLibrary/steamapps/compatdata/589360/pfx" "/home/myusername/.local/share/Steam/steamapps/common/Proton 7.0/dist/bin/wine64" winecfg instead and that allowed me to set the resolution. This unfortunately didn't matter at all for running the game.
  • Found an article here mentioning a possible patch that could be applied using a hex editor to resolve Nvidia issues with this game: "If anyone is interested in the exact byte that is changed: 0x74 at Offset 46924E is changed to 0xEB". So I made a backup of Nino2.exe then opened it with hexedit Nino2.exe. Typed Ctrl+G (goto offset) -> 46924E -> EB -> Ctrl+W (write changes) -> Ctrl+X (exit). This also had absolutely no effect as far as I could tell (tested against all of the Proton versions listed above).

--

Beyond that, valgusk's comment was essentially the same advice as I saw on protondb. I didn't really understand it though; mostly the part about

where the json file points to your GPU icd

I did have already have a /usr/share/vulkan/icd.d/nvidia_icd.json file with the contents:

{
    "file_format_version" : "1.0.0",
    "ICD": {
        "library_path": "libGLX_nvidia.so.0",
        "api_version" : "1.3.242"
    }
}

but if some additional configuration was required, then I am unclear what else needed to be done. But being as he mentioned a mutli-gpu setup where I have a single-gpu setup and he had several comments that the game worked for him but performed poorly vs OP and myself can't even launch the game at all, I suspect that he was solving for a different issue.

Might investigate this more later but for now I'm a bit frustrated at spinning my wheels and getting nowhere so I'm going to take a break.


Edit: ofc just after I posted I finally got it... I'm not entirely sure why this works but I'm done debugging for tonight. Basically, I had wrote this up and posted but I had left the game trying to launch in the background while I wrote the post details.. and after posting I realized that and decided to look at processes before moving on.

I think just prior to posting I had completely deleted my compatdata/589360 folder and I had reverted the patched exe changes back to the original exe. When I got it working I had PROTON_USE_WINED3D=1 and GEProton8-20 though I suspect that those don't matter too much. I had listed running processes with pgrep and then decided to kill anything hung (was planning to play something else and thought to clear up any stalled processes first) and ran pkill -9 -if 'wine|589360' then about a second or two later a window appeared and the game started and I was able to get to the main menu after dismissing a bunch of notification messages about updates. Exiting and attempt to relaunching, I had the same issue as before (not starting) and running pkill -9 -if 'wine|589360' I was once again able to reach the main menu.

So it seems like some non-critical pre-launch process is getting hung up or stuck in a loop. But based on protondb posts, I suspect that this only happens in some scenarios and I'm just one of the "lucky" ones. I'll try to capture exact processes later and post back with more info.

Zzpangwin 2023-11-13 github

Ok, did a little more testing today.

First:

While testing under GEProton8-20, I was able to narrow things down a bit more by using pgrep -ifa 'wine|589360' and killing processes one by one (e.g. kill <pid>). The process that I was killing which allowed things to proceed was

$ pgrep -ifa '/GE-Proton8-20/files/bin/wineserver'
321815 /home/myusername/.local/share/Steam/compatibilitytools.d/GE-Proton8-20/files/bin/wineserver

Since wineserver should just be a service that allows other things to run, I'm not sure exactly what the actual process that was holding things up was. Trying to find child processes of the wineserver process (e.g. pgrep -P 321815) gave no results. When pgrepping for 'steam' I saw several processes matching 'DXSETUP.exe' that were always hanging around but killing those had no effect whatsoever.

Second:

I wanted to confirm if the issue or my workaround was specific to the launch options or the version I was using.

I can confirm that neither PROTON_USE_WINED3D=1 nor GEProton8-20 are required. I removed all launch all launch options and switched compatibility back to Proton Experimental and the same pkill -9 -if 'wine|589360' trick worked fine.

Furthermore, while I definitely had the issue again on my first launch under Proton Experimental, one difference was that I only had to do the pkill workaround ONE time (as opposed to having to do it EVERY launch with GE-Proton8-20). On subsequent launches under Proton Experimental, it "just worked" and game came up after a 1-2 second delay. This persisted even after completely closing out of and restarting steam itself, so the launch issue seems to be permanently fixed now.

Hopefully this might help someone else if their game is not launching at all.

From Steam System Info:

Operating System Version:
Fedora Linux 38 (Cinnamon) (64 bit)
Kernel Name: Linux
Kernel Version: 6.5.10-200.fc38.x86_64
X Server Vendor: The X.Org Foundation
X Server Release: 12014000
X Window Manager: Mutter (Muffin)
Steam Runtime Version: steam-runtime_0.20231024.64411
Kkisak-valve maintainer 2023-11-13 github

Hello @zpangwin, you've described #6859.

Zzpangwin 2023-11-27 github

Hello @zpangwin, you've described #6859.

Interesting. Thanks for mentioning it, I see the latest comment claims that "this appears to finally be resolved with driver 545" but unfortunately that version hasn't quite trickled down to Fedora 38 just yet. I just finished NNK2 a couple days ago but I will keep this in mind for anything similar that I might run into in the near future tho.

edit: yup; just installed South Park: Fractured But Whole, same system and with Proton Experimental again, and ran into the exact same thing (e.g. I had to run pkill -9 -if 'wine|488790' before it would proceed) so I think you are exactly right about it being related to #6859