Cyberpunk 2077 in Wine
Page: «11/16»
  Go to:
jens 10 Jun 2022
  • Supporter
I dont get raytracing with lutris/gog version of cp2077 (v1.52) activated.
Is a newer version of mesa needed?

You need Mesa main, vkd3d-proton master and setting these environment variables:

export RADV_PERFTEST='rt'
export VKD3D_CONFIG='dxr11'


And even then it's not really "working", but rather not crashing the game already.

Vkd3d-proton master lets you enable the RTX settings, but it is only fully functional with this branch/PR: https://github.com/HansKristian-Work/vkd3d-proton/pull/1094
Unfortunately it is limited to NVIDIA only from my understanding. RADV still misses some features. That said, on NVIDIA is does look really good, albeit it also tanks a lot of fps. Of course the differences are subtle between RTX on and off, but once I knew where to look for (obviously shadows and reflections :)), I really don't want to miss it, it is certainly next generation graphics for me.
Shmerl 10 Jun 2022
That PR still is a draft, so not really finished and I assume it can take a while.

I agree, at this generation of GPUs this is more of a curiosity, not a very useful feature for that framerate reduction.

Last edited by Shmerl on 10 Jun 2022 at 7:00 pm UTC
jens 10 Jun 2022
  • Supporter
Yeah, of course this draft PR is not meant for replacing a stable version or master. But it does specifically address all the RTX features in CP2077 and it works perfectly for that game, which this topic is about. VKD3D-Proton master lets you enable the setting without crashing but the RTX implementation/translation on master is not complete.

Well, it’s personally of course, but don’t get me wrong, for me it is more than just a curiosity. I’ll take the fps sacrifice and keep RTX on.

Last edited by jens on 10 Jun 2022 at 7:39 pm UTC
Shmerl 10 Jun 2022
For me if it's relatively small reduction - then yes. But if it like more than halves the performance, I'd say it's not ready yet for regular use :)

It reminds me how Ubersampling in the Witcher 2 reduces performance in half. With current generation of GPUs it makes it usable. But back then when the game came out, it was just something to play around with, not to use :)

Last edited by Shmerl on 10 Jun 2022 at 7:39 pm UTC
jens 10 Jun 2022
  • Supporter
I don't have the exact numbers at hand, but its more like going from 75 to 50fps on my system, so approximately one third in my case. But yeah, for becoming really usable/mainstream, it needs a newer generation GPU than the current ones, or may be even the generation after that.
I do think though that RTX will stay.

Last edited by jens on 10 Jun 2022 at 7:48 pm UTC
Shmerl 10 Jun 2022
May be more general ray tracing, not necessarily RTX (i.e. the way it's implemented in Nvidia hardware now). Real time ray tracing was always a moot idea due to how taxing it is. But as GPUs get more and more powerful, some elements of it are becoming more viable.
Shmerl 15 Jun 2022
CP2077 support was added to radv ray tracing implementation plan as a target milestone :)

https://gitlab.freedesktop.org/mesa/mesa/-/issues/6076
Shmerl 28 Jun 2022
Tried Wine-wayland with CP2077. For now it just produces a black screen.
jens 11 Jul 2022
  • Supporter
That PR still is a draft, so not really finished and I assume it can take a while.

All RTX pull requests for VKD3D-Proton are now merged into master.

Last edited by jens on 11 Jul 2022 at 3:31 pm UTC
Shmerl 11 Jul 2022
All RTX pull requests for VKD3D-Proton are now merged into master.

Nice! I'll run some tests later today.
Xpander 11 Jul 2022
I did run some on my RTX3080, basically getting 85-110 FPS all maxed 1440p without raytracing features. All raytracing stuff turned on and raytraced lighting ultra i get 40-65 fps, so not worth it really for me, but it does look pretty amazing at times, specially night time
Shmerl 12 Jul 2022
When ray tracing enabled with latest vkd3d-proton the game crashes instantly. Looks like a bad regression.
Shmerl 12 Jul 2022
Yep, totally a regression in vkd3d-proton, it starts without crashing and RT enabled with version just before that huge wave of very recent commits.
Shmerl 12 Jul 2022
Looks like radv is missing some features still.

It's probably this:

Milestone 2B: Pipeline libraries



Last edited by Shmerl on 12 Jul 2022 at 11:52 pm UTC
Shmerl 10 Jan 2023
I figured out a way to get those GOG items that you can't access if running the game directly (if you don't use Galaxy client).

With Cyberengine Tweaks:

Game.AddToInventory("Items.Preset_Katana_GoG",1)
Game.AddToInventory("Items.GOG_DLC_Jacket",1)
Game.AddToInventory("Items.GOG_DLC_TShirt",1)
Game.AddToInventory("Items.GOG_Galaxy_TShirt",1)


Interestingly these items aren't iconic but supposedly can become legendary if you upgrade them multiple times.
Shmerl 11 Jan 2023
This mod is super fun for exploration:


* https://github.com/justarandomguyintheinternet/CP77_FreeFly
* https://www.nexusmods.com/cyberpunk2077/mods/780


![](https://i.imgur.com/HKwM76K.jpg)
![](https://i.imgur.com/8KgJgyM.jpg)
![](https://i.imgur.com/UZOnJjL.jpg)

Last edited by Shmerl on 11 Jan 2023 at 6:23 am UTC
Shmerl 15 Jan 2023
Ray tracing is about to start working in CP2077 with radv! Performance is still pretty bad with RDNA 2, but at least it won't be crashing much longer.
scaine 16 Jan 2023
Ray tracing is about to start working in CP2077 with radv! Performance is still pretty bad with RDNA 2, but at least it won't be crashing much longer.

I've got a 6900XT now, but presumably it's still unlikely to enjoy much performance. I might still give it a shot though. So nice to see AMD starting to make inroads on their competition with RT.
Shmerl 16 Jan 2023
I've got a 6900XT now, but presumably it's still unlikely to enjoy much performance. I might still give it a shot though. So nice to see AMD starting to make inroads on their competition with RT.

You can give it a try: https://gitlab.freedesktop.org/bnieuwenhuizen/mesa/-/tree/stable-rt-handles

On 6800XT I got 12 fps with 2560x1440 and medium present for ray racing. Without ray tracing enabled I get around 90 fps. So it's a huge performance hit. But something expected probably for RDNA 2 cards.

May be RDNA 3 can bring it a bit more into usable shape.

Last edited by Shmerl on 16 Jan 2023 at 1:13 am UTC
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon. Plain Donations: PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register