https://bugs.winehq.org/show_bug.cgi?id=47367
Bug ID: 47367 Summary: Some WPF 4.x apps from Windows 10 SDK (10.0.17763.x) spam console with fixme:d3d:wined3d_driver_info_init Unhandled OS version 6.3, reporting Win 8. (WinVer set to 'Windows 8.1') Product: Wine Version: 4.10 Hardware: x86-64 OS: Linux Status: NEW Severity: minor Priority: P2 Component: directx-d3d Assignee: wine-bugs@winehq.org Reporter: focht@gmx.net Distribution: ---
Hello folks,
as it says. The Windows version of the WINEPREFIX is set to 'Windows 8.1'.
--- snip --- $ pwd /home/focht/wine-apps/wineprefix64-win10sdk/drive_c/Program Files (x86)/Windows Kits/10/bin/10.0.17763.0/x86
$ wine ./DeviceMetadataWizard.exe ... 0009:fixme:uiautomation:UiaLookupId (2, {ed7d6544-a6bd-4595-9bae-3d28946cc715}) stub! 0037:fixme:d3d:wined3d_driver_info_init Unhandled OS version 6.3, reporting Win 8. 0037:fixme:d3d:wined3d_driver_info_init Unhandled OS version 6.3, reporting Win 8. 0037:fixme:d3d:wined3d_driver_info_init Unhandled OS version 6.3, reporting Win 8. 0037:fixme:d3d:wined3d_driver_info_init Unhandled OS version 6.3, reporting Win 8. 0037:fixme:d3d:wined3d_driver_info_init Unhandled OS version 6.3, reporting Win 8. 0009:fixme:shell:URL_ParseUrl failed to parse L"DeviceMetadataCommon" 0037:fixme:d3d:wined3d_driver_info_init Unhandled OS version 6.3, reporting Win 8. 0037:fixme:d3d:wined3d_driver_info_init Unhandled OS version 6.3, reporting Win 8. 0037:fixme:d3d:wined3d_driver_info_init Unhandled OS version 6.3, reporting Win 8. 0037:fixme:d3d:wined3d_driver_info_init Unhandled OS version 6.3, reporting Win 8. ... <endless spam> --- snip ---
Wine source:
https://source.winehq.org/git/wine.git/blob/HEAD:/dlls/wined3d/directx.c#l54...
--- snip --- 543 void wined3d_driver_info_init(struct wined3d_driver_info *driver_info, 544 const struct wined3d_gpu_description *gpu_desc, UINT64 vram_bytes, UINT64 sysmem_bytes) 545 { 546 const struct driver_version_information *version_info; 547 enum wined3d_driver_model driver_model; 548 enum wined3d_display_driver driver; 549 MEMORYSTATUSEX memory_status; 550 OSVERSIONINFOW os_version; 551 WORD driver_os_version; 552 553 memset(&os_version, 0, sizeof(os_version)); 554 os_version.dwOSVersionInfoSize = sizeof(os_version); 555 if (!GetVersionExW(&os_version)) 556 { 557 ERR("Failed to get OS version, reporting 2000/XP.\n"); 558 driver_os_version = 6; 559 driver_model = DRIVER_MODEL_NT5X; 560 } 561 else 562 { 563 TRACE("OS version %u.%u.\n", os_version.dwMajorVersion, os_version.dwMinorVersion); 564 switch (os_version.dwMajorVersion) 565 { ... 579 case 6: 580 if (os_version.dwMinorVersion == 0) 581 { 582 driver_os_version = 7; 583 driver_model = DRIVER_MODEL_NT6X; 584 } 585 else if (os_version.dwMinorVersion == 1) 586 { 587 driver_os_version = 8; 588 driver_model = DRIVER_MODEL_NT6X; 589 } 590 else 591 { 592 if (os_version.dwMinorVersion > 2) 593 { 594 FIXME("Unhandled OS version %u.%u, reporting Win 8.\n", 595 os_version.dwMajorVersion, os_version.dwMinorVersion); 596 } 597 driver_os_version = 9; 598 driver_model = DRIVER_MODEL_NT6X; 599 } 600 break; .. --- snip ---
'MinorVersion > 3' to avoid the FIXME spam. Windows 8.1 has still same driver model.
$ sha1sum 17763.1.180914-1434.rs5_release_WindowsSDK.iso e702b5e5f2597d01eaee1eb1be7a34b0da0b6211 17763.1.180914-1434.rs5_release_WindowsSDK.iso
$ du -sh 17763.1.180914-1434.rs5_release_WindowsSDK.iso 815M 17763.1.180914-1434.rs5_release_WindowsSDK.iso
$ wine --version wine-4.10-154-gc674ceefe1
Regards
https://bugs.winehq.org/show_bug.cgi?id=47367
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://software-download.m | |icrosoft.com/download/pr/17 | |763.1.180914-1434.rs5_relea | |se_WindowsSDK.iso Keywords| |download
https://bugs.winehq.org/show_bug.cgi?id=47367
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |0bcb2de66a3d98a291c1e432b1a | |9c88c17def4b6 Resolution|--- |FIXED Status|NEW |RESOLVED
--- Comment #1 from Anastasius Focht focht@gmx.net --- Hello folks,
this is fixed by commit https://source.winehq.org/git/wine.git/commitdiff/0bcb2de66a3d98a291c1e432b1... ("wined3d: Handle Windows 8.1 in wined3d_driver_info_init().")
Thanks Henri
$ wine --version wine-4.11-138-g6e97461580
Regards
https://bugs.winehq.org/show_bug.cgi?id=47367
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 4.12.
https://bugs.winehq.org/show_bug.cgi?id=47367
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |4.0.x
https://bugs.winehq.org/show_bug.cgi?id=47367
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|4.0.x |---
--- Comment #3 from Michael Stefaniuc mstefani@winehq.org --- Removing the 4.0.x milestone from bug fixes included in 4.0.3.
https://bugs.winehq.org/show_bug.cgi?id=47367
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|https://software-download.m |https://web.archive.org/web |icrosoft.com/download/pr/17 |/20190317015617/https://sof |763.1.180914-1434.rs5_relea |tware-download.microsoft.co |se_WindowsSDK.iso |m/download/pr/17763.1.18091 | |4-1434.rs5_release_WindowsS | |DK.iso