You are not logged in.
Hello,
I've been trying to make BroodWar work through wine for some time with no luck. When I try to start the game the screen resolution switches to 640x480 but then it gives me the message:
The program StarCraft.exe has encountered a serious problem and needs to close. We are sorry for the inconvenience.If I run it through the console it gives me the following output:
[shwangshwing@SwizzleFirma StarCraft]$ wine StarCraft.exe
fixme:advapi:SetSecurityInfo stub
err:wgl:has_opengl Failed to load libGL: /usr/lib32/libGL.so.1: undefined symbol: xcb_glx_create_context_attribs_arb_checked
err:wgl:has_opengl OpenGL support is disabled.
err:d3d_caps:WineD3D_CreateFakeGLContext Can't find a suitable iPixelFormat.
err:d3d:InitAdapters Failed to get a gl context for default adapter
err:ddraw:ddraw_create_swapchain Failed to create swapchain, hr 0x8876086c.
err:ddraw:ddraw7_SetCooperativeLevel Failed to create swapchain, hr 0x8876086c.
fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 8
wine: Unhandled page fault on read access to 0x0000001c at address 0x7ddc74fb (thread 0009), starting debugger...
Unhandled exception: page fault on read access to 0x0000001c in 32-bit code (0x7ddc74fb).
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
EIP:7ddc74fb ESP:0033f5cc EBP:0033f604 EFLAGS:00010286( R- -- I S - -P- )
EAX:ffffffff EBX:7de25ff4 ECX:00000018 EDX:00000003
ESI:0033f73c EDI:00000000
Stack dump:
0x0033f5cc: 00000003 7de2987c 7de02d20 7de029cf
0x0033f5dc: 00000000 0033f73c 7ead9ad3 0000000a
0x0033f5ec: 00000005 7bcd15e8 7ddd010b 7dedeff4
0x0033f5fc: 0033f7dc 80070057 0033f7a4 7de87c38
0x0033f60c: 00000000 0033f73c 0033f778 00000464
0x0033f61c: 001314f8 0033f660 7eacc598 00000464
000c: sel=0067 base=00000000 limit=00000000 16-bit --x
Backtrace:
=>0 0x7ddc74fb wined3d_swapchain_get_desc+0x5b() in wined3d (0x0033f604)
1 0x7de87c38 in ddraw (+0x7c37) (0x0033f7a4)
2 0x7de88a01 in ddraw (+0x8a00) (0x0033f874)
3 0x0041daf9 in starcraft (+0x1daf8) (0x0033fd04)
4 0x004dac97 in starcraft (+0xdac96) (0x0033fd24)
5 0x004e0437 in starcraft (+0xe0436) (0x0033fd3c)
6 0x004e06e0 in starcraft (+0xe06df) (0x0033fd48)
7 0x00404da5 in starcraft (+0x4da4) (0x0033fe70)
8 0x7b85a5ec call_process_entry+0xb() in kernel32 (0x0033fe88)
9 0x7b85b85f in kernel32 (+0x4b85e) (0x0033fec8)
10 0x7bc758e0 call_thread_func_wrapper+0xb() in ntdll (0x0033fed8)
11 0x7bc77e4d call_thread_func+0x7c() in ntdll (0x0033ffa8)
12 0x7bc758be RtlRaiseException+0x21() in ntdll (0x0033ffc8)
13 0x7bc4c9be call_dll_entry_point+0x33d() in ntdll (0x0033ffe8)
14 0xf763c8bd wine_call_on_stack+0x1c() in libwine.so.1 (0x00000000)
15 0xf763c97b wine_switch_to_stack+0x2a() in libwine.so.1 (0xff90e8a8)
16 0x7bc52686 LdrInitializeThunk+0x3b5() in ntdll (0xff90e918)
17 0x7b86197a __wine_kernel_init+0xa19() in kernel32 (0xff90fab8)
18 0x7bc52ddb __wine_process_init+0x25a() in ntdll (0xff90fb38)
19 0xf7639dfc wine_init+0x28b() in libwine.so.1 (0xff90fb98)
20 0x7bf00d6b main+0x8a() in <wine-loader> (0xff90ffe8)
21 0xf748e483 __libc_start_main+0xf2() in libc.so.6 (0x00000000)
0x7ddc74fb wined3d_swapchain_get_desc+0x5b in wined3d: movl 0x1c(%edi),%eax
Modules:
Module Address Debug info Name (70 modules)
PE 400000- 6ec000 Export starcraft
PE 2000000- 2011000 Deferred local
PE 15000000-15069000 Deferred storm
ELF 7b800000-7ba37000 Dwarf kernel32<elf>
\-PE 7b810000-7ba37000 \ kernel32
ELF 7bc00000-7bcd2000 Dwarf ntdll<elf>
\-PE 7bc10000-7bcd2000 \ ntdll
ELF 7bf00000-7bf04000 Dwarf <wine-loader>
ELF 7dc4b000-7dc54000 Deferred librt.so.1
ELF 7dce6000-7de2b000 Dwarf wined3d<elf>
\-PE 7dcf0000-7de2b000 \ wined3d
ELF 7de6f000-7dee2000 Dwarf ddraw<elf>
\-PE 7de80000-7dee2000 \ ddraw
ELF 7dee2000-7df60000 Deferred rpcrt4<elf>
\-PE 7def0000-7df60000 \ rpcrt4
ELF 7df60000-7e087000 Deferred ole32<elf>
\-PE 7df80000-7e087000 \ ole32
ELF 7e0ec000-7e122000 Deferred uxtheme<elf>
\-PE 7e0f0000-7e122000 \ uxtheme
ELF 7e122000-7e12d000 Deferred libxcursor.so.1
ELF 7e16c000-7e196000 Deferred libexpat.so.1
ELF 7e196000-7e1cb000 Deferred libfontconfig.so.1
ELF 7e1cb000-7e1db000 Deferred libxi.so.6
ELF 7e1db000-7e1df000 Deferred libxcomposite.so.1
ELF 7e1df000-7e1e8000 Deferred libxrandr.so.2
ELF 7e1e8000-7e1f3000 Deferred libxrender.so.1
ELF 7e1f3000-7e1f9000 Deferred libxxf86vm.so.1
ELF 7e1f9000-7e200000 Deferred libxdmcp.so.6
ELF 7e200000-7e220000 Deferred libxcb.so.1
ELF 7e220000-7e226000 Deferred libuuid.so.1
ELF 7e226000-7e240000 Deferred libice.so.6
ELF 7e240000-7e377000 Deferred libx11.so.6
ELF 7e377000-7e38a000 Deferred libxext.so.6
ELF 7e38a000-7e426000 Deferred winex11<elf>
\-PE 7e390000-7e426000 \ winex11
ELF 7e426000-7e43d000 Deferred libz.so.1
ELF 7e43d000-7e4d9000 Deferred libfreetype.so.6
ELF 7e4de000-7e4e4000 Deferred libxfixes.so.3
ELF 7e508000-7e544000 Deferred winspool<elf>
\-PE 7e510000-7e544000 \ winspool
ELF 7e544000-7e628000 Deferred comdlg32<elf>
\-PE 7e550000-7e628000 \ comdlg32
ELF 7e628000-7e72c000 Deferred comctl32<elf>
\-PE 7e630000-7e72c000 \ comctl32
ELF 7e72c000-7e79f000 Deferred shlwapi<elf>
\-PE 7e740000-7e79f000 \ shlwapi
ELF 7e79f000-7e9c4000 Deferred shell32<elf>
\-PE 7e7b0000-7e9c4000 \ shell32
ELF 7e9c4000-7e9e8000 Deferred imm32<elf>
\-PE 7e9d0000-7e9e8000 \ imm32
ELF 7e9e8000-7ea52000 Deferred advapi32<elf>
\-PE 7e9f0000-7ea52000 \ advapi32
ELF 7ea52000-7eb1f000 Deferred gdi32<elf>
\-PE 7ea60000-7eb1f000 \ gdi32
ELF 7eb1f000-7ec71000 Deferred user32<elf>
\-PE 7eb30000-7ec71000 \ user32
ELF 7efa3000-7efd1000 Deferred libm.so.6
ELF 7efd2000-7efd6000 Deferred libxinerama.so.1
ELF 7efd6000-7efe6000 Deferred libbz2.so.1.0
ELF 7efe6000-7f000000 Deferred version<elf>
\-PE 7eff0000-7f000000 \ version
ELF f7432000-f743f000 Deferred libnss_files.so.2
ELF f7441000-f7446000 Deferred libdl.so.2
ELF f7447000-f7450000 Deferred libsm.so.6
ELF f7471000-f7475000 Deferred libxau.so.6
ELF f7475000-f7618000 Dwarf libc.so.6
ELF f7618000-f7633000 Deferred libpthread.so.0
ELF f7633000-f7777000 Dwarf libwine.so.1
ELF f7778000-f779a000 Deferred ld-linux.so.2
ELF f779a000-f779b000 Deferred [vdso].so
Threads:
process tid prio (all id:s are in hex)
00000008 (D) H:\wine\games\StarCraft\StarCraft.exe
00000023 1
00000009 0 <==
0000000e services.exe
0000001e 0
0000001d 0
00000018 0
00000017 0
00000015 0
00000010 0
0000000f 0
00000012 winedevice.exe
00000020 0
00000019 0
00000014 0
00000013 0
0000001a plugplay.exe
0000001f 0
0000001c 0
0000001b 0
00000024 explorer.exe
00000025 0I have 64bit arch. The video card is Radeon x1300 Pro.
What do you think the problem is?
Offline
I'm no expert with wine, but i'd suggest editing the wine registry. Just a long shot, but try setting the DirectDrawRenderer to gdi in the wine registry (default = opengl).
A quick way of doing that is pasting the following lines in an empty text file and saving it as .reg
[HKEY_CURRENT_USER\Software\Wine\Direct3D]
"DirectDrawRenderer"="gdi"Then import it into the registry using:
wine regedit <nameofthefile>.regAnd if you want to change that setting later (to opengl), either make another textfile and proceed as above, or just use type
wine regeditTo edit it manually.
Hope this will help you
Cheers!
Offline
Now it starts. But it's very slow. Mouse is jumpy. It isn't playable like that. Any ideas?
Offline
Hmm, i never tried to play SC in wine before, have you tried running it in windowed mode?
Offline
Try posting this on the wine forums. I think you will get more informed responses there.
Offline
You need to install libGL. The program tells you right here
err:wgl:has_opengl Failed to load libGL: /usr/lib32/libGL.so.1: undefined symbol: xcb_glx_create_context_attribs_arb_checked
err:wgl:has_opengl OpenGL support is disabled.what it needs. What video drivers are you using for ATI, open source or catalyst?
Offline
Hello,
I've made a system update. The game now runs without the registry modifications. However it is still very slow. It's faster on the menus without animations. However during the actual game it is slow as hell. If I disable the checkbox "Suspend desktop effects for fullscreen windows" in "desktop effects/advanced" (I'm using kde) it runs faster, but still not as fast as it should be (what's the connection between these things anyway?).
@waspy I've tried windowed mode and it makes no difference.
@KingX I had it installed. Maybe there was some version mismatch because as I already said the game runs after I updated the system. I'm using the open source drivers. Direct rendering is enabled and glxgears runs at maximum framerate.
I may try posting on the wine forums.
I remember playing years ago playing starcraft on the same machine through wine with no problems. I was using gentoo then. And KDE wasn't that buggy back then.
Offline
ShwangShwing,
You will probably get better gaming performance overall with the proprietary ATI Catalyst drivers available in the AUR. I use them on a HTPC with integrated ATI graphics and they work more than well enough to run XBMC.
Offline
Run winecfg and under the 'Graphics' tab enable 'Emulate a virtual desktop'. This usually helps with old games that use directdraw.
Offline
@windscape the catalyst drivers require downgrading xorg.
[shwangshwing@SwizzleFirma catalyst-total]$ makepkg -s
==> WARNING: x86_64 system detected
==> WARNING: [multilib] repository must be uncommented in /etc/pacman.conf to add lib32-catalyst-utils into the package
==> WARNING: OK, lib32-catalyst-utils will be added to the package
==> Making package: catalyst-total 12.3-1 (Sat Apr 14 00:49:42 EEST 2012)
==> Checking runtime dependencies...
==> Installing missing dependencies...
Password:
error: target not found: xorg-server<1.12.0
==> ERROR: 'pacman' failed to install missing dependencies.I'm not sure if downgrading packages is a good idea. I've had bad experiences with that.
@sakisds
I tried that with no luck.
Offline
Use the following links
http://appdb.winehq.org/objectManager.p … on&iId=149,http://thinkmoult.com/2010/08/26/tech-t … illa-wine/.
It's what I used in order to play SC without the lag.
If you're reading this; you're awesome.
Offline