d8vk icon indicating copy to clipboard operation
d8vk copied to clipboard

C&C: Generals/Zero Hour - slowdown in some menus

Open WinterSnowfall opened this issue 2 years ago • 1 comments

The game drops to about 10 fps in my case when menus that are "heavy" on the UI like options or skirmish are accessed. This doesn't happen with WineD3D. The game is perfectly playable otherwise. Note that the game engine is capped at 31.2 fps.

P.S.: The above problem is unaffected by buffer placement or apitraceMode.

Software information

C&C: Generals (& Zero Hour), retail.

System information

  • GPU: RTX 3060
  • Driver: 530.41.03
  • Wine version: 8.7 Staging
  • D8VK version: 1.0

Apitrace file(s)

generals.trace.tar.xz

Log files

WinterSnowfall avatar May 10 '23 09:05 WinterSnowfall

Looks like apitrace needs some additional work on the d3d8 side, because it mostly captured garbage. But at least the API calls are fine, so to note is that the menu slow down starts with frame 413 and goes up to about 467.

Other than an above average number of draw calls and barriers, I'm not noticing anything off at first glance.

WinterSnowfall avatar May 28 '23 14:05 WinterSnowfall

Opened https://github.com/doitsujin/dxvk/issues/4112 for further tracking.

WinterSnowfall avatar Jul 07 '24 14:07 WinterSnowfall