[radv] vertex explosion in some Warhammer II mods
System: Host: localhost Kernel: 5.9.12-arch1-1 x86_64 bits: 64 compiler: N/A Desktop: GNOME 3.38.2 tk: GTK 3.24.23
wm: gnome-shell dm: GDM Distro: Arch Linux
CPU: Topology: 8-Core model: AMD Ryzen 7 2700X bits: 64 type: MT MCP arch: Zen+ rev: 2 L2 cache: 4096 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 118420
Speed: 2852 MHz min/max: 2200/3700 MHz Core speeds (MHz): 1: 2684 2: 1711 3: 1726 4: 1814 5: 3950 6: 1998 7: 2030
8: 2148 9: 1714 10: 2412 11: 3529 12: 1892 13: 1890 14: 1961 15: 3003 16: 1709
Graphics: Device-1: Advanced Micro Devices [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] vendor: Tul
driver: amdgpu v: kernel bus ID: 27:00.0 chip ID: 1002:67df
Display: x11 server: X.org 1.20.10 compositor: gnome-shell driver: amdgpu resolution: <xdpyinfo missing>
OpenGL: renderer: Radeon RX 580 Series (POLARIS10 DRM 3.39.0 5.9.12-arch1-1 LLVM 11.0.0) v: 4.6 Mesa 20.3.0
direct render: Yes
Some mods providing custom geometry get surrounded by masses of blue triangles that are pretty hard to look at in motion. In my searches, similar issues in the bugtracker have been called vertex explosions, which is pretty apt.
Effected (affected?) mods that I've noticed so far include Lorefriendly Empire Reskin and Cataph's Southern Realms. The issue pops up with both feral's port and d3d11 with proton 5.13 and dxvk, so this issue is not specific to either of them.
The experimental d3d12 renderer completely broke the driver and crashed my computer with a bunch of errors like [drm:dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer with error -12
. With d3d11 or Feral's port, nothing stands out in the journal.
Reproducing
I recommend proton because getting mods to work with the Feral port can require renaming files. Subscribe to Lorefriendly Empire Reskin and enable it in the mod manager of the launcher. Ignore any warnings about version mismatches if it's still there. The mod works fine and this issue predates the recent patch. In the game, click on battles->custom battle. At the top of the screen, there is a drop-down menu to select the player faction. Choose "The Empire". On the left-hand side in the unit roster, select any lord and then scroll down to missile infantry and select handgunners. This issue is very obvious with that unit. WARNING There will be flashing. Click "start battle" and with wasd and the mouse wheel scroll close to the unit and move the camera around. For me, it is 100 percent reproducible.
I'm not sure if I can upload a trace. From what I understand it produces very large files and I don't have anywhere to upload. But if there's something I can do to make reproducing the issue easier I will certainly try. Actually I've noticed a similar issue as well in certain battles in The Last Days mod for Mount and Blade using dxvk, but that one is harder to reproduce because it only shows up in certain points in some battles...