Game(Forager) running but black screen

Questions about Wine on macOS.
Locked
khalludi123
Newbie
Newbie
Posts: 3
Joined: Sun Apr 28, 2019 5:26 pm

Game(Forager) running but black screen

Post by khalludi123 »

I am trying to run Forager, the Humble Demo, on a Mac OS Mojave 10.14.3 using wine. So far, when I run, I get a window that opens to a black screen. What's weird is that I can still hear the music and, if I move my mouse, the sound changes when I go over certain parts of the screen. So it seem that the game is running but I can't see anything.

The other thing to note is that I am using the current Wine Stable 4.0 and wine does work on another Windows program that I have installed.

Any help is appreciated! :)

The output log is below:

Code: Select all

preloader: Warning: failed to reserve range 00007fff40000000-00007fff41ff0000
preloader: Warning: failed to reserve range 00007fff40000000-00007fff41ff0000
preloader: Warning: failed to reserve range 00007fff40000000-00007fff41ff0000
preloader: Warning: failed to reserve range 00007fff40000000-00007fff41ff0000
preloader: Warning: failed to reserve range 00007fff40000000-00007fff41ff0000
preloader: Warning: failed to reserve range 00007fff40000000-00007fff41ff0000
preloader: Warning: failed to reserve range 00007fff40000000-00007fff41ff0000
0024:err:display:macdrv_ChangeDisplaySettingsEx No matching mode found 1680x1050x32 @60!
/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppleFSCompression/AppleFSCompression-96.200.3/Common/ChunkCompression.cpp:49: Error: unsupported compressor 8
/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppleFSCompression/AppleFSCompression-96.200.3/Libraries/CompressData/CompressData.c:353: Error: Unknown compression scheme encountered for file '/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/Exceptions.plist'
/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppleFSCompression/AppleFSCompression-96.200.3/Common/ChunkCompression.cpp:49: Error: unsupported compressor 8
/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppleFSCompression/AppleFSCompression-96.200.3/Libraries/CompressData/CompressData.c:353: Error: Unknown compression scheme encountered for file '/System/Library/CoreServices/CoreTypes.bundle/Contents/Library/AppExceptions.bundle/Exceptions.plist'
Attempting to set gamepadcount to 12
0009:fixme:dwmapi:DwmEnableMMCSS (1) stub
0009:fixme:win:EnumDisplayDevicesW ((null),0,0x32ed10,0x00000000), stub!
0009:fixme:dxgi:DXGID3D10CreateDevice Ignoring flags 0x20.
0033:fixme:d3d:wined3d_adapter_gl_create_context OpenGL implementation does not support GL_PRIMITIVE_RESTART_FIXED_INDEX.
DirectX11: Using hardware device
0009:fixme:d3d11:d3d11_immediate_context_Flush iface 0x21f9d0 stub!
0033:fixme:d3d:wined3d_adapter_gl_create_context OpenGL implementation does not support GL_PRIMITIVE_RESTART_FIXED_INDEX.
0009:fixme:dxgi:dxgi_factory_MakeWindowAssociation iface 0x3ca7cd8, window 0x20044, flags 0x2 stub!
0009:fixme:d3d_shader:shader_dxbc_chunk_handler Skipping 12 unknown DWORDs.
0009:fixme:d3d_shader:shader_dxbc_chunk_handler Skipping 15 unknown DWORDs.
0009:fixme:d3d_shader:shader_dxbc_chunk_handler Skipping 12 unknown DWORDs.
0009:fixme:d3d_shader:shader_dxbc_chunk_handler Skipping 12 unknown DWORDs.
0009:fixme:d3d_shader:shader_dxbc_chunk_handler Skipping 9 unknown DWORDs.
0009:fixme:d3d_shader:shader_dxbc_chunk_handler Skipping 9 unknown DWORDs.
0009:fixme:d3d_shader:shader_dxbc_chunk_handler Skipping 8 unknown DWORDs.
0009:fixme:d3d_shader:shader_dxbc_chunk_handler Skipping 9 unknown DWORDs.
0033:fixme:d3d:state_linepattern_w Setting line patterns is not supported in OpenGL core contexts.
0009:fixme:d3d_shader:shader_dxbc_chunk_handler Skipping 9 unknown DWORDs.
0009:fixme:d3d_shader:shader_dxbc_chunk_handler Skipping 12 unknown DWORDs.
0009:fixme:d3d_shader:shader_dxbc_chunk_handler Skipping 9 unknown DWORDs.
0009:fixme:d3d_shader:shader_dxbc_chunk_handler Skipping 7 unknown DWORDs.
Audio group 1 -> Loading...
Total memory used = 301844000(0x11fdc620) bytes
Audio group 1 -> Loaded
0037:fixme:winsock:set_dont_fragment IP_DONTFRAGMENT for IPv4 not supported in this platform
0037:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
0009:fixme:dxgi:dxgi_output_WaitForVBlank iface 0x4bd59d0 stub!
0009:fixme:dwmapi:DwmGetCompositionTimingInfo (0x0 0x32f4e4)
0037:fixme:secur32:schan_get_cipher_algid Don't know CALG for encryption algorithm 2, returning 0
0037:fixme:secur32:schan_imp_get_max_message_size Returning 1 << 14.
0037:fixme:secur32:schan_get_cipher_algid Don't know CALG for encryption algorithm 2, returning 0
Attempting to set gamepadcount to 0
---------------------------------------------------------------
minFPS, maxFPS, avgFPS
-9433, 1251, 35
---------------------------------------------------------------
---------------------------------------------------------------
minFPS, maxFPS, avgFPS
-9433, 1251, 35
---------------------------------------------------------------
0009:fixme:d3d11:d3d11_immediate_context_Flush iface 0x21f9d0 stub!
0009:fixme:kernelbase:AppPolicyGetProcessTerminationMethod 0xfffffffa, 0x32fea4
Gcenx
Level 6
Level 6
Posts: 709
Joined: Mon Dec 25, 2017 12:11 pm

Re: Game(Forager) running but black screen

Post by Gcenx »

Quickly looking over that output and it shows d3d11 aka DirectX11 that’s not supported on macOS only DirectX9 and below are working on macOS currently.
khalludi123
Newbie
Newbie
Posts: 3
Joined: Sun Apr 28, 2019 5:26 pm

Re: Game(Forager) running but black screen

Post by khalludi123 »

Is there a way to force dx9? I saw it in one of the forum posts but I forgot how. Something like --force-dx9?
Gcenx
Level 6
Level 6
Posts: 709
Joined: Mon Dec 25, 2017 12:11 pm

Re: Game(Forager) running but black screen

Post by Gcenx »

The game needs to support DirectX9 most now games don’t support below DirectX10 in most cases with few exceptions.

If you really want to play the full game you need to be using Windows via boot camp.
khalludi123
Newbie
Newbie
Posts: 3
Joined: Sun Apr 28, 2019 5:26 pm

Re: Game(Forager) running but black screen

Post by khalludi123 »

Ah I actually got the game working using WineStaging built with Gnutils 4.2, found from the post here: http://portingteam.com/topic/11070-wine ... an64bit3x/.

After downloading, I used the wine binary included to run the game and it worked perfectly, no lag with an avg FPS of 71. If you're the same person as the user that provided the link, thanks!
Gcenx
Level 6
Level 6
Posts: 709
Joined: Mon Dec 25, 2017 12:11 pm

Re: Game(Forager) running but black screen

Post by Gcenx »

khalludi123 wrote:Ah I actually got the game working using WineStaging built with Gnutils 4.2, found from the post here: http://portingteam.com/topic/11070-wine ... an64bit3x/.

After downloading, I used the wine binary included to run the game and it worked perfectly, no lag with an avg FPS of 71. If you're the same person as the user that provided the link, thanks!
Yes I’m the same person.

I built those to be used with my “Unofficial Wineskin” but there usable normally.
You might want to extract the additional libs Wineskin-2.9.0.2 inside the Frameworks folder and use dylib fallback veritable so wine know where they all are wine the Engines don’t contain all dylibs
Other wise you will be missing things like FAudio/Gnutls/MoltenVK etc
Gcenx
Level 6
Level 6
Posts: 709
Joined: Mon Dec 25, 2017 12:11 pm

Re: Game(Forager) running but black screen

Post by Gcenx »

Incase your watching this thread over the one at PortingTeam I added a new subfolder containing Wine-Staging-4.7 based compiles both contain Gnutls support and Vulkan for the 64Bit build along with the cmd+q quit patch so wine acts like all Mac native applications.
ajvs
Newbie
Newbie
Posts: 1
Joined: Thu May 02, 2019 8:40 am

Re: Game(Forager) running but black screen

Post by ajvs »

Gcenx wrote:The game needs to support DirectX9 most now games don’t support below DirectX10 in most cases with few exceptions.

If you really want to play the full game you need to be using Windows via boot camp.

I downloaded the files, but it still shows me a black screen? Please help
Gcenx
Level 6
Level 6
Posts: 709
Joined: Mon Dec 25, 2017 12:11 pm

Re: Game(Forager) running but black screen

Post by Gcenx »

I have my own update on this myself.

I installed the GOG version of Forager into a clean wineprefix using Wine-Staging-4.7 from Winehq and it launched just fine, that was without even using any of the "required" winetricks.......

I wonder why it works for me without issue but not for both of you?


EDIT;
Decided to also go back and try the demo also incase that contained an issue that was fixed with the release version, well the demo also works for me but has slowdowns I didn't have in the released version.
Locked