https://bugs.winehq.org/show_bug.cgi?id=49397
Bug ID: 49397 Summary: DX11 Sample "Texturing and Lighting" fails with error "Failed to load texture" Product: Wine Version: 5.10 Hardware: x86-64 URL: https://drive.google.com/uc?export=download&id=0B0ND0J 8HHfaXenFyNC12ZlJlS1U OS: Linux Status: NEW Keywords: download, source Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs@winehq.org Reporter: gijsvrm@gmail.com Distribution: ArchLinux
Created attachment 67467 --> https://bugs.winehq.org/attachment.cgi?id=67467 +d3d11,+d3d,+dxgi
I'm running Arch Linux with a GTX 750Ti (driver version 440.82).
Attached is a +d3d11,+d3d,+dxgi log.
https://bugs.winehq.org/show_bug.cgi?id=49397
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|https://drive.google.com/uc |https://web.archive.org/web |?export=download&id=0B0ND0J |/20210621162951if_/https:// |8HHfaXenFyNC12ZlJlS1U |doc-14-b4-docs.googleuserco | |ntent.com/docs/securesc/ha0 | |ro937gcuc7l7deffksulhg5h7mb | |p1/jijvc8ujb3g2a4v9caklvo6g | |1ru8saut/1624292925000/0355 | |5498976107003982/*/0B0ND0J8 | |HHfaXenFyNC12ZlJlS1U?e=down | |load
--- Comment #1 from Gijs Vermeulen gijsvrm@gmail.com --- Still present with wine-6.11.
Adding a stable download.
$ sha1sum DirectX11_TexturingAndLighting.zip 61625c20443d394c168f802cea586e1a5767c440 DirectX11_TexturingAndLighting.zip
$ du -sh DirectX11_TexturingAndLighting.zip 9.2M DirectX11_TexturingAndLighting.zip
https://bugs.winehq.org/show_bug.cgi?id=49397
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Fixed by SHA1| |374ad339048e73269d9590ed343 | |8e959179fee09 Resolution|--- |FIXED Component|directx-d3d |user32
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com --- This works for me now, apparently it relies on implicit COM initialization, that was implemented with this:
commit 374ad339048e73269d9590ed3438e959179fee09 Author: Piotr Caban piotr@codeweavers.com Date: Sat Oct 16 21:21:13 2021 +0200
user32: Set IMM active context on focus change.
Signed-off-by: Piotr Caban piotr@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
dlls/imm32/tests/imm32.c | 11 +++++++++-- dlls/user32/focus.c | 13 ++++++++++++- dlls/user32/misc.c | 30 ++++++++++++++++++++++++++++++ dlls/user32/user_private.h | 3 +++ 4 files changed, 54 insertions(+), 3 deletions(-)
Last two lines from original log:
0024:err:ole:CoCreateInstanceEx apartment not initialised 0024:err:ole:CoCreateInstanceEx apartment not initialised
are about WIC factory creation failure.
https://bugs.winehq.org/show_bug.cgi?id=49397
--- Comment #3 from Gijs Vermeulen gijsvrm@gmail.com --- I can confirm it works now, thanks for testing Nikolay!
https://bugs.winehq.org/show_bug.cgi?id=49397
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 7.0-rc3.