http://bugs.winehq.org/show_bug.cgi?id=32483
Bug #: 32483 Summary: Windows Sysinternals "PsInfo" tool fails to retrieve "Video driver" info due to missing registry device hw class {4D36E968-E325-11CE-BFC1-08002BE10318} Product: Wine Version: 1.5.19 Platform: x86 OS/Version: Linux Status: NEW Severity: enhancement Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: focht@gmx.net Classification: Unclassified
Hello folks,
Windows Sysinternals "PsInfo" tool fails to query for some system properties... Making this bug about "Video driver".
Output:
--- snip --- $ wine ./PsInfo.exe
PsInfo v1.77 - Local and remote system information viewer Copyright (C) 2001-2009 Mark Russinovich Sysinternals - www.sysinternals.com
Querying information for nexus4...fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),0,3,(nil),0,(nil)) - stub! System information for \nexus4: Uptime: Error reading uptime Kernel version: Microsoft Windows XP, Uniprocessor Free Product type: Professional Product version: 5.1 Service pack: 3 Kernel build number: 2600 Registered organization: Registered owner: IE version: 6.0000 System root: C:\windows Processors: 4 Processor speed: 2.6 GHz Processor type: Intel(R) Pentium(R) 4 CPU Physical memory: 0 MB Video driver: --- snip ---
Trace log for failing registry queries (0-9):
--- snip --- ... 0024:Call advapi32.RegOpenKeyExW(80000002,0032f98c L"SYSTEM\CurrentControlSet\Control\Class\{4D36E968-E325-11CE-BFC1-08002BE10318}\0000",00000000,00020019,0032f96c) ret=00404611 0024:Ret advapi32.RegOpenKeyExW() retval=00000002 ret=00404611 0024:Call KERNEL32.GetLastError() ret=0040d8f2 0024:Ret KERNEL32.GetLastError() retval=00000000 ret=0040d8f2 ... 0024:Call advapi32.RegOpenKeyExW(80000002,0032f98c L"SYSTEM\CurrentControlSet\Control\Class\{4D36E968-E325-11CE-BFC1-08002BE10318}\0009",00000000,00020019,0032f96c) ret=00404611 0024:Ret advapi32.RegOpenKeyExW() retval=00000002 ret=00404611 --- snip ---
4D36E968-E325-11CE-BFC1-08002BE10318 -> Display class GUID
There are already a couple of hardware device class GUIDs in Wine registry:
--- snip --- [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Class]
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Class{4d36e967-e325-11ce-bfc1-08002be10318}] @="Disk drives" "Class"="DiskDrive"
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Class{4d36e978-e325-11ce-bfc1-08002be10318}] @="Ports (COM & LPT)" "Class"="Ports"
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Class{6bdd1fc6-810f-11d0-bec7-08002be2092f}] @="Imaging devices" "Class"="Image" --- snip ---
Regards
http://bugs.winehq.org/show_bug.cgi?id=32483
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://technet.microsoft.co | |m/en-us/sysinternals/bb8975 | |50.aspx
--- Comment #1 from Anastasius Focht focht@gmx.net 2012-12-18 15:31:03 CST --- Hello folks,
filling fields ...
$ du -sh PSTools.zip 1.6M PSTools.zip
$ sha1sum PSTools.zip 853db38ae016df89beef8663e9f60cec0aeca343 PSTools.zip
$ wine --version wine-1.5.19-214-gb47facb
Regards
https://bugs.winehq.org/show_bug.cgi?id=32483
--- Comment #2 from Anastasius Focht focht@gmx.net --- Hello folks,
revisiting, still present.
$ wine --version wine-1.7.24-150-gcf4404c
Regards
https://bugs.winehq.org/show_bug.cgi?id=32483
--- Comment #3 from Anastasius Focht focht@gmx.net --- Hello folks,
revisiting, still present.
--- snip --- $ wine ./PsInfo.exe
PsInfo v1.78 - Local and remote system information viewer Copyright (C) 2001-2016 Mark Russinovich Sysinternals - www.sysinternals.com
Querying information for n550...0009:fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),0,3,(nil),0,(nil)) - stub! System information for \n550: Uptime: 0 days 1 hour 6 minutes 38 seconds Kernel version: Microsoft Windows 7, Uniprocessor Free Product type: Professional Product version: 6.1 Service pack: 1 Kernel build number: 7601 Registered organization: Registered owner: IE version: 6.0000 System root: C:\windows Processors: 8 Processor speed: 3.4 GHz Processor type: Intel(R) Pentium(R) 4 CPU Physical memory: 0 MB Video driver: --- snip ---
$ sha1sum PSTools.zip 1e562ff2bae38856f8dcf3f939cdbe8e1bf6ccf3 PSTools.zip
$ du -sh PSTools.zip 2.8M PSTools.zip
$ wine --version wine-3.13
Regards
https://bugs.winehq.org/show_bug.cgi?id=32483
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |bada31698fec7125329cae6e62b | |2cf70205d5ece Resolution|--- |FIXED Status|NEW |RESOLVED URL|http://technet.microsoft.co |https://web.archive.org/web |m/en-us/sysinternals/bb8975 |/20200524120031/https://dow |50.aspx |nload.sysinternals.com/file | |s/PSTools.zip Summary|Windows Sysinternals |Windows Sysinternals |"PsInfo" tool fails to |'PsInfo' tool fails to |retrieve "Video driver" |retrieve video driver |info due to missing |description due to missing |registry device hw class |registry data for 'Video' |{4D36E968-E325-11CE-BFC1-08 |device class |002BE10318} |'{4D36E968-E325-11CE-BFC1-0 | |8002BE10318}' Component|-unknown |winex11.drv
--- Comment #4 from Anastasius Focht focht@gmx.net --- Hello folks,
this was fixed by commit https://source.winehq.org/git/wine.git/commitdiff/bada31698fec7125329cae6e62... ("winex11.drv: Initialize GPU registry data."), part of Wine 4.11 release.
Thanks Zhiyi
---
Adding stable link via Internet Archive:
https://web.archive.org/web/20200524120031/https://download.sysinternals.com...
--- snip --- $ wine ./PsInfo.exe ...
PsInfo v1.78 - Local and remote system information viewer Copyright (C) 2001-2016 Mark Russinovich Sysinternals - www.sysinternals.com
...
System information for \N550: Uptime: 0 days 2 hours 44 minutes 40 seconds Kernel version: Microsoft Windows 7, Uniprocessor Free Product type: Professional Product version: 6.1 Service pack: 1 Kernel build number: 7601 Registered organization: Registered owner: IE version: 6.0000 System root: C:\windows Processors: 8 Processor speed: 3.4 GHz Processor type: Intel(R) Core(TM) i7-4700HQ CPU @ Physical memory: 0 MB Video driver: modesetting --- snip ---
-> 'modesetting'
Trace log:
--- snip --- $ WINEDEBUG=+seh,+relay,+reg wine ./psinfo.exe >>log.txt 2>&1 ... 00c4:Call advapi32.RegOpenKeyExW(80000002,0031fc94 L"SYSTEM\CurrentControlSet\Control\Class\{4D36E968-E325-11CE-BFC1-08002BE10318}\0000",00000000,00020019,0031fa84) ret=004041e6 ... 00c4:Ret advapi32.RegOpenKeyExW() retval=00000000 ret=004041e6 00c4:Call advapi32.RegQueryValueExW(0000006c,004237ac L"DriverDesc",00000000,0031fa80,0042f570,0031fa88) ret=0040421e 00c4:trace:reg:RegQueryValueExW (0000006C,L"DriverDesc",00000000,0031FA80,0042F570,0031FA88=260) ... 00c4:trace:reg:NtQueryValueKey (0x6c,L"DriverDesc",2,0x31f8e0,256) 00c4:Ret ntdll.NtQueryValueKey() retval=00000000 ret=7b037f40 00c4:Call ntdll.memcpy(0042f570,0031f8ec,00000018) ret=7b037fef 00c4:Ret ntdll.memcpy() retval=0042f570 ret=7b037fef ... 00c4:Ret advapi32.RegQueryValueExW() retval=00000000 ret=0040421e 00c4:Call advapi32.RegCloseKey(0000006c) ret=0040422a ... 00c4:Ret advapi32.RegCloseKey() retval=00000000 ret=0040422a --- snip ---
$ sha1sum PSTools.zip ad067399bd4a553da391d8059b95b1bd156fbb0b PSTools.zip
$ du -sh PSTools.zip 3.1M PSTools.zip
$ wine --version wine-5.9
Regards
https://bugs.winehq.org/show_bug.cgi?id=32483
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.10.