https://bugs.winehq.org/show_bug.cgi?id=42664
Bug ID: 42664 Summary: XCOM 2 graphic issues in menu and during campaign Product: Wine Version: 2.3 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: blue-t@web.de Distribution: ---
Created attachment 57611 --> https://bugs.winehq.org/attachment.cgi?id=57611 Game menu with broken background
If you start Firaxis XCOM2 and get to the main menu, the background is barely visible as it is rather dark. Some objects have red and green borders on occasion or completely colored. Same is true for anything else but the buttons during the intro level.
https://bugs.winehq.org/show_bug.cgi?id=42664
--- Comment #1 from Ker noa blue-t@web.de --- Created attachment 57612 --> https://bugs.winehq.org/attachment.cgi?id=57612 First level, almost completely blacked out
https://bugs.winehq.org/show_bug.cgi?id=42664
--- Comment #2 from Ker noa blue-t@web.de --- Created attachment 57613 --> https://bugs.winehq.org/attachment.cgi?id=57613 Log Output from the console
https://bugs.winehq.org/show_bug.cgi?id=42664
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #3 from winetest@luukku.com --- There was just recently some game that got fixed when the hud was almost completely not drawn.Your original report is 3 versions behind. I would suggest to try this again with 2.6 and update the log if there is anything to update.
https://bugs.winehq.org/show_bug.cgi?id=42664
Ker noa blue-t@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #57613|0 |1 is obsolete| |
--- Comment #4 from Ker noa blue-t@web.de --- Created attachment 57888 --> https://bugs.winehq.org/attachment.cgi?id=57888 Terminal output from 2.5 staging
At least with 2.5 staging the images are still broken in the menu and the maps are still completely dark. If you scroll around you still have red and green ghost images. Will check 2.6 as soon as it is available in the repository
https://bugs.winehq.org/show_bug.cgi?id=42664
Ker noa blue-t@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #57888|0 |1 is obsolete| |
--- Comment #5 from Ker noa blue-t@web.de --- Created attachment 57959 --> https://bugs.winehq.org/attachment.cgi?id=57959 2.6 Console output
with 2.6 staging there are still ghost images in the dark map. I will try again with the shader patches that were recently posted by codeweavers on the ML, hopefully they help here.
https://bugs.winehq.org/show_bug.cgi?id=42664
--- Comment #6 from Ker noa blue-t@web.de --- No won't help. With https://source.winehq.org/git/wine.git/commit/cced5dfbde8b685022dd74e666f8ad... it still has these issues with shaderresources
https://bugs.winehq.org/show_bug.cgi?id=42664
Ker noa blue-t@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #57959|0 |1 is obsolete| |
--- Comment #7 from Ker noa blue-t@web.de --- Created attachment 58035 --> https://bugs.winehq.org/attachment.cgi?id=58035 Log with Git as of 26.4.17
Totally different output now. Doesn't manage to load a map anymore, it hangs now and needs to be killed with force.
https://bugs.winehq.org/show_bug.cgi?id=42664
--- Comment #8 from winetest@luukku.com --- fixme:d3d_shader:shader_glsl_handle_instruction Backend can't handle opcode dcl_input_ps.
This is another victim of bug 40873. I quess there are more bugs to be fixed, but that's a starting point.
https://bugs.winehq.org/show_bug.cgi?id=42664
Ker noa blue-t@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #58035|0 |1 is obsolete| |
--- Comment #9 from Ker noa blue-t@web.de --- Created attachment 61505 --> https://bugs.winehq.org/attachment.cgi?id=61505 Log with Wine Staging 3.9
With 3.9 staging the game still is way too dark in the campaign and way too bright in the start screen.
https://bugs.winehq.org/show_bug.cgi?id=42664
tokktokk fdsfgs@krutt.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs@krutt.org
https://bugs.winehq.org/show_bug.cgi?id=42664
Marcin Zajaczkowski mszpak@wp.pl changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mszpak@wp.pl
--- Comment #10 from Marcin Zajaczkowski mszpak@wp.pl --- Created attachment 66864 --> https://bugs.winehq.org/attachment.cgi?id=66864 Broken rendering with Wine 5.5 and XCOM 2 from GOG
The issue seems to still occur in Wine 5.5 and the XCOM 2 version released on GOG.
Looking at the initial screenshots from 2017 with Wine 5.5 in 2020 it looks better, but still some textures are weirdly displayed (attached).
In logs there is a lot of:
005f:fixme:d3d_shader:print_glsl_info_log 0(23) : warning C7050: "vs_out[30]" might be used before being initialized 005f:fixme:d3d_shader:print_glsl_info_log 0(23) : warning C7050: "vs_out[31]" might be used before being initialized
Once disabled (WINEDEBUG=fixme-d3d_shader) I see among others:
0009:fixme:d3d11:d3d11_device_CheckFormatSupport iface 000000001B1D7E20, format 61, format_support 00000000005FCD08 partial-stub! Detected 1 Nvidia GPU for rendering 0009:fixme:d3d:wined3d_swapchain_init The application requested more than one back buffer, this is not properly supported. Please configure the application to use double buffering (1 back buffer) if possible. 0009:fixme:dxgi:d3d11_swapchain_GetDesc Ignoring ScanlineOrdering and Scaling. 0009:fixme:imm:ImmReleaseContext (000000000006004A, 000000002A05EC90): stub
I've read that tripple buffering was added in some update for XCOM 2. I tried to disable it in Xorg settings:
Option "TripleBuffer" "off"
in the OutputClass or Screen section, but it seems ignored (I don't see anything in Xorg logs and Wine also reports the same problem). I haven't found how to disable it in the application/engine.
I don't know if it is related to the textures problem. The game runs very slow.
NVidia GeForce GTX 1660 Ti with 440.64. Some other games (including XCOM 1) works on this machine flawlessly with 1080p and maximum details.
I might attach full logs in required.
Btw, I gave dxvk a try and it looks ok with it and Wine 5.5.
https://bugs.winehq.org/show_bug.cgi?id=42664
jonah.janzen@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jonah.janzen@gmail.com
--- Comment #11 from jonah.janzen@gmail.com --- I am unable to reproduce this on Wine 8.19 (staging) with an NVIDIA GPU using proprietary drivers.