LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices


Reply
  Search this Thread
Old 08-31-2005, 10:47 AM   #1
aladin
LQ Newbie
 
Registered: Aug 2005
Posts: 13

Rep: Reputation: 0
Error while playing starcraft with wine


Hello everyone
When I use the wine to play starcraft, system complains that:


[zyx@localhost Starcraft]$ wine starcraft.exe
Xlib: extension "GLX" missing on display ":0.0".
fixme:ddraw:Main_DirectDraw_SetCooperativeLevel (0x77e54568)->(00010022,00000013 )
fixme:xrandr:X11DRV_XRandR_SetCurrentMode Cannot change screen BPP from 32 to 8
fixme:xrandr:X11DRV_XRandR_SetCurrentMode Cannot change screen BPP from 32 to 8
fixme:x11drv:X11DRV_DDHAL_CreatePalette stub
wine: Unhandled exception (thread 0009), starting debugger...
WineDbg starting on pid 0x8
Unhandled exception: page fault on read access to 0x0cb1c389 in 32-bit code (0x0 04a327f).
In 32 bit mode.
Register dump:
CS:0073 SS:007b DS:007b ES:007b FS:003b GS:0033
EIP:004a327f ESP:2620fdd8 EBP:2620ff20 EFLAGS:00210202( - 00 - -RI1)
EAX:67637707 EBX:00000000 ECX:0cb1c381 EDX:67637707
ESI:20307d07 EDI:676376fc
Stack dump:
0x2620fdd8: 67637707 004a2b2f 00000004 00000000
0x2620fde8: 2620ff20 2038be20 00010022 004d8124
0x2620fdf8: 2038be20 00000004 00000000 004a3232
0x2620fe08: 00000478 00445e40 00000000 2038be20
0x2620fe18: 00467484 88780078 0000008a 004f6c28
0x2620fe28: 00467f68 662cfdc0 00000000 2620ff20
Backtrace:
=>1 0x004a327f in starcraft (+0xa327f) (0x2620ff20)
2 0x20307401 in kernel32 (+0x57401) (0x2620fff4)
3 0x20020add wine_switch_to_stack+0x11 in libwine.so.1 (0x00000000)
0x004a327f: call *0x8(%ecx)
fixme:winedbg:be_i386_is_func_call Unsupported yet call insn (0x10) at 0x4a327f
Modules:
Module Address Debug info Name (86 modules)
ELF 0x001a7000-001ad000 Deferred libxxf86dga.so.1
ELF 0x001b0000-001c3000 Deferred libz.so.1
ELF 0x001c5000-001d4000 Deferred libxext.so.6
ELF 0x001d6000-001df000 Deferred libsm.so.6
ELF 0x002b5000-002ba000 Deferred libxxf86vm.so.1
ELF 0x002c8000-0039c000 Deferred libx11.so.6
ELF 0x0039e000-003b8000 Deferred libice.so.6
ELF 0x003ba000-00422000 Deferred libfreetype.so.6
PE 0x00400000-006c1000 Export starcraft
PE 0x00400000-006c1000 Export starcraft
PE 0x00400000-006c1000 Export starcraft
PE 0x00400000-006c1000 Export starcraft
PE 0x00400000-006c1000 Export starcraft
ELF 0x007fe000-00808000 Deferred libgcc_s.so.1
ELF 0x00928000-009b0000 Deferred libgl.so.1
ELF 0x009e9000-00a05000 Deferred ld-linux.so.2
ELF 0x00a0b000-00b35000 Deferred libc.so.6
ELF 0x00b37000-00b5b000 Deferred libm.so.6
ELF 0x00b5d000-00b61000 Deferred libdl.so.2
ELF 0x00c3a000-00c3c000 Deferred libnvidia-tls.so.1
ELF 0x00c4e000-00c60000 Deferred libpthread.so.0
ELF 0x00c9a000-00cb9000 Deferred libexpat.so.0
PE 0x02000000-02011000 Deferred local
PE 0x02000000-02011000 Deferred local
PE 0x15000000-1504b000 Deferred storm
ELF 0x2001c000-20034000 Export libwine.so.1
ELF 0x20174000-20269000 Deferred libwine_unicode.so.1
ELF 0x2028d000-2039f000 Export kernel32<elf>
\-PE 0x202b0000-2039f000 \ kernel32
ELF 0x2039f000-20402000 Deferred msvcrt<elf>
\-PE 0x203b0000-20402000 \ msvcrt
ELF 0x20402000-20441000 Deferred advapi32<elf>
\-PE 0x20410000-20441000 \ advapi32
ELF 0x20441000-20507000 Deferred shell32<elf>
\-PE 0x20460000-20507000 \ shell32
ELF 0x20507000-20563000 Deferred shlwapi<elf>
\-PE 0x20520000-20563000 \ shlwapi
ELF 0x20563000-205ee000 Deferred ole32<elf>
\-PE 0x20580000-205ee000 \ ole32
ELF 0x205ee000-20616000 Deferred winspool.drv<elf>
\-PE 0x20600000-20616000 \ winspool.drv
ELF 0x20616000-2062c000 Deferred lz32<elf>
\-PE 0x20620000-2062c000 \ lz32
ELF 0x2073c000-2074e000 Deferred libgb.so
ELF 0x2074e000-20754000 Deferred xlibi18n.so.2
ELF 0x20754000-20772000 Deferred imm32<elf>
\-PE 0x20760000-20772000 \ imm32
ELF 0x211bd000-21200000 Deferred wineoss.drv<elf>
\-PE 0x211d0000-21200000 \ wineoss.drv
ELF 0x21200000-21219000 Deferred msacm.drv<elf>
\-PE 0x21210000-21219000 \ msacm.drv
ELF 0x21219000-2122e000 Deferred midimap.drv<elf>
\-PE 0x21220000-2122e000 \ midimap.drv
ELF 0x25c59000-25c78000 Deferred iphlpapi<elf>
\-PE 0x25c60000-25c78000 \ iphlpapi
ELF 0x2df2f000-2dfeb000 Deferred comctl32<elf>
\-PE 0x2df40000-2dfeb000 \ comctl32
ELF 0x3bd14000-3c707000 Deferred gdi32<elf>
\-PE 0x3bd30000-3c707000 \ gdi32
ELF 0x3c7f5000-3c885000 Deferred comdlg32<elf>
\-PE 0x3c810000-3c885000 \ comdlg32
ELF 0x3e14f000-3e16b000 Deferred crtdll<elf>
\-PE 0x3e160000-3e16b000 \ crtdll
ELF 0x44846000-448c0000 Deferred ddraw<elf>
\-PE 0x44860000-448c0000 \ ddraw
ELF 0x4d864000-4d883000 Deferred ximcp.so.2
ELF 0x5122d000-51238000 Deferred libnss_files.so.2
ELF 0x5212e000-52148000 Deferred version<elf>
\-PE 0x52140000-52148000 \ version
ELF 0x54162000-54167000 Deferred euc-cn.so
ELF 0x54420000-5454c000 Deferred user32<elf>
\-PE 0x54440000-5454c000 \ user32
ELF 0x59eac000-59ed0000 Deferred msacm32<elf>
\-PE 0x59eb0000-59ed0000 \ msacm32
ELF 0x5cc03000-5cc4c000 Deferred rpcrt4<elf>
\-PE 0x5cc20000-5cc4c000 \ rpcrt4
ELF 0x61620000-61622000 Deferred xlocale.so.2
ELF 0x66258000-662d1000 Deferred ntdll<elf>
\-PE 0x66270000-662d1000 \ ntdll
ELF 0x6760b000-67659000 Deferred dsound<elf>
\-PE 0x67620000-67659000 \ dsound
ELF 0x72502000-72582000 Deferred winmm<elf>
\-PE 0x72510000-72582000 \ winmm
ELF 0x777e3000-77866000 Deferred winex11.drv<elf>
\-PE 0x77800000-77866000 \ winex11.drv
ELF 0x77f00000-77f03000 Deferred <wine-loader>
Threads:
process tid prio (all id:s are in hex)
00000008 (D) C:\Starcraft\starcraft.exe
0000000b 0
0000000a 1
00000009 0 <==
WineDbg terminated on pid 0x8
wine client error:9: write: Bad file descriptor



I dont know what it means and how to fix it. Please help me, a linucraft fan,

Thx

Aladin
 
Old 08-31-2005, 12:01 PM   #2
JoeDuncan
Member
 
Registered: Aug 2003
Location: Ottawa
Distribution: Redhat 5.2, 6.0, 6.1, Mandrake 7.2, 8.0, 9.1, 9.2, 10.0, Gentoo, Debian 3.1r0
Posts: 224

Rep: Reputation: 30
This is the line that concerns me:

Xlib: extension "GLX" missing on display ":0.0".

It doesn't look like you have hardware acceleration enabled. Check your /etx/X11/xorg.conf or /etc/X11/XF86config file to make sure the following lines are not commented out:

Load GLX
Load dri

Make sure you have read all the documentation for your distro on how to enable hardware acceleration for your graphics card.

You should also let us know the following, in order that we can better help you:

-what distribution you are using
-what version of X Windows you have
-what kind of 3D card your system has

You should also try running "glxinfo" and "glxgears" and posting the results.

If you have hardware acceleration on, you should get a line from "glxinfo" that says "direct rendering: Yes", and you should get a decent framerate from "glxgears"...

If you do not have hardware acceleration enabled you will have to follow whatever procedure is appropriate for your distro/graphics card/X Windows version in order to get it setup properly.

Hope this helps!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
starcraft with wine zexter Linux - Software 15 03-08-2007 07:05 PM
Error run Starcraft in wine aladin Linux - Games 1 08-20-2005 06:34 AM
Starcraft and wine bird603568 Slackware 2 08-16-2005 08:03 AM
Starcraft and Wine Belegdol Linux - Games 6 11-10-2003 07:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 06:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration