[pkg-wine-party] Bug#697913: wine crash with nouveau vieux driver

Trek trek00 at inbox.ru
Fri Jan 11 10:53:05 UTC 2013


Package: libwine-gl
Version: 1.4.1-4

Hi,

there is a bug that prevents to run 3D applications under wine with the
nouveau vieux driver. It fails with this error message:

err:d3d:wined3d_adapter_init_gl_caps >>>>>>>>>>>>>>>>> GL_INVALID_ENUM
(0x500) from extension detection @ ../../../dlls/wined3d/directx.c /
2720
fixme:d3d_caps:wined3d_guess_card_vendor Received unrecognized
GL_VENDOR "Nouveau". Returning HW_VENDOR_NVIDIA.
fixme:d3d_caps:select_card_nvidia_mesa Unknown renderer "Mesa DRI nv11
x86/MMX+/3DNow!+".
nv10_state_fb.c:50: get_rt_format: Assertion `0' failed.
wine: Assertion failed at address 0xb77d8424 (thread 0009), starting
debugger...


The installed drivers are:

libdrm-nouveau1a 2.4.33-3 i386
libgl1-mesa-dri 8.0.5-3 i386
libgl1-mesa-glx 8.0.5-3 i386
linux-image-3.2.0-4-686-pae 3.2.35-2 i386
xserver-xorg-video-nouveau 1:1.0.1-4 i386

The video card is:

NVIDIA Corporation NV11 [GeForce2 MX/MX 400] (rev a1)


It runs fine without the hardware acceleration, removing the user from
the group video that owns /dev/dri/card0


This bug seems to be fixed in wine 1.5.0 with this commit:

http://source.winehq.org/git/wine.git/blobdiff/ab4474c19b308311b6408a2802225a44849bb70c..112e2e219f88cf81280359ae74ae809a3d288574:/dlls/wined3d/directx.c


At a first look this patch should apply nicely to the 1.4.1 version.

I think this patch should be added to wheezy because the actual code is
broken, as it checks NV04-NV20 with the Gallium renderer, that never
supported these cards, that instead are handled by the vieux driver
present in wheezy. Also these are minor changes to the device detection
between wine and opengl.


Ciao



More information about the pkg-wine-party mailing list