Wine doesn't launch Cyberpunk 2077

Hi, when I launch CP77 using cyberpunk and using:

pamac install mesa-git lib32-mesa-git

I get the following error details:

Unhandled exception: page fault on write access to 0x00ed46f0 in 64-bit code (0x0000000142ba45ef).
Register dump:
 rip:0000000142ba45ef rsp:000000000031f9e0 rbp:0000000000ed46f0 eflags:00010246 (  R- --  I  Z- -P- )
 rax:0000000000000000 rbx:0000000000ed46f8 rcx:0000000000ed46f0 rdx:0000000000000020
 rsi:0000000000000000 rdi:0000000000ed52f0  r8:00007f1a4d280014  r9:0000000000000001 r10:0000000000000005
 r11:0000000000010138 r12:0000000000000000 r13:0000000000000000 r14:0000000000000000 r15:0000000000000000
Stack dump:
0x000000000031f9e0:  0000000000000000 000000000031faa0
0x000000000031f9f0:  00007f1a4e802180 0000000142ab9766
0x000000000031fa00:  0000000000000000 0000000000000000
0x000000000031fa10:  0000000000000000 0000000000000000
0x000000000031fa20:  0000000000000000 0000000142b6b611
0x000000000031fa30:  00007f2a717db4c0 00007f2a72e8cd10
0x000000000031fa40:  0000000000000000 00007f1a4deadf50
0x000000000031fa50:  0000000000000000 00007f1a4e801f80
0x000000000031fa60:  00007f2a717db4c0 0000000000000040
0x000000000031fa70:  00007f1a4e801f80 00000001403f163c
0x000000000031fa80:  00007f1a4e801f80 0000000000000000
0x000000000031fa90:  0000000000000000 000000000031fb00
Backtrace:
=>0 0x0000000142ba45ef EntryPoint+0x1029f9d33() in cyberpunk2077 (0x0000000000ed46f0)
  1 0x0000000142b6b611 EntryPoint+0x1029c0d54() in cyberpunk2077 (0x0000000000000000)
  2 0x00000001403f17fc EntryPoint+0x100246f3f() in cyberpunk2077 (0x0000000000000000)
  3 0x0000000140a9b52c EntryPoint+0x1008f0c6f() in cyberpunk2077 (0x0000000000000000)
  4 0x0000000140a942fc EntryPoint+0x1008e9a3f() in cyberpunk2077 (0x0000000000000000)
  5 0x0000000140a9269f EntryPoint+0x1008e7de2() in cyberpunk2077 (0x0000000000000000)
  6 0x00000001401aa11b EntryPoint+0xfffff85e() in cyberpunk2077 (0x0000000000000000)
  7 0x00000001401aa181 EntryPoint+0xfffff8c4() in cyberpunk2077 (0x0000000000000000)
  8 0x00000001401aa84e EntryPoint+0xffffff91() in cyberpunk2077 (0x0000000000000000)
  9 0x000000007b62c609 EntryPoint+0xffffffffffffffff() in kernel32 (0x0000000000000000)
  10 0x000000007bc584b3 EntryPoint+0xffffffffffffffff() in ntdll (0x0000000000000000)
0x0000000142ba45ef EntryPoint+0x1029f9d33 in cyberpunk2077: movups	%xmm0,0xfffffffffffffff8(%rbx)
Modules:
Module	Address					Debug info	Name (80 modules)
PE	          320000-          4f4000	Deferred        icuuc
PE	          500000-          503000	Deferred        icudt
PE	          510000-          518000	Deferred        api-ms-win-crt-heap-l1-1-0
PE	          520000-          528000	Deferred        api-ms-win-crt-utility-l1-1-0
PE	          530000-         120e000	Deferred        galaxy64
PE	         1210000-         128d000	Deferred        bink2w64
PE	         1290000-         1347000	Deferred        winmm
PE	         1350000-         1549000	Deferred        physx3common_x64
PE	         1550000-         15df000	Deferred        physx3characterkinematic_x64
PE	         15e0000-         166b000	Deferred        pxfoundation_x64
PE	         1670000-         1715000	Deferred        physx3cooking_x64
PE	         1720000-         19a3000	Deferred        physx3_x64
PE	         19b0000-         1bb1000	Deferred        nrd
PE	         1bc0000-         1bde000	Deferred        redlexer_native
PE	         1bf0000-         1c56000	Deferred        d3d11
PE	         1c60000-         1ccb000	Deferred        libcurl
PE	         1cd0000-         1cfd000	Deferred        amd_ags_x64
PE	         1d00000-         1e33000	Deferred        oo2ext_7_win64
PE	        2f8b0000-        2f9f5000	Deferred        gfsdk_aftermath_lib.x64
PE	        61540000-        6157f000	Deferred        advapi32
PE	        61740000-        617c0000	Deferred        wininet
PE	        61d00000-        61d09000	Deferred        api-ms-win-crt-convert-l1-1-0
PE	        61d80000-        61d8a000	Deferred        api-ms-win-crt-math-l1-1-0
PE	        62100000-        621e0000	Deferred        msvcp140
PE	        62980000-        62988000	Deferred        api-ms-win-core-localization-l1-2-1
PE	        62b40000-        62b47000	Deferred        api-ms-win-crt-environment-l1-1-0
PE	        62c80000-        62cbb000	Deferred        wbemprox
PE	        62dc0000-        62e42000	Deferred        rpcrt4
PE	        63280000-        6328d000	Deferred        version
PE	        63540000-        63549000	Deferred        api-ms-win-crt-runtime-l1-1-0
PE	        639c0000-        639d9000	Deferred        shcore
PE	        64840000-        64890000	Deferred        shlwapi
PE	        64cc0000-        64df1000	Deferred        oleaut32
PE	        64fc0000-        64fde000	Deferred        xinput1_3
PE	        65b40000-        65b48000	Deferred        api-ms-win-crt-filesystem-l1-1-0
PE	        66040000-        66056000	Deferred        bcrypt
PE	        66400000-        66407000	Deferred        api-ms-win-crt-locale-l1-1-0
PE	        664c0000-        664cf000	Deferred        hid
PE	        66740000-        66747000	Deferred        api-ms-win-security-systemfunctions-l1-1-0
PE	        66c40000-        66c48000	Deferred        api-ms-win-appmodel-runtime-l1-1-2
PE	        67140000-        671f3000	Deferred        msvcr120
PE	        68300000-        68352000	Deferred        combase
PE	        684c0000-        684d1000	Deferred        concrt140
PE	        68900000-        6890a000	Deferred        normaliz
PE	        69e40000-        69e60000	Deferred        msacm32
PE	        6a200000-        6a314000	Deferred        ole32
PE	        6aa80000-        6aa87000	Deferred        api-ms-win-core-fibers-l1-1-1
PE	        6b5c0000-        6b5c9000	Deferred        api-ms-win-crt-stdio-l1-1-0
PE	        6ba00000-        6ba28000	Deferred        sechost
PE	        6bac0000-        6bb34000	Deferred        setupapi
PE	        6c7c0000-        6c941000	Deferred        gdi32
PE	        6ccc0000-        6cccd000	Deferred        powrprof
PE	        6cd40000-        6cd47000	Deferred        api-ms-win-crt-time-l1-1-0
PE	        6dc80000-        6dc88000	Deferred        api-ms-win-core-synch-l1-2-0
PE	        6e2c0000-        6e2cd000	Deferred        mswsock
PE	        6e6c0000-        6e78d000	Deferred        crypt32
PE	        6eb00000-        6ed22000	Deferred        user32
PE	        6ef40000-        6ef48000	Deferred        api-ms-win-appmodel-runtime-l1-1-1
PE	        6f880000-        6fa63000	Deferred        dbghelp
PE	        6fd00000-        6fd09000	Deferred        api-ms-win-crt-string-l1-1-0
PE	        6fec0000-        6fec8000	Deferred        api-ms-win-core-sysinfo-l1-2-1
PE	        70040000-        7004c000	Deferred        vcruntime140
PE	        70740000-        7075f000	Deferred        mpr
PE	        70940000-        709f8000	Deferred        ucrtbase
PE	        71000000-        71018000	Deferred        imm32
PE	        7a850000-        7a854000	Deferred        opengl32
PE	        7b000000-        7b0d4000	Deferred        kernelbase
PE	        7b600000-        7b811000	Export          kernel32
PE	        7bc00000-        7bc96000	Export          ntdll
PE	       140000000-       144f35000	Export          cyberpunk2077
PE	       180000000-       180288000	Deferred        icuin
PE	    7f0d880a0000-    7f0d880a3000	Deferred        kerberos
PE	    7f0d8b4c0000-    7f0d8b4cb000	Deferred        winspool
PE	    7f2e4d830000-    7f2e4d834000	Deferred        winex11
PE	    7f2e4e980000-    7f2e4e99b000	Deferred        wldap32
PE	    7f2e4ea00000-    7f2e4ea04000	Deferred        wined3d
PE	    7f2e4ebb0000-    7f2e4ebb4000	Deferred        dxgi
PE	    7f2e4ebf0000-    7f2e4ebf4000	Deferred        iphlpapi
PE	    7f2e4ec50000-    7f2e4f527000	Deferred        shell32
PE	    7f2e4f790000-    7f2e4f794000	Deferred        ws2_32
Threads:
process  tid      prio (all id:s are in hex)
00000038 services.exe
	0000003c    0
	00000040    0
	0000004c    0
	00000050    0
	00000070    0
	00000088    0
	000000b0    0
	000000d0    0
	000000d4    0
00000044 winedevice.exe
	00000048    0
	00000054    0
	00000058    0
	0000005c    0
00000060 plugplay.exe
	00000064    0
	00000074    0
	00000078    0
	0000007c    0
	00000098    0
	0000009c    0
00000068 explorer.exe
	0000006c    0
	000000bc    0
	000000c0    0
00000080 winedevice.exe
	00000084    0
	0000008c    0
	00000090    0
	00000094    0
	000000a0    0
	000000a4    0
000000a8 svchost.exe
	000000ac    0
	000000b4    0
	000000b8    0
000000c8 rpcss.exe
	000000cc    0
	000000d8    0
	000000dc    0
	000000e0    0
	000000e4    0
	000000e8    0
	000000ec    0
000000f0 (D) Z:\run\media\arshiaaghaei\Games\Cyberpunk 2077\bin\x64\Cyberpunk2077.exe
	000000f4    0 <==
	000000fc    0
	00000100    0
	00000104    0
	00000108    0
	0000010c    0
	00000110    0
	00000114    0
System information:
    Wine build: wine-6.1
    Platform: x86_64
    Version: Windows 7
    Host system: Linux
    Host version: 5.10.15-1-MANJARO

Is there anything I should do? It’s the GOG version and the latest patch. I also play it on WIndows 10 and it works there

I don’t think it would work in a simplistic WINE setup.

Do it properly: Cyberpunk 2077 - Lutris

//EDIT: you need to install Lutris, and also as Tomek pointed what you installed is for AMD, also these were required on game launch you’re applying a workaround when the game is probably working without this workaround now, many months later.

//EDIT2: also installing this package probably broke your system, I mean it removed all packages linked to Manjaro’s MESA, I guess. Don’t do things if you’re not sure, especially if (as I suspect) you don’t do proper system backup in case, like probably here, you break something…

//EDIT3: and from the quick search I made on the various place about this, it doesn’t run correctly with Nvidia anyway. But some apparently have it working, see here https://www.protondb.com/app/1091500

2 Likes

These are drivers for Intel and AMD, but from your profile I see you use Nvidia card, so… You should use proprietary Nvidia driver instead :wink:

If Wine not wor you can use Proton instead. See ProtonDB – there may be some useful advices. Here you have small help how to run apps on Proton without Steam. You can also try Proton GE – there is some additional improvements for Cyberpunk 2077.

And of course Lutris, I forgot about it, thanks to @omano :wink: