https://bugs.winehq.org/show_bug.cgi?id=54519
Bug ID: 54519 Summary: d3d9:visual - test_mipmap_upload() fails on AMD and Nvidia GPUs Product: Wine Version: unspecified Hardware: x86-64 OS: Windows Status: NEW Severity: normal Priority: P2 Component: d3d Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com
d3d9:visual - test_mipmap_upload() fails on AMD and Nvidia GPUs. This impacts three VMs:
fgtb-w10pro64_rx550 (AMD RX550): visual.c:27986: Test failed: pool 0x2: level 0: Got unexpected color 0x00000000. visual.c:27986: Test failed: pool 0x2: level 1: Got unexpected color 0x00000000. visual.c:27986: Test failed: pool 0x2: level 2: Got unexpected color 0x00000000. visual.c:27986: Test failed: pool 0x2: level 3: Got unexpected color 0x00000000. visual.c:27986: Test failed: pool 0x2: level 4: Got unexpected color 0x00000000. visual.c:27986: Test failed: pool 0x2: level 5: Got unexpected color 0x00000000.
w11pro64_amd (AMD RX660): visual.c:404: Test failed: pool 0x2: level 0: Got hr 0x80004005. visual.c:27986: Test failed: pool 0x2: level 0: Got unexpected color 0x00ff0000. visual.c:404: Test failed: pool 0x2: level 1: Got hr 0x80004005. visual.c:27986: Test failed: pool 0x2: level 1: Got unexpected color 0x00ff0000. visual.c:404: Test failed: pool 0x2: level 2: Got hr 0x80004005. visual.c:27986: Test failed: pool 0x2: level 2: Got unexpected color 0x00ff0000. visual.c:404: Test failed: pool 0x2: level 3: Got hr 0x80004005. visual.c:27986: Test failed: pool 0x2: level 3: Got unexpected color 0x00ff0000. visual.c:404: Test failed: pool 0x2: level 4: Got hr 0x80004005. visual.c:27986: Test failed: pool 0x2: level 4: Got unexpected color 0x00ff0000. visual.c:404: Test failed: pool 0x2: level 5: Got hr 0x80004005. visual.c:27986: Test failed: pool 0x2: level 5: Got unexpected color 0x00ff0000.
w11pro64_nv (NVIDIA RTX3050): visual.c:195: pool 0x2: level 0: Can't create an offscreen plain surface to read the render target data, hr 0x80004005. visual.c:27986: Test failed: pool 0x2: level 0: Got unexpected color 0x00adbeef. visual.c:27986: Test failed: pool 0x2: level 1: Got unexpected color 0x00000000. visual.c:195: pool 0x2: level 2: Can't create an offscreen plain surface to read the render target data, hr 0x80004005. visual.c:27986: Test failed: pool 0x2: level 2: Got unexpected color 0x00adbeef. visual.c:195: pool 0x2: level 3: Can't create an offscreen plain surface to read the render target data, hr 0x80004005. visual.c:27986: Test failed: pool 0x2: level 3: Got unexpected color 0x00adbeef. visual.c:195: pool 0x2: level 4: Can't create an offscreen plain surface to read the render target data, hr 0x80004005. visual.c:27986: Test failed: pool 0x2: level 4: Got unexpected color 0x00adbeef. visual.c:195: pool 0x2: level 5: Can't create an offscreen plain surface to read the render target data, hr 0x80004005. visual.c:27986: Test failed: pool 0x2: level 5: Got unexpected color 0x00adbeef.
See https://test.winehq.org/data/patterns.html#d3d9:visual
These failures all started on 2023-01-06 and a bisect shows that, on all three machines, they started with the commit below:
commit 2954d3e4a23025657740fb178ddbe110890c0cc8 Author: Zebediah Figura zfigura@codeweavers.com Date: Tue Dec 20 17:43:39 2022 -0600
d3d9/tests: Test uploading the whole mipmap chain in one map.
Signed-off-by: Zebediah Figura zfigura@codeweavers.com