- Package:
- libgl1-mesa-dri
- Source:
- mesa
- Description:
- free implementation of the OpenGL API -- DRI modules
- Submitter:
- Trek
- Date:
- 2021-12-08 19:36:03 UTC
- Severity:
- important
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
severity 697913 important thank you * Trek: I assume that many of our users will want to run 3D applications on such a setup, therefore setting the severity as important. I think this should be fixed for wheezy if possible. Could you build the wine package from source, with this patch applied, and report if it fixes the problem for you? (If you have trouble building the package from source, I can build them for you.) Cheers, -Hilko
* Trek: Please use the packages at http://people.debian.org/~bengen/wine/
is not resolved. I have done more testing and I found that I misunderstood code and error messages. SimpleGLUT demo runs fine with and without the patch! http://web.media.mit.edu/~gordonw/OpenGL/simpleGLUT.zip It actually use hardware acceleration (90fps vs 3fps on software render) Critter fails with and without the patch, but not with software renderer http://prdownloads.sourceforge.net/criticalmass/CriticalMass-Windows-1.0.0.zip I have attached the full dump of patched and unpatched version. The function wined3d_guess_card_vendor returns anyway HW_VENDOR_NVIDIA even if not correctly recognized. The function select_card_nvidia_mesa has a fallback to discover the card by gl_info. So the patch I proposed may be useful but not required. The error messages "Received unrecognized GL_VENDOR" and "Unknown renderer" appear only when launching Critter and not with Simpleglut. Running critter the common error with and without the patch is: nv10_state_fb.c:50: get_rt_format: Assertion `0' failed. that should not be an error of wine, but of nouveaux driver. So, I'm really sorry to have misreported the bug to wine and to have you work on this. I think the bug should be reassigned to the libgl1-mesa-dri package. I found similar bug reports with other old GForce < NV30: https://bugs.freedesktop.org/show_bug.cgi?id=47796 http://bugs.winehq.org/show_bug.cgi?id=30203 https://bugs.launchpad.net/ubuntu/+source/stellarium/+bug/1079011 https://bugzilla.redhat.com/show_bug.cgi?id=834329 Ciao!
reassign -1 src:mesa thanks Thanks for the info. Reassigning to the mesa package, which contains the above code. Best wishes, Mike
reassign -1 src:mesa thanks Thanks for the info. Reassigning to the mesa package, which contains the above code. Best wishes, Mike
Hello dear,my name is Anable, I like your profile and would like us to be friends, I have something very important to discuss with you so write direct to my email address so that we can discuss and also I can send you more photos of me, write me only in my email address, here is my email : ( nancyanable@gmail.com)i am waiting for your mail for us to discuss very well
Hello dear,my name is Anable, I like your profile and would like us to be friends, I have something very important to discuss with you so write direct to my email address so that we can discuss and here is my email,( nancyanable@gmail.com)i am waiting for your mail for us to discuss very well