Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Soldiers: Heroes Of World War II - flickering video playback #117

Closed
WinterSnowfall opened this issue Mar 5, 2023 · 7 comments
Closed
Labels
bug Something isn't working
Milestone

Comments

@WinterSnowfall
Copy link

The game hasn't worked up to Wine Staging 8.3 (not without patches), because of: https://bugs.winehq.org/show_bug.cgi?id=32235 , but a partial solution is now staged. The game still crashes at times, but is mostly functional.

3D rendering looks good, however there are 2 issues:

  • game intro videos (those that are playable) and campaign intro videos flicker (this doesn't happen with WineD3D)
  • There's a memory allocation error on startup, albeit the game seems to carry on just fine (setting a maxAvailableMemory limit doesn't do anything here, but it looks like WineD3D behaves the same so it might just be the game being dumb)

Software information

Soldiers:Heroes Of World War II (GOG)

System information

  • GPU: RTX 3060
  • Driver: 525.85.05
  • Wine version: 8.3 Staging
  • DXVK version: 8ddf18f

Apitrace file(s)

Soldiers.trace.tar.xz

Log files

@WinterSnowfall WinterSnowfall changed the title Soldiers: Heroes Of World War II - flickering video playback and memory allocation issues Soldiers: Heroes Of World War II - flickering video playback Apr 16, 2023
@WinterSnowfall
Copy link
Author

The memory allocation error is just the game being stupid, not something d3d specific.

As for the flickering videos, they might be related to partial presentation. They actually won't show up in the trace, so perhaps the game is using some other method of blitting them on screen.

@AlpyneDreams AlpyneDreams added this to the v0.21 milestone Apr 26, 2023
@WinterSnowfall
Copy link
Author

Could be fixed by doitsujin#3392 . To retest after the next rebase.

@WinterSnowfall
Copy link
Author

The game crashes in game code after profile selection on latest main, after repeated:

warn: Device reset failed because device still has alive losable resources: Device not reset. Remaining resources: 1

@WinterSnowfall
Copy link
Author

WinterSnowfall commented Jul 4, 2023

Ok, #172 gets rid of the above. However, the videos flickering is still present... It could be related to multiple swapchain memes, I guess.

@AlpyneDreams AlpyneDreams added the bug Something isn't working label Jan 17, 2024
@WinterSnowfall
Copy link
Author

WinterSnowfall commented May 27, 2024

I always wondered why the game only shows up to "Medium" settings with d8vk/WineD3D and goes nicely to High on native Windows XP - turns out it reverted back to a "low video memory" mode when we reported too much VRAM. Fixed that now part of #199.

@WinterSnowfall
Copy link
Author

The game now refuses to start with dxvk master, but it may be due to an issue in Wine (it's happened before). Relying on use-after-free isn't ideal anyway, but I did have the game running rather well with the applied config options, with the exception of the videos, of course.

@WinterSnowfall
Copy link
Author

Moved to: doitsujin#4139

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants