Created attachment 144212 [details] Briefly correct texture being rendered When running the Touhou 17 demo in wine-nine with iris, no screen gets rendered correctly, I only managed to see one correct texture while everything else looks like a misplaced gradient (see the attached screenshot). In-game it doesn’t look any better. This is on ArchLinux, running Linux 5.0.12, Mesa 1f1007a4edcefa1c291c1b4e13d6cec35a59ca6f, wine 4.7, wine-nine 0.4, on an i5-8250U (UHD 620, gen9.5).
This also applies to Touhou 10 to 16 which are probably easier to find for the time being, especially the demos. Here is one such demo: http://mirror.studio-ramble.com/upload/535/200806/th11tr002a_setup.exe (linked from http://www16.big.or.jp/~zun/html/th11dl.html) You may have to generate a ja_JP.UTF-8 locale and to set it as your LANG before running this game, otherwise it crashes.
Thanks for reporting. I also could reproduce it with similar setup. However I wasn't able to identify the issue from a quick research.
The issue was with iris not handling windows space coordinates for vertex shader. I've sent a merge request: https://gitlab.freedesktop.org/mesa/mesa/merge_requests/1451 The game works without visible issues with the patch.
Thanks Danylo! Fixed by: commit b4c54894bba085966c52cb515bd72927e4ec4939 Author: Danylo Piliaiev <danylo.piliaiev@globallogic.com> Date: Thu Jul 25 13:09:08 2019 +0300 iris: Handle vertex shader with window space position Iris advertises support for PIPE_CAP_TGSI_VS_WINDOW_SPACE_POSITION so let's actually implement it. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=110657 Signed-off-by: Danylo Piliaiev <danylo.piliaiev@globallogic.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.