[ANV/DG2] Age of Empires IV fullscreen "banding" artefacts
System information
- OS: openSUSE Tumbleweed 20230915
- GPU: Intel Corporation DG2 [Arc A380] [8086:56a5] (rev 05)
- Kernel version: 6.6.0-rc1-1-sulix-00192-g97c34902a4dc (this is torvalds/master from last week, with a SCSI fix applied)
- Mesa version: 4.6 (Compatibility Profile) Mesa 23.3.0-devel (git-5d90b1db) (This is upstream main as of writing this issue)
- Vulkan version (vulkaninfo): apiVersion = 1.3.261 (4206853), driverVersion = 23.2.99 (96477283)
- Xserver version (if applicable): SUSE LINUX Xwayland Version 23.2.0 (12302000)
- Desktop manager and compositor: KDE / KWin (Wayland) Plasma 5.27.8, Frameworks 5.110.0, Qt 5.15.10
If applicable
- DXVK version: v2.3-7-g494f7fd38df9b0e (however, this is only used for DXGI, the game is d3d12 and uses vkd3d-proton)
- vkd3d-proton version: v2.10-7-g94259449.
- Wine/Proton version: Proton Experimental Bleeding Edge: 1695386555 experimental-bleeding-edge-8.0-56749-20230922-pe7efab-wa20f0c-d494f7f-v942594
Note
This machine is running an Arc A380 on an older, unsupported CPU/Motherboard (Intel Core i7-4770K CPU / Gigabyte Z87X-UD5H), without Resizable BAR support. My guess is that this issue is unrelated, but I could well be wrong, so feel free to close this if I'm wasting your time.
Describe the issue
Age of Empires IV (steam appid 1466860, build id 12029632) works correctly, save for a strange "banding" pattern of darkened areas covering the screen. The pattern is fixed to the viewport (i.e., moving the game camera does not move the artefacts), and looks vaguely like the game shadows (though this could be coincidence — there seems to be correct shadow rendering under it).
See the screenshot: https://davidgow.net/stuff/aoe4-intel-artefact.png
Regression
I've not seen this work under Intel/Mesa before (but the card is new, so it might've). The same machine with an nVidia card functioned fine, and the same issue is not seen under RADV on the Steam Deck.
Log files as attachment
I can provide further logs on request. The only line from the wine/vkd3d log which looked even slightly interesting was:
559497.404:0128:01e0:warn:vkd3d-proton:d3d12_pipeline_state_init_graphics_create_info: Ignoring stencilTestEnable due to lack of stencil aspect.
but judging from the vkd3d code, that looks like it's just the game being silly, and is not likely driver/GPU related.
Screenshots/video files (if applicable)
https://davidgow.net/stuff/aoe4-intel-artefact.png
Any extra information would be greatly appreciated
I've also tested this with the stock kernel and mesa version (Mesa 23.1.7) from openSUSE Tumbleweed, and the same issue appears. The machine's CPU's old Intel integrated GPU is still enabled, though isn't being used, and shows up in lspci as: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0412]