You are not logged in.

#1 2010-05-01 18:51:48

LordMoridin
Member
Registered: 2010-03-24
Posts: 10

Morrowind on wine

Hey, I have a 64-bit Arch KDE installation, running on a Dell Studio XPS 13. I have installed and am trying to run the Elder Scrolls III - Morrowind, but the game won't let me. Whenever I try, I get this error:

err:winediag:X11DRV_WineGL_InitOpenglInfo Direct rendering is disabled, most likely your OpenGL drivers haven't been installed correctly
err:d3d_caps:WineD3D_CreateFakeGLContext Can't find a suitable iPixelFormat.
err:d3d:InitAdapters Failed to get a gl context for default adapter
Direct3D8 is not available without OpenGL.

If I try preloading libGL.so, I get

ERROR: ld.so: object '/usr/lib/libGL.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/libGL.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/libGL.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/libGL.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/libGL.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/libGL.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/libGL.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/libGL.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/libGL.so' from LD_PRELOAD cannot be preloaded: ignored.
err:winediag:X11DRV_WineGL_InitOpenglInfo Direct rendering is disabled, most likely your OpenGL drivers haven't been installed correctly
err:d3d_caps:WineD3D_CreateFakeGLContext Can't find a suitable iPixelFormat.
err:d3d:InitAdapters Failed to get a gl context for default adapter
Direct3D8 is not available without OpenGL.

Some sources tell me to use /usr/lib32/, but I don't have that directory. Most other tips on the web have been ineffectual.

Installing the libGL package requires me to remove nvidia-utils, which requires me to remove my nvidia driver...

Any ideas on what to do?

Offline

#2 2010-05-01 21:00:55

Darksoul71
Member
Registered: 2010-04-12
Posts: 319

Re: Morrowind on wine

My first suggestion would be that you:
1) Set up a 32 bit chroot as described in the wiki
2) Set up WINE within the 32 bit chroot
3) Set up your graphic adapter as described in the wiki

Then ensure that opengl runs hardware accelerated.
Those seem to be the prerequisites for further experiments with WINE and 3D games.

I had no big success using WINE under arch_64 but good success under the 32 bit chroot (see my youtube videos for examples).

Last edited by Darksoul71 (2010-05-01 21:01:51)


My archlinux x86_64 host:
AMD E350 (2x1.6GHz) / 8GB DDR3 RAM / GeForce 9500GT (passive) / Arch running from 16GB USB Stick

Offline

#3 2010-05-01 21:29:33

fredszaq
Member
From: France
Registered: 2009-04-23
Posts: 26

Re: Morrowind on wine

Last time I tryed morrowind on wine, there was big problems that made me stop playing (missing map ...). but It was nearly one year ago so it may have change. I would be interested to knwo how did you if if you succes in making it work perfecly well^^

Offline

#4 2010-05-01 22:07:48

Darksoul71
Member
Registered: 2010-04-12
Posts: 319

Re: Morrowind on wine

Hm, based on the wine appdb rating I would say that Morrowind should run ok in WINE:
http://appdb.winehq.org/objectManager.p … n&iId=3329

I will crosscheck if I find the time since I have the CD lying around. I am running the radeon opensource driver which might not be playing nice with WINE and the D3D wrapper though. radeon with KMS on a R600 chip means still work in progress smile


My archlinux x86_64 host:
AMD E350 (2x1.6GHz) / 8GB DDR3 RAM / GeForce 9500GT (passive) / Arch running from 16GB USB Stick

Offline

#5 2010-05-01 23:18:29

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Morrowind on wine

LordMoridin,

Welcome to the forums.

Do you have lib32-nvidia-utils installed?

Offline

#6 2010-05-02 18:01:37

LordMoridin
Member
Registered: 2010-03-24
Posts: 10

Re: Morrowind on wine

Hey, thanks for all the help!
Sorry, but I forgot to mention last time that this was with the two expansion packs, Bloodmoon and Tribunal.

Skottish, I didn't have the package installed, I had the corresponding libgl package installed. I replaced it with lib32-nvidia-utils, and the problem I had disappeared - only to be replaced by the game crashing upon startup because it cannot find a certain element - Meshes/BM_snow_1.nif

The problem it gives in the command line is :

fixme:win:EnumDisplayDevicesW ((null),0,0x33ef8c,0x00000000), stub!
err:module:load_builtin_dll failed to load .so lib for builtin L"winemp3.acm": libmpg123.so.0: cannot open sharer directory
fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x1f77a0,0x1f2038): stub
fixme:d3d8:IDirect3DDevice8Impl_ResourceManagerDiscardBytes Byte count ignored.
fixme:d3d8:IDirect3DDevice8Impl_ResourceManagerDiscardBytes Byte count ignored.

I will try reinstalling Morrowind, I think that should help. I had initially installed it following the instructions at this post: http://appdb.winehq.org/objectManager.p … ngId=50085 after I first encountered my initial error, but now I will try doing it directly. If that doesn't work, I will try Darksoul's suggestion.

Thanks again!

Last edited by LordMoridin (2010-05-02 18:02:31)

Offline

#7 2010-05-02 18:16:13

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Morrowind on wine

LordMoridin wrote:

err:module:load_builtin_dll failed to load .so lib for builtin L"winemp3.acm": libmpg123.so.0: cannot open sharer directory

Wine's error messages can be somewhat cryptic, but the normal Linux messages are very helpful. I don't know if this will solve your problem, but you need lib32-mpg123.

Offline

#8 2010-05-02 18:27:54

LordMoridin
Member
Registered: 2010-03-24
Posts: 10

Re: Morrowind on wine

That got rid of that one line, now the error says only this:

fixme:win:EnumDisplayDevicesW ((null),0,0x33ef8c,0x00000000), stub!                                                                          
fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x1f77a0,0x1f2038): stub                                                                      
fixme:d3d8:IDirect3DDevice8Impl_ResourceManagerDiscardBytes Byte count ignored.                                                              
fixme:d3d8:IDirect3DDevice8Impl_ResourceManagerDiscardBytes Byte count ignored.

while the message that pops up remains the same (the missing meshes snowflake)

Offline

#9 2010-05-02 18:52:45

LordMoridin
Member
Registered: 2010-03-24
Posts: 10

Re: Morrowind on wine

From what I can find, the game looks for tribunal.bsa and bloodmoon.bsa, which don't seem to be present in my installation...

Edit: Found a solution to that on another forum (http://forumplanet.gamespy.com/morrowin … 644549/p1/), it appears to be a game problem. Now, I can get to the starting screen, however, there are a few errors, and when I attempt to start a new game, the game crashes. It gives a program fault, but that window hangs, so I don't know exactly what's wrong. The command line output is this:

fixme:win:EnumDisplayDevicesW ((null),0,0x33ef8c,0x00000000), stub!
fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x1f1e58,0x1f1de0): stub                                         
fixme:d3d8:IDirect3DDevice8Impl_ResourceManagerDiscardBytes Byte count ignored.                                 
fixme:d3d8:IDirect3DDevice8Impl_ResourceManagerDiscardBytes Byte count ignored.                                 
fixme:d3d8:IDirect3DDevice8Impl_ResourceManagerDiscardBytes Byte count ignored.
fixme:dinput:SysMouseAImpl_Acquire Clipping cursor to (0,0)-(1024,768)                                          
fixme:quartz:Parser_QueryInterface No interface for {56a868b3-0ad4-11ce-b03a-0020af0ba770}!
fixme:quartz:TransformFilter_QueryInterface No interface for {56a868b3-0ad4-11ce-b03a-0020af0ba770}!
wine: Unhandled page fault on read access to 0x00000000 at address 0x51ae00 (thread 0021), starting debugger...
fixme:dinput:SysMouseAImpl_Acquire Clipping cursor to (0,0)-(1024,768)

The second-to-last line seems to be where the program crashes...

The errors it gives before the startup screen (which I can just choose to ignore without stopping the game) are these:

Could not find the movie file bethesda logo.bik.
Only one root object allowed on file "base_anim.1st.nif".
Make sure the object was exported without cameras.
Only one root object allowed on file "base_anim_female.1st.nif".
Make sure the object was exported without cameras.
Could not find the movie file mw_logo.bik.
Could not find the movie file mw_intro.bik.

Last edited by LordMoridin (2010-05-02 19:28:32)

Offline

#10 2010-05-02 19:33:00

LordMoridin
Member
Registered: 2010-03-24
Posts: 10

Re: Morrowind on wine

Here we go:
I ran it again, and it showed me the error. Then, I got a glimpse of the starting scene in the campaign. After that, the screen went blank, though the music kept playing. The code output is this:

fixme:win:EnumDisplayDevicesW ((null),0,0x33ef8c,0x00000000), stub!
fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x1f1e40,0x1f1dc8): stub
fixme:d3d8:IDirect3DDevice8Impl_ResourceManagerDiscardBytes Byte count ignored.
fixme:d3d8:IDirect3DDevice8Impl_ResourceManagerDiscardBytes Byte count ignored.
fixme:d3d8:IDirect3DDevice8Impl_ResourceManagerDiscardBytes Byte count ignored.
fixme:dinput:SysMouseAImpl_Acquire Clipping cursor to (0,0)-(1024,768)
fixme:quartz:Parser_QueryInterface No interface for {56a868b3-0ad4-11ce-b03a-0020af0ba770}!
fixme:quartz:TransformFilter_QueryInterface No interface for {56a868b3-0ad4-11ce-b03a-0020af0ba770}!
wine: Unhandled page fault on read access to 0x00000000 at address 0x51ae00 (thread 0021), starting debugger...
Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x0051ae00).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:0051ae00 ESP:01f8e038 EBP:02bbf520 EFLAGS:00010246(  R- --  I  Z- -P- )
 EAX:00000000 EBX:02bbf520 ECX:ffffffff EDX:00000001
 ESI:01f8e494 EDI:00000000
Stack dump:
0x01f8e038:  02bbf4f0 01f8e494 02bbf51c 02bbf520
0x01f8e048:  01f8e494 043fe788 02cb69f8 043fe890
0x01f8e058:  043fe998 043feaa0 7ef9088e 02788000
0x01f8e068:  02cb9138 00110000 00000018 00000020
0x01f8e078:  7ef9088e 00540000 7ef7f62f 00110000
0x01f8e088:  00110000 7ef9259b 7efe4444 02cb9600
Backtrace:
=>0 0x0051ae00 in morrowind (+0x11ae00) (0x02bbf520)
  1 0x00000000 (0x02cb9608)
0x0051ae00: repne scasb %es:(%edi)
Modules:
Module  Address                 Debug info      Name (34 modules)
PE        400000-  7e4000       Export          morrowind
PE      30000000-3006e000       Deferred        binkw32
PE      780c0000-78121000       Deferred        msvcp60
PE      7afd0000-7afd7000       Deferred        shlwapi
PE      7b030000-7b034000       Deferred        oleaut32
PE      7bf60000-7bf64000       Deferred        quartz
PE      7c030000-7c033000       Deferred        winemp3
PE      7c040000-7c045000       Deferred        devenum
PE      7c060000-7c067000       Deferred        msvfw32
PE      7c120000-7c123000       Deferred        midimap
PE      7c130000-7c137000       Deferred        msacm32
PE      7c150000-7c153000       Deferred        msacm32
PE      7c230000-7c233000       Deferred        winealsa
PE      7c5b0000-7c5b3000       Deferred        avicap32
PE      7e080000-7e084000       Deferred        uxtheme
PE      7e100000-7e104000       Deferred        imm32
PE      7e290000-7e294000       Deferred        winex11
PE      7e4d0000-7e4e3000       Deferred        comctl32
PE      7e5b0000-7e5b4000       Deferred        msvcrt
PE      7e610000-7e614000       Deferred        wined3d
PE      7e740000-7e744000       Deferred        d3d8
PE      7e770000-7e774000       Deferred        dsound
PE      7e7c0000-7e7c4000       Deferred        dinput
PE      7e7f0000-7e7f4000       Deferred        dinput8
PE      7e810000-7e814000       Deferred        lz32
PE      7e820000-7e824000       Deferred        version
PE      7e840000-7e895000       Deferred        winmm
PE      7e8d0000-7e8d4000       Deferred        ole32
PE      7e9c0000-7e9c4000       Deferred        rpcrt4
PE      7ea30000-7ea34000       Deferred        advapi32
PE      7ea90000-7ea94000       Deferred        gdi32
PE      7eb10000-7eb46000       Deferred        user32
PE      7edf0000-7eea0000       Deferred        kernel32
PE      7ef60000-7ef64000       Deferred        ntdll
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) H:\morrowind\morrowind.exe
        00000022    0
        00000021   -1 <==
        00000020   15
        0000001f    0
        00000009    0
0000000e services.exe
        0000001a    0
        00000014    0
        00000010    0
        0000000f    0
00000011 winedevice.exe
        00000016    0
        00000013    0
        00000012    0
00000017 winedevice.exe
        0000001b    0
        00000019    0
        00000018    0
0000001d explorer.exe
        0000001e    0
Backtrace:
=>0 0x0051ae00 in morrowind (+0x11ae00) (0x02bbf520)
  1 0x00000000 (0x02cb9608)
fixme:dinput:SysMouseAImpl_Acquire Clipping cursor to (0,0)-(1024,768)
err:ntdll:RtlpWaitForCriticalSection section 0x7ddc1c "?" wait timed out in thread 0009, blocked by 0021, retrying (60 sec)
/opt/wine/bin/wine: line 4: 12068 Killed                  LD_LIBRARY_PATH="/opt/lib32/usr/lib/:/opt/lib32/lib/:$LD_LIBRARY_PATH" linux32 /usr/bin/wine "$@"

I don't always get this far, however. Most of the time, the program simply hangs like it did the first time.

Last edited by LordMoridin (2010-05-02 19:35:52)

Offline

#11 2010-05-03 09:11:48

SoftVision
Member
Registered: 2007-11-12
Posts: 64

Re: Morrowind on wine

Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x0051ae00).

I'm no expert with Wine or errors, but maybe that line suggests some trouble accessing 32-bit libraries? I suggest trying the 32-bit chroot option suggested by Darksoul71. Then you might get better insight as to whether the problem is with wine or the game installation.

Offline

#12 2010-05-04 00:31:33

LordMoridin
Member
Registered: 2010-03-24
Posts: 10

Re: Morrowind on wine

I tried the 32-bit chroot method, however I cannot install anything in the chrooted system (not even from outside the system), as pacman keeps giving me an error:

error:command failed to execute correctly

Also, when I try to run the game, I get this error:

/opt/wine/bin/wine: line 4: /usr/bin/linux32: No such file or directory

Offline

#13 2010-05-04 00:42:20

grey
Member
From: Europe
Registered: 2007-08-23
Posts: 679

Re: Morrowind on wine

The fact that pacman gives you an error if you install packages inside the chroot indicates that you didn't set the chroot up correctly. You probably need to fix that first, before trying to run the game.


Good ideas do not need lots of lies told about them in order to gain public acceptance.

Offline

#14 2010-05-04 02:33:05

LordMoridin
Member
Registered: 2010-03-24
Posts: 10

Re: Morrowind on wine

Well, it did initially allow me to install packages, from outside the chroot to within it (using pacman32 as an alias). After I did something (presumably wrong) in the chroot, it stopped working in or out of it. So, yeah, I might try setting up the chroot again later. However, that will need to be some time away, as I might be busy the next few days. So thanks, everyone! I will report back as soon as I have taken the next step.

Offline

#15 2010-05-04 07:32:50

grey
Member
From: Europe
Registered: 2007-08-23
Posts: 679

Re: Morrowind on wine

This is just a gut feeling, but fwiw: don't use the "Alternative lightweight install" for the chroot.


Good ideas do not need lots of lies told about them in order to gain public acceptance.

Offline

Board footer

Powered by FluxBB