[Wine] Problems with Direct Rendering (D3D) in Wine

Gregor G.Galwas at highantdev.de
Wed Jul 18 02:12:49 CDT 2007


Hello,

my name is Gregor Galwas, I am new to this group / mailing list.

I have a problem since I started using Wine.
As far as I remember every game that uses D3D with wine doesn't work
properly, doesn't work or work very very slow.

My problem appears no matter of wine version, (current) gfx-driver or
kernel-version.

For example I would like to point to Diablo2. It works nicely when I use
DirectDraw but is dog slow with D3D. Same happened when I recently tried
Warcraft3 and Gothic1.
I have already tried to use a fresh new ~/.wine folder (didn't change
anything) and when I tried a version of cedega (transgaming blah) both
games, diablo2 and warcraft3 worked nicely and didn't have those issues,
but as cedega is (more or less) commercial and wine is just better...

The output of Diablo2 started with D3d-Renderer is :

mcgreg at localhost /media/games/Diablo II $ wine game.exe
libGL error: drmMap of framebuffer failed
ALSA lib conf.c:3949:(snd_config_expand) Unknown parameters 0
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL default:0
fixme:wave:ALSA_AddCaptureDevice Add support for DSCapture
err:aspi:SCSI_GetDeviceName Could not open
HKLM\HARDWARE\DEVICEMAP\Scsi\Scsi Port 0\Scsi Bus 0\Target Id 0\Logical
Unit Id 0
err:aspi:SCSI_GetDeviceName Could not open
HKLM\HARDWARE\DEVICEMAP\Scsi\Scsi Port 0\Scsi Bus 0\Target Id 1\Logical
Unit Id 0
err:aspi:SCSI_GetDeviceName Could not open
HKLM\HARDWARE\DEVICEMAP\Scsi\Scsi Port 0\Scsi Bus 0\Target Id 2\Logical
Unit Id 0
err:aspi:SCSI_GetDeviceName Could not open
HKLM\HARDWARE\DEVICEMAP\Scsi\Scsi Port 0\Scsi Bus 0\Target Id 3\Logical
Unit Id 0
err:aspi:SCSI_GetDeviceName Could not open
HKLM\HARDWARE\DEVICEMAP\Scsi\Scsi Port 0\Scsi Bus 0\Target Id 4\Logical
Unit Id 0
err:aspi:SCSI_GetDeviceName Could not open
HKLM\HARDWARE\DEVICEMAP\Scsi\Scsi Port 0\Scsi Bus 0\Target Id 5\Logical
Unit Id 0
err:aspi:SCSI_GetDeviceName Could not open
HKLM\HARDWARE\DEVICEMAP\Scsi\Scsi Port 0\Scsi Bus 0\Target Id 6\Logical
Unit Id 0
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:d3d:IWineD3DDeviceImpl_GetAvailableTextureMem (0x1c6270) : stub, simu
fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel (0x1c5ff0)->(0x10024,000004
fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel DirectDraw is not fully thr
fixme:d3d:IWineD3DDeviceImpl_SetMultithreaded No thread safety in wined3d y
fixme:xrandr:X11DRV_XRandR_SetCurrentMode Cannot change screen BPP from 32
fixme:dsalsa:SetFormat Your alsa dmix period size is 1024, try
decreasing it to 512 if possible
fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel
(0x1c5ff0)->(0x10024,00000411)
fixme:xrandr:X11DRV_XRandR_SetCurrentMode Cannot change screen BPP from
32 to 16
err:ddraw:IDirectDrawSurfaceImpl_Flip Can't find a flip target
err:ddraw:IDirectDrawSurfaceImpl_Flip Can't find a flip target
fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel
(0x1c5ff0)->(0x10024,00000411)
fixme:xrandr:X11DRV_XRandR_SetCurrentMode Cannot change screen BPP from
32 to 16
err:d3d:state_multisampleaa Multisample antialiasing not supported by gl
fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel (0x1c5ff0)->((nil),00000008)
fixme:d3d:IWineD3DStateBlockImpl_Release Releasing primary stateblock


I have recognised this behavior with Gentoo and Debian and with 32bit
and 64bit Systems (no difference).
I have asked several ppl who have similiar hardware and software
configuration and they don't have such a problem.

I really hope someone could help me to solve this problem, if possible
it is at all.

Greg







Information of my System:

CPU: AMD X2 5600
GFX: ATI Radeon X1300pro (fglrx drivers)
Ram: 2GB
Current System: Linux localhost 2.6.22-gentoo-r1 #1 SMP Tue Jul 17
15:49:15 CEST 2007 *i686*
Wine Version : 0.9.41


mcgreg at localhost /media/games/Diablo II $ fglrxinfo
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: Radeon X1300 / X1550 Series
OpenGL version string: 2.0.6473 (8.37.6)

mcgreg at localhost /media/games/Diablo II $ glxinfo  | grep direct
direct rendering: Yes

mcgreg at localhost /media/games/Diablo II $ wine --version
wine-0.9.41






More information about the wine-users mailing list