[Wine] err:wgl:internal_SetPixelFormat Invalid iPixelFormat:
MaxistXXL
wineforum-user at winehq.org
Sun Jun 13 09:49:59 CDT 2010
Hi,
I tried to run "Anno 1503 Kings Edition", but I'm quite sure which program doesn't matter. Starting the game, nothing happens besides a change of my display resolution, the game prints an error, and exits as soon as I press ALT+F4.
The complete error message given by wine follows at the end, for it is quite long. What I think is the essential part is the topic's headline.
I run Ubuntu 10.04, with the most recent updates.
Code:
$ glxinfo | grep render
direct rendering: Yes
OpenGL renderer string: Mesa DRI R300 (R420 554D) 20090101 TCL DRI2
Code:
$ uname -r
2.6.32-22-generic
Code:
$ wine 1503Startup.exe
Allocating 16 x 16 radeon RBO (pitch 16)
Allocating 16 x 16 radeon RBO (pitch 16)
Allocating 16 x 16 radeon RBO (pitch 16)
Allocating 16 x 16 radeon RBO (pitch 16)
Allocating 16 x 16 radeon RBO (pitch 16)
Allocating 16 x 16 radeon RBO (pitch 16)
Allocating 16 x 16 radeon RBO (pitch 16)
Allocating 16 x 16 radeon RBO (pitch 16)
Allocating 16 x 16 radeon RBO (pitch 16)
Allocating 16 x 16 radeon RBO (pitch 16)
Allocating 16 x 16 radeon RBO (pitch 16)
Allocating 16 x 16 radeon RBO (pitch 16)
Allocating 16 x 16 radeon RBO (pitch 16)
Allocating 16 x 16 radeon RBO (pitch 16)
Allocating 16 x 16 radeon RBO (pitch 16)
Allocating 16 x 16 radeon RBO (pitch 16)
Allocating 16 x 16 radeon RBO (pitch 16)
Allocating 16 x 16 radeon RBO (pitch 16)
Allocating 16 x 16 radeon RBO (pitch 16)
Allocating 16 x 16 radeon RBO (pitch 16)
fixme:win:EnumDisplayDevicesW ((null),0,0x32f018,0x00000000), stub!
fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 16
fixme:d3d:swapchain_init Add OpenGL context recreation support to context_validate_onscreen_formats
err:wgl:internal_SetPixelFormat Invalid iPixelFormat: 102
err:d3d:context_set_pixel_format Failed to set pixel format 102 on device context 0x470, last error 0.
err:d3d:context_create Failed to set pixel format 102 on device context 0x470.
fixme:ddraw:device_parent_CreateSwapChain (0x12c994) CreateSwapChain failed, returning 0x8876086a
err:ddraw:IDirectDrawImpl_CreateSurface IDirectDrawImpl_AttachD3DDevice failed, hr = 8876086a
wine: Unhandled page fault on read access to 0x00000000 at address 0x7e371669 (thread 0009), starting debugger...
Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x7e371669).
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
EIP:7e371669 ESP:0032f480 EBP:0032f4d8 EFLAGS:00210246( R- -- I Z- -P- )
EAX:00000000 EBX:7e464ff4 ECX:00134fc8 EDX:00000000
ESI:00000000 EDI:00000009
Stack dump:
0x0032f480: 00110000 7bc99ff4 0032f4e8 7bc47f73
0x0032f490: 00110060 001319c8 0032f4e8 7bc99ff4
0x0032f4a0: 00000000 7bcb4b00 00000000 7bc36161
0x0032f4b0: 7bcb4f08 00000400 00000001 00000000
0x0032f4c0: 0032f528 f75bd293 7e3710db 7e464ff4
0x0032f4d0: 00134fc8 001306f8 0032f528 7e40bb5d
Backtrace:
=>0 0x7e371669 in wined3d (+0x31669) (0x0032f4d8)
1 0x7e40bb5d in wined3d (+0xcbb5c) (0x0032f528)
2 0x7e40be08 in wined3d (+0xcbe07) (0x0032f568)
3 0x7eab0b65 in ddraw (+0x30b64) (0x0032f5a8)
4 0x7ea9218e in ddraw (+0x1218d) (0x0032f748)
5 0x1000cbec in annodisplay (+0xcbeb) (0x0059eb78)
6 0x00000000 (0x0012c970)
7 0x7eacde00 in ddraw (+0x4ddff) (0x7eacdc00)
8 0x7ea8d040 in ddraw (+0xd03f) (0x7ea925a0)
0x7e371669: movl 0x0(%eax),%edx
Modules:
Module Address Debug info Name (79 modules)
PE 330000- 3db000 Deferred annoframe
PE 400000- 418000 Deferred 1503startup
PE 420000- 468000 Deferred annoscene
PE 470000- 561000 Deferred annowelt
PE 570000- 59e000 Deferred annogame
PE 10000000-10056000 Export annodisplay
PE 30000000-3006d000 Deferred binkw32
ELF 7b800000-7b93a000 Deferred kernel32<elf>
\-PE 7b810000-7b93a000 \ kernel32
ELF 7bc00000-7bcb6000 Deferred ntdll<elf>
\-PE 7bc10000-7bcb6000 \ ntdll
ELF 7bf00000-7bf04000 Deferred <wine-loader>
ELF 7e018000-7e01d000 Deferred libdrm_radeon.so.1
ELF 7e01d000-7e29b000 Deferred r300_dri.so
ELF 7e29b000-7e2a4000 Deferred librt.so.1
ELF 7e2a4000-7e2af000 Deferred libdrm.so.2
ELF 7e2af000-7e2b3000 Deferred libxdamage.so.1
ELF 7e2b3000-7e318000 Deferred libgl.so.1
ELF 7e331000-7e467000 Export wined3d<elf>
\-PE 7e340000-7e467000 \ wined3d
ELF 7e47d000-7e4b0000 Deferred uxtheme<elf>
\-PE 7e480000-7e4b0000 \ uxtheme
ELF 7e4b0000-7e4ba000 Deferred libxcursor.so.1
ELF 7e4ba000-7e4c0000 Deferred libxfixes.so.3
ELF 7e4c0000-7e4c4000 Deferred libxcomposite.so.1
ELF 7e4c4000-7e4cc000 Deferred libxrandr.so.2
ELF 7e4cc000-7e4d6000 Deferred libxrender.so.1
ELF 7e4d6000-7e4dc000 Deferred libxxf86vm.so.1
ELF 7e4dc000-7e4e0000 Deferred libxinerama.so.1
ELF 7e4e0000-7e4e6000 Deferred libxdmcp.so.6
ELF 7e4e6000-7e4ea000 Deferred libxau.so.6
ELF 7e4ea000-7e504000 Deferred libxcb.so.1
ELF 7e504000-7e621000 Deferred libx11.so.6
ELF 7e621000-7e631000 Deferred libxext.so.6
ELF 7e631000-7e64a000 Deferred libice.so.6
ELF 7e64a000-7e653000 Deferred libsm.so.6
ELF 7e66c000-7e70b000 Deferred winex11<elf>
\-PE 7e680000-7e70b000 \ winex11
ELF 7e753000-7e77a000 Deferred libexpat.so.1
ELF 7e77a000-7e7aa000 Deferred libfontconfig.so.1
ELF 7e7aa000-7e7bf000 Deferred libz.so.1
ELF 7e7bf000-7e835000 Deferred libfreetype.so.6
ELF 7e835000-7e83a000 Deferred libuuid.so.1
ELF 7e84e000-7e86f000 Deferred imm32<elf>
\-PE 7e850000-7e86f000 \ imm32
ELF 7e86f000-7e89b000 Deferred ws2_32<elf>
\-PE 7e880000-7e89b000 \ ws2_32
ELF 7e89b000-7e969000 Deferred comctl32<elf>
\-PE 7e8a0000-7e969000 \ comctl32
ELF 7e969000-7e98e000 Deferred msvfw32<elf>
\-PE 7e970000-7e98e000 \ msvfw32
ELF 7e98e000-7ea15000 Deferred winmm<elf>
\-PE 7e9a0000-7ea15000 \ winmm
ELF 7ea15000-7ea3b000 Deferred msacm32<elf>
\-PE 7ea20000-7ea3b000 \ msacm32
ELF 7ea3b000-7ea78000 Deferred avifil32<elf>
\-PE 7ea40000-7ea78000 \ avifil32
ELF 7ea78000-7ead0000 Export ddraw<elf>
\-PE 7ea80000-7ead0000 \ ddraw
ELF 7ead0000-7ebcc000 Deferred ole32<elf>
\-PE 7eaf0000-7ebcc000 \ ole32
ELF 7ebcc000-7ec56000 Deferred gdi32<elf>
\-PE 7ebe0000-7ec56000 \ gdi32
ELF 7ec56000-7ed65000 Deferred user32<elf>
\-PE 7ec70000-7ed65000 \ user32
ELF 7ed65000-7edd6000 Deferred rpcrt4<elf>
\-PE 7ed70000-7edd6000 \ rpcrt4
ELF 7edd6000-7ee2f000 Deferred advapi32<elf>
\-PE 7ede0000-7ee2f000 \ advapi32
ELF 7ef8c000-7ef98000 Deferred libnss_files.so.2
ELF 7ef98000-7efa2000 Deferred libnss_nis.so.2
ELF 7efa2000-7efb9000 Deferred libnsl.so.1
ELF 7efb9000-7efc1000 Deferred libnss_compat.so.2
ELF 7efc1000-7efe7000 Deferred libm.so.6
ELF f7451000-f7455000 Deferred libdl.so.2
ELF f7455000-f75af000 Deferred libc.so.6
ELF f75b0000-f75c9000 Deferred libpthread.so.0
ELF f75e2000-f771d000 Deferred libwine.so.1
ELF f771f000-f773d000 Deferred ld-linux.so.2
Threads:
process tid prio (all id:s are in hex)
00000008 (D) C:\Programme\ANNO 1503 GOLD\1503Startup.exe
00000009 0 <==
0000000e services.exe
00000016 0
00000015 0
00000014 0
00000010 0
0000000f 0
00000011 winedevice.exe
00000018 0
00000017 0
00000013 0
00000012 0
00000019 explorer.exe
0000001a 0
Backtrace:
=>0 0x7e371669 in wined3d (+0x31669) (0x0032f4d8)
1 0x7e40bb5d in wined3d (+0xcbb5c) (0x0032f528)
2 0x7e40be08 in wined3d (+0xcbe07) (0x0032f568)
3 0x7eab0b65 in ddraw (+0x30b64) (0x0032f5a8)
4 0x7ea9218e in ddraw (+0x1218d) (0x0032f748)
5 0x1000cbec in annodisplay (+0xcbeb) (0x0059eb78)
6 0x00000000 (0x0012c970)
7 0x7eacde00 in ddraw (+0x4ddff) (0x7eacdc00)
8 0x7ea8d040 in ddraw (+0xd03f) (0x7ea925a0)
err:d3d:wined3d_unregister_window Window 0x10068 is not registered with wined3d.
fixme:d3d:IWineD3DDeviceImpl_Release (0x134fc8) Device released with resources still bound, acceptable but unexpected
fixme:d3d:dumpResources Leftover resource 0x1306f8 with type 1,WINED3DRTYPE_SURFACE
More information about the wine-users
mailing list