NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.39k stars 13.61k forks source link

Heroic Games Launcher Cannot see other installed protons, nor use proton #171077

Closed jrgiacone closed 1 year ago

jrgiacone commented 2 years ago

Describe the bug

The heroic launcher cannot access installed versions of proton or use proton

Steps To Reproduce

Steps to reproduce the behavior:

  1. install heroic
  2. install a game
  3. try to see if it can access the .steam/root/compatibilitytools.d/ (it cant)
  4. try proton experimental

Expected behavior

should launch as tested on archlinux install

Log File from error

Launch Command: PROTON_ENABLE_NVAPI=1 PROTON_HIDE_NVIDIA_GPU=0 VKD3D_CONFIG=dxr STEAM_COMPAT_CLIENT_INSTALL_PATH=/home/jrgiacone/.steam/steam STEAM_COMPAT_DATA_PATH='/home/jrgiacone/Games/Heroic/Prefixes/Control' /nix/store/yc05yf9kl40wz6gf7143wfkxydglwrrr-heroic-2.2.6-extracted/resources/app.asar.unpacked/build/bin/linux/legendary launch Calluna --override-exe '/home/jrgiacone/Games/Heroic/Control/Control_DX12.exe' --no-wine --wrapper "'/home/jrgiacone/.config/heroic/tools/proton/Proton-GE-Proton7-16/proton' run"
        System Info:

  Heroic Version: 2.2.6 Oden
  Legendary Version:  0.20.25 Our Benefactors
  OS: NixOS KERNEL: 5.17.3 ARCH: x64
  CPU: AMD Ryzen 7 5800X 8-Core Processor @3.8 GOVERNOR: performance
  RAM: Total: 33.7 GB Available: 31.3 GB
  GRAPHICS:
  PROTOCOL: tty

        Game Settings: {
        "autoInstallDxvk": false,
        "autoInstallVkd3d": false,
        "maxSharpness": 2,
        "nvidiaPrime": false,
        "otherOptions": "PROTON_ENABLE_NVAPI=1 PROTON_HIDE_NVIDIA_GPU=0 VKD3D_CONFIG=dxr",
        "savesPath": "/home/jrgiacone/Games/Heroic/Prefixes/Control/drive_c/users/jrgiacone/Local Settings/Application Data/Remedy/Control/Default-Epic-User/",
        "showFps": false,
        "targetExe": "'/home/jrgiacone/Games/Heroic/Control/Control_DX12.exe'",
        "useGameMode": false,
        "wineCrossoverBottle": "Heroic",
        "winePrefix": "/home/jrgiacone/Games/Heroic/Prefixes/Control",
        "wineVersion": {
                "bin": "'/home/jrgiacone/.config/heroic/tools/proton/Proton-GE-Proton7-16/proton'",
                "name": "Proton - Proton-GE-Proton7-16",
                "type": "proton"
        },
        "useSteamRuntime": false
}

        Game Log:
        [cli] INFO: Logging in...
[Core] INFO: Trying to re-use existing login session...
[cli] INFO: Checking for updates...
[Core] INFO: Getting authentication token...
[cli] INFO: Launching Calluna...
Proton: Upgrading prefix from 7.0-100 to GE-Proton7-16 (/home/jrgiacone/Games/Heroic/Prefixes/Control/)
Proton: Prefix has an invalid version?! You may want to back up user files and delete this prefix.
fsync: up and running.
wine: RLIMIT_NICE is <= 20, unable to use setpriority safely
wine: Unhandled page fault on execute access to 00007F3D81C50B70 at address 00007F3D81C50B70 (thread 00c8), starting debugger...
Unhandled exception: page fault on execute access to 0x00007f3d81c50b70 in 64-bit code (0x00007f3d81c50b70).
Register dump:
 rip:00007f3d81c50b70 rsp:000000000021dec8 rbp:000000000021dfe0 eflags:00010246 (  R- --  I  Z- -P- )
 rax:00007f3d81c50b70 rbx:0000000000000000 rcx:000000007d981ad0 rdx:0000000000000000
 rsi:00007f3d820a33e0 rdi:0000000000000003  r8:0000000000000000  r9:0000000000000000 r10:0000000000000003
 r11:0000000000000001 r12:000000007d981aa0 r13:0000000000000000 r14:0000000000510050 r15:0000000001010038
Stack dump:
0x000000000021dec8:  00007f3d81fe1f4b 0000000001010038
0x000000000021ded8:  00000003af6a4d81 000000000021e500
0x000000000021dee8:  00000003af6a4d81 000000026b50d000
0x000000000021def8:  0000000001010038 0000000000000000
0x000000000021df08:  0000000000000000 0000000000000000
0x000000000021df18:  0000000000000000 0000000000000000
0x000000000021df28:  0000000000000000 0000000000000000
0x000000000021df38:  0000000000000000 0000000000000000
0x000000000021df48:  0000000000000000 0000000000000000
0x000000000021df58:  0000000000000000 0000000000000000
0x000000000021df68:  0000000000000000 0000000000000000
0x000000000021df78:  0000000000000000 0000000000000000
Backtrace:
=>0 0x00007f3d81c50b70 (0x000000000021dfe0)
0x00007f3d81c50b70: -- no code accessible --
Modules:
Module  Address                                 Debug info      Name (15 modules)
PE      000000007b000000-000000007b0da000       Deferred        kernelbase
PE      000000007b600000-000000007b812000       Deferred        kernel32
PE      0000000140000000-0000000140020000       Deferred        explorer
PE      0000000170000000-00000001700a1000       Deferred        ntdll
PE      00000001c8db0000-00000001c8e47000       Deferred        msvcrt
PE      000000021a7e0000-000000021a856000       Deferred        setupapi
PE      0000000231ae0000-0000000231b62000       Deferred        rpcrt4
PE      000000023d820000-000000023da6f000       Deferred        user32
PE      000000026b4c0000-000000026b53a000       Deferred        gdi32
PE      00000002f1fa0000-00000002f1fae000       Deferred        version
PE      000000032a700000-000000032a72a000       Deferred        sechost
PE      0000000330260000-00000003302a0000       Deferred        advapi32
PE      0000000375610000-0000000375648000       Deferred        win32u
PE      00000003af670000-00000003af730000       Deferred        ucrtbase
PE      00000003afd00000-00000003afd1a000       Deferred        imm32
Threads:
process  tid      prio (all id:s are in hex)
00000020
        00000024    0
00000028 wineboot.exe
        ["C:\windows\system32\wineboot.exe" --init]
        0000002c    0
00000030 services.exe
        ["C:\windows\system32\services.exe"]
        00000034    0
        00000038    0
        00000044    0
        00000048    0
        00000064    0
        00000070    0
        00000094    0
        000000ac    0
0000003c winedevice.exe
        [C:\windows\system32\winedevice.exe]
        00000040    0
        0000004c    0
        00000050    0
        00000054    0
        00000058    0
        000000b8    0
0000005c winedevice.exe
        [C:\windows\system32\winedevice.exe]
        00000060    0
        00000068    0
        0000006c    0
        00000074    0
        00000078    0
        0000007c    0
        00000080    0
        00000088    0
0000008c plugplay.exe
        [C:\windows\system32\plugplay.exe]
        00000090    0
        00000098    0
        0000009c    0
        000000a0    0
000000a4 svchost.exe
        [C:\windows\system32\svchost.exe -k LocalServiceNetworkRestricted]
        000000a8    0
        000000b0    0
        000000b4    0
000000bc rundll32.exe
        [C:\windows\system32\rundll32.exe setupapi,InstallHinfSection PreInstall 128 \\?\Z:\home\jrgiacone\.config\heroic\tools\proton\Proton-GE-Proton7-16\files\share\wine\wine.inf]
        000000c0    0
000000c4 (D) C:\windows\system32\explorer.exe
        [C:\windows\system32\explorer.exe /desktop]
        000000c8    0 <==
        000000d4    0
System information:
    Wine build: wine-7.0 (Staging)
    Platform: x86_64
    Version: Windows 10
    Host system: Linux
    Host version: 5.17.3
wine: configuration in L"/home/jrgiacone/Games/Heroic/Prefixes/Control/pfx" has been updated.
wine: Unhandled page fault on execute access to 00007FDB4A9F4B70 at address 00007FDB4A9F4B70 (thread 0104), starting debugger...
Unhandled exception: page fault on execute access to 0x00007fdb4a9f4b70 in 64-bit code (0x00007fdb4a9f4b70).
Register dump:
 rip:00007fdb4a9f4b70 rsp:000000000021dec8 rbp:000000000021dfe0 eflags:00010246 (  R- --  I  Z- -P- )
 rax:00007fdb4a9f4b70 rbx:0000000000000000 rcx:000000007ec99810 rdx:0000000000000000
 rsi:00007fdb4ae473e0 rdi:0000000000000003  r8:0000000000000000  r9:0000000000000000 r10:0000000000000003
 r11:0000000000000001 r12:000000007ec997e0 r13:0000000000000000 r14:0000000000510050 r15:0000000001010038
Stack dump:
0x000000000021dec8:  00007fdb4ad85f4b 0000000001010038
0x000000000021ded8:  00000003af6a4d81 000000000021e500
0x000000000021dee8:  00000003af6a4d81 000000026b50d000
0x000000000021def8:  0000000001010038 0000000000000000
0x000000000021df08:  0000000000000000 0000000000000000
0x000000000021df18:  0000000000000000 0000000000000000
0x000000000021df28:  0000000000000000 0000000000000000
0x000000000021df38:  0000000000000000 0000000000000000
0x000000000021df48:  0000000000000000 0000000000000000
0x000000000021df58:  0000000000000000 0000000000000000
0x000000000021df68:  0000000000000000 0000000000000000
0x000000000021df78:  0000000000000000 0000000000000000
Backtrace:
=>0 0x00007fdb4a9f4b70 (0x000000000021dfe0)
0x00007fdb4a9f4b70: -- no code accessible --
Modules:
Module  Address                                 Debug info      Name (15 modules)
PE      000000007b000000-000000007b0da000       Deferred        kernelbase
PE      000000007b600000-000000007b812000       Deferred        kernel32
PE      0000000140000000-0000000140020000       Deferred        explorer
PE      0000000170000000-00000001700a1000       Deferred        ntdll
PE      00000001c8db0000-00000001c8e47000       Deferred        msvcrt
PE      000000021a7e0000-000000021a856000       Deferred        setupapi
PE      0000000231ae0000-0000000231b62000       Deferred        rpcrt4
PE      000000023d820000-000000023da6f000       Deferred        user32
PE      000000026b4c0000-000000026b53a000       Deferred        gdi32
PE      00000002f1fa0000-00000002f1fae000       Deferred        version
PE      000000032a700000-000000032a72a000       Deferred        sechost
PE      0000000330260000-00000003302a0000       Deferred        advapi32
PE      0000000375610000-0000000375648000       Deferred        win32u
PE      00000003af670000-00000003af730000       Deferred        ucrtbase
PE      00000003afd00000-00000003afd1a000       Deferred        imm32
Threads:
process  tid      prio (all id:s are in hex)
00000020 steam.exe
        ["C:\windows\system32\steam.exe" /home/jrgiacone/Games/Heroic/Control/Control_DX12.exe -AUTH_LOGIN=unused -AUTH_PASSWORD=422451790e6c4979bbd0117eed2cd158 -AUTH_TYPE=exchangecode -epicapp=Calluna -epicenv=Prod -EpicPortal -epicusername=jrgiacone -epicuserid=6c4596ad2b0449a6856b9b2ef01e5b24 -epiclocale=en -epicsandboxid=calluna]
        00000024    0
00000030 services.exe
        ["C:\windows\system32\services.exe"]
        00000034    0
        00000038    0
        00000044    0
        00000048    0
        00000064    0
        00000070    0
        00000094    0
        000000ac    0
0000003c winedevice.exe
        [C:\windows\system32\winedevice.exe]
        00000040    0
        0000004c    0
        00000050    0
        00000054    0
        00000058    0
        000000b8    0
0000005c winedevice.exe
        [C:\windows\system32\winedevice.exe]
        00000060    0
        00000068    0
        0000006c    0
        00000074    0
        00000078    0
        0000007c    0
        00000080    0
        00000088    0
0000008c plugplay.exe
        [C:\windows\system32\plugplay.exe]
        00000090    0
        00000098    0
        0000009c    0
        000000a0    0
000000a4 svchost.exe
        [C:\windows\system32\svchost.exe -k LocalServiceNetworkRestricted]
        000000a8    0
        000000b0    0
        000000b4    0
00000100 (D) C:\windows\system32\explorer.exe
        [C:\windows\system32\explorer.exe /desktop]
        00000104    0 <==
        00000110    0
System information:
    Wine build: wine-7.0 (Staging)
    Platform: x86_64
    Version: Windows 10
    Host system: Linux
    Host version: 5.17.3
wine: Unhandled page fault on read access to 0000000000000000 at address 00000000043B7443 (thread 01d4), starting debugger...
Unhandled exception: page fault on read access to 0x0000000000000000 in 64-bit code (0x00000000043b7443).
Register dump:
 rip:00000000043b7443 rsp:00000000479cf510 rbp:00000000479cfba0 eflags:00010292 (  R- --  I S -A- - )
 rax:0000000080004005 rbx:0000000000000000 rcx:0000000000000000 rdx:0000000047a30070
 rsi:0000000000000000 rdi:0000000047af0070  r8:0000000047bb0020  r9:0000000000000800 r10:0000000047bb0020
 r11:a55a5aa5a55a5aa5 r12:0000000000000400 r13:0000000047ae0330 r14:0000000000000300 r15:0000000047af0070
Stack dump:
0x00000000479cf510:  000000004c1902e0 0000000000000002
0x00000000479cf520:  0000000000000008 0000000002fe4150
0x00000000479cf530:  3fdd7e9fadafd114 0000000000000000
0x00000000479cf540:  3f847ae147ae147b 0000000000000000
0x00000000479cf550:  0000000000000000 00000000ffffffff
0x00000000479cf560:  0000000000000000 0000000000000000
0x00000000479cf570:  0000000000000000 0000000000000000
0x00000000479cf580:  0000000047af0070 0000000000000000
0x00000000479cf590:  0000000000000000 0000000000000000
0x00000000479cf5a0:  0000000000000000 0000000000000000
0x00000000479cf5b0:  0000000000000031 0000000000000000
0x00000000479cf5c0:  0000000000000000 fffffffffffffffe
Backtrace:
=>0 0x00000000043b7443 ??0BlendStateInit@d3d@@QEAA@_NW4Blend@BlendDefs@1@1W4BlendOp@31@H0112@Z+0xcf3() in d3d_rmdwin10_f (0x00000000479cfba0)
  1 0x00000000043ba5a5 ??0BlendStateInit@d3d@@QEAA@_NW4Blend@BlendDefs@1@1W4BlendOp@31@H0112@Z+0x3e55() in d3d_rmdwin10_f (0x00000000479cfba0)
  2 0x000000000312345c ??0Bone@rend@@QEAA@$$QEAV01@@Z+0xe3cfc() in renderer_rmdwin10_f (0x00000000479cfcf0)
  3 0x0000000003121956 ??0Bone@rend@@QEAA@$$QEAV01@@Z+0xe21f6() in renderer_rmdwin10_f (0x000000004cd80e40)
  4 0x0000000003121d9f ??0Bone@rend@@QEAA@$$QEAV01@@Z+0xe263f() in renderer_rmdwin10_f (0x000000004cd80e40)
  5 0x000000000311a204 ??0Bone@rend@@QEAA@$$QEAV01@@Z+0xdaaa4() in renderer_rmdwin10_f (0x000000005165ecaf)
  6 0x000000000311a006 ??0Bone@rend@@QEAA@$$QEAV01@@Z+0xda8a6() in renderer_rmdwin10_f (0x000000005165ecaf)
  7 0x000000000464783b ??$addMember@C@JSONObject@r@@QEAAXPEBDAEBC@Z+0x752eb() in rl_rmdwin10_f (0x0000000000000000)
  8 0x000000007b62c9e9 ActivateActCtx+0x20da5() in kernel32 (0x0000000000000000)
  9 0x000000017005f1a7 A_SHAFinal+0x3d037() in ntdll (0x0000000000000000)
0x00000000043b7443 d3d_rmdwin10_f+0x27443: movq (%rcx),%rax
Modules:
Module  Address                                 Debug info      Name (101 modules)
PE      0000000000690000-0000000000fc2000       Deferred        coherentgtjs
PE      0000000000fd0000-000000000104f000       Deferred        wtf
PE      0000000001050000-0000000001216000       Deferred        coherenticuin
PE      0000000001220000-000000000136a000       Deferred        coherenticuuc
PE      0000000001370000-0000000001502000       Deferred        renoircore.windowsdesktop
PE      0000000001510000-0000000002fd6000       Deferred        coherentgtcore
PE      0000000002fe0000-0000000003004000       Deferred        app_rmdwin10_f
PE      0000000003010000-000000000430c000       Export          renderer_rmdwin10_f
PE      0000000004310000-000000000438b000       Deferred        bink2w64
PE      0000000004390000-00000000044d7000       Export          d3d_rmdwin10_f
PE      00000000044e0000-00000000048c0000       Export          rl_rmdwin10_f
PE      00000000048c0000-0000000004f6b000       Deferred        bonsai_rmdwin10_f
PE      0000000004f70000-0000000005894000       Deferred        coregame_rmdwin10_f
PE      00000000058a0000-00000000058bb000       Deferred        input_rmdwin10_f
PE      00000000058c0000-00000000058d0000       Deferred        loc_rmdwin10_f
PE      00000000058d0000-00000000059bf000       Deferred        network_rmdwin10_f
PE      00000000059c0000-0000000005b7d000       Deferred        physics_rmdwin10_f
PE      0000000005b80000-0000000005c5a000       Deferred        apexframework_x64
PE      0000000005c60000-0000000005c74000       Deferred        pxfoundation_x64
PE      0000000005c80000-0000000005e8c000       Deferred        physx3_x64
PE      0000000005e90000-0000000005ebd000       Deferred        physx3characterkinematic_x64
PE      0000000005ec0000-0000000006052000       Deferred        physx3common_x64
PE      0000000006060000-00000000060a2000       Deferred        physx3cooking_x64
PE      00000000060b0000-0000000006153000       Deferred        puppet_rmdwin10_f
PE      0000000006160000-0000000006186000       Deferred        expression_rmdwin10_f
PE      0000000006190000-000000000644d000       Deferred        snd_rmdwin10_f
PE      0000000006450000-00000000065a8000       Deferred        ui_rmdwin10_f
PE      00000000065b0000-000000000685f000       Deferred        coreshared_rmdwin10_f
PE      0000000006860000-0000000006a02000       Deferred        navigation_rmdwin10_f
PE      0000000006a10000-0000000006ab2000       Deferred        platform_rmdwin10_f
PE      0000000006ac0000-0000000006b2c000       Deferred        libcurl
PE      0000000006b30000-00000000073a1000       Deferred        eossdk-win64-shipping
PE      000000004a530000-000000004a5fb000       Deferred        openvr_api_dxvk
PE      000000004ad00000-000000004c18a000       Deferred        icudtcoherent53
PE      000000007b000000-000000007b0da000       Deferred        kernelbase
PE      000000007b600000-000000007b812000       Export          kernel32
PE      0000000140000000-00000001413f1000       Deferred        control_dx12
PE      0000000170000000-00000001700a1000       Export          ntdll
PE      0000000180000000-0000000180329000       Deferred        coherentuigt
PE      00000001c69e0000-00000001c7319000       Deferred        shell32
PE      00000001c8b40000-00000001c8b60000       Deferred        msacm32
PE      00000001c8db0000-00000001c8e47000       Deferred        msvcrt
PE      00000001cd860000-00000001cd868000       Deferred        api-ms-win-crt-utility-l1-1-0
PE      00000001d97a0000-00000001d97a7000       Deferred        api-ms-win-core-fibers-l1-1-1
PE      00000001dd3f0000-00000001dd4be000       Deferred        crypt32
PE      00000001e7610000-00000001e7617000       Deferred        normaliz
PE      00000001ec2b0000-00000001ec2d6000       Deferred        ws2_32
PE      00000001f51e0000-00000001f51f0000       Deferred        hid
PE      00000001fdfd0000-00000001fdff8000       Deferred        wintrust
PE      0000000215e60000-0000000215f23000       Deferred        msvcr120
PE      000000021a7e0000-000000021a856000       Deferred        setupapi
PE      0000000226310000-0000000226317000       Deferred        api-ms-win-core-string-l1-1-0
PE      0000000231ae0000-0000000231b62000       Deferred        rpcrt4
PE      000000023d820000-000000023da6f000       Deferred        user32
PE      0000000240030000-000000024005d000       Deferred        iphlpapi
PE      0000000241850000-0000000241857000       Deferred        api-ms-win-crt-environment-l1-1-0
PE      0000000262250000-0000000262259000       Deferred        api-ms-win-crt-runtime-l1-1-0
PE      000000026b4c0000-000000026b53a000       Deferred        gdi32
PE      000000026ed50000-000000026ed5c000       Deferred        vcruntime140
PE      00000002739c0000-0000000273af7000       Deferred        oleaut32
PE      000000028ba60000-000000028ba67000       Deferred        api-ms-win-crt-time-l1-1-0
PE      000000028dfa0000-000000028dfac000       Deferred        nsi
PE      000000029cfc0000-000000029cfd6000       Deferred        dnsapi
PE      000000029ea80000-000000029ea87000       Deferred        api-ms-win-core-datetime-l1-1-1
PE      00000002bb750000-00000002bb893000       Deferred        comctl32
PE      00000002d4d40000-00000002d4d57000       Deferred        bcrypt
PE      00000002dff50000-00000002dff9f000       Deferred        avifil32
PE      00000002e3540000-00000002e3591000       Deferred        shlwapi
PE      00000002e8f10000-00000002e902a000       Deferred        ole32
PE      00000002edf00000-00000002ee0f1000       Deferred        dxgi
PE      00000002f1fa0000-00000002f1fae000       Deferred        version
PE      00000002fa030000-00000002fa037000       Deferred        api-ms-win-core-localization-obsolete-l1-2-0
PE      000000030a2c0000-000000030a2c9000       Deferred        api-ms-win-crt-stdio-l1-1-0
PE      000000030c980000-000000030c988000       Deferred        api-ms-win-core-synch-l1-2-0
PE      00000003126f0000-0000000312709000       Deferred        shcore
PE      0000000316370000-000000031637b000       Deferred        psapi
PE      0000000327020000-0000000327073000       Deferred        combase
PE      000000032a700000-000000032a72a000       Deferred        sechost
PE      0000000330260000-00000003302a0000       Deferred        advapi32
PE      000000033ea00000-000000033ea09000       Deferred        api-ms-win-crt-string-l1-1-0
PE      0000000344840000-0000000344848000       Deferred        api-ms-win-crt-filesystem-l1-1-0
PE      0000000346ba0000-0000000346bc1000       Deferred        jsproxy
PE      0000000350a30000-0000000350a39000       Deferred        api-ms-win-crt-convert-l1-1-0
PE      0000000351680000-0000000351688000       Deferred        api-ms-win-core-localization-l1-2-1
PE      0000000355100000-0000000355107000       Deferred        api-ms-win-crt-locale-l1-1-0
PE      0000000358120000-0000000358166000       Deferred        winhttp
PE      000000035e4e0000-000000035e746000       Deferred        d3d12
PE      0000000360a80000-0000000360a8a000       Deferred        api-ms-win-crt-math-l1-1-0
PE      0000000360e10000-0000000360eef000       Deferred        msvcp140
PE      00000003738e0000-00000003738e8000       Deferred        api-ms-win-crt-conio-l1-1-0
PE      0000000375610000-0000000375648000       Deferred        win32u
PE      00000003785e0000-00000003785ed000       Deferred        vulkan-1
PE      00000003871c0000-00000003871e5000       Deferred        concrt140
PE      000000038b5a0000-000000038b5f2000       Deferred        wldap32
PE      000000039a620000-000000039a644000       Deferred        msvfw32
PE      000000039b510000-000000039b518000       Deferred        api-ms-win-crt-heap-l1-1-0
PE      00000003a93b0000-00000003a93c3000       Deferred        xinput1_4
PE      00000003af670000-00000003af730000       Deferred        ucrtbase
PE      00000003afd00000-00000003afd1a000       Deferred        imm32
PE      00000003b6dc0000-00000003b6de4000       Deferred        winevulkan
PE      00000003b8f00000-00000003b8fc1000       Deferred        winmm
Threads:
process  tid      prio (all id:s are in hex)
00000020 steam.exe
        ["C:\windows\system32\steam.exe" /home/jrgiacone/Games/Heroic/Control/Control_DX12.exe -AUTH_LOGIN=unused -AUTH_PASSWORD=422451790e6c4979bbd0117eed2cd158 -AUTH_TYPE=exchangecode -epicapp=Calluna -epicenv=Prod -EpicPortal -epicusername=jrgiacone -epicuserid=6c4596ad2b0449a6856b9b2ef01e5b24 -epiclocale=en -epicsandboxid=calluna]
        00000024    0
00000030 services.exe
        ["C:\windows\system32\services.exe"]
        00000034    0
        00000038    0
        00000044    0
        00000048    0
        00000064    0
        00000070    0
        00000094    0
        000000ac    0
0000003c winedevice.exe
        [C:\windows\system32\winedevice.exe]
        00000040    0
        0000004c    0
        00000050    0
        00000054    0
        00000058    0
        000000b8    0
0000005c winedevice.exe
        [C:\windows\system32\winedevice.exe]
        00000060    0
        00000068    0
        0000006c    0
        00000074    0
        00000078    0
        0000007c    0
        00000080    0
        00000088    0
0000008c plugplay.exe
        [C:\windows\system32\plugplay.exe]
        00000090    0
        00000098    0
        0000009c    0
        000000a0    0
        000001e0    0
        000001e4    0
000000a4 svchost.exe
        [C:\windows\system32\svchost.exe -k LocalServiceNetworkRestricted]
        000000a8    0
        000000b0    0
        000000b4    0
00000114 (D) Z:\home\jrgiacone\Games\Heroic\Control\Control_DX12.exe
        ["Z:\home\jrgiacone\Games\Heroic\Control\Control_DX12.exe" -AUTH_LOGIN=unused -AUTH_PASSWORD=422451790e6c4979bbd0117eed2cd158 -AUTH_TYPE=exchangecode -epicapp=Calluna -epicenv=Prod -EpicPortal -epicusername=jrgiacone -epicuserid=6c4596ad2b0449a6856b9b2ef01e5b24 -epiclocale=en -epicsandboxid=calluna]
        00000118    0
        0000011c   -1
        00000120   -1
        00000124   -1
        00000128   -1
        0000012c   -1
        00000130   -1
        00000134   -1
        00000138   -1
        0000013c   -1
        00000140   -1
        00000144   -1
        00000148   -1
        0000014c   -1
        00000150   -1
        00000154   -1
        00000158    1
        0000015c    1
        00000160    1
        00000164    1
        00000168    0
        0000016c    0
        00000170    0
        00000174    0
        00000178    0
        0000017c    0
        00000180    0
        00000184    0
        00000188    0
        0000018c    0
        00000190    0
        00000194    0
        00000198    0
        0000019c    0
        000001a0    0
        000001a4    0
        000001a8    0
        000001ac    0
        000001b0    0
        000001b4    0
        000001b8    0
        000001bc    0
        000001c0    0
        000001c4    0
        000001c8    0
        000001cc    2
        000001d0    1
        000001d4    2 <==
        000001d8    0
        000001dc    0
        000001f0    0
System information:
    Wine build: wine-7.0 (Staging)
    Platform: x86_64
    Version: Windows 10
    Host system: Linux
    Host version: 5.17.3
Calluna-lastPlay.log    

Additional context

Add any other context about the problem here.

Notify maintainers

@WolfangAukang @siddhantk232 @dotlambda

Metadata

[jrgiacone@nixos:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.17.3, NixOS, 22.05 (Quokka), 22.05pre372961.e10da1c7f54`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.8.0`
 - channels(root): `"nixos"`
 - channels(jrgiacone): `""`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
dotlambda commented 2 years ago

I'm not a maintainer.

jrgiacone commented 2 years ago

I'm not a maintainer.

I apologize, I saw you on the contributors section for the default.nix

WolfangAukang commented 2 years ago

Unfortunately I don't know how can this be fixed on a packaging level. Have you checked if there are issues related on the Heroic repo? This might help in understanding what to fix, specially because I don't have on hand my gaming rig anymore.

WolfangAukang commented 2 years ago

Another question that comes to mind that might be helpful to troubleshoot this (to see if this issue is from Legendary or the Heroic package): The legendary binary being used on your case is from the AppImage. Can you try running the same command but with the legendary-glpackage on Nixpkgs? You can just copy the command on the first line and replace the legendary path.

jrgiacone commented 2 years ago

I tried with rare and legendary-gl, it also does not launch with proton

WolfangAukang commented 2 years ago

Then this might be something to consider with legendary developers, or at least there isn't much we can do at packaging level (unless someone can provide a clue of what is missing).

jrgiacone commented 2 years ago

Then this might be something to consider with legendary developers, or at least there isn't much we can do at packaging level (unless someone can provide a clue of what is missing).

Yea I am not sure, it works great on fedora and arch in my testing with no issues, I tried on their discord and their github and they just closed it saying ask for help on discord, which no one was able to

WolfangAukang commented 2 years ago

FYI, today I will throw an updated version on NUR, but using the .deb instead of the AppImage so I can customize the internals. The idea is using legendary and gogdl from nixpkgs and my NUR repo respectively and patching some of the code from the app.asar. Can you please try from it and see how it goes @jrgiacone?

jrgiacone commented 2 years ago

FYI, today I will throw an updated version on NUR, but using the .deb instead of the AppImage so I can customize the internals. The idea is using legendary and gogdl from nixpkgs and my NUR repo respectively and patching some of the code from the app.asar. Can you please try from it and see how it goes @jrgiacone?

Hi I tried, but no matter what im getting a different error now with it stating FileNotFoundError: [Errno 2] No such file or directory: '/home/jrgiacone/.config/heroic/tools/proton/Proton-GE-Proton7-18/files/bin/wine64'

however the file is most definitely there, same with any version of proton @WolfangAukang

[cli] INFO: Logging in...
[Core] INFO: Trying to re-use existing login session...
[cli] INFO: Checking for updates...
[Core] INFO: Getting authentication token...
[cli] INFO: Launching 4f272a49a39742b795d63e1f483a7c7d...
Proton: Upgrading prefix from 7.0-100 to GE-Proton7-18 (/home/jrgiacone/Games/Heroic/Prefixes/whileTrueLearn/)
Proton: Prefix has an invalid version?! You may want to back up user files and delete this prefix.
Traceback (most recent call last):
  File "/home/jrgiacone/.config/heroic/tools/proton/Proton-GE-Proton7-18/proton", line 1597, in <module>
    rc = g_session.run()
  File "/home/jrgiacone/.config/heroic/tools/proton/Proton-GE-Proton7-18/proton", line 1555, in run
    rc = self.run_proc([g_proton.wine64_bin, "c:\\windows\\system32\\steam.exe"] + sys.argv[2:] + self.cmdlineappend)
  File "/home/jrgiacone/.config/heroic/tools/proton/Proton-GE-Proton7-18/proton", line 1533, in run_proc
    return subprocess.call(args, env=local_env, stderr=self.log_file, stdout=self.log_file)
  File "/nix/store/1zby0qylgvhdsxca67baccfrygbsi27n-python3-3.8.13/lib/python3.8/subprocess.py", line 340, in call
    with Popen(*popenargs, **kwargs) as p:
  File "/nix/store/1zby0qylgvhdsxca67baccfrygbsi27n-python3-3.8.13/lib/python3.8/subprocess.py", line 858, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/nix/store/1zby0qylgvhdsxca67baccfrygbsi27n-python3-3.8.13/lib/python3.8/subprocess.py", line 1704, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/home/jrgiacone/.config/heroic/tools/proton/Proton-GE-Proton7-18/files/bin/wine64'
WolfangAukang commented 2 years ago

FYI, I haven't tried this one yet, I might be able to check it this week.

jrgiacone commented 2 years ago

FYI, I haven't tried this one yet, I might be able to check it this week.

did you have any luck getting a version of proton to work?

WolfangAukang commented 2 years ago

Unfortunately I haven't been able to test that one yet, haven't gotten the time.

jrgiacone commented 2 years ago

Unfortunately I haven't been able to test that one yet, haven't gotten the time.

No worries, jon recommended this on reddit, but I have yet to get it properly working/packageable :

stating file does not exist. It is most definitely in the folder though.

file does not exist. is common when an executable tries to load an ELF binary which doesn't have a corrected ELF interpreter, and the RPATH patched to find any other libraries.

Try doing steam-run with the launcher.

The expression https://github.com/nix-community/nur-combined/blob/1e909717432c64091cc6b690bb41d77c006ad877/repos/wolfangaukang/pkgs/heroic/default.nix#L15 should probably be using buildFHSUserEnvBubbleWrap if it's going to be launching other executables which are packaged outside of nixpkgs.

WolfangAukang commented 2 years ago

That would make sense. I think that when you package AppImages, it wraps the application in a FHS environment, so now that I have set that up with the .deb (on the NUR case), it is not wrapped anymore. I can try to rewrite the current setup and post it here, and if you want to test it, that would be great.

jrgiacone commented 2 years ago

I can totally test it out!

WolfangAukang commented 2 years ago

FYI @jrgiacone I have contacted you through email

aidalgol commented 2 years ago

I have a branch with a FHS user-env wrapper for the heroic launcher currently on master, but tar crashes when run by the DXVKInstaller.

(17:11:52) ERROR:   [DXVKInstaller]:   Extraction of vkd3d failed with: Error: Command failed: tar -I zstd -xvf /home/aidan/.config/heroic/tools/vkd3d/vkd3d-proton-2.6.tar.zst -C /home/aidan/.config/heroic/tools/vkd3d
*** stack smashing detected ***: terminated
tar: Child died with signal 6
tar: Error is not recoverable: exiting now

~I'm wondering if switching from the AppImage to the tarball release would make any difference.~

EDIT: Never mind, that error happens even when run outside the FHS env.

WolfangAukang commented 2 years ago

@aidalgol Based on your branch, I created #187631, that modifies the name of the current heroic package as unwrapped and it is now using the tarball.