druid: Latest version can not run on Windows 7 64bit
Latest git version(2020-10-11) can not run on Windows 7 64 bit ( in VirtualBox ).
for example widget_gallery.exe:
INFO [druid_shell::platform::windows::util] No shcore.dll
INFO [druid_shell::platform::windows::util] Could not load GetDpiForSystem. Windows 10 or later is needed
INFO [druid_shell::platform::windows::util] Could not load GetDpiForWindow. Windows 10 or later is needed
INFO [druid_shell::platform::windows::util] Could not load SetProcessDpiAwarenessContext. Windows 10 or later is needed
INFO [druid_shell::platform::windows::util] Could not load GetSystemMetricsForDpi. Windows 10 or later is needed
DEBUG [druid::localization] available locales [], current en-US
DEBUG [druid::localization] resolved: [en-US]
DEBUG [druid_shell::platform::windows::window] dxgi factory pointer = 0x3a39d0
DEBUG [druid_shell::platform::windows::window] 0x3b6bb0: desc = Some(“VirtualBox Graphics Adapter (WDDM)”), vram = 147914752
DEBUG [druid_shell::platform::windows::window] adapter = 0x3b6bb0
ERROR [druid_shell::platform::windows::dcomp] D3D11CreateDevice: 0x887a0004
ERROR [druid_shell::platform::windows::window] Creating swapchain failed: Hr(-2005270524)
thread ‘main’ panicked at ‘called Option::unwrap() on a None value’, druid-shell\src\platform\windows\window.rs:812:55
stack backtrace:
0: 0x13f93479e - <unknown>
1: 0x13f94b57b - <unknown>
2: 0x13f930b98 - <unknown>
3: 0x13f937534 - <unknown>
4: 0x13f937118 - <unknown>
5: 0x13f937def - <unknown>
6: 0x13f937955 - <unknown>
7: 0x13f9350df - <unknown>
8: 0x13f937909 - <unknown>
9: 0x13f9492d0 - <unknown>
10: 0x13f94921c - <unknown>
11: 0x13f857d06 - <unknown>
12: 0x13f85bf6d - <unknown>
13: 0x77079bbd - TranslateMessageEx
14: 0x7707729b - SetWindowTextW
15: 0x770767e9 - IsDialogMessageW
16: 0x771cb5cf - KiUserCallbackDispatcher
17: 0x770718ea - ShowWindow
18: 0x13f84e70a - <unknown>
19: 0x13f73386c - <unknown>
20: 0x13f749dd8 - <unknown>
21: 0x13f739d76 - <unknown>
22: 0x13f739d8c - <unknown>
23: 0x13f938133 - <unknown>
24: 0x13f74fd07 - <unknown>
25: 0x13f9aefc4 - <unknown>
26: 0x76f5556d - BaseThreadInitThunk
27: 0x771b385d - RtlUserThreadStart
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 15 (6 by maintainers)
Commits related to this issue
- Improve Windows 7 DXGI compatibility Use the WARP driver when creating a D3D11 device if the HARDWARE driver is not available. Fixes #1300 — committed to linebender/druid by raphlinus 4 years ago
Now it works fine on the virtual machine win7 sp1 and windows server 2008 r2, so whether it is the problem of the virtual machine or the operating system, the problem has been solved.
Sweet! Let me prepare a PR that hopefully will fix this.