doitsujin / dxvk

Vulkan-based implementation of D3D8, 9, 10 and 11 for Linux / Wine
zlib License
13.27k stars 854 forks source link

SimCity 2013 doesn't render #1869

Closed sykhro closed 3 years ago

sykhro commented 3 years ago

This issue applies to both the launcher and the game. The launcher is rendered as a bunch of squares but still seems to respond do HID events. With random clicking in the bottom-right area (or by setting -state:SimCity in the game launch options) it's possible to boot the game up, which presents the same rendering issues (and a somewhat functional mouse cursor)

WineD3D doesn't seem to work either due to unsupported formats (DF16, DF24) and only displays the mouse cursor

Note: I'm using a virtual desktop because I got sick of the game resetting my resolution every time it booted up. The configuration file doesn't seem to be human-readable

Software information

SimCity 2013 (Origin), -state:SimCity to bypass the server-selection game launcher

System information

Apitrace file(s)

Log files

sykhro commented 3 years ago

Tried again with 525fd53bbc6c2c0ff73560bca9f543652035eddc, rendering is still broken but stuff moves around. Nevermind, it was something from the config that I can't reproduce again.

K0bin commented 3 years ago

We need the apitrace to debug this.

sykhro commented 3 years ago

We need the apitrace to debug this.

Whoops sorry, this time I managed to record one but forgot to add it in the report. Will also record one with DXVK for good measure since wined3d seems to be behaving even worse. Unfortunately I have no way of recording one under Windows.

firescry commented 3 years ago

I'm not sure if it's still needed, but as label needs apitrace is set, I collected and I'm sharing apitrace too. It seems that I experience the same problem as sykhro. Game launcher and main menu are rendered in full as mosaic of small, colourful squares. In main game view 3D objects look fine, but 2D interface is missing and square artefacts are still visible, as in this screenshot. Issue is visible while I use dxvk - I've checked v1.9.1 and master (dd7ffbc) - both are affected. Game renders without this problem with native wine d3d implementation.

Software information

SimCity 2013 (Origin)

System information

Apitrace file(s)

Log files

firescry commented 3 years ago

Thank you @Joshua-Ashton 🐸