Don't want to see articles from a certain category? When logged in, go to your User Settings and adjust your feed in the Content Preferences section where you can block tags!
Cyberpunk 2077 in Wine
Page: «12/16»
  Go to:
Shmerl 16 Jan 2023
Also, I think reflections are not correct with it. But I'll dig more when that fix will be merged.

Last edited by Shmerl on 16 Jan 2023 at 10:16 pm UTC
Shmerl 23 Feb 2023
This MR was merged, so CP2077 should not crash with ray tracing enabled on AMD anymore with upstream Mesa main!

https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21406

Last edited by Shmerl on 23 Feb 2023 at 10:37 pm UTC
Shmerl 24 Feb 2023
Testing new Sapphire Pulse 7900 XTX.

Some benchmarks vs previous Sapphire Pulse RX 6800 XT.

radv: Current Mesa main (git-ed76833705)
resoluton: 2560x1440
settings: ultra, no upscaling.

== No ray tracing ==

6800 XT
!cp2077_6800xt_nort
!cp2077_6800xt_nort_bench

7900 XTX
!cp2077_7900xtx_nort
!cp2077_7900xtx_nort_bench

== Ray tracing on ==

All ray tracing settings enabled on Medium.

6800 XT
!cp2077_6800xt_rt
!cp2077_6800xt_rt_bench

7900 XTX
!cp2077_7900xtx_rt
!cp2077_7900xtx_rt_bench

Last edited by Shmerl on 24 Feb 2023 at 5:30 am UTC
Shmerl 24 Feb 2023
OK, correction. Looks like there was a bottleneck on the CPU that's helped with using Wine+esync. With that, there is a major performance boost:

7900 XTX:

== No ray tracing ==
!7900xtx_nort_esync
!7900xtx_nort_bench_esync

== Ray tracing on ==
!7900xtx_rt_esync
!7900xtx_rt_bench_esync


Last edited by Shmerl on 24 Feb 2023 at 10:50 am UTC
scaine 24 Feb 2023
OK, correction. Looks like there was a bottleneck on the CPU that's helped with using Wine+esync. With that, there is a major performance boost

30fps at 1440p and no upscaling is getting there! How does upscaling affect the RT performance? I'm still on a 6900XT and will be for a couple of years yet, might give this a go myself to see some figures.
Shmerl 24 Feb 2023
Hm, I noticed that when enabling RT the benchmarks shows "balanced" for FSR. Not sure what's going on, I didn't enable it. I'll re-test.
Shmerl 24 Feb 2023
Updated the post above with correct values. So ray tracing without upscaling gives 15-17 fps, not 30.

Last edited by Shmerl on 24 Feb 2023 at 10:54 am UTC
scaine 3 Mar 2023
So, after I launch the game with
VKD3D_CONFIG=dxr11 RADV_PERFTEST=rt gamemoderun mangohud %command% --launcher-skip
I get into Settings:
!Cyberpunk Raytracing settings

But I turn all of those sliders to "On", I get a hard crash.

If I turn the first to on, but leave Reflections, Sun Shadows and Local Shadows off, and RT Lighting off, it works, but probably isn't doing anything, since I don't see much difference.

What are your tests above using, Shmerl?

Edit: Even turning on only "Reflections" causes a crash too.

Last edited by scaine on 3 Mar 2023 at 1:22 pm UTC
Shmerl 3 Mar 2023
Edit: Even turning on only "Reflections" causes a crash too.

You need to use Wine 8.2 + vkd3d-proton master, as far as I know Proton doesn't support needed features yet.

And naturally Mesa-main, not release version.

Last edited by Shmerl on 3 Mar 2023 at 4:05 pm UTC
Shmerl 7 Mar 2023
Made a thread to track ray tracing performance here: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8465

Btw, I updated the test to match the settings and location from that video exactly.

Here is the result:

Linux: ~25 fps

![](https://i.imgur.com/lA3CQ5M.jpg)

Windows: ~55 fps

![](https://i.imgur.com/iDfQqqM.jpg)

Last edited by Shmerl on 11 Apr 2023 at 8:52 pm UTC
Shmerl 7 Mar 2023
I think in practical terms, ray tracing is of little value even with RDNA 3 cards because of the massive performance hit.

So just keep the settings on Ultra and ray tracing off and the game looks great as is.

Last edited by Shmerl on 7 Mar 2023 at 1:48 am UTC
scaine 7 Mar 2023
I think in practical terms, ray tracing is of little value even with RDNA 3 cards because of the massive performance hit.

So just keep the settings on Ultra and ray tracing off and the game looks great as is.

DLSS had a way to use its scaling option for the RT, but run the main game at high resolution. I presume there's no similar option here for Mesa/FSR?

How much does FSR affect overall framerates?
Shmerl 7 Mar 2023
FSR improves it somewhat, but it's counter intuitive to me to use upscaling if you want to improve visuals at the same time. I.e. ray tracing is supposed to improve visuals while upscaling does somewhat the opposite due to lowering the actual rendering resolution.

Last edited by Shmerl on 7 Mar 2023 at 10:36 am UTC
scaine 7 Mar 2023
FSR improves it somewhat, but it's counter intuitive to me to use upscaling if you want to improve visuals at the same time. I.e. ray tracing is supposed to improve visuals while upscaling does somewhat the opposite due to lowering the actual rendering resolution.

Yeah, but the videos on DLSS I watched suggested that the lightmap RT uses doesn't need to be that high-res, so they got the shiny reflections from RT, but with the clarity of a crisp game world. I think it was a feature directly built-into DLSS though. I think I'm remembering a LinusTT video on Cyberpunk when it first came out. Maybe it's moved on since then.
Shmerl 7 Mar 2023
Overall, even with ray tracing enabled I guess I didn't notice that much of an improvement in CP2077. In a neon lit city it's probably hard to notice that some lighting effects look better. So I'd rather take good framerate on ultra settings without RT than RT + upscaling and lower settings overall.
Grogan 9 Mar 2023
In a neon lit city it's probably hard to notice that some lighting effects look better.

I won't be doing dedicated ray tracing (maybe a bit of software ray tracing will become a thing some day, just for dithering) on my hardware, but I would think the most noticeable improvement in CP2077 with ray tracing would be things the fog around street lights. That looks pretty stupid without RT.

Another game like that for me is Control, somewhat annoying fog+lighting effects.
BlackBloodRum 10 Mar 2023
  • Supporter Plus
Depending on your setups, namely if you don't use "gamemode" from feral, it may be worth checking your GPU performance setting. (I don't use that mode)

I found I was able to push an extra 10-20fps out of my GPU by forcefully setting the pp_power_profile_mode to 3D_FULL_SCREEN and even more by using the COMPUTE profile, though the compute profile did cause stuttering quite quickly.

Setting this I usually get around an hour or two's gameplay before the typical AMD "ring 0" errors with a higher FPS.

In any case, it's worth trying just in case you get some extra performance, though I should note my GPU is crazy old and slow compared to new GPUs at this point (5600XT).
Shmerl 10 Mar 2023
I'm OK with current GPU performance on max load really, since it's balanced and runs not very noisy or super hot.

Last edited by Shmerl on 10 Mar 2023 at 2:20 am UTC
BlackBloodRum 10 Mar 2023
  • Supporter Plus
In fairness I usually don't notice noise (I use noise cancelling headphones, due to neighbours who complain about the slightest noise, seriously, I got a note stuck on my front door once for making too much noise because I fell down the stairs LOL)

As for heat, my GPU normally reaches a max of around 70C.
Shmerl 21 May 2023
Does anyone with RDNA 3 card get GPU hangs with Mesa main when ray tracing is enabled? More info for bug reports would be useful.
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