It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
high rated
IMPORTANT: CONSIDER THIS A BETA RELEASE. Expect issues until both the game itself and support for it with Wine/vkd3d-proton/graphics drivers (especially in the case of Nvidia GPUs) have matured and stabilised a bit.

Also in order to support and encourage more official Linux releases I strongly recommend that you wait for either an official Linux version to be released or a complete edition offered at a deep discount before you consider buying Cyberpunk 2077.


I've put together a Wine wrapper for Cyberpunk 2077, allowing it to be played on Linux almost like a native game & with no Wine knowledge required.

Simply run the build script to create the wrapper. If the installer files are not alongside the wrapper build files then the path to them will need to be specified either by passing it as an argument to the build script with -respath="<path>" or by setting an environment variable named WINEWRAP_RESPATH containing it. You can change the path to build the wrapper in and the name of the wrapper directory with the -buildpath= and -dirname= arguments. The build path can also be set with the WINEWRAP_BUILDPATH environment variable.

The output will be a directory containing the game set up within a preconfigured Wine prefix, along with its own copy of Wine, extracted game icons, documentation, and start script(s). From there simply run the start script to play. The start script also includes options for creating a shortcut, configuring the wrapper etc.

(to uninstall simply delete the game directory and any shortcuts you created, and the game's user data directory in ~/.local/share if you don't want to keep your saves & settings)

User data is stored under ~/.local/share/cyberpunk_2077

Full details are in the readme.txt and release notes. Here is the download link:

cp2077_wine.tar.xz
(1.5 MB, SHA256: 25680acdb61fc6c354db2361dde5f438c3c1d193494da5a2ca1fa3f95f4dbbad)

Last updated 2021/02/28

This wrapper uses Wine Staging 6.2 with vkd3d-proton 2.1. Wine and Winetricks will be downloaded automatically if not present; to avoid redownloading for other scripts the downloaded Wine package will be stored in ~/.cache/winewrap

Some notes:

* For now, patches need to be installed manually as they work differently to patches for other games on GOG & I can't automate them. To do this, run the patch installers by either selecing "Advanced options..." --> "Run..." in the script's menus then selecting the patch installer & clicking through, or by running the start script with: ./start.sh runwine : "/path/to/patch/installer.exe"

* I have found that the game sometimes crashes on startup & needs to be killed (use "./start.sh kill")

* This is currently best played on systems with AMD graphics cards using the open drivers. Make sure you have the latest available kernel and either the latest development release of Mesa or the Mesa builds from Kisak's PPA (if you're on Ubuntu/Mint/other Ubuntu-based distro). If you have an Nvidia GPU expect frequent GPU hangs rendering the game unplayable. For more information, check out the release information for vkd3d-proton.

vkd3d-proton 2.2 is supposed to fix the issues with Nvidia GPUs but I have not used it here as it completely breaks the game on my system (using an AMD RX480 + open drivers), causing a GPU hang when I try to play it.


If anyone runs into any problems then post in this thread, Adamhm's Linux Wine Wrappers - News, FAQ &amp; Discussion and/or The "Judas&trade; does this run in Wine" thread v1.173.

For more of my Linux Wine wrappers check out post 3 in this thread: Adamhm's Linux Wine Wrappers - News, FAQ &amp; Discussion

Thanks to novumZ for gifting me a key for this game :)
Post edited 4 days ago by adamhm
Another thing worth mentioning. You must have a Vulkan driver which has the VK_VALVE_mutable_descriptor_type extension supported so be sure to use a recent Vulkan ICD Loader installed as well.

Recently Valve released a Proton Experimental which fixes more issues related to Cyberpunk 2077 btw.
Oh nice! Didn't even know DirectX 12 via Vulkan was already a thing. Gotta try this once the fixes land in Steam's official Proton build and CDPR optimized the game a bit (or I get a better CPU). I bet it would not gonna run well for me currently as it is already struggling and choking my CPU on Windows.
Is it possible to use this with the installed files from a previous Windows install?
Is it possible to update script? I downloaded cyberpunk from gog and unfortunately filenames (easy fix) and checksums (I don't know how to find new ones) have changed.
avatar
CogitoPL: Is it possible to update script? I downloaded cyberpunk from gog and unfortunately filenames (easy fix) and checksums (I don't know how to find new ones) have changed.
you can generate the checksums with sha256sum. then just replace the WRAP_FILES array in the setup script.

WRAP_FILES=( "2f29a3ff1cf0c2d3e3eec931f75e20fc5cb3bd089d898139f9e2d309edfc6ebe" "cp2077_res.tar.xz"
"1311bc4d08f6014165b39e0c79649b566deaa42158fde8e34cfc2cf5c9f5f20b" "setup_cyberpunk_2077_build_3235023change_4177747_(64bit)_(43605)-1.bin"
"e661cac7dc7edb1c6fa8db54237d7d7aca4029ce447611ab74ad1d6f6eab6cfd" "setup_cyberpunk_2077_build_3235023change_4177747_(64bit)_(43605)-2.bin"
"25cc6593faeeba9e6db180e90b1bd7146922f919fe781e9e17c2029f54e6685c" "setup_cyberpunk_2077_build_3235023change_4177747_(64bit)_(43605)-3.bin"
"0b7adbcbf63e3e3ab62e059c9c6b8986fc35c1d8e65b7778082cadcc93ad4006" "setup_cyberpunk_2077_build_3235023change_4177747_(64bit)_(43605)-4.bin"
"d4373570a2486b636813732e406755e2ef1da8e3e09687cff1cb7da9f55512ce" "setup_cyberpunk_2077_build_3235023change_4177747_(64bit)_(43605)-5.bin"
"496dcfbd5b58c0e5d920529ac2240c4bb99911749fb8027e9175914fc59357f6" "setup_cyberpunk_2077_build_3235023change_4177747_(64bit)_(43605)-6.bin"
"1409112dd4e5c6ec58bf7e4f7f862935fd7d188d42a339357ceee9c5ca23c27f" "setup_cyberpunk_2077_build_3235023change_4177747_(64bit)_(43605)-7.bin"
"de3d1907676e105f0e40f174e682e96d2987b0ae19a00fa3ae5460302363b967" "setup_cyberpunk_2077_build_3235023change_4177747_(64bit)_(43605)-8.bin"
"35eaf88442491386b796a0e778a0b4f64fbcb5398cc962c7841274f1d26e7510" "setup_cyberpunk_2077_build_3235023change_4177747_(64bit)_(43605)-9.bin"
"0b64287680d6028a8c48a9285ea896aac99a85657e06f20dc6378163e6f6bd1b" "setup_cyberpunk_2077_build_3235023change_4177747_(64bit)_(43605)-10.bin"
"de70fb275a9a2b511433e239b7fa1ce130b7ca487bf774b82f303493b32500ec" "setup_cyberpunk_2077_build_3235023change_4177747_(64bit)_(43605)-11.bin"
"6e3fff01ec155a2e613ff94b6cbc0e2d485c355f4a4f072498f3f702c31e7e28" "setup_cyberpunk_2077_build_3235023change_4177747_(64bit)_(43605)-12.bin"
"9035dea837f2d9b063ca2d42873d4bb515fa6c48237d8d9639838a71f01a8dcf" "setup_cyberpunk_2077_build_3235023change_4177747_(64bit)_(43605)-13.bin"
"072d10742b7ab0db98f2525671f32de40a1e772da5fd17a4c6b8acd9ec0578a7" "setup_cyberpunk_2077_build_3235023change_4177747_(64bit)_(43605)-14.bin"
"4f811c023cc5aa68cdfdc3c9037f9c37491f7fc3a7817e436b2073c9dc64b0e0" "setup_cyberpunk_2077_build_3235023change_4177747_(64bit)_(43605)-15.bin"
"9b49d286cf2b7f6ea10c51a6ff2ae3c49f3efb92e7277bdcf2656a3830165de9" "setup_cyberpunk_2077_build_3235023change_4177747_(64bit)_(43605)-16.bin"
"9f2aa6f63fef7fd9742d7e04107202ea1db54795df37dc41c6400a5474d8e652" "setup_cyberpunk_2077_build_3235023change_4177747_(64bit)_(43605)-17.bin"
"f46259d316ad088eb6b484de3a18019bdd7a7a95f153d2d64d8d95cc36bde22d" "setup_cyberpunk_2077_build_3235023change_4177747_(64bit)_(43605)-18.bin"
"42cd9d784925a56b182ed093e9f82d05fb153eaf618def0015fb82edad9a3ed6" "setup_cyberpunk_2077_build_3235023change_4177747_(64bit)_(43605)-19.bin"
"e78e30af793fbb0eee6fb9fbbe7fecb11d3ff85914749e8e7062ec5b6d9cc1ee" "setup_cyberpunk_2077_build_3235023change_4177747_(64bit)_(43605)-20.bin"
"d57590f52279f78aac0506bf8bb62aa0a77b91908a3fa6f1fc9ea692e9e4d15e" "setup_cyberpunk_2077_build_3235023change_4177747_(64bit)_(43605)-21.bin"
"7ee931c2f25184dbbebabe2843594ceedda38671ab9dffecafbc6aef9faa39aa" "setup_cyberpunk_2077_build_3235023change_4177747_(64bit)_(43605)-22.bin"
"a83eedb6c8b1418e94f4c13d13e07801189c9478b7bc34024ea990241a72f41f" "setup_cyberpunk_2077_build_3235023change_4177747_(64bit)_(43605)-23.bin"
"d85132f5f2fa97b047b49d43b8ce36e5c1d13432db47f5f77cd1977db4359403" "setup_cyberpunk_2077_build_3235023change_4177747_(64bit)_(43605)-24.bin"
"116123d9d5ba9489de7e7f9740ade3020253b980d185c718c9e28c84b83393e1" "setup_cyberpunk_2077_build_3235023change_4177747_(64bit)_(43605)-25.bin"
"8df2239850b6c9e687e3cc6a3687cc59bad3359a013b8001e2304559844d5b5c" "setup_cyberpunk_2077_build_3235023change_4177747_(64bit)_(43605)-26.bin"
"9ef7f0dd21a9c80c9f1a346128b9423028b6c67691cdef1e3db228d417cbd7d5" "setup_cyberpunk_2077_build_3235023change_4177747_(64bit)_(43605).exe"
)
I used the Lutris script on my laptop copied the windows install over to laptop some tricks were performed and it works, https://github.com/yamashi/CyberEngineTweaks

That mod is the biggest benefit other than a decent driver.
avatar
adamhm: IMPORTANT: CONSIDER THIS A BETA RELEASE.
Yes, the game still has beta status on all platforms.
avatar
CogitoPL: Is it possible to update script? I downloaded cyberpunk from gog and unfortunately filenames (easy fix) and checksums (I don't know how to find new ones) have changed.
The script has been updated :) And a solution implemented for when this happens again in future...
avatar
stefangronemeier: you can generate the checksums with sha256sum. then just replace the WRAP_FILES array in the setup script.
This isn't always guaranteed to work though, as GOG changes how files are packaged inside the installers from time to time. Also, the registry entries will be incorrect & prevent installation of any patches and/or DLC.

In future, if the script hasn't been updated yet you can now try it with -planb=</path/to/installer/installer.exe> (or just -planb & select the installer via a Zenity file selection window) when the installer has been updated. This will have the script run the installer rather than unpack it, which should be a more reliable (albeit slower) solution.
Post edited 5 days ago by adamhm
how is the performance compared to same on windows?

PULSE_LATENCY_MSEC=60 can be reduced to 30 and also you have to manually set your pulse format

pulseaudio - /etc/pulse/daemon.conf
default-sample-format = s24le
default-sample-rate = 41000


sound also may crackle because of 100% CPU load. then there's no cure.
Post edited 4 days ago by djoxyk
avatar
djoxyk: how is the performance compared to same on windows?

PULSE_LATENCY_MSEC=60 can be reduced to 30 and also you have to manually set your pulse format

pulseaudio - /etc/pulse/daemon.conf
default-sample-format = s24le
default-sample-rate = 41000

sound also may crackle because of 100% CPU load. then there's no cure.
Performance mostly seems ok, although there are some inexplicable massive framerate drops in some places (seems to be a bug with the game itself). No idea how its performance compares to Windows as I haven't used Windows in years.

The sound issues seem to be fixed as of Wine Staging 6.2 - I only had to set PULSE_LATENCY_MSEC to fix the crackling with earlier versions but it works fine without it now.