https://bugs.winehq.org/show_bug.cgi?id=40508
Bug ID: 40508 Summary: The Witness: black screen on start (32-bit version) Product: Wine Version: 1.9.8 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: fjfrackiewicz@gmail.com Distribution: ---
Created attachment 54303 --> https://bugs.winehq.org/attachment.cgi?id=54303 Terminal output from a 32-bit prefix, Wine 1.9.8
My system info:
Host: antergos Kernel: 4.5.1-1-ARCH x86_64 (64 bit) Desktop: Gnome 3.20.1 Distro: Antergos Linux Card: NVIDIA GF110 [GeForce GTX 560 Ti 448 Cores] Display Server: X.Org 1.18.3 driver: nvidia Resolution: 1920x1200@59.95hz GLX Renderer: GeForce GTX 560 Ti/PCIe/SSE2 GLX Version: 4.5.0 NVIDIA 364.16
I am using Wine 1.9.8 from the official Arch repos with a clean 32-bit prefix and no overrides.
When I attempt to run the 32-bit version of The Witness using the command "wine witness_d3d11.exe" I am first greeted with a warning about the graphics driver not supporting concurrent resource creation and then I see a configuration menu for the game. After I choose my configuration, I am then shown a black screen that persists until I kill the process.
I have attempted to run the game on medium settings with multisampling disabled as well as with 2x MSAA enabled with high settings and I have the same exact result: a black screen that I need to kill manually in order to get rid of it.
https://bugs.winehq.org/show_bug.cgi?id=40508
--- Comment #1 from fjfrackiewicz@gmail.com --- Created attachment 54304 --> https://bugs.winehq.org/attachment.cgi?id=54304 Dialogue box warning me about my graphics driver
https://bugs.winehq.org/show_bug.cgi?id=40508
--- Comment #2 from fjfrackiewicz@gmail.com --- I forgot to add that I am running the game in Windows 7 mode.
https://bugs.winehq.org/show_bug.cgi?id=40508
--- Comment #3 from fjfrackiewicz@gmail.com --- Issue persists in Wine 1.9.9 in Windows 7 mode.
https://bugs.winehq.org/show_bug.cgi?id=40508
Josh winehq@iooioio.orion.uberspace.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winehq@iooioio.orion.ubersp | |ace.de
https://bugs.winehq.org/show_bug.cgi?id=40508
--- Comment #4 from fjfrackiewicz@gmail.com --- Created attachment 54593 --> https://bugs.winehq.org/attachment.cgi?id=54593 Main menu for The Witness in Wine 1.9.11
There is some progress. I can see a main menu now for The Witness in a clean 32-bit prefix with Windows 7 mode. No overrides were used.
https://bugs.winehq.org/show_bug.cgi?id=40508
--- Comment #5 from fjfrackiewicz@gmail.com --- Created attachment 54594 --> https://bugs.winehq.org/attachment.cgi?id=54594 The Witness game in Wine 1.9.11
Wine 1.9.11 gives me the mouse cursor and I can hear sounds but I still cannot see the actual game.
I also still continue to receive the dialog box warning about my graphics driver not being supported (see comment 1 for further details and screenshot of this box)
The game is no longer simply black on start, now it's a milky beige but I can hear sounds and possibly interact with the game world.
https://bugs.winehq.org/show_bug.cgi?id=40508
--- Comment #6 from fjfrackiewicz@gmail.com --- Created attachment 54765 --> https://bugs.winehq.org/attachment.cgi?id=54765 Terminal output Wine 1.9.12
Wine 1.9.12 shows no improvement over https://bugs.winehq.org/show_bug.cgi?id=40508#c5
I've attached the terminal output for the game after 5 minutes of trying to do anything in the game.
Please be warned that uncompressed the log weighs in at 105 MB.
https://bugs.winehq.org/show_bug.cgi?id=40508
--- Comment #7 from fjfrackiewicz@gmail.com --- Created attachment 56384 --> https://bugs.winehq.org/attachment.cgi?id=56384 The Witness orange screen
After the game loads, I get an orange screen in a clean WIndows 7 prefix in Wine 2.0-rc1.
https://bugs.winehq.org/show_bug.cgi?id=40508
--- Comment #8 from fjfrackiewicz@gmail.com --- Created attachment 56385 --> https://bugs.winehq.org/attachment.cgi?id=56385 Wine 2.0-rc1 terminal output
Terminal output from when the game loads until I get to the orange screen.
https://bugs.winehq.org/show_bug.cgi?id=40508
--- Comment #9 from Josh winehq@iooioio.hadar.uberspace.de --- Is this still an issue with the latest Wine release? It looks like someone was able to get the game working with Wine 2.1 on AppDB.
https://bugs.winehq.org/show_bug.cgi?id=40508
--- Comment #10 from fjfrackiewicz@gmail.com --- Created attachment 57369 --> https://bugs.winehq.org/attachment.cgi?id=57369 The Witness in Wine 2.2-33-g60c98caa94
This is what The Witness (32-bit) looks like in Wine 2.2-33-g60c98caa94. The person who managed to get it working in AppDB was using Wine-Gaming-Nine which is unsupported by the Wine team AFAIK.
My hardware info:
Nvidia 970 GTX using the official drivers version 378.13.
One thing I did notice is this line in the all the OMSetBlendState spam:
fixme:d3d11:d3d11_immediate_context_OMSetBlendState Ignoring AlphaToCoverageEnable 0x1.
Not sure if it has any bearing on the situation at hand though...
https://bugs.winehq.org/show_bug.cgi?id=40508
Stefan Heid stefan-heid@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |stefan-heid@web.de
--- Comment #11 from Stefan Heid stefan-heid@web.de --- For me (Nvidea GTX 1060, Wine 2.1, Archlinux) it runs quiet good at minimal settings.
The first 2 minutes are difficult, because you start in a cave which is dark and buggy, but once you left the cave the game is really playable. I recommend to watch a let's play to find the way out.
On my Laptop the game fails, claiming there is no "graphics adapter" (intel HD 4600 with Mesa 17.0.0)
https://bugs.winehq.org/show_bug.cgi?id=40508
--- Comment #12 from fjfrackiewicz@gmail.com --- (In reply to Stefan Heid from comment #11)
For me (Nvidea GTX 1060, Wine 2.1, Archlinux) it runs quiet good at minimal settings.
The first 2 minutes are difficult, because you start in a cave which is dark and buggy, but once you left the cave the game is really playable. I recommend to watch a let's play to find the way out.
On my Laptop the game fails, claiming there is no "graphics adapter" (intel HD 4600 with Mesa 17.0.0)
I will have to attempt playing it with the lowest settings as the last time I checked the game I had it set to the highest settings.
https://bugs.winehq.org/show_bug.cgi?id=40508
--- Comment #13 from fjfrackiewicz@gmail.com --- (In reply to fjfrackiewicz from comment #12)
(In reply to Stefan Heid from comment #11)
For me (Nvidea GTX 1060, Wine 2.1, Archlinux) it runs quiet good at minimal settings.
The first 2 minutes are difficult, because you start in a cave which is dark and buggy, but once you left the cave the game is really playable. I recommend to watch a let's play to find the way out.
On my Laptop the game fails, claiming there is no "graphics adapter" (intel HD 4600 with Mesa 17.0.0)
I will have to attempt playing it with the lowest settings as the last time I checked the game I had it set to the highest settings.
It's confirmed. The game will display garbage when I attempt to run it on Medium or High settings but will be somewhat playable when running it on Low settings.
I guess Wine still needs a long ways to go in order to implement 2X MSAA (medium setting) and 4X/8X/12X/16X MSAA (High setting).
https://bugs.winehq.org/show_bug.cgi?id=40508
Grazvydas Ignotas notasas@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |joseph.kucia@gmail.com, | |notasas@gmail.com
--- Comment #14 from Grazvydas Ignotas notasas@gmail.com --- Seems to be quite close to fully working indeed (on low settings with multisampling off).
Current fixmes: fixme:d3d:wined3d_buffer_create Ignoring access flags (pool). fixme:d3d_shader:shader_glsl_handle_instruction Backend can't handle opcode: dcl_input_ps, dcl_input_ps_siv, dcl_input_ps_sgv, ld2dms.
older fixmes, no longer in 2,5: fixme:d3d11:d3d11_immediate_context_OMSetBlendState Per-rendertarget blend not implemented. fixme:d3d11:d3d11_immediate_context_OMSetBlendState Color mask > 3 not implemented.
https://bugs.winehq.org/show_bug.cgi?id=40508
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #15 from winetest@luukku.com --- (In reply to Grazvydas Ignotas from comment #14)
older fixmes, no longer in 2,5: fixme:d3d11:d3d11_immediate_context_OMSetBlendState Per-rendertarget blend not implemented. fixme:d3d11:d3d11_immediate_context_OMSetBlendState Color mask > 3 not implemented.
These just got a patch that they wont be so loud anymore. Nothing really got fixed. No idea how important is it to fix these. But the lines were spamming logs and console so much that it should be a lot more readable.
https://bugs.winehq.org/show_bug.cgi?id=40508
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |directx-d3d Ever confirmed|0 |1 Status|UNCONFIRMED |NEW
--- Comment #16 from Józef Kucia joseph.kucia@gmail.com --- The Witness should run much better in Wine after recent fixes (after commit e500cf7d973f002cab7d7a08e01803425b7473e2). The dark cave issue is fixed by proper support for sRGB render target views. The game should also run on High settings when MSAA is disabled. I think this bug report could marked as resolved.
https://bugs.winehq.org/show_bug.cgi?id=40508
--- Comment #17 from fjfrackiewicz@gmail.com --- (In reply to Józef Kucia from comment #16)
The Witness should run much better in Wine after recent fixes (after commit e500cf7d973f002cab7d7a08e01803425b7473e2). The dark cave issue is fixed by proper support for sRGB render target views. The game should also run on High settings when MSAA is disabled. I think this bug report could marked as resolved.
Hi Józef,
I'll check the latest version of Wine when I get home from work.
By the way, would it be OK to file a bug for the game not working properly when using MSAA?
https://bugs.winehq.org/show_bug.cgi?id=40508
--- Comment #18 from Józef Kucia joseph.kucia@gmail.com --- Created attachment 57839 --> https://bugs.winehq.org/attachment.cgi?id=57839 MSAA hack
(In reply to fjfrackiewicz from comment #17)
By the way, would it be OK to file a bug for the game not working properly when using MSAA?
Yes.
I'm also attaching a hack for MSAA.
https://bugs.winehq.org/show_bug.cgi?id=40508
--- Comment #19 from Grazvydas Ignotas notasas@gmail.com --- Created attachment 57872 --> https://bugs.winehq.org/attachment.cgi?id=57872 screenshot
Thanks, it's a lot better indeed, but at least on mesa there are problems:
- transparency (see attached screenshot) - puzzles are black unless the player is close (or far) enough - shading inside the cave is not "smooth", feels like 8bit color or something
This is with mesa git on RX470. It's playable, but it would be great to resolve the first issue, the others are minor. MSAA hack also solves the black screen, but I'm not sure the setting has any effect.
I suggest to keep this bug open though as MSAA is enabled by default, so users will still get black screen out of the box.
https://bugs.winehq.org/show_bug.cgi?id=40508
--- Comment #20 from fjfrackiewicz@gmail.com --- Created attachment 57874 --> https://bugs.winehq.org/attachment.cgi?id=57874 The Witness, medium settings, MSAA turned off
The game looks about the same as the previous comment on an Nvidia 970 GTX using the latest official drivers (version 378.13 as of right now). Also, I did not use the MSAA hack to make this screenshot as I wanted to save that for a separate bug report regarding MSAA support.
I too get the black screen on the puzzles if I am at a certain distance from them.
Also, I am not sure if it's the game or something else but a lot of the elements in the game (trees, bushes, clouds, etc.) look rather blocky.
All in all, the game looks a lot better than when I first attempted to play it.
https://bugs.winehq.org/show_bug.cgi?id=40508
fjfrackiewicz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED Fixed by SHA1| |e500cf7d973f002cab7d7a08e01 | |803425b7473e2
--- Comment #21 from fjfrackiewicz@gmail.com --- In any case, since the original bug (the black screen on start) is now officially fixed and the game is quite playable in the current state of Wine, I am marking this particular bug report as fixed and I, or any one else interested in playing the game, should file new bug reports for the game.
Thank you Józef :)
https://bugs.winehq.org/show_bug.cgi?id=40508
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #22 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 2.6.