Garbage screen in some games

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
grifen
Newbie
Newbie
Posts: 4
Joined: Sun Apr 27, 2008 6:59 am

Garbage screen in some games

Post by grifen »

Hi!

I get some strange behaviour from wine in some games, altrough test of other people give these games should work.
I can post some logs and screenshort.

Deus Ex 2:
Is all a mess! Intro Video are garbage, and in-game graphics have a strange behaviour:
Intro video
http://img84.imageshack.us/img84/6756/deusex2jx4.png

main menu:
http://img230.imageshack.us/img230/3275 ... enuub9.png

In game:
http://img297.imageshack.us/img297/7781 ... amegb7.png

Moving around
http://img120.imageshack.us/img120/7503 ... undmf4.png

Also I can start this game only by gnome menu, it don't start if I run from shell.
The game is cracked for avoid cd-detection (the game don't start without crack).
Log of Wine:

Code: Select all

preloader: Warning: failed to reserve range 00000000-00010000
preloader: Warning: failed to reserve range 00000000-00010000
preloader: Warning: failed to reserve range 00000000-00010000
preloader: Warning: failed to reserve range 00000000-00010000
wine: Unhandled page fault on write access to 0x1b1a1918 at address 0x401082 (thread 0009), starting debugger...
preloader: Warning: failed to reserve range 00000000-00010000
Unhandled exception: page fault on write access to 0x1b1a1918 in 32-bit code (0x00401082).
Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
 EIP:00401082 ESP:0032fc98 EBP:0032ff08 EFLAGS:00210246(   - 00      -RIZP1)
 EAX:00000000 EBX:7b8b2888 ECX:3258445c EDX:0032fce4
 ESI:1b1a1918 EDI:7b866340
Stack dump:
0x0032fc98:  00000000 1b1a1918 0000003c 00000400
0x0032fca8:  00000000 00000000 00000000 00000000
0x0032fcb8:  00000000 00000000 00000000 00000000
0x0032fcc8:  00000000 00000000 00000000 00000000
0x0032fcd8:  00000000 2e327864 00657865 00000210
0x0032fce8:  7bc40e85 00520ce8 0032fd40 7bc42fcf
Backtrace:
=>1 0x00401082 in dx2 (+0x1082) (0x0032ff08)
  2 0x7b875cc7 in kernel32 (+0x55cc7) (0x0032ffe8)
0x00401082: movl	%ecx,0x0(%esi)
Modules:
Module	Address			Debug info	Name (60 modules)
PE	  400000-  40a000	Export          dx2
ELF	7b800000-7b92c000	Export          kernel32<elf>
  \-PE	7b820000-7b92c000	\               kernel32
ELF	7bc00000-7bca4000	Deferred        ntdll<elf>
  \-PE	7bc10000-7bca4000	\               ntdll
ELF	7bf00000-7bf03000	Deferred        <wine-loader>
ELF	7e56d000-7e580000	Deferred        libresolv.so.2
ELF	7e58c000-7e5aa000	Deferred        iphlpapi<elf>
  \-PE	7e590000-7e5aa000	\               iphlpapi
ELF	7e5aa000-7e60b000	Deferred        rpcrt4<elf>
  \-PE	7e5c0000-7e60b000	\               rpcrt4
ELF	7e60b000-7e6af000	Deferred        ole32<elf>
  \-PE	7e620000-7e6af000	\               ole32
ELF	7e6af000-7e6e1000	Deferred        uxtheme<elf>
  \-PE	7e6c0000-7e6e1000	\               uxtheme
ELF	7e706000-7e70f000	Deferred        libxcursor.so.1
ELF	7e70f000-7e714000	Deferred        libxfixes.so.3
ELF	7e714000-7e717000	Deferred        libxcomposite.so.1
ELF	7e717000-7e71d000	Deferred        libxrandr.so.2
ELF	7e71d000-7e725000	Deferred        libxrender.so.1
ELF	7e725000-7e728000	Deferred        libxinerama.so.1
ELF	7e728000-7e746000	Deferred        imm32<elf>
  \-PE	7e730000-7e746000	\               imm32
ELF	7e746000-7e74b000	Deferred        libxdmcp.so.6
ELF	7e74b000-7e763000	Deferred        libxcb.so.1
ELF	7e763000-7e84a000	Deferred        libx11.so.6
ELF	7e84a000-7e858000	Deferred        libxext.so.6
ELF	7e858000-7e85d000	Deferred        libxxf86vm.so.1
ELF	7e85d000-7e875000	Deferred        libice.so.6
ELF	7e875000-7e87d000	Deferred        libsm.so.6
ELF	7e889000-7e91f000	Deferred        winex11<elf>
  \-PE	7e8a0000-7e91f000	\               winex11
ELF	7e943000-7e964000	Deferred        libexpat.so.1
ELF	7e964000-7e98e000	Deferred        libfontconfig.so.1
ELF	7e98f000-7e992000	Deferred        libxau.so.6
ELF	7e99a000-7e9af000	Deferred        libz.so.1
ELF	7e9af000-7ea1f000	Deferred        libfreetype.so.6
ELF	7ea1f000-7ea21000	Deferred        libxcb-xlib.so.0
ELF	7ea2b000-7eaea000	Deferred        comctl32<elf>
  \-PE	7ea30000-7eaea000	\               comctl32
ELF	7eaea000-7eb43000	Deferred        shlwapi<elf>
  \-PE	7eb00000-7eb43000	\               shlwapi
ELF	7eb43000-7ec4f000	Deferred        shell32<elf>
  \-PE	7eb50000-7ec4f000	\               shell32
ELF	7ec4f000-7eca1000	Deferred        advapi32<elf>
  \-PE	7ec60000-7eca1000	\               advapi32
ELF	7eca1000-7ed3c000	Deferred        gdi32<elf>
  \-PE	7ecb0000-7ed3c000	\               gdi32
ELF	7ed3c000-7ee82000	Deferred        user32<elf>
  \-PE	7ed60000-7ee82000	\               user32
ELF	7efa2000-7efad000	Deferred        libnss_files.so.2
ELF	7efad000-7efb7000	Deferred        libnss_nis.so.2
ELF	7efb7000-7efcf000	Deferred        libnsl.so.1
ELF	7efcf000-7eff4000	Deferred        libm.so.6
ELF	7eff7000-7f000000	Deferred        libnss_compat.so.2
ELF	b7d05000-b7d09000	Deferred        libdl.so.2
ELF	b7d09000-b7e58000	Deferred        libc.so.6
ELF	b7e59000-b7e71000	Deferred        libpthread.so.0
ELF	b7e7d000-b7fb3000	Deferred        libwine.so.1
ELF	b7fb5000-b7fd1000	Deferred        ld-linux.so.2
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) C:\Programmi\Deus Ex - Invisible War\System\dx2.exe
	00000009    0 <==
0000000c 
	00000014    0
	00000013    0
	0000000e    0
	0000000d    0
0000000f 
	00000012    0
	00000011    0
	00000010    0
Backtrace:
=>1 0x00401082 in dx2 (+0x1082) (0x0032ff08)
  2 0x7b875cc7 in kernel32 (+0x55cc7) (0x0032ffe8)
John Drescher

Garbage screen in some games

Post by John Drescher »

Code:
preloader: Warning: failed to reserve range 00000000-00010000
preloader: Warning: failed to reserve range 00000000-00010000
preloader: Warning: failed to reserve range 00000000-00010000
preloader: Warning: failed to reserve range 00000000-00010000
See here for that:
http://wiki.winehq.org/PreloaderPageZeroProblem

John
grifen
Newbie
Newbie
Posts: 4
Joined: Sun Apr 27, 2008 6:59 am

Post by grifen »

Thanks!

Whit command give in that page the various preloader warning are disappeared, howerer I still keep my problems whit some games. :/
Deus Ex 2 still don't work right.

I Try Thief 2, patched to 1.18, and it don't start, but give me this log:

Code: Select all

fixme:ntoskrnl:KeInitializeTimerEx 0x111768 0
wine: Unhandled illegal instruction at address 0x409870 (thread 0009), starting debugger...
Unhandled exception: illegal instruction in 32-bit code (0x00409870).
Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
 EIP:00409870 ESP:0032fd94 EBP:0032fe7c EFLAGS:00010216(   - 00      -RIAP1)
 EAX:0032fd9c EBX:95117d86 ECX:00000067 EDX:00400000
 ESI:7b87e820 EDI:00400000
Stack dump:
0x0032fd94:  00000001 0040e5bd 00000000 00400000
0x0032fda4:  00000067 00416860 00110a32 7b8b2888
0x0032fdb4:  00560000 7bc88444 00560598 00000800
0x0032fdc4:  0032fde4 7bc4262e 00000000 00000094
0x0032fdd4:  00000005 00000001 00000a28 00000002
0x0032fde4:  76726553 20656369 6b636150 00003220
Backtrace:

=>1 0x00409870 in thief2 (+0x9870) (0x0032fe7c)
  2 0x004169b2 in thief2 (+0x169b2) (0x0032ff08)
  3 0x7b875cc7 in kernel32 (+0x55cc7) (0x0032ffe8)
  4 0xb7e839f7 wine_switch_to_stack+0x17() in libwine.so.1 (0x00000000)
0x00409870: ldsl	%ebp,%ecx
Modules:
Module	Address			Debug info	Name (55 modules)
PE	  400000-  444000	Export          thief2
PE	10000000-1000c000	Deferred        drvmgt
ELF	7b800000-7b92c000	Export          kernel32<elf>
  \-PE	7b820000-7b92c000	\               kernel32
ELF	7bc00000-7bca4000	Deferred        ntdll<elf>
  \-PE	7bc10000-7bca4000	\               ntdll
ELF	7bf00000-7bf03000	Deferred        <wine-loader>
ELF	7e7f5000-7e808000	Deferred        libresolv.so.2
ELF	7e808000-7e826000	Deferred        iphlpapi<elf>
  \-PE	7e810000-7e826000	\               iphlpapi
ELF	7e85c000-7e8bd000	Deferred        rpcrt4<elf>
  \-PE	7e870000-7e8bd000	\               rpcrt4
ELF	7e8fb000-7e904000	Deferred        libxcursor.so.1
ELF	7e904000-7e909000	Deferred        libxfixes.so.3
ELF	7e909000-7e90c000	Deferred        libxcomposite.so.1
ELF	7e90c000-7e912000	Deferred        libxrandr.so.2
ELF	7e912000-7e91a000	Deferred        libxrender.so.1
ELF	7e91a000-7e91d000	Deferred        libxinerama.so.1
ELF	7e91d000-7e93b000	Deferred        imm32<elf>
  \-PE	7e920000-7e93b000	\               imm32
ELF	7e93b000-7e940000	Deferred        libxdmcp.so.6
ELF	7e940000-7e958000	Deferred        libxcb.so.1
ELF	7e958000-7e95a000	Deferred        libxcb-xlib.so.0
ELF	7e95a000-7ea41000	Deferred        libx11.so.6
ELF	7ea41000-7ea4f000	Deferred        libxext.so.6
ELF	7ea4f000-7ea54000	Deferred        libxxf86vm.so.1
ELF	7ea54000-7ea6c000	Deferred        libice.so.6
ELF	7ea6c000-7ea74000	Deferred        libsm.so.6
ELF	7ea80000-7eb16000	Deferred        winex11<elf>
  \-PE	7ea90000-7eb16000	\               winex11
ELF	7eb3a000-7eb5b000	Deferred        libexpat.so.1
ELF	7eb5b000-7eb85000	Deferred        libfontconfig.so.1
ELF	7eb91000-7eba6000	Deferred        libz.so.1
ELF	7eba6000-7ec16000	Deferred        libfreetype.so.6
ELF	7ec17000-7ec1a000	Deferred        libxau.so.6
ELF	7ec22000-7ec36000	Deferred        lz32<elf>
  \-PE	7ec30000-7ec36000	\               lz32
ELF	7ec36000-7ec4f000	Deferred        version<elf>
  \-PE	7ec40000-7ec4f000	\               version
ELF	7ec4f000-7eca1000	Deferred        advapi32<elf>
  \-PE	7ec60000-7eca1000	\               advapi32
ELF	7eca1000-7ed3c000	Deferred        gdi32<elf>
  \-PE	7ecb0000-7ed3c000	\               gdi32
ELF	7ed3c000-7ee82000	Deferred        user32<elf>
  \-PE	7ed60000-7ee82000	\               user32
ELF	7efa2000-7efad000	Deferred        libnss_files.so.2
ELF	7efad000-7efb7000	Deferred        libnss_nis.so.2
ELF	7efb7000-7efcf000	Deferred        libnsl.so.1
ELF	7efcf000-7eff4000	Deferred        libm.so.6
ELF	7eff7000-7f000000	Deferred        libnss_compat.so.2
ELF	b7d04000-b7d08000	Deferred        libdl.so.2
ELF	b7d08000-b7e57000	Deferred        libc.so.6
ELF	b7e58000-b7e70000	Deferred        libpthread.so.0
ELF	b7e7c000-b7fb2000	Export          libwine.so.1
ELF	b7fb4000-b7fd0000	Deferred        ld-linux.so.2
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) C:\Games\Thief2\thief2.exe
	00000009    0 <==
0000000c 
	00000029    0
	00000028    0
	0000001f    0
	0000001a    0
	00000019    0
	00000014    0
	00000013    0
	0000000e    0
	0000000d    0
0000000f 
	00000012    0
	00000011    0
	00000010    0
00000015 
	00000018    0
	00000017    0
	00000016    0
0000001b 
	0000001e    0
	0000001d    0
	0000001c    0
00000020 
	00000022    0
	00000021    0
00000024 
	00000027    0
	00000026    0
	00000025    0
Backtrace:
=>1 0x00409870 in thief2 (+0x9870) (0x0032fe7c)
  2 0x004169b2 in thief2 (+0x169b2) (0x0032ff08)
  3 0x7b875cc7 in kernel32 (+0x55cc7) (0x0032ffe8)
  4 0xb7e839f7 wine_switch_to_stack+0x17() in libwine.so.1 (0x00000000)
Is a problem of my videocard's driver or Wine?
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

grifen wrote:Thanks!

Whit command give in that page the various preloader warning are disappeared, howerer I still keep my problems whit some games. :/
Deus Ex 2 still don't work right.

I Try Thief 2, patched to 1.18, and it don't start, but give me this log:
What Wine version? How did you installed those games?
Rico
Moderator
Moderator
Posts: 91
Joined: Sat Feb 23, 2008 12:10 pm

Post by Rico »

Is it the same as in this thread http://forum.winehq.org/viewtopic.php?t ... highlight= ?

Did the games run with an earlier wine version?
grifen
Newbie
Newbie
Posts: 4
Joined: Sun Apr 27, 2008 6:59 am

Post by grifen »

vitamin wrote: What Wine version? How did you installed those games?
Wine 0.9.60, and I have install from CD-Rom. Unpatched version run, but in-game graphics are only a screen full of dots.

I forget to say also that my videocard is an ATI HD 3870, and my distribution is Ubuntu 8.04. I use the close-source driver avaiable in the distribution.
Rico wrote: Is it the same as in this thread http://forum.winehq.org/viewtopic.php?t ... highlight= ?

Did the games run with an earlier wine version?
From database pages, these games should run pretty ok, like some user have written. I haven't test with old version of wine becouse i use it from few time, so my test are about only from 0.9.59-0.9.60 version.
grifen
Newbie
Newbie
Posts: 4
Joined: Sun Apr 27, 2008 6:59 am

Post by grifen »

Hi! I just upgraded to 0.9.61 version, and problems I have described are resolved in this release. Now I can see intro video in Deus Ex 2, and font and graphic work better.
In Deus Ex 2 screen still blink black if I move around, but now font and texture are showned. Charater texture howerer still show some graphic artifacts, but is very much better than previous version.

Now I must try with other games, but seem some problems are ok now. Probably was a problem of regression, like suggested.
Locked