LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-18-2006, 02:26 PM   #1
Helskov
Member
 
Registered: Jan 2005
Location: Denmark
Distribution: PclinuxOS 2007
Posts: 47

Rep: Reputation: 15
Opengl problem in wine.


Hello

I got succesfully wine compiled with to patches applied.

Got wine installed.
Mozilla package is installed.
Mozilla activeX is installed
mfc42.dll is installed
msvcp60.dll is installed.
And Wow is installed.

Now i try to start wow i get the following message:

soren@ubuntu:/media/sdb6/World of Warcraft$ wine WOW.exe
err:module:import_dll Library OPENGL32.dll (which is needed by L"Z:\\media\\sdb6 \\World of Warcraft\\WOW.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"Z:\\media\\sdb6\\Wor ld of Warcraft\\WOW.exe" failed, status c0000135

My glxinfo looks like this and Hardware rendering seems to work.

name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_EXT_import_context, GLX_OML_swap_method, GLX_SGI_make_current_read,
GLX_SGIS_multisample, GLX_SGIX_fbconfig
client glx vendor string: ATI
client glx version string: 1.3
client glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_ATI_pixel_format_float,
GLX_ATI_render_texture
GLX version: 1.2
GLX extensions:
GLX_EXT_visual_info,
GLX_EXT_visual_rating, GLX_EXT_import_context,
GLX_ARB_multisample
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9800 Pro Generic
OpenGL version string: 1.3.5272 (X4.3.0-8.16.20)
OpenGL extensions:
GL_ARB_multitexture, GL_EXT_texture_env_add, GL_EXT_compiled_vertex_array,
GL_S3_s3tc, GL_ARB_depth_texture, GL_ARB_fragment_program,
GL_ARB_fragment_program_shadow, GL_ARB_fragment_shader,
GL_ARB_multisample, GL_ARB_occlusion_query, GL_ARB_point_parameters,
GL_ARB_point_sprite, GL_ARB_shader_objects, GL_ARB_shading_language_100,
GL_ARB_shadow, GL_ARB_shadow_ambient, GL_ARB_texture_border_clamp,
GL_ARB_texture_compression, GL_ARB_texture_cube_map,
GL_ARB_texture_env_add, GL_ARB_texture_env_combine,
GL_ARB_texture_env_crossbar, GL_ARB_texture_env_dot3,
GL_ARB_texture_mirrored_repeat, GL_ARB_transpose_matrix,
GL_ARB_vertex_blend, GL_ARB_vertex_buffer_object, GL_ARB_vertex_program,
GL_ARB_vertex_shader, GL_ARB_window_pos, GL_ATI_draw_buffers,
GL_ATI_element_array, GL_ATI_envmap_bumpmap, GL_ATI_fragment_shader,
GL_ATI_map_object_buffer, GL_ATI_separate_stencil,
GL_ATI_texture_env_combine3, GL_ATI_texture_float,
GL_ATI_texture_mirror_once, GL_ATI_vertex_array_object,
GL_ATI_vertex_attrib_array_object, GL_ATI_vertex_streams,
GL_ATIX_texture_env_combine3, GL_ATIX_texture_env_route,
GL_ATIX_vertex_shader_output_point_size, GL_EXT_abgr, GL_EXT_bgra,
GL_EXT_blend_color, GL_EXT_blend_func_separate, GL_EXT_blend_minmax,
GL_EXT_blend_subtract, GL_EXT_clip_volume_hint,
GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_framebuffer_object,
GL_EXT_multi_draw_arrays, GL_EXT_packed_pixels, GL_EXT_point_parameters,
GL_EXT_rescale_normal, GL_EXT_secondary_color,
GL_EXT_separate_specular_color, GL_EXT_shadow_funcs, GL_EXT_stencil_wrap,
GL_EXT_texgen_reflection, GL_EXT_texture3D,
GL_EXT_texture_compression_s3tc, GL_EXT_texture_cube_map,
GL_EXT_texture_edge_clamp, GL_EXT_texture_env_combine,
GL_EXT_texture_env_dot3, GL_EXT_texture_filter_anisotropic,
GL_EXT_texture_lod_bias, GL_EXT_texture_mirror_clamp,
GL_EXT_texture_object, GL_EXT_texture_rectangle, GL_EXT_vertex_array,
GL_EXT_vertex_shader, GL_HP_occlusion_test, GL_NV_blend_square,
GL_NV_occlusion_query, GL_NV_texgen_reflection, GL_SGI_color_matrix,
GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp,
GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_SUN_multi_draw_arrays
glu version: 1.3
glu extensions:
GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess


Any have a clue whats wrong?

Im using kubuntu 5.10 and the newest ATI driver

Best regards

Last edited by Helskov; 01-18-2006 at 02:29 PM.
 
Old 01-18-2006, 03:23 PM   #2
Helskov
Member
 
Registered: Jan 2005
Location: Denmark
Distribution: PclinuxOS 2007
Posts: 47

Original Poster
Rep: Reputation: 15
Ok tried manually to install a opengl32.dll ind the System32 directory. Then i asked for at Glu32.dll
I installed then the glu32.dll

then it seems like wow i about to start at then i got this:

soren@ubuntu:/media/sdb6/World of Warcraft$ wine WOW.exe
wine: Call from 0x5ed09ec5 to unimplemented function KERNEL32.dll.IsWow64Process, aborting
wine: Unimplemented function KERNEL32.dll.IsWow64Process called at address 0x5ed09ec5 (thread 0009), starting debugger...
WineDbg starting on pid 0x8
Unhandled exception: unimplemented function KERNEL32.dll.IsWow64Process called in 32-bit code (0x7bec0116).
In 32 bit mode.
Register dump:
CS:0073 SS:007b DS:007b ES:007b FS:1007 GS:0033
EIP:7bec0116 ESP:7faafbc4 EBP:7faafc1c EFLAGS:00200212( - 00 - -IA1)
EAX:5eda22da EBX:7bef41b0 ECX:7fd60020 EDX:7fdb9100
ESI:7faafbc4 EDI:00000001
Stack dump:
0x7faafbc4: 80000100 00000001 00000000 5ed09ec5
0x7faafbd4: 00000002 5eda2576 5eda22da 7ffdc000
0x7faafbe4: 7faafc04 7beb309c 7fd60000 00000000
0x7faafbf4: 00000020 7bef41b0 7fce0690 7f80babe
0x7faafc04: 7faafc18 7beb316b 5edac720 00000000
0x7faafc14: 00000002 7fce0690 7faafd74 5ed09ec5
0200: sel=1007 base=7ffdc000 limit=00001fff 32-bit rw-
Backtrace:
=>1 0x7bec0116 stub_entry_point+0x56(dll=0x5eda2576, name=0x5eda22da) [/home/soren/wine-0.9.5/dlls/ntdll/loader.c:181] in ntdll (0x7bec0116)
fixme:dbghelp:sffip_cb NIY on 'opengl32.pdb'
2 0x5ed09ec5 in opengl32 (+0x9ec5) (0x5ed09ec5)
3 0x5ed0a366 EntryPoint+0x44 in opengl32 (0x5ed0a366)
4 0x7bec00b5 call_dll_entry_point+0x15 in ntdll (0x7bec00b5)
5 0x7bec0e6a MODULE_InitDLL+0x13a [/home/soren/wine-0.9.5/dlls/ntdll/loader.c:816] in ntdll (0x7bec0e6a)
6 0x7bec176c process_attach+0x9c [/home/soren/wine-0.9.5/dlls/ntdll/loader.c:891] in ntdll (0x7bec176c)
7 0x7bec1742 process_attach+0x72 [/home/soren/wine-0.9.5/dlls/ntdll/loader.c:883] in ntdll (0x7bec1742)
8 0x7bec3cf5 LdrInitializeThunk+0x345(main_file=0x1c, unknown2=0x0, unknown3=0x0, unknown4=0x0) [/home/soren/wine-0.9.5/dlls/ntdll/loader.c:2001] in ntdll (0x7bec3cf5)
9 0x7fccdc3d start_process+0x8d(arg=0x0) [/home/soren/wine-0.9.5/dlls/kernel/process.c:1017] in kernel32 (0x7fccdc3d)
10 0xb7f3ac97 wine_switch_to_stack in libwine.so.1 (0xb7f3ac97)
0x7bec0116 stub_entry_point+0x56 [/home/soren/wine-0.9.5/dlls/ntdll/loader.c:181] in ntdll: jmp 0x7bec0110 stub_entry_point+0x50 [/home/soren/wine-0.9.5/dlls/ntdll/loader.c:181] in ntdll
181 for (; RtlRaiseException( &rec );
Modules:
Module Address Debug info Name (79 modules)
PE 0x00400000-00c88000 Deferred wow
PE 0x10000000-10069000 Deferred divxdecoder
PE 0x5ed00000-5edcc000 Export opengl32
ELF 0x7be8c000-7bf00000 Stabs ntdll<elf>
\-PE 0x7bea0000-7bf00000 \ ntdll
ELF 0x7bf00000-7bf03000 Deferred <wine-loader>
ELF 0x7e759000-7e7d0000 Deferred winex11<elf>
\-PE 0x7e770000-7e7d0000 \ winex11
PE 0x7e7d0000-7e7f2000 Deferred glu32
ELF 0x7effa000-7f02a000 Deferred uxtheme<elf>
\-PE 0x7f000000-7f02a000 \ uxtheme
ELF 0x7f06e000-7f077000 Deferred libxcursor.so.1
ELF 0x7f088000-7f0a4000 Deferred ximcp.so.2
ELF 0x7f0a4000-7f0c3000 Deferred libexpat.so.1
ELF 0x7f0c3000-7f0f1000 Deferred libfontconfig.so.1
ELF 0x7f0f1000-7f105000 Deferred libz.so.1
ELF 0x7f105000-7f16f000 Deferred libfreetype.so.6
ELF 0x7f16f000-7f18d000 Deferred mpr<elf>
\-PE 0x7f180000-7f18d000 \ mpr
ELF 0x7f18d000-7f1ce000 Deferred wininet<elf>
\-PE 0x7f1a0000-7f1ce000 \ wininet
ELF 0x7f1ce000-7f1f0000 Deferred msacm32<elf>
\-PE 0x7f1e0000-7f1f0000 \ msacm32
PE 0x7f1f0000-7f280000 Deferred fmod
ELF 0x7f286000-7f28e000 Deferred libxrender.so.1
ELF 0x7f28e000-7f30f000 Deferred winmm<elf>
\-PE 0x7f2a0000-7f30f000 \ winmm
ELF 0x7f30f000-7f32a000 Deferred imm32<elf>
\-PE 0x7f320000-7f32a000 \ imm32
ELF 0x7f32a000-7f3ea000 Deferred libx11.so.6
ELF 0x7f3ea000-7f403000 Deferred libice.so.6
ELF 0x7f403000-7f446000 Deferred ddraw<elf>
\-PE 0x7f420000-7f446000 \ ddraw
ELF 0x7f446000-7f460000 Deferred crtdll<elf>
\-PE 0x7f450000-7f460000 \ crtdll
ELF 0x7f476000-7f49f000 Deferred ws2_32<elf>
\-PE 0x7f480000-7f49f000 \ ws2_32
ELF 0x7f49f000-7f4b8000 Deferred wsock32<elf>
\-PE 0x7f4b0000-7f4b8000 \ wsock32
ELF 0x7f4b8000-7f4d6000 Deferred iphlpapi<elf>
\-PE 0x7f4c0000-7f4d6000 \ iphlpapi
ELF 0x7f4d6000-7f51a000 Deferred rpcrt4<elf>
\-PE 0x7f4f0000-7f51a000 \ rpcrt4
ELF 0x7f51a000-7f5a0000 Deferred ole32<elf>
\-PE 0x7f530000-7f5a0000 \ ole32
ELF 0x7f5a0000-7f5f5000 Deferred shlwapi<elf>
\-PE 0x7f5b0000-7f5f5000 \ shlwapi
ELF 0x7f5f5000-7f6b4000 Deferred shell32<elf>
\-PE 0x7f610000-7f6b4000 \ shell32
ELF 0x7f6b4000-7f6f0000 Deferred advapi32<elf>
\-PE 0x7f6c0000-7f6f0000 \ advapi32
ELF 0x7f6f0000-7f777000 Deferred gdi32<elf>
\-PE 0x7f700000-7f777000 \ gdi32
ELF 0x7f777000-7f890000 Deferred user32<elf>
\-PE 0x7f790000-7f890000 \ user32
ELF 0x7f890000-7f93f000 Deferred comctl32<elf>
\-PE 0x7f8a0000-7f93f000 \ comctl32
ELF 0x7f93f000-7f9a0000 Deferred msvcrt<elf>
\-PE 0x7f950000-7f9a0000 \ msvcrt
ELF 0x7fab3000-7fac0000 Deferred libxext.so.6
ELF 0x7fac4000-7fac7000 Deferred libxrandr.so.2
ELF 0x7fc64000-7fd60000 Stabs kernel32<elf>
\-PE 0x7fc80000-7fd60000 \ kernel32
ELF 0x7fe72000-7fe76000 Deferred libxdmcp.so.6
ELF 0x7fe76000-7fe7d000 Deferred libsm.so.6
ELF 0x7fe7d000-7fe87000 Deferred libnss_files.so.2
ELF 0x7fe87000-7fe9c000 Deferred libnsl.so.1
ELF 0x7fe9c000-7fea5000 Deferred libnss_compat.so.2
ELF 0x7feb0000-7feb4000 Deferred libxfixes.so.3
ELF 0x7feb4000-7feb6000 Deferred xlcutf8load.so.2
ELF 0x7feb6000-7fed8000 Deferred libm.so.6
ELF 0x7fed8000-7ffcf000 Deferred libwine_unicode.so.1
ELF 0x7ffd0000-7ffd3000 Deferred libxau.so.6
ELF 0x7ffd3000-7ffdc000 Deferred libnss_nis.so.2
ELF 0xb7df2000-b7df5000 Deferred libdl.so.2
ELF 0xb7df5000-b7f23000 Deferred libc.so.6
ELF 0xb7f24000-b7f36000 Deferred libpthread.so.0
ELF 0xb7f36000-b7f50000 DIA libwine.so.1
ELF 0xb7f64000-b7f7a000 Deferred ld-linux.so.2
Threads:
process tid prio (all id:s are in hex)
00000008 (D) Z:\media\sdb6\World of Warcraft\WOW.exe
00000009 0 <==
WineDbg terminated on pid 0x8
soren@ubuntu:/media/sdb6/World of Warcraft$


What about this KERNEL32.dll?
I have tried to install that one too but have no luck.
 
Old 01-18-2006, 03:46 PM   #3
JunctaJuvant
Member
 
Registered: May 2003
Location: Wageningen, the Netherlands
Distribution: OS X & Linux Mint
Posts: 488

Rep: Reputation: 31
I would recommend using Cedega from Transgaming to install and run directx games in GNU/Linux. Just a thought.
 
Old 01-19-2006, 09:56 AM   #4
Helskov
Member
 
Registered: Jan 2005
Location: Denmark
Distribution: PclinuxOS 2007
Posts: 47

Original Poster
Rep: Reputation: 15
Yeah have tried that too... Got it up and running. But then there are other issues...
Therefore i would like to try Wine because alot of people says it runs a lot better with wine.
 
Old 01-27-2006, 05:02 PM   #5
mysth
LQ Newbie
 
Registered: Jan 2006
Posts: 6

Rep: Reputation: 0
Hi, I've got the same problem!

gullit@linux:~/World of Warcraft> wine WoW.exe
err:module:import_dll Library OPENGL32.dll (which is needed by L"Y:\\World of Warcraft\\WoW.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"Y:\\World of Warcraft\\WoW.exe" failed, status c0000135

I downloaded wine sources 0.9.6 and applied a patch wow.patch as referred here:
comptune.com/forums/viewtopic.php?t=64

I compiled wine, but i still have the errore above mentioned

Any hint??
 
Old 01-27-2006, 05:09 PM   #6
cb951303
Member
 
Registered: Jan 2004
Distribution: Slackware 11 + Dropline Gnome 2.16
Posts: 194

Rep: Reputation: 30
in the link that you posted it says

home$ wine wow.exe -opengl

did you tried that?

BTW: before compiling wine make sure that opengl libraries(dev not just runtime) and x11-dev is installed correctly. Also for nvidia cards you should compile the modules with the same x11, gcc, opengl versions(If ati drivers are not precompiled you should do that for ATI cards too)

Last edited by cb951303; 01-27-2006 at 05:13 PM.
 
Old 01-30-2006, 03:08 AM   #7
mysth
LQ Newbie
 
Registered: Jan 2006
Posts: 6

Rep: Reputation: 0
Ok, I finally manageed to compile wine 0.9.6 with wow patch.
Now I get this error:

err:module:import_dll Library OPENGL32.dll (which is needed by L"Y:\\World of Warcraft\\WoW.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"Y:\\World of Warcraft\\WoW.exe" failed, status c0000135

I think I have to install opengl on wine. I guess all I have to dois download opengl for windows and install them on wine...

After that I'll run wow.exe -opengl as you said
 
Old 01-30-2006, 08:41 AM   #8
ShaneK
Member
 
Registered: Mar 2005
Location: Lancaster, PA
Distribution: Gentoo, Fedora Core
Posts: 39

Rep: Reputation: 15
I had the same problem:

err:module:import_dll Library OPENGL32.dll

What I did to fix it was:
  1. Reinstall my nVidia driver and answer "yes" to the question about installing 32 bit compatibility libraries
  2. Reinstall wine

All is good now.
 
Old 01-31-2006, 04:49 AM   #9
mysth
LQ Newbie
 
Registered: Jan 2006
Posts: 6

Rep: Reputation: 0
ShaneK, did u use YaST for installing nVidia drivers? I'm using openSUSE10 and I have a simple automatic way to install drivers. In that way I dont have the "32 bit compatibility libraries" question.

So I guess OPENGL32.dll comes from nVidia drivers (interesting).

Did u patch wow with wow.patch to wine?
 
Old 02-03-2006, 03:06 AM   #10
mysth
LQ Newbie
 
Registered: Jan 2006
Posts: 6

Rep: Reputation: 0
Finally I Made it!

Finally I Made it!

I re-installed ndvidia drivers anew and wine runs smoothly! I can now play WoW on Linux!
I have very good performance: 60 fps (sync with monitor refresh) and high speed loading like 35 secs to get in the game from desktop

Thanks a lot!
 
  


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
opengl and wine? bobbens Linux - Games 2 04-21-2005 02:56 PM
Wine/openGL help thegsusfreek Linux - Games 4 09-21-2004 09:04 AM
Wine vs. OpenGL T-u-N-i-X Linux - Software 5 09-14-2003 09:43 PM
nVidia, wine, openGL, RH 9 walterw Linux - Software 0 08-04-2003 11:29 AM
wine and openGL Donald1000 Linux - Software 3 06-11-2003 12:15 PM

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

All times are GMT -5. The time now is 09:20 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