[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



On Sat, 12 Jan 2013 16:12:28 +0100
Hilko Bengen <bengen@debian.org> wrote:

>> A binary package of patched libwine-gl would be really appreciated 
>Please use the packages at http://people.debian.org/~bengen/wine/

Many thanks for the package built with the patch, but unlucky the issue
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!
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 0xb77cd424 (thread 0009), starting debugger...
Unhandled exception: assertion failed in 32-bit code (0xb77cd424).
Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
 EIP:b77cd424 ESP:006bea88 EBP:006beaa0 EFLAGS:00200206(   - --  I   - -P- )
 EAX:00000000 EBX:000013be ECX:000013be EDX:00000006
 ESI:b761f29f EDI:b7643ff4
Stack dump:
0x006bea88:  006beaa0 00000006 000013be b750f941
0x006bea98:  b7643ff4 006bebc0 006bebc8 b7512d72
0x006beaa8:  00000006 006beb40 00000000 006beae8
0x006beab8:  b755b8ed 00000068 00000040 b75555a2
0x006beac8:  006beaf0 00000068 00000040 0000003a
0x006bead8:  7c6bb150 b7643ff4 0000003a 00000039
Backtrace:
=>0 0xb77cd424 __kernel_vsyscall+0x10() in [vdso].so (0x006beaa0)
  1 0xb750f941 gsignal+0x50() in libc.so.6 (0x006beaa0)
  2 0xb7512d72 abort+0x181() in libc.so.6 (0x006bebc8)
  3 0xb7508b58 __assert_fail+0xf7() in libc.so.6 (0x006bec10)
  4 0x7dfd02e0 in nouveau_vieux_dri.so (+0x252df) (0x7c6a7d78)
  5 0x7dfc35fc in nouveau_vieux_dri.so (+0x185fb) (0x7c65de60)
  6 0x7e04227b in nouveau_vieux_dri.so (+0x9727a) (0x00000000)
  7 0x7e04351a in nouveau_vieux_dri.so (+0x98519) (0x006bf220)
  8 0x7e180c68 in nouveau_vieux_dri.so (+0x1d5c67) (0x006bf220)
  9 0x7dbbb6a4 in wined3d (+0xdb6a3) (0x006bf220)
  10 0x7dbbce08 in wined3d (+0xdce07) (0x006bf2f0)
  11 0x7db35a23 in wined3d (+0x55a22) (0x006bf880)
  12 0x7db411d3 in wined3d (+0x611d2) (0x006bf8a0)
  13 0x7dbc485a wined3d_create+0x59() in wined3d (0x006bf8d0)
  14 0x7dc36315 in ddraw (+0x16314) (0x006bf920)
  15 0x7dc46aad in ddraw (+0x26aac) (0x006bf980)
  16 0x7dc47487 DirectDrawCreate+0x46() in ddraw (0x006bf9d0)
0xb77cd424 __kernel_vsyscall+0x10 in [vdso].so: popl    %ebp
Modules:
Module  Address                 Debug info      Name (99 modules)
PE        240000-  28a000       Deferred        sdl_image
PE        290000-  2dc000       Deferred        sdl_mixer
PE        400000-  4bf000       Deferred        critter
PE      10000000-10040000       Export          sdl
PE      66580000-66596000       Deferred        z
PE      6aa80000-6aaa6000       Deferred        png
ELF     7b800000-7ba3a000       Deferred        kernel32<elf>
  \-PE  7b810000-7ba3a000       \               kernel32
ELF     7bc00000-7bcd4000       Deferred        ntdll<elf>
  \-PE  7bc10000-7bcd4000       \               ntdll
ELF     7bf00000-7bf04000       Deferred        <wine-loader>
ELF     7dacd000-7dc14000       Dwarf           wined3d<elf>
  \-PE  7dae0000-7dc14000       \               wined3d
ELF     7dc14000-7dc87000       Dwarf           ddraw<elf>
  \-PE  7dc20000-7dc87000       \               ddraw
ELF     7dc87000-7dc9d000       Deferred        midimap<elf>
  \-PE  7dc90000-7dc9d000       \               midimap
ELF     7dc9d000-7dd95000       Deferred        libasound.so.2
ELF     7dd95000-7ddc3000       Deferred        winealsa<elf>
  \-PE  7dda0000-7ddc3000       \               winealsa
ELF     7ddfc000-7de15000       Deferred        msacm32<elf>
  \-PE  7de00000-7de15000       \               msacm32
ELF     7de15000-7df24000       Deferred        oleaut32<elf>
  \-PE  7de30000-7df24000       \               oleaut32
ELF     7df24000-7df48000       Deferred        mmdevapi<elf>
  \-PE  7df30000-7df48000       \               mmdevapi
ELF     7df48000-7df5c000       Deferred        libresolv.so.2
ELF     7df5c000-7df62000       Deferred        libnss_dns.so.2
ELF     7df62000-7dfab000       Deferred        dsound<elf>
  \-PE  7df70000-7dfab000       \               dsound
ELF     7dfab000-7e32f000       Dwarf           nouveau_vieux_dri.so
ELF     7e32f000-7e339000       Deferred        libxcursor.so.1
ELF     7e339000-7e340000       Deferred        libdrm_nouveau.so.1
ELF     7e345000-7e36f000       Deferred        libexpat.so.1
ELF     7e36f000-7e3a5000       Deferred        libfontconfig.so.1
ELF     7e3a5000-7e3b4000       Deferred        libxi.so.6
ELF     7e3b4000-7e3b7000       Deferred        libxcomposite.so.1
ELF     7e3b7000-7e3bf000       Deferred        libxrandr.so.2
ELF     7e3bf000-7e3c8000       Deferred        libxrender.so.1
ELF     7e3c8000-7e3cb000       Deferred        libxinerama.so.1
ELF     7e3cb000-7e3ef000       Deferred        imm32<elf>
  \-PE  7e3d0000-7e3ef000       \               imm32
ELF     7e3ef000-7e48b000       Deferred        winex11<elf>
  \-PE  7e400000-7e48b000       \               winex11
ELF     7e48b000-7e4a4000       Deferred        libz.so.1
ELF     7e4a4000-7e540000       Deferred        libfreetype.so.6
ELF     7e540000-7e560000       Deferred        libtinfo.so.5
ELF     7e560000-7e584000       Deferred        libncurses.so.5
ELF     7e584000-7e5b8000       Deferred        ws2_32<elf>
  \-PE  7e590000-7e5b8000       \               ws2_32
ELF     7e5b8000-7e5e2000       Deferred        msacm32<elf>
  \-PE  7e5c0000-7e5e2000       \               msacm32
ELF     7e5e2000-7e662000       Deferred        rpcrt4<elf>
  \-PE  7e5f0000-7e662000       \               rpcrt4
ELF     7e662000-7e78c000       Deferred        ole32<elf>
  \-PE  7e680000-7e78c000       \               ole32
ELF     7e78c000-7e83d000       Deferred        winmm<elf>
  \-PE  7e790000-7e83d000       \               winmm
ELF     7e83d000-7e857000       Deferred        version<elf>
  \-PE  7e840000-7e857000       \               version
ELF     7e857000-7e8c3000       Deferred        advapi32<elf>
  \-PE  7e860000-7e8c3000       \               advapi32
ELF     7e8c3000-7e990000       Deferred        gdi32<elf>
  \-PE  7e8d0000-7e990000       \               gdi32
ELF     7e990000-7eae4000       Deferred        user32<elf>
  \-PE  7e9a0000-7eae4000       \               user32
ELF     7eae4000-7eaed000       Deferred        librt.so.1
ELF     7eaed000-7eaf3000       Deferred        libxdmcp.so.6
ELF     7eaf3000-7eaf6000       Deferred        libxau.so.6
ELF     7eaf6000-7eb13000       Deferred        libgcc_s.so.1
ELF     7ebff000-7ec0c000       Deferred        libdrm.so.2
ELF     7ec0c000-7ec12000       Deferred        libxxf86vm.so.1
ELF     7ec12000-7ec2b000       Deferred        libxcb-glx.so.0
ELF     7ec2b000-7ec2d000       Deferred        libx11-xcb.so.1
ELF     7ec2d000-7ec33000       Deferred        libxfixes.so.3
ELF     7ec33000-7ec36000       Deferred        libxdamage.so.1
ELF     7ec36000-7ec4c000       Deferred        libglapi.so.0
ELF     7ec4c000-7ec6f000       Deferred        libxcb.so.1
ELF     7ec6f000-7ecc9000       Deferred        libgl.so.1
ELF     7ecc9000-7ee01000       Deferred        libx11.so.6
ELF     7ee01000-7ee13000       Deferred        libxext.so.6
ELF     7ee13000-7ee2c000       Deferred        libice.so.6
ELF     7ee2c000-7ef05000       Deferred        opengl32<elf>
  \-PE  7ee40000-7ef05000       \               opengl32
ELF     7ef05000-7efa3000       Deferred        msvcrt<elf>
  \-PE  7ef20000-7efa3000       \               msvcrt
ELF     7efa3000-7efaf000       Deferred        libnss_files.so.2
ELF     7efaf000-7efba000       Deferred        libnss_nis.so.2
ELF     7efba000-7efd1000       Deferred        libnsl.so.1
ELF     7efd1000-7eff7000       Deferred        libm.so.6
ELF     7eff8000-7f000000       Deferred        libsm.so.6
ELF     b74d1000-b74d7000       Deferred        libuuid.so.1
ELF     b74d7000-b74df000       Deferred        libnss_compat.so.2
ELF     b74e1000-b74e5000       Deferred        libdl.so.2
ELF     b74e5000-b7648000       Dwarf           libc.so.6
ELF     b7648000-b7661000       Deferred        libpthread.so.0
ELF     b7661000-b77a4000       Dwarf           libwine.so.1
ELF     b77af000-b77cd000       Deferred        ld-linux.so.2
ELF     b77cd000-b77ce000       Dwarf           [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) Z:\tmp\Critter-1.0.0\critter.exe
        00000028    2
        00000027   15
        00000026    0
        00000009    0 <==
0000000e services.exe
        00000020    0
        0000001f    0
        00000019    0
        00000018    0
        00000017    0
        00000015    0
        00000010    0
        0000000f    0
00000012 winedevice.exe
        0000001a    0
        00000014    0
        00000013    0
0000001b plugplay.exe
        00000021    0
        0000001e    0
        0000001c    0
00000022 explorer.exe
        00000023    0

err:d3d:wined3d_adapter_init_gl_caps >>>>>>>>>>>>>>>>> GL_INVALID_ENUM (0x500) from extension detection @ ../../../dlls/wined3d/directx.c / 2717
nv10_state_fb.c:50: get_rt_format: Assertion `0' failed.
wine: Assertion failed at address 0xb77b1424 (thread 0009), starting debugger...
Unhandled exception: assertion failed in 32-bit code (0xb77b1424).
Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
 EIP:b77b1424 ESP:006bea88 EBP:006beaa0 EFLAGS:00200206(   - --  I   - -P- )
 EAX:00000000 EBX:0000187d ECX:0000187d EDX:00000006
 ESI:b760329f EDI:b7627ff4
Stack dump:
0x006bea88:  006beaa0 00000006 0000187d b74f3941
0x006bea98:  b7627ff4 006bebc0 006bebc8 b74f6d72
0x006beaa8:  00000006 006beb40 00000000 006beae8
0x006beab8:  b753f8ed 00000068 00000040 b75395a2
0x006beac8:  006beaf0 00000068 00000040 0000003a
0x006bead8:  7c5a8150 b7627ff4 0000003a 00000039
Backtrace:
=>0 0xb77b1424 __kernel_vsyscall+0x10() in [vdso].so (0x006beaa0)
  1 0xb74f3941 gsignal+0x50() in libc.so.6 (0x006beaa0)
  2 0xb74f6d72 abort+0x181() in libc.so.6 (0x006bebc8)
  3 0xb74ecb58 __assert_fail+0xf7() in libc.so.6 (0x006bec10)
  4 0x7dfc52e0 in nouveau_vieux_dri.so (+0x252df) (0x7c567a88)
  5 0x7dfb85fc in nouveau_vieux_dri.so (+0x185fb) (0x7c54b4b8)
  6 0x7e03727b in nouveau_vieux_dri.so (+0x9727a) (0x00000000)
  7 0x7e03851a in nouveau_vieux_dri.so (+0x98519) (0x006bf220)
  8 0x7e175c68 in nouveau_vieux_dri.so (+0x1d5c67) (0x006bf220)
  9 0x7dbb06b4 in wined3d (+0xe06b3) (0x006bf220)
  10 0x7dbb1e18 in wined3d (+0xe1e17) (0x006bf2f0)
  11 0x7db2aa03 in wined3d (+0x5aa02) (0x006bf880)
  12 0x7db361e3 in wined3d (+0x661e2) (0x006bf8a0)
  13 0x7dbb986a wined3d_create+0x59() in wined3d (0x006bf8d0)
  14 0x7dc2b315 in ddraw (+0x1b314) (0x006bf920)
  15 0x7dc3baad in ddraw (+0x2baac) (0x006bf980)
  16 0x7dc3c487 DirectDrawCreate+0x46() in ddraw (0x006bf9d0)
0xb77b1424 __kernel_vsyscall+0x10 in [vdso].so: popl    %ebp
Modules:
Module  Address                 Debug info      Name (99 modules)
PE        240000-  28a000       Deferred        sdl_image
PE        290000-  2dc000       Deferred        sdl_mixer
PE        400000-  4bf000       Deferred        critter
PE      10000000-10040000       Export          sdl
PE      66580000-66596000       Deferred        z
PE      6aa80000-6aaa6000       Deferred        png
ELF     7b800000-7ba3a000       Deferred        kernel32<elf>
  \-PE  7b810000-7ba3a000       \               kernel32
ELF     7bc00000-7bcd4000       Deferred        ntdll<elf>
  \-PE  7bc10000-7bcd4000       \               ntdll
ELF     7bf00000-7bf04000       Deferred        <wine-loader>
ELF     7dac2000-7dc09000       Dwarf           wined3d<elf>
  \-PE  7dad0000-7dc09000       \               wined3d
ELF     7dc09000-7dc7c000       Dwarf           ddraw<elf>
  \-PE  7dc10000-7dc7c000       \               ddraw
ELF     7dc7c000-7dc92000       Deferred        midimap<elf>
  \-PE  7dc80000-7dc92000       \               midimap
ELF     7dc92000-7dd8a000       Deferred        libasound.so.2
ELF     7dd8a000-7ddb8000       Deferred        winealsa<elf>
  \-PE  7dd90000-7ddb8000       \               winealsa
ELF     7ddf1000-7de0a000       Deferred        msacm32<elf>
  \-PE  7de00000-7de0a000       \               msacm32
ELF     7de0a000-7df19000       Deferred        oleaut32<elf>
  \-PE  7de20000-7df19000       \               oleaut32
ELF     7df19000-7df3d000       Deferred        mmdevapi<elf>
  \-PE  7df20000-7df3d000       \               mmdevapi
ELF     7df3d000-7df51000       Deferred        libresolv.so.2
ELF     7df51000-7df57000       Deferred        libnss_dns.so.2
ELF     7df57000-7dfa0000       Deferred        dsound<elf>
  \-PE  7df60000-7dfa0000       \               dsound
ELF     7dfa0000-7e324000       Dwarf           nouveau_vieux_dri.so
ELF     7e324000-7e32e000       Deferred        libxcursor.so.1
ELF     7e32e000-7e335000       Deferred        libdrm_nouveau.so.1
ELF     7e33a000-7e364000       Deferred        libexpat.so.1
ELF     7e364000-7e39a000       Deferred        libfontconfig.so.1
ELF     7e39a000-7e3a9000       Deferred        libxi.so.6
ELF     7e3a9000-7e3ac000       Deferred        libxcomposite.so.1
ELF     7e3ac000-7e3b4000       Deferred        libxrandr.so.2
ELF     7e3b4000-7e3bd000       Deferred        libxrender.so.1
ELF     7e3bd000-7e3c0000       Deferred        libxinerama.so.1
ELF     7e3c0000-7e3e4000       Deferred        imm32<elf>
  \-PE  7e3d0000-7e3e4000       \               imm32
ELF     7e3e4000-7e480000       Deferred        winex11<elf>
  \-PE  7e3f0000-7e480000       \               winex11
ELF     7e480000-7e499000       Deferred        libz.so.1
ELF     7e499000-7e535000       Deferred        libfreetype.so.6
ELF     7e535000-7e555000       Deferred        libtinfo.so.5
ELF     7e555000-7e579000       Deferred        libncurses.so.5
ELF     7e579000-7e5ad000       Deferred        ws2_32<elf>
  \-PE  7e580000-7e5ad000       \               ws2_32
ELF     7e5ad000-7e5d7000       Deferred        msacm32<elf>
  \-PE  7e5b0000-7e5d7000       \               msacm32
ELF     7e5d7000-7e657000       Deferred        rpcrt4<elf>
  \-PE  7e5e0000-7e657000       \               rpcrt4
ELF     7e657000-7e781000       Deferred        ole32<elf>
  \-PE  7e670000-7e781000       \               ole32
ELF     7e781000-7e832000       Deferred        winmm<elf>
  \-PE  7e790000-7e832000       \               winmm
ELF     7e832000-7e84c000       Deferred        version<elf>
  \-PE  7e840000-7e84c000       \               version
ELF     7e84c000-7e8b8000       Deferred        advapi32<elf>
  \-PE  7e860000-7e8b8000       \               advapi32
ELF     7e8b8000-7e985000       Deferred        gdi32<elf>
  \-PE  7e8c0000-7e985000       \               gdi32
ELF     7e985000-7ead9000       Deferred        user32<elf>
  \-PE  7e9a0000-7ead9000       \               user32
ELF     7ead9000-7eae2000       Deferred        librt.so.1
ELF     7eae2000-7eae8000       Deferred        libxdmcp.so.6
ELF     7eae8000-7eaeb000       Deferred        libxau.so.6
ELF     7eaeb000-7eb08000       Deferred        libgcc_s.so.1
ELF     7ebf4000-7ec01000       Deferred        libdrm.so.2
ELF     7ec01000-7ec07000       Deferred        libxxf86vm.so.1
ELF     7ec07000-7ec20000       Deferred        libxcb-glx.so.0
ELF     7ec20000-7ec22000       Deferred        libx11-xcb.so.1
ELF     7ec22000-7ec28000       Deferred        libxfixes.so.3
ELF     7ec28000-7ec3e000       Deferred        libglapi.so.0
ELF     7ec3e000-7ec61000       Deferred        libxcb.so.1
ELF     7ec61000-7ec67000       Deferred        libuuid.so.1
ELF     7ec67000-7ecc1000       Deferred        libgl.so.1
ELF     7ecc1000-7edf9000       Deferred        libx11.so.6
ELF     7edf9000-7ee0b000       Deferred        libxext.so.6
ELF     7ee0b000-7ee24000       Deferred        libice.so.6
ELF     7ee24000-7ee2c000       Deferred        libsm.so.6
ELF     7ee2c000-7ef05000       Deferred        opengl32<elf>
  \-PE  7ee40000-7ef05000       \               opengl32
ELF     7ef05000-7efa3000       Deferred        msvcrt<elf>
  \-PE  7ef20000-7efa3000       \               msvcrt
ELF     7efa3000-7efaf000       Deferred        libnss_files.so.2
ELF     7efaf000-7efba000       Deferred        libnss_nis.so.2
ELF     7efba000-7efd1000       Deferred        libnsl.so.1
ELF     7efd1000-7eff7000       Deferred        libm.so.6
ELF     7eff8000-7f000000       Deferred        libnss_compat.so.2
ELF     b74c0000-b74c3000       Deferred        libxdamage.so.1
ELF     b74c5000-b74c9000       Deferred        libdl.so.2
ELF     b74c9000-b762c000       Dwarf           libc.so.6
ELF     b762c000-b7645000       Deferred        libpthread.so.0
ELF     b7645000-b7788000       Dwarf           libwine.so.1
ELF     b7793000-b77b1000       Deferred        ld-linux.so.2
ELF     b77b1000-b77b2000       Dwarf           [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) Z:\tmp\Critter-1.0.0\critter.exe
        00000028    2
        00000027   15
        00000026    0
        00000009    0 <==
0000000e services.exe
        00000020    0
        0000001f    0
        00000019    0
        00000018    0
        00000017    0
        00000015    0
        00000010    0
        0000000f    0
00000012 winedevice.exe
        0000001a    0
        00000014    0
        00000013    0
0000001b plugplay.exe
        00000021    0
        0000001e    0
        0000001c    0
00000022 explorer.exe
        00000023    0


Reply to: