[Bug 52089] d2d1:d2d1 fails in test_draw_geometry() on Wine

WineHQ Bugzilla wine-bugs at winehq.org
Thu Jan 13 19:36:31 CST 2022


https://bugs.winehq.org/show_bug.cgi?id=52089

Stefan Brüns <stefan.bruens at rwth-aachen.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |stefan.bruens at rwth-aachen.d
                   |                            |e

--- Comment #7 from Stefan Brüns <stefan.bruens at rwth-aachen.de> ---
(In reply to Stefan Dösinger from comment #5)
> The tests pass on Radeon (unsurprisingly, I tested on that before I sent
> them). LIBGL_ALWAYS_SOFTWARE=1 seems broken on my system and just segfaults,
> I'll have to investigate why.

This is apparently triggered by GL_EXT_memory_object, more specifically this
part:
https://github.com/wine-mirror/wine/blob/master/dlls/wined3d/adapter_gl.c#L3864-L3884

Fortunately, one can disable specific extensions:
https://docs.mesa3d.org/envvars.html#core-mesa-environment-variables

$> LIBGL_ALWAYS_SOFTWARE=1 MESA_EXTENSION_OVERRIDE="-GL_EXT_memory_object" 
wine ./dlls/d2d1/tests/d2d1_test.exe

...
0130:d2d1: Silenced 0 todos, 0 skips and 840 traces.
0130:d2d1: 10363 tests executed (166 marked as todo, 0 failures), 1 skipped.

glxinfo | grep -E 'Vendor|Device'
    Vendor: Mesa/X.org (0xffffffff)
    Device: llvmpipe (LLVM 13.0.0, 256 bits) (0xffffffff)


Intel Haswell is also fine (same result):
    Vendor: Intel Open Source Technology Center (0x8086)
    Device: Mesa DRI Intel(R) HD Graphics 4400 (HSW GT2) (0xa16)

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list