Black screen in Industry Giant Gold

Questions about Wine on Linux
Locked
dirdi
Newbie
Newbie
Posts: 4
Joined: Thu Apr 10, 2014 3:07 pm

Black screen in Industry Giant Gold

Post by dirdi »

Hi,

first of all: I'm not a wine guru =/

I currently try to get Industry Giant Gold up and running (No, not Industry Giant II). Installation worked like a charm and the game starts up without any problems - so far so good. But here is what doesn't work: If i enter a building (no matter of what type) and leave it, i get a black screen instead of returning to the map. I've made and a short screencast of the problem: http://tinypic.com/r/307sp4i/8

Informations:
* No AppDB entry for this game so far
* I use PlayOnLinux as wine frontend
* Wine version: 1.7.16 (I also tested 1.6.2 - same result =/)
* Debian testing:

Code: Select all

$ uname -a
Linux laptop 3.13-1-amd64 #1 SMP Debian 3.13.7-1 (2014-03-25) x86_64 GNU/Linux
* PlayOnLinux debugger output:

Code: Select all

[04/10/14 22:17:20][04/10/14 22:27:27] - Running wine-1.7.16 gigant.exe (Working directory : /home/dirdi/.PlayOnLinux/wineprefix/DerIndustriegigant/drive_c/Gigant)
fixme:appbar:SHAppBarMessage unknown msg: 4
fixme:appbar:handle_appbarmessage SHAppBarMessage(ABM_GETSTATE): stub
fixme:mci:MCI_LoadMciDriver Couldn't load driver for type L"CDAUDIO".
fixme:win:LockWindowUpdate (0x6004e), partial stub!
fixme:win:LockWindowUpdate (0x6004e), partial stub!
fixme:win:LockWindowUpdate ((nil)), partial stub!
All debug messages occur before i even enter the building! Sound is still runnig after i left the building, so i guess the game is still running.

* general playonlinux.cfg

Code: Select all

VDRIVES_LINK_MADE=TRUE
FIRST_FIRST_USE=TRUE
FIRST_USE=TRUE
GECKO_INSTALLED=TRUE
MONO_INSTALLED=TRUE
FIRST_INSTALL_DONE=TRUE
MAINWINDOW_WIDTH=1116
MAINWINDOW_HEIGHT=550
MAINWINDOW_X=401
MAINWINDOW_Y=243
PANEL_SIZE=329
PANEL_POSITION=RIGHT
VMS=1024
MANUAL_INSTALL_INCREMENT=11
WINE_SYSTEM_ARCH=x86
LAST_TIMESTAMP=1397080663
* wineprefix specific playonlinux.cfg

Code: Select all

ARCH=x86
WINEDEBUG=
VERSION=1.7.16
* No other programs are installed inside the wineprefix

* I run the game inside a virtual desktop (1024x768 px)

Should i provide further informations? Please give me a hint, what you need!

Thanks in advance for your help =)
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Black screen in Industry Giant Gold

Post by Bob Wya »

dirdi wrote:Hi,

first of all: I'm not a wine guru =/

Should i provide further informations? Please give me a hint, what you need!

Thanks in advance for your help =)
Hi dirdi,

Your first step is clearly to read the WineFAQ :lol: . It clearly states there that we don't support PlayOnLinux! It's great when it works. But it's not just a 'frontend' - the versions of Wine it uses often have patches and other hacks applied to make games work...

If you could install and run the game without any use of the PlayOnLinux interface it would useful. This will entail setting up a clean WINEPREFIX and using a vanilla version of Wine. Something like (I am not sure what type of installation medium you are using):

Code: Select all

mkdir -p /home/dirdi/.local/wineprefix/
export WINEPREFIX=/home/dirdi/.local/wineprefix/DerIndustriegigant
export WINEARCH=win32
# setup 32-bit WINEPREFIX & determine which drive your DVD drive is mapped to
winecfg
# browse to DVD version (.exe installer will be easier) mapped to drive D:\
cd '/home/dirdi/.local/wineprefix/DerIndustriegigant/dosdevices/d:'
# Launch executable installer (from UNIX $PWD present working directory)
wine setup.exe
# Run game...
cd "/home/dirdi/.PlayOnLinux/wineprefix/DerIndustriegigant/drive_c/Gigant"
wine gigant.exe
(or roughly similar)

Make sure you have the 32-bit multilib libraries for your graphics card and sound (alsa/pulseaudio).

Perhaps you could post the output of:

Code: Select all

glxinfo | grep '^[a-zA-Z]'
to let us know what graphics card & driver version we are dealing with!

Thanks
Bob
dirdi
Newbie
Newbie
Posts: 4
Joined: Thu Apr 10, 2014 3:07 pm

Re: Black screen in Industry Giant Gold

Post by dirdi »

I confess and regret, that i have just skimmed the WineFAQs =/

However, i installed and ran the game, like you suggested:

Code: Select all

$ cd /tmp/
$ mkdir wineprefix
$ export WINEPREFIX=/tmp/wineprefix/DerIndustriegigant
$ export WINEARCH=win32
$ winecfg
wine: created the configuration directory '/tmp/wineprefix/DerIndustriegigant'
fixme:storage:create_storagefile Storage share mode not implemented.
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
fixme:storage:create_storagefile Storage share mode not implemented.
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: cannot open shared object file: No such file or directory
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directory
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.
fixme:iphlpapi:NotifyAddrChange (Handle 0xece8b0, overlapped 0xece8bc): stub
wine: configuration in '/tmp/wineprefix/DerIndustriegigant' has been updated.
Wine cannot find the ncurses library (libncurses.so.5).
fixme:msg:pack_message msg 14 (WM_ERASEBKGND) not supported yet
fixme:msg:pack_message msg 14 (WM_ERASEBKGND) not supported yet
fixme:msg:pack_message msg 14 (WM_ERASEBKGND) not supported yet
$ cd wineprefix/DerIndustriegigant/dosdevices/e\:
$ wine setup.exe
Wine cannot find the ncurses library (libncurses.so.5).
fixme:shell:Dde_OnRequest returning fake program groups list
$ cd ../../drive_c/Gigant/
$ wine gigant.exe
Wine cannot find the ncurses library (libncurses.so.5).
fixme:appbar:SHAppBarMessage unknown msg: 4
fixme:appbar:handle_appbarmessage SHAppBarMessage(ABM_GETSTATE): stub
fixme:win:LockWindowUpdate (0x6002c), partial stub!
fixme:win:LockWindowUpdate (0x6002c), partial stub!
fixme:win:LockWindowUpdate ((nil)), partial stub!
$ wine --version
wine-1.6.2
But sadly the problem persists! I fiddled a little bit more and found out that:
1) When i move the virtual desktop window while the screen is black, the mouse pointer get cought
2) When i press q the game asks me to quit and after i refuse, the menubar reappears
3) When i press z the game displays an info screen and after i exit this screen, the map reappears.
Hence my suggestion, that the game still runs after the black screen appears, was true. You can find my latest three findings in this new screencast: http://tinypic.com/r/4lpqvq/8

Here are the infos about my graphics:

Code: Select all

$ glxinfo | grep ^[a-Z]
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
server glx extensions:
client glx vendor string: NVIDIA Corporation
client glx version string: 1.4
client glx extensions:
GLX version: 1.4
GLX extensions:
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVS 5400M/PCIe/SSE2
OpenGL core profile version string: 4.3.0 NVIDIA 331.49
OpenGL core profile shading language version string: 4.30 NVIDIA via Cg compiler
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.4.0 NVIDIA 331.49
OpenGL shading language version string: 4.40 NVIDIA via Cg compiler
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions:
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Black screen in Industry Giant Gold

Post by Bob Wya »

Hi dirdi,
Make sure you have the 32-bit multilib libraries for your graphics card and sound (alsa/pulseaudio).
Have you done this yet?
  • What distro are you using?
  • What Desktop Environment?
You can (probably) fix these issues...

Code: Select all

p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: cannot open shared object file: No such file or directory
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directory
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.
These missing (native Linux) 32-bit multilib libraries - note these particular libraries are not usually supercritical though!

Generally it's recommended to "ride" the "Development Release" of Wine. The stable release is more like a "feature frozen" release - bug fixes often are not backported...

Bob
dirdi
Newbie
Newbie
Posts: 4
Joined: Thu Apr 10, 2014 3:07 pm

Re: Black screen in Industry Giant Gold

Post by dirdi »

I have tried it again with Wines 1.7.x branch:

Code: Select all

$ wine-development --version
wine-1.7.29
$ WINEDEBUG=+fixme WINEPREFIX=/tmp/IGG/ WINEARCH=win32 wine-development "C:\Gigant\gigant.exe"
wine: cannot find L"C:\\windows\\system32\\winemenubuilder.exe"
err:wineboot:ProcessRunKeys Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -a -r" (2)
fixme:appbar:SHAppBarMessage unknown msg: 4
fixme:appbar:handle_appbarmessage SHAppBarMessage(ABM_GETSTATE): stub
fixme:mcicda:MCICDA_GetError Unknown mode 1
fixme:mountmgr:harddisk_ioctl Unsupported ioctl 24008 (device=2 access=1 func=2 method=0)
fixme:win:LockWindowUpdate (0x6004e), partial stub!
fixme:win:LockWindowUpdate (0x6004e), partial stub!
fixme:win:LockWindowUpdate ((nil)), partial stub!
fixme:mcicda:MCICDA_GetError Unknown mode 1
fixme:mountmgr:harddisk_ioctl Unsupported ioctl 2400c (device=2 access=1 func=3 method=0)
fixme:mcicda:MCICDA_GetError Unknown mode 1
fixme:mountmgr:harddisk_ioctl Unsupported ioctl 2400c (device=2 access=1 func=3 method=0)
fixme:mcicda:MCICDA_GetError Unknown mode 1
fixme:mountmgr:harddisk_ioctl Unsupported ioctl 2400c (device=2 access=1 func=3 method=0)
fixme:mountmgr:harddisk_ioctl Unsupported ioctl 24008 (device=2 access=1 func=2 method=0)
Unfortunately the issue still remains.

I am running Debian 9.x testing with xfce4 as desktop environment:

Code: Select all

$ uname -a
Linux laptop 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt9-3 (2015-04-23) x86_64 GNU/Linux
dirdi
Newbie
Newbie
Posts: 4
Joined: Thu Apr 10, 2014 3:07 pm

Re: Black screen in Industry Giant Gold

Post by dirdi »

The bug is still present in the current development version (1.7.47):

Code: Select all

$ WINEARCH=win32 WINEPREFIX=/tmp/IGG/ winecfg-development 
Could not load wine-gecko. HTML rendering will be disabled.
wine: configuration in '/tmp/IGG' has been updated.
wineserver: file_set_error() can't map error: Function not implemented
$ WINEPREFIX=/tmp/IGG/ wine-development "D:\Setup.exe"
wine: cannot find L"C:\\windows\\system32\\winemenubuilder.exe"
wine: cannot find L"C:\\windows\\system32\\winemenubuilder.exe"
wine: cannot find L"C:\\windows\\system32\\winemenubuilder.exe"
$ WINEDEBUG=+fixme WINEPREFIX=/tmp/IGG/ wine-development "C:\Gigant\Gigant.exe"
wine: cannot find L"C:\\windows\\system32\\winemenubuilder.exe"
err:wineboot:ProcessRunKeys Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -a -r" (2)
fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046}
fixme:appbar:SHAppBarMessage unknown msg: 4
fixme:appbar:handle_appbarmessage SHAppBarMessage(ABM_GETSTATE): stub
fixme:mcicda:MCICDA_GetError Unknown mode 1
fixme:mountmgr:harddisk_ioctl Unsupported ioctl 24008 (device=2 access=1 func=2 method=0)
fixme:win:LockWindowUpdate (0x60052), partial stub!
fixme:win:LockWindowUpdate (0x60052), partial stub!
fixme:win:LockWindowUpdate ((nil)), partial stub!
fixme:mcicda:MCICDA_GetError Unknown mode 1
fixme:mountmgr:harddisk_ioctl Unsupported ioctl 2400c (device=2 access=1 func=3 method=0)
fixme:mcicda:MCICDA_GetError Unknown mode 1
fixme:mountmgr:harddisk_ioctl Unsupported ioctl 2400c (device=2 access=1 func=3 method=0)
fixme:mcicda:MCICDA_GetError Unknown mode 1
fixme:mountmgr:harddisk_ioctl Unsupported ioctl 2400c (device=2 access=1 func=3 method=0)
fixme:mcicda:MCICDA_GetError Unknown mode 1
fixme:mountmgr:harddisk_ioctl Unsupported ioctl 2400c (device=2 access=1 func=3 method=0)
fixme:mcicda:MCICDA_GetError Unknown mode 1
fixme:mountmgr:harddisk_ioctl Unsupported ioctl 2400c (device=2 access=1 func=3 method=0)
fixme:mcicda:MCICDA_GetError Unknown mode 1
fixme:mountmgr:harddisk_ioctl Unsupported ioctl 2400c (device=2 access=1 func=3 method=0)
fixme:mountmgr:harddisk_ioctl Unsupported ioctl 24008 (device=2 access=1 func=2 method=0)
$ wine-development --version
wine-1.7.47
User avatar
dimesio
Moderator
Moderator
Posts: 13207
Joined: Tue Mar 25, 2008 10:30 pm

Re: Black screen in Industry Giant Gold

Post by dimesio »

Code: Select all

Could not load wine-gecko. HTML rendering will be disabled
Wine-gecko is a required part of Wine; running without it is not supported.

Install wine-gecko and retest in a clean wineprefix. If the problem persists, file a bug.
Locked