https://bugs.winehq.org/show_bug.cgi?id=40241
Bug ID: 40241 Summary: Black Screen, no visuals (but sound) (Stardew Valley) Product: Wine Version: 1.8.1 Hardware: x86 OS: Mac OS X Status: UNCONFIRMED Severity: normal Priority: P2 Component: opengl Assignee: wine-bugs@winehq.org Reporter: cespinarve@hotmail.com
(Those who want to review the back-and-forth of a bunch of wine novices may want to review this short thread here: http://community.playstarbound.com/threads/mac-osx-wineskin-attempts.106850/ The error, or a solution, may be glaring obvious to people who actually know what they are doing - and if you can, please lend us your aid)
Create a fresh 32-bit wineprefix. Installed dotnet40, xna31, xna40, possibly mono (the terminal was kind of vague if that did anything), Added the following drivers:
d3dx10_33 through to d3dx10_43 (all native) d3dx9_43 (native) gameoverlayrenderer (native) mscoree (Native)
In the registry, HKEY_CURRENT_USER -> Software -> Wine -> Direct3D added DWRORD value MaxVersionGL with a hex value of 30002.
Installed steam, installed Stardew Valley. Without the MaxVersionGL value, game crashes on launch with a pop-up giving the error:
'"No suitable graphics card found. Could not find a Direct3D device that supports the XNA Framework HiDef profile Verify that a suitable graphics device is installed. Make sure the desktop is not locked , and that no other application is runing in full screen mode. Avoid running under Remote Desktop or as a windows service. Check to display properties to make sure hardware acceleration is set to Full."
With the MaxVersionGL value, the game does launch, but does so as a black screen without any graphics - although sound does play. Since the cursor is invisible, clicking around the black screen has no discernable effect, and nor does switching between windowed and fullscreen. Running steam again with a virtual desktop does not solve the problem. Quoting directly from the guy who suggested I make this bug report (and understands wine better than I):
"Describe the expected behaviour, running the game and describe what happens now with the wine output. Then provide further information, in this case we expect it at first didn't work, because wine on the compatibility profile of opengl, that OSX support, which provides only Opengl 2.1, is not enough for the xna HighDef profile, that the game needs. Setting maxglversion to 3002 fixes this, so the game does launch and atleast sound is okay, but the graphics don't work. Wine outputs a few GL_INVALID_ENUM and GL_INVALID_OPERATION, which probably are related to using a Core Profile and wine using opengl in ways only allowed in Compatibility contexts, most notable glLightModeli and glTexEnvf."
Anyone who wants to look at copies of most of our console outputs can check the thread - we posted a lot of them there.
https://bugs.winehq.org/show_bug.cgi?id=40241
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE
--- Comment #1 from Matteo Bruni matteo.mystral@gmail.com --- This sounds like a duplicate of bug 36789.
Yeah, core profile contexts are still work in progress, hopefully this will become usable before too long...
*** This bug has been marked as a duplicate of bug 36789 ***
https://bugs.winehq.org/show_bug.cgi?id=40241
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Bruno Jesus 00cpxxx@gmail.com --- Closing duplicate bugs.