Diablo 2 + LoD Error 22

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
ludos
Newbie
Newbie
Posts: 1
Joined: Mon Apr 14, 2008 11:57 pm

Diablo 2 + LoD Error 22

Post by ludos »

Hi all!

I have been trying to get diablo 2 working for 3 days now and I am getting a bit frustrated.

I have upgraded wine to version 9.59
I have installed restricted extras on ubuntu
I have patched diablo to version 1.11 (final patch)

Every time I run a video test it doesn't find anything and then when I load the program (through wine) it says:

"error 22: a critical error has occurredinitializing direct draw'

The terminal code says:

meow@meow-laptop:~$ wine d:\setup
meow@meow-laptop:~$ fixme:bitblt:X11DRV_ClientSideDIBCopy potential optimization: client-side color-index mode DIB copy
fixme:bitblt:X11DRV_ClientSideDIBCopy potential optimization: client-side color-index mode DIB copy
ALSA lib pcm_dmix.c:864:(snd_pcm_dmix_open) unable to open slave
err:aspi:SCSI_OpenDevice Failed to open device /dev/sg0: Permission denied
fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for bias -600, std (d/m/y): 6/04/2008, dlt (d/m/y): 5/10/2008
fixme:cursor:CURSORICON_LoadFromFile No support for .ani cursors.
fixme:cursor:SetSystemCursor (0x111e,00007f8a),stub!
fixme:cursor:SetSystemCursor (0x1126,00007f00),stub!
fixme:cursor:SetSystemCursor (0x1136,00007f03),stub!
fixme:cursor:SetSystemCursor (0x113e,00007f01),stub!
fixme:cursor:SetSystemCursor (0x114e,00007f88),stub!
fixme:cursor:SetSystemCursor (0x115e,00007f86),stub!
fixme:cursor:SetSystemCursor (0x116e,00007f83),stub!
fixme:cursor:SetSystemCursor (0x117e,00007f85),stub!
fixme:cursor:SetSystemCursor (0x118e,00007f82),stub!
fixme:cursor:SetSystemCursor (0x119e,00007f84),stub!
fixme:cursor:SetSystemCursor (0x11ae,00007f04),stub!
fixme:cursor:SetSystemCursor (0x11be,00007f02),stub!
fixme:advapi:SetSecurityInfo stub
fixme:win:EnumDisplayDevicesW ((null),0,0x807ff0,0x00000000), stub!
err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 640x480x8 @0! (XRandR)

Any suggestions?
eps
Level 3
Level 3
Posts: 87
Joined: Tue Mar 18, 2008 11:44 pm

Diablo 2 + LoD Error 22

Post by eps »

On Tue, Apr 15, 2008 at 3:12 PM, ludos <[email protected]> wrote:
Hi all!

"error 22: a critical error has occurredinitializing direct draw'

err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 640x480x8 @0! (XRandR)

Any suggestions?

This is a windows bug code.

Though the line err:x11settings:X11DRV_ChangeDisplaySettingsEx No
matching mode found 640x480x8 @0! (XRandR) looks like it could be the
issue. Come in to the IRC channel #winehq on freenode and request
help adding 640x480 to your xorg file.

After trying that step try the solutions from blizzard located here:
http://us.blizzard.com/support/article. ... geNumber=1

If none of those solutions work tell us your graphics card and which
driver version you have.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Diablo 2 + LoD Error 22

Post by vitamin »

ludos wrote:err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 640x480x8 @0! (XRandR)

Any suggestions?
You don't have that mode [640x480 256 colors] configured with your xorg. To see all the video modes it supports run 'xrandr' in the terminal. You might need to manually add this mode to the xorg.conf
Locked