Could not initialize video.

Questions about Wine on Linux
Locked
pinguin
Level 1
Level 1
Posts: 7
Joined: Sat Aug 01, 2015 6:11 am

Could not initialize video.

Post by pinguin »

Hello all,

So I've freshly installed wine(1.6.2) on my old laptop running debian 8.1 to see if it can handle an older game named "Darkest Hour" from paradox entertainment).

Additionally I've installed the winetricks script and with it vcrun6 and dotnet20 (after this guide).

The problem:
The game launcher works fine. Then I hit the "start game" button and the developer video shows up. But right after that it crashes with "fatal error: could not initialize video". And the console output is:

Code: Select all

> wine: Unhandled page fault on read access to 0x00000000 at address 0x411b53 (thread 0045), starting debugger...
Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x00411b53).
Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
 EIP:00411b53 ESP:02a4fd74 EBP:02a4fda8 EFLAGS:00210287(  R- --  I S - -P-C)
 EAX:00d64410 EBX:00000000 ECX:00000000 EDX:00000000
 ESI:02b33338 EDI:00000001
Stack dump:
0x02a4fd74:  02a506d0 0077c3ac 00d64410 0073e842
0x02a4fd84:  00000000 00d64ed8 02a506d0 0073e85b
0x02a4fd94:  0077ac6e 00000000 02a4fe40 0079d21b
0x02a4fda4:  00000000 02a4fdb0 00773218 02a4fe50
0x02a4fdb4:  00789d9c 00000000 7b8addf8 0078d338
0x02a4fdc4:  00789d10 00000000 00000000 00000000
Backtrace:
=>0 0x00411b53 in darkest hour (+0x11b53) (0x02a4fda8)
  1 0x00773218 in darkest hour (+0x373217) (0x02a4fdb0)
  2 0x00789d9c in darkest hour (+0x389d9b) (0x02a4fe50)
  3 0x7b85a9bc call_process_entry+0xb() in kernel32 (0x02a4fe68)
  4 0x7b85b9ca in kernel32 (+0x4b9c9) (0x02a4fe98)
  5 0x7bc72f60 call_thread_func_wrapper+0xb() in ntdll (0x02a4feb8)
  6 0x7bc75d7f call_thread_func+0xce() in ntdll (0x02a4ffa8)
  7 0x7bc72f3e RtlRaiseException+0x21() in ntdll (0x02a4ffc8)
  8 0x7bc4acf7 call_dll_entry_point+0x776() in ntdll (0x02a4ffe8)
  9 0xb75af3ad wine_call_on_stack+0x1c() in libwine.so.1 (0x00000000)
  10 0xb75af510 wine_switch_to_stack+0x1f() in libwine.so.1 (0xbfd499d8)
  11 0x7bc5020a LdrInitializeThunk+0x339() in ntdll (0xbfd49a38)
  12 0x7b861613 __wine_kernel_init+0x872() in kernel32 (0xbfd4ab98)
  13 0x7bc50783 __wine_process_init+0x162() in ntdll (0xbfd4ac08)
  14 0xb75acff3 wine_init+0x2b2() in libwine.so.1 (0xbfd4ac58)
  15 0x7bf00d52 main+0x81() in <wine-loader> (0xbfd4b0a8)
  16 0xb73dca63 __libc_start_main+0xf2() in libc.so.6 (0x00000000)
0x00411b53: cmpl	$0,0x0(%ecx,%edx,4)
Modules:
Module	Address			Debug info	Name (85 modules)
PE	  400000-  d69000	Export          darkest hour
ELF	7b800000-7ba55000	Dwarf           kernel32<elf>
  \-PE	7b810000-7ba55000	\               kernel32
ELF	7bc00000-7bcd6000	Dwarf           ntdll<elf>
  \-PE	7bc10000-7bcd6000	\               ntdll
ELF	7bf00000-7bf04000	Dwarf           <wine-loader>
ELF	7d4a2000-7d4d9000	Deferred        libtxc_dxtn.so
ELF	7d53c000-7d548000	Deferred        libpciaccess.so.0
ELF	7d548000-7d565000	Deferred        libgcc_s.so.1
ELF	7d657000-7d666000	Deferred        libdrm_radeon.so.1
ELF	7d666000-7d66e000	Deferred        libdrm_nouveau.so.2
ELF	7d66e000-7d693000	Deferred        libdrm_intel.so.1
ELF	7d693000-7dc5a000	Deferred        i915_dri.so
ELF	7dc5a000-7dc6c000	Deferred        libudev.so.1
ELF	7dc6c000-7dd17000	Deferred        libgl.so.1
ELF	7dfd1000-7dfda000	Deferred        librt.so.1
ELF	7dfda000-7dfe9000	Deferred        libdrm.so.2
ELF	7dfe9000-7dfec000	Deferred        libxshmfence.so.1
ELF	7dfec000-7dff3000	Deferred        libxcb-sync.so.1
ELF	7dff3000-7dff7000	Deferred        libxcb-present.so.0
ELF	7dff7000-7dffb000	Deferred        libxcb-dri3.so.0
ELF	7dffb000-7e001000	Deferred        libxcb-dri2.so.0
ELF	7e001000-7e01b000	Deferred        libxcb-glx.so.0
ELF	7e01b000-7e01e000	Deferred        libx11-xcb.so.1
ELF	7e01e000-7e022000	Deferred        libxdamage.so.1
ELF	7e03e000-7e062000	Deferred        imm32<elf>
  \-PE	7e040000-7e062000	\               imm32
ELF	7e0a8000-7e0af000	Deferred        libxfixes.so.3
ELF	7e0af000-7e0bb000	Deferred        libxcursor.so.1
ELF	7e0bb000-7e0ce000	Deferred        libxi.so.6
ELF	7e0ce000-7e0d2000	Deferred        libxcomposite.so.1
ELF	7e0d2000-7e0de000	Deferred        libxrandr.so.2
ELF	7e0de000-7e0ea000	Deferred        libxrender.so.1
ELF	7e0ea000-7e0f1000	Deferred        libxxf86vm.so.1
ELF	7e0f1000-7e0f5000	Deferred        libxinerama.so.1
ELF	7e0f5000-7e0fb000	Deferred        libxdmcp.so.6
ELF	7e0fb000-7e0ff000	Deferred        libxau.so.6
ELF	7e0ff000-7e125000	Deferred        libxcb.so.1
ELF	7e125000-7e277000	Deferred        libx11.so.6
ELF	7e277000-7e28c000	Deferred        libxext.so.6
ELF	7e28d000-7e2a6000	Deferred        libglapi.so.0
ELF	7e2a8000-7e335000	Deferred        winex11<elf>
  \-PE	7e2b0000-7e335000	\               winex11
ELF	7e3c4000-7e3ed000	Deferred        libexpat.so.1
ELF	7e3ed000-7e42f000	Deferred        libfontconfig.so.1
ELF	7e42f000-7e45c000	Deferred        libpng12.so.0
ELF	7e45c000-7e479000	Deferred        libz.so.1
ELF	7e479000-7e52a000	Deferred        libfreetype.so.6
ELF	7e546000-7e571000	Deferred        msacm32<elf>
  \-PE	7e550000-7e571000	\               msacm32
ELF	7e571000-7e5ec000	Deferred        rpcrt4<elf>
  \-PE	7e580000-7e5ec000	\               rpcrt4
ELF	7e5ec000-7e71a000	Deferred        ole32<elf>
  \-PE	7e600000-7e71a000	\               ole32
ELF	7e71a000-7e7d2000	Deferred        winmm<elf>
  \-PE	7e720000-7e7d2000	\               winmm
ELF	7e7d2000-7e81a000	Deferred        dsound<elf>
  \-PE	7e7e0000-7e81a000	\               dsound
ELF	7e81a000-7e968000	Deferred        user32<elf>
  \-PE	7e830000-7e968000	\               user32
ELF	7e968000-7e9d6000	Deferred        advapi32<elf>
  \-PE	7e970000-7e9d6000	\               advapi32
ELF	7e9d6000-7eaf0000	Deferred        gdi32<elf>
  \-PE	7e9e0000-7eaf0000	\               gdi32
ELF	7eaf0000-7ec0c000	Deferred        opengl32<elf>
  \-PE	7eb10000-7ec0c000	\               opengl32
ELF	7ec0c000-7ed3c000	Deferred        wined3d<elf>
  \-PE	7ec20000-7ed3c000	\               wined3d
ELF	7ed3c000-7edae000	Deferred        ddraw<elf>
  \-PE	7ed40000-7edae000	\               ddraw
ELF	7edae000-7ede3000	Deferred        ws2_32<elf>
  \-PE	7edc0000-7ede3000	\               ws2_32
ELF	7ede3000-7edf0000	Deferred        libnss_files.so.2
ELF	7edf0000-7edfc000	Deferred        libnss_nis.so.2
ELF	7edfc000-7ee15000	Deferred        libnsl.so.1
ELF	7ef9e000-7efe4000	Deferred        libm.so.6
ELF	7efe7000-7f000000	Deferred        version<elf>
  \-PE	7eff0000-7f000000	\               version
ELF	b73b4000-b73bd000	Deferred        libnss_compat.so.2
ELF	b73be000-b73c3000	Deferred        libdl.so.2
ELF	b73c3000-b756d000	Dwarf           libc.so.6
ELF	b756e000-b758a000	Deferred        libpthread.so.0
ELF	b75a6000-b775b000	Dwarf           libwine.so.1
ELF	b775d000-b777e000	Deferred        ld-linux.so.2
ELF	b777e000-b777f000	Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
0000000e services.exe
	00000027    0
	00000026    0
	0000001f    0
	00000016    0
	00000010    0
	0000000f    0
00000012 mscorsvw.exe
	0000001c    0
	0000001b    0
	00000019    0
	00000013    0
00000014 explorer.exe
	0000002a    0
	00000015    0
0000001d winedevice.exe
	00000025    0
	00000022    0
	00000021    0
	0000001e    0
00000023 plugplay.exe
	00000029    0
	00000028    0
	00000024    0
00000044 (D) C:\Games\Darkest Hour\Darkest Hour.exe
	00000045    0 <==
^C
Could someone guide me in the right direction, where to look for what. I'm kind of a beginner with the matter and linux.

some information about my video driver (if that is helpful):

Code: Select all

$ [13:24:38] simon@mamba :~/.wine/drive_c/Games/Darkest Hour
> lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GSE Express Integrated Graphics Controller (rev 03)
$ [15:23:56] simon@mamba :~/.wine/drive_c/Games/Darkest Hour
> find /dev -group video
/dev/fb0
/dev/dri/card0
/dev/dri/controlD64
/dev/agpgart
$ [15:24:25] simon@mamba :~/.wine/drive_c/Games/Darkest Hour
> glxinfo | grep -i vendor
server glx vendor string: SGI
client glx vendor string: Mesa Project and SGI
OpenGL vendor string: Intel Open Source Technology Center
Thanks for your help :)

regards,

pinguin
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Could not initialize video.

Post by dimesio »

Your Wine version is old, but according to the AppDB this game did work in older Wine versions, and without any native dlls. So try reinstalling to a clean wineprefix, no winetricks. https://appdb.winehq.org/objectManager. ... &iId=24033

It is possible that the problem is your graphics hardware and driver; Intel's Linux drivers are inadequate for a lot of games.
pinguin
Level 1
Level 1
Posts: 7
Joined: Sat Aug 01, 2015 6:11 am

Re: Could not initialize video.

Post by pinguin »

dimesio wrote:Your Wine version is old, but according to the AppDB this game did work in older Wine versions, and without any native dlls. So try reinstalling to a clean wineprefix, no winetricks. https://appdb.winehq.org/objectManager. ... &iId=24033
With a clean install, when I try to run the launcher, I get an error, that libgluezilla is missing (seems the launcher has a news-section). I then installed via aptitude the packages libmono-webbrowser2.0-cil (and the same in version 4.0 cause I didn't know which one). But the exact same error remained.

When I start the game .exe without the launcher, I receive the same error as stated in my first post (the video one).

dimesio wrote:It is possible that the problem is your graphics hardware and driver; Intel's Linux drivers are inadequate for a lot of games.
:/ how can I investigate this further?
glxgears works perfectly, that's the only thing to "test" my graphics installation I know..

regards and thanks for the help,

pinguin
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Could not initialize video.

Post by dimesio »

pinguin wrote: With a clean install, when I try to run the launcher, I get an error, that libgluezilla is missing (seems the launcher has a news-section).
Sounds like https://bugs.winehq.org/show_bug.cgi?id=30988. Some of the AppDB test reports do mention that the launcher doesn't work, but can be bypassed.

Post terminal output from trying to run the game directly.
pinguin
Level 1
Level 1
Posts: 7
Joined: Sat Aug 01, 2015 6:11 am

Re: Could not initialize video.

Post by pinguin »

Okay some terminal outputs:

clean wineprefix; Darkest\ Hour\ Launcher.exe

Code: Select all

> wine Darkest\ Hour\ Launcher.exe 
libgluezilla not found. To have webbrowser support, you need libgluezilla installed
System.NullReferenceException: Object reference not set to an instance of an object
  at System.Windows.Forms.WebBrowser.Refresh (WebBrowserRefreshOption opt) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.WebBrowser.Refresh () [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Control.OnEnabledChanged (System.EventArgs e) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Control.OnParentEnabledChanged (System.EventArgs e) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Control.OnEnabledChanged (System.EventArgs e) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Control.OnParentEnabledChanged (System.EventArgs e) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Control.OnEnabledChanged (System.EventArgs e) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Control.OnParentEnabledChanged (System.EventArgs e) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Control.OnEnabledChanged (System.EventArgs e) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Form.OnEnabledChanged (System.EventArgs e) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Control.set_Enabled (Boolean value) [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:set_Enabled (bool)
  at System.Windows.Forms.Form.ShowDialog (IWin32Window owner) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Form.ShowDialog () [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.MessageBox+MessageBoxForm.RunDialog () [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.MessageBox/MessageBoxForm:RunDialog ()
  at System.Windows.Forms.MessageBox.Show (System.String text, System.String caption, MessageBoxButtons buttons, MessageBoxIcon icon) [0x00000] in <filename unknown>:0 
  at Darkest_Hour_Launcher.Main.Main_Load (System.Object sender, System.EventArgs e) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Form.OnLoad (System.EventArgs e) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Form.OnLoadInternal (System.EventArgs e) [0x00000] in <filename unknown>:0 
^C
Even with that:

Code: Select all

> dpkg -l | grep -E '^ii' | grep libmono-webbrowser
ii  libmono-webbrowser2.0-cil             3.2.8+dfsg-10                        all          Mono Web Browser library (for CLI 2.0)
ii  libmono-webbrowser4.0-cil             3.2.8+dfsg-10                        all          Mono Web Browser library (for CLI 4.0)
Now clean wineprefix and Darkest\ Hour.exe :
I have added 3 images to the attachements what happens if i do that.

console output:

Code: Select all

> wine Darkest\ Hour.exe 
wine: Unhandled page fault on read access to 0x00000000 at address 0x411b53 (thread 0009), starting debugger...
fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046}
error log:

Code: Select all

> cat ../backtrace.txt 
Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x00411b53).
Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
 EIP:00411b53 ESP:02a4fd74 EBP:02a4fda8 EFLAGS:00210287(  R- --  I S - -P-C)
 EAX:00d64410 EBX:00000000 ECX:00000000 EDX:00000000
 ESI:02b332b8 EDI:00000001
Stack dump:
0x02a4fd74:  02a506d0 0077c3ac 00d64410 0073e842
0x02a4fd84:  00000000 00d64ed8 02a506d0 0073e85b
0x02a4fd94:  0077ac6e 00000000 02a4fe40 0079d21b
0x02a4fda4:  00000000 02a4fdb0 00773218 02a4fe50
0x02a4fdb4:  00789d9c 00000000 7b8addf8 0078d338
0x02a4fdc4:  00789d10 00000000 00000000 00000000
Backtrace:
=>0 0x00411b53 in darkest hour (+0x11b53) (0x02a4fda8)
  1 0x00773218 in darkest hour (+0x373217) (0x02a4fdb0)
  2 0x00789d9c in darkest hour (+0x389d9b) (0x02a4fe50)
  3 0x7b85a9bc call_process_entry+0xb() in kernel32 (0x02a4fe68)
  4 0x7b85b9ca in kernel32 (+0x4b9c9) (0x02a4fe98)
  5 0x7bc72f60 call_thread_func_wrapper+0xb() in ntdll (0x02a4feb8)
  6 0x7bc75d7f call_thread_func+0xce() in ntdll (0x02a4ffa8)
  7 0x7bc72f3e RtlRaiseException+0x21() in ntdll (0x02a4ffc8)
  8 0x7bc4acf7 call_dll_entry_point+0x776() in ntdll (0x02a4ffe8)
  9 0xb75f43ad wine_call_on_stack+0x1c() in libwine.so.1 (0x00000000)
  10 0xb75f4510 wine_switch_to_stack+0x1f() in libwine.so.1 (0xbfdb6aa8)
  11 0x7bc5020a LdrInitializeThunk+0x339() in ntdll (0xbfdb6b08)
  12 0x7b861613 __wine_kernel_init+0x872() in kernel32 (0xbfdb7c68)
  13 0x7bc50783 __wine_process_init+0x162() in ntdll (0xbfdb7cd8)
  14 0xb75f1ff3 wine_init+0x2b2() in libwine.so.1 (0xbfdb7d28)
  15 0x7bf00d52 main+0x81() in <wine-loader> (0xbfdb8178)
  16 0xb7421a63 __libc_start_main+0xf2() in libc.so.6 (0x00000000)
0x00411b53: cmpl	$0,0x0(%ecx,%edx,4)
Modules:
Module	Address			Debug info	Name (87 modules)
PE	  400000-  d69000	Export          darkest hour
ELF	7b800000-7ba55000	Dwarf           kernel32<elf>
  \-PE	7b810000-7ba55000	\               kernel32
ELF	7bc00000-7bcd6000	Dwarf           ntdll<elf>
  \-PE	7bc10000-7bcd6000	\               ntdll
ELF	7bf00000-7bf04000	Dwarf           <wine-loader>
ELF	7d2c5000-7d2fc000	Deferred        libtxc_dxtn.so
ELF	7d45f000-7d46b000	Deferred        libpciaccess.so.0
ELF	7d46b000-7d488000	Deferred        libgcc_s.so.1
ELF	7d57a000-7d589000	Deferred        libdrm_radeon.so.1
ELF	7d589000-7d5ae000	Deferred        libdrm_intel.so.1
ELF	7d5ae000-7db75000	Deferred        i915_dri.so
ELF	7db75000-7db87000	Deferred        libudev.so.1
ELF	7db87000-7dc32000	Deferred        libgl.so.1
ELF	7df19000-7df21000	Deferred        libdrm_nouveau.so.2
ELF	7df7b000-7df84000	Deferred        librt.so.1
ELF	7df84000-7df93000	Deferred        libdrm.so.2
ELF	7df93000-7df96000	Deferred        libxshmfence.so.1
ELF	7df96000-7df9d000	Deferred        libxcb-sync.so.1
ELF	7df9d000-7dfa1000	Deferred        libxcb-present.so.0
ELF	7dfa1000-7dfa5000	Deferred        libxcb-dri3.so.0
ELF	7dfa5000-7dfab000	Deferred        libxcb-dri2.so.0
ELF	7dfab000-7dfc5000	Deferred        libxcb-glx.so.0
ELF	7dfc5000-7dfc8000	Deferred        libx11-xcb.so.1
ELF	7dfc8000-7dfcc000	Deferred        libxdamage.so.1
ELF	7dfe8000-7e00c000	Deferred        imm32<elf>
  \-PE	7dff0000-7e00c000	\               imm32
ELF	7e052000-7e059000	Deferred        libxfixes.so.3
ELF	7e059000-7e065000	Deferred        libxcursor.so.1
ELF	7e065000-7e078000	Deferred        libxi.so.6
ELF	7e078000-7e07c000	Deferred        libxcomposite.so.1
ELF	7e07c000-7e088000	Deferred        libxrandr.so.2
ELF	7e088000-7e094000	Deferred        libxrender.so.1
ELF	7e094000-7e09b000	Deferred        libxxf86vm.so.1
ELF	7e09b000-7e09f000	Deferred        libxinerama.so.1
ELF	7e09f000-7e0a5000	Deferred        libxdmcp.so.6
ELF	7e0a5000-7e0a9000	Deferred        libxau.so.6
ELF	7e0a9000-7e0cf000	Deferred        libxcb.so.1
ELF	7e0cf000-7e221000	Deferred        libx11.so.6
ELF	7e221000-7e236000	Deferred        libxext.so.6
ELF	7e237000-7e250000	Deferred        libglapi.so.0
ELF	7e252000-7e2df000	Deferred        winex11<elf>
  \-PE	7e260000-7e2df000	\               winex11
ELF	7e379000-7e3a2000	Deferred        libexpat.so.1
ELF	7e3a2000-7e3e4000	Deferred        libfontconfig.so.1
ELF	7e3e4000-7e411000	Deferred        libpng12.so.0
ELF	7e411000-7e42e000	Deferred        libz.so.1
ELF	7e42e000-7e4df000	Deferred        libfreetype.so.6
ELF	7e4df000-7e502000	Deferred        libtinfo.so.5
ELF	7e502000-7e52a000	Deferred        libncurses.so.5
ELF	7e546000-7e571000	Deferred        msacm32<elf>
  \-PE	7e550000-7e571000	\               msacm32
ELF	7e571000-7e5ec000	Deferred        rpcrt4<elf>
  \-PE	7e580000-7e5ec000	\               rpcrt4
ELF	7e5ec000-7e71a000	Deferred        ole32<elf>
  \-PE	7e600000-7e71a000	\               ole32
ELF	7e71a000-7e7d2000	Deferred        winmm<elf>
  \-PE	7e720000-7e7d2000	\               winmm
ELF	7e7d2000-7e81a000	Deferred        dsound<elf>
  \-PE	7e7e0000-7e81a000	\               dsound
ELF	7e81a000-7e968000	Deferred        user32<elf>
  \-PE	7e830000-7e968000	\               user32
ELF	7e968000-7e9d6000	Deferred        advapi32<elf>
  \-PE	7e970000-7e9d6000	\               advapi32
ELF	7e9d6000-7eaf0000	Deferred        gdi32<elf>
  \-PE	7e9e0000-7eaf0000	\               gdi32
ELF	7eaf0000-7ec0c000	Deferred        opengl32<elf>
  \-PE	7eb10000-7ec0c000	\               opengl32
ELF	7ec0c000-7ed3c000	Deferred        wined3d<elf>
  \-PE	7ec20000-7ed3c000	\               wined3d
ELF	7ed3c000-7edae000	Deferred        ddraw<elf>
  \-PE	7ed40000-7edae000	\               ddraw
ELF	7edae000-7ede3000	Deferred        ws2_32<elf>
  \-PE	7edc0000-7ede3000	\               ws2_32
ELF	7ef6c000-7ef79000	Deferred        libnss_files.so.2
ELF	7ef79000-7ef85000	Deferred        libnss_nis.so.2
ELF	7ef85000-7ef9e000	Deferred        libnsl.so.1
ELF	7ef9e000-7efe4000	Deferred        libm.so.6
ELF	7efe7000-7f000000	Deferred        version<elf>
  \-PE	7eff0000-7f000000	\               version
ELF	b7403000-b7408000	Deferred        libdl.so.2
ELF	b7408000-b75b2000	Dwarf           libc.so.6
ELF	b75b3000-b75cf000	Deferred        libpthread.so.0
ELF	b75e2000-b75eb000	Deferred        libnss_compat.so.2
ELF	b75eb000-b77a0000	Dwarf           libwine.so.1
ELF	b77a2000-b77c3000	Deferred        ld-linux.so.2
ELF	b77c3000-b77c4000	Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) Z:\home\simon\.wine\drive_c\Games\Darkest Hour\Darkest Hour.exe
	00000009    0 <==
0000000e services.exe
	0000001d    0
	0000001c    0
	00000014    0
	00000010    0
	0000000f    0
00000012 winedevice.exe
	0000001b    0
	00000018    0
	00000017    0
	00000013    0
00000019 plugplay.exe
	00000022    0
	0000001f    0
	0000001a    0
00000023 explorer.exe
	00000025    0
	00000024    0
System information:
    Wine build: wine-1.6.2
    Platform: i386
    Host system: Linux
    Host version: 3.16.0-4-686-pae

I hope that hellped.

regards :)
Attachments
third screen that shows up. I hit &quot;more details&quot; and pasted the resulting log in the post-text
third screen that shows up. I hit "more details" and pasted the resulting log in the post-text
second thing that shows after I hit &quot;ignore&quot; in the first screen. I pressed the &quot;no&quot; button.
second thing that shows after I hit "ignore" in the first screen. I pressed the "no" button.
scrot_2015-08-03_11-03-08_screenshot.png (11.7 KiB) Viewed 4010 times
first thing that shows up after a short black screen
first thing that shows up after a short black screen
pinguin
Level 1
Level 1
Posts: 7
Joined: Sat Aug 01, 2015 6:11 am

Re: Could not initialize video.

Post by pinguin »

An update:

So I've tinkered a bit around. Nothing helped, but the error message changed. So I've completely removed my ~/.wine directory in order to revert everything I've done to my wine installation. Then I reinstalled the game, but the error-message-change is persistent.

Now I receive a strange error "---- excel file not found ----" right after launching the normal game.exe (Launcher crashes with the old no libgluezilla thing but that's okay).

And here the console output:

Code: Select all

> wine ~/.wine/drive_c/Games/Darkest\ Hour/Darkest\ Hour.exe 
wine: Unhandled page fault on read access to 0x00000034 at address 0x7bc365a1 (thread 0009), starting debugger...
Unhandled exception: page fault on read access to 0x00000034 in 32-bit code (0x7bc365a1).
Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
 EIP:7bc365a1 ESP:028ce8d0 EBP:028ce8e8 EFLAGS:00010202(  R- --  I   - - - )
 EAX:00000020 EBX:7bcb9c90 ECX:028ce8f8 EDX:00000000
 ESI:00000020 EDI:00000001
Stack dump:
0x028ce8d0:  00000000 7bc36596 028ce8f8 7b8add10
0x028ce8e0:  00000000 00000001 028cfdc4 0074594e
0x028ce8f0:  7b8addf8 0074594e 00000020 007473c0
0x028ce900:  00000000 00000001 028ce934 00425e98
0x028ce910:  00000000 00748d08 00000000 7b8addf8
0x028ce920:  0049e3f2 00000001 00748d08 00000000
Backtrace:
=>0 0x7bc365a1 RtlEnterCriticalSection+0x21() in ntdll (0x028ce8e8)
  1 0x0074594e in darkest hour (+0x34594d) (0x028cfdc4)
  2 0x00748de8 in darkest hour (+0x348de7) (0x028cfe50)
  3 0x7b85a9bc call_process_entry+0xb() in kernel32 (0x028cfe68)
  4 0x7b85b9ca in kernel32 (+0x4b9c9) (0x028cfe98)
  5 0x7bc72f60 call_thread_func_wrapper+0xb() in ntdll (0x028cfeb8)
  6 0x7bc75d7f call_thread_func+0xce() in ntdll (0x028cffa8)
  7 0x7bc72f3e RtlRaiseException+0x21() in ntdll (0x028cffc8)
  8 0x7bc4acf7 call_dll_entry_point+0x776() in ntdll (0x028cffe8)
  9 0xb755e3ad wine_call_on_stack+0x1c() in libwine.so.1 (0x00000000)
  10 0xb755e510 wine_switch_to_stack+0x1f() in libwine.so.1 (0xbfd8cc08)
  11 0x7bc5020a LdrInitializeThunk+0x339() in ntdll (0xbfd8cc68)
  12 0x7b861613 __wine_kernel_init+0x872() in kernel32 (0xbfd8ddc8)
  13 0x7bc50783 __wine_process_init+0x162() in ntdll (0xbfd8de38)
  14 0xb755bff3 wine_init+0x2b2() in libwine.so.1 (0xbfd8de88)
  15 0x7bf00d52 main+0x81() in <wine-loader> (0xbfd8e2d8)
  16 0xb738ba63 __libc_start_main+0xf2() in libc.so.6 (0x00000000)
0x7bc365a1 RtlEnterCriticalSection+0x21 in ntdll: movl	0x14(%esi),%eax
Modules:
Module	Address			Debug info	Name (67 modules)
PE	  400000-  bf0000	Export          darkest hour
ELF	7b800000-7ba55000	Dwarf           kernel32<elf>
  \-PE	7b810000-7ba55000	\               kernel32
ELF	7bc00000-7bcd6000	Dwarf           ntdll<elf>
  \-PE	7bc10000-7bcd6000	\               ntdll
ELF	7bf00000-7bf04000	Dwarf           <wine-loader>
ELF	7dff2000-7e016000	Deferred        imm32<elf>
  \-PE	7e000000-7e016000	\               imm32
ELF	7e05c000-7e063000	Deferred        libxfixes.so.3
ELF	7e063000-7e06f000	Deferred        libxcursor.so.1
ELF	7e06f000-7e082000	Deferred        libxi.so.6
ELF	7e082000-7e086000	Deferred        libxcomposite.so.1
ELF	7e086000-7e092000	Deferred        libxrandr.so.2
ELF	7e092000-7e09e000	Deferred        libxrender.so.1
ELF	7e09e000-7e0a5000	Deferred        libxxf86vm.so.1
ELF	7e0a5000-7e0a9000	Deferred        libxinerama.so.1
ELF	7e0a9000-7e0af000	Deferred        libxdmcp.so.6
ELF	7e0af000-7e0b3000	Deferred        libxau.so.6
ELF	7e0b3000-7e0d9000	Deferred        libxcb.so.1
ELF	7e0d9000-7e22b000	Deferred        libx11.so.6
ELF	7e22b000-7e240000	Deferred        libxext.so.6
ELF	7e25c000-7e2e9000	Deferred        winex11<elf>
  \-PE	7e270000-7e2e9000	\               winex11
ELF	7e379000-7e3a2000	Deferred        libexpat.so.1
ELF	7e3a2000-7e3e4000	Deferred        libfontconfig.so.1
ELF	7e3e4000-7e411000	Deferred        libpng12.so.0
ELF	7e411000-7e42e000	Deferred        libz.so.1
ELF	7e42e000-7e4df000	Deferred        libfreetype.so.6
ELF	7e4df000-7e502000	Deferred        libtinfo.so.5
ELF	7e502000-7e52a000	Deferred        libncurses.so.5
ELF	7e546000-7e571000	Deferred        msacm32<elf>
  \-PE	7e550000-7e571000	\               msacm32
ELF	7e571000-7e5ec000	Deferred        rpcrt4<elf>
  \-PE	7e580000-7e5ec000	\               rpcrt4
ELF	7e5ec000-7e71a000	Deferred        ole32<elf>
  \-PE	7e600000-7e71a000	\               ole32
ELF	7e71a000-7e7d2000	Deferred        winmm<elf>
  \-PE	7e720000-7e7d2000	\               winmm
ELF	7e7d2000-7e81a000	Deferred        dsound<elf>
  \-PE	7e7e0000-7e81a000	\               dsound
ELF	7e81a000-7e968000	Deferred        user32<elf>
  \-PE	7e830000-7e968000	\               user32
ELF	7e968000-7e9d6000	Deferred        advapi32<elf>
  \-PE	7e970000-7e9d6000	\               advapi32
ELF	7e9d6000-7eaf0000	Deferred        gdi32<elf>
  \-PE	7e9e0000-7eaf0000	\               gdi32
ELF	7eaf0000-7ec0c000	Deferred        opengl32<elf>
  \-PE	7eb10000-7ec0c000	\               opengl32
ELF	7ec0c000-7ed3c000	Deferred        wined3d<elf>
  \-PE	7ec20000-7ed3c000	\               wined3d
ELF	7ed3c000-7edae000	Deferred        ddraw<elf>
  \-PE	7ed40000-7edae000	\               ddraw
ELF	7edae000-7ede3000	Deferred        ws2_32<elf>
  \-PE	7edc0000-7ede3000	\               ws2_32
ELF	7ef6c000-7ef79000	Deferred        libnss_files.so.2
ELF	7ef79000-7ef85000	Deferred        libnss_nis.so.2
ELF	7ef85000-7ef9e000	Deferred        libnsl.so.1
ELF	7ef9e000-7efe4000	Deferred        libm.so.6
ELF	7efe7000-7f000000	Deferred        version<elf>
  \-PE	7eff0000-7f000000	\               version
ELF	b7363000-b736c000	Deferred        libnss_compat.so.2
ELF	b736d000-b7372000	Deferred        libdl.so.2
ELF	b7372000-b751c000	Dwarf           libc.so.6
ELF	b751d000-b7539000	Deferred        libpthread.so.0
ELF	b7555000-b770a000	Dwarf           libwine.so.1
ELF	b770c000-b772d000	Deferred        ld-linux.so.2
ELF	b772d000-b772e000	Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) C:\Games\Darkest Hour\Darkest Hour.exe
	00000009    0 <==
0000000e services.exe
	0000001e    0
	0000001d    0
	00000018    0
	00000016    0
	00000014    0
	00000010    0
	0000000f    0
00000012 winedevice.exe
	0000001c    0
	00000019    0
	00000017    0
	00000013    0
0000001a plugplay.exe
	00000020    0
	0000001f    0
	0000001b    0
00000021 explorer.exe
	00000023    0
	00000022    0
I've also seen after a couple presses of the "ignore" button something like "db/misc.txt" not found.

Hope that helps.

And thanks in advance :)
Attachments
scrot_2015-08-04_17-31-30_screenshot.png
scrot_2015-08-04_17-31-30_screenshot.png (8.61 KiB) Viewed 3996 times
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Could not initialize video.

Post by dimesio »

Try upgrading Wine. The launcher error is to be expected, as bug 30988 is still open. Winetricks dotnet20 should work around that.
pinguin
Level 1
Level 1
Posts: 7
Joined: Sat Aug 01, 2015 6:11 am

Re: Could not initialize video.

Post by pinguin »

Okay, I've come a lot further!

the "couldn't find excel file" error was a path issue, that comes up, when I run the game from a different directory :roll:

the "couldn't initialize video" error is because my resolution is too low (1024x600 instead of the minimum 1024x768). If I connect an external monitor with a higher resolution, it works fine!


Problem is, my screen doesn't support the right solution.

I tried to move around this problem with:

Code: Select all

xrandr --output LVDS1 --mode 1024x600 --panning 1024x768 --scale 1.0x1.0
On the Xfce desktop it seems to work just fine.
But the game itself crashes with the video error again.

Is there anything special about resolutions and wine?

regards
Locked