Win 7 Guest d3d8.dll and d3d9.dll corrupt

Discussions about using Windows guests in VirtualBox.
Post Reply
ken wtk

Win 7 Guest d3d8.dll and d3d9.dll corrupt

Post by ken wtk »

I found that my win 7 pro d3d8.dll and d3d9.dll are corrupted via sfc checking. I have replaced the files but the problem still exist. Anyway to solve this issue?


Code: Select all

2017-10-27 18:19:48, Info                  CSI    000003a5 [SR] Cannot repair member file [l:16{8}]"d3d9.dll" of Microsoft-Windows-DirectX-Direct3D9, Version = 6.1.7601.17514, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral in the store, hash mismatch
2017-10-27 18:19:48, Info                  CSI    000003a7 [SR] Cannot repair member file [l:16{8}]"d3d8.dll" of Microsoft-Windows-DirectX-Direct3D8, Version = 6.1.7600.16385, pA = PROCESSOR_ARCHITECTURE_INTEL (0), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral in the store, hash mismatch
2017-10-27 18:19:48, Info                  CSI    000003a9 [SR] Cannot repair member file [l:16{8}]"d3d9.dll" of Microsoft-Windows-DirectX-Direct3D9, Version = 6.1.7601.17514, pA = PROCESSOR_ARCHITECTURE_INTEL (0), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral in the store, hash mismatch
2017-10-27 18:19:48, Info                  CSI    000003ab [SR] Cannot repair member file [l:16{8}]"d3d9.dll" of Microsoft-Windows-DirectX-Direct3D9, Version = 6.1.7601.17514, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral in the store, hash mismatch
2017-10-27 18:19:48, Info                  CSI    000003ac [SR] This component was referenced by [l:202{101}]"Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.1.7601.17514.WindowsFoundationDelivery"
2017-10-27 18:19:48, Info                  CSI    000003ae [SR] Cannot repair member file [l:16{8}]"d3d8.dll" of Microsoft-Windows-DirectX-Direct3D8, Version = 6.1.7600.16385, pA = PROCESSOR_ARCHITECTURE_INTEL (0), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral in the store, hash mismatch
2017-10-27 18:19:48, Info                  CSI    000003af [SR] This component was referenced by [l:202{101}]"Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.1.7601.17514.WindowsFoundationDelivery"
2017-10-27 18:19:48, Info                  CSI    000003b1 [SR] Cannot repair member file [l:16{8}]"d3d9.dll" of Microsoft-Windows-DirectX-Direct3D9, Version = 6.1.7601.17514, pA = PROCESSOR_ARCHITECTURE_INTEL (0), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral in the store, hash mismatch
2017-10-27 18:19:48, Info                  CSI    000003b2 [SR] This component was referenced by [l:202{101}]"Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.1.7601.17514.WindowsFoundationDelivery"
2017-10-27 18:19:48, Info                  CSI    000003b4 [SR] Repairing corrupted file [ml:520{260},l:74{37}]"\??\C:\Windows\system32\drivers\zh-TW"\[l:28{14}]"usbhub.sys.mui" from store
BillG
Volunteer
Posts: 5102
Joined: 19. Sep 2009, 04:44
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows 10,7 and earlier
Location: Sydney, Australia

Re: Win 7 Guest d3d8.dll and d3d9.dll corrupt

Post by BillG »

How is that a VirtualBox problem? It is clearly a Windows OS problem. The solution would be exactly the same for a virtual as for a physical machine.

A web search will show it is not an uncommon problem. What did you use the replace the dlls?
Bill
ken wtk

Re: Win 7 Guest d3d8.dll and d3d9.dll corrupt

Post by ken wtk »

I have tried it on previous version that is fine. After upgraded to 5.2, I found that it has this error found on the windows guest platform
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Win 7 Guest d3d8.dll and d3d9.dll corrupt

Post by mpack »

An sfc check is a VERY bad idea inside a VM.

Take a look at what installing normal 3D acceleration does, according to the user manual: it replaces certain system DLLs (including the ones mentioned) with special versions. That's why it has to be installed in safe mode. [ SOURCE: USER MANUAL s4.5.1 ].

What does sfc do? It looks for system DLLs which have been changed since system installation, and reverts them. [ SOURCE: Google ].

Do you see a potential problem here?
ken wtk

Re: Win 7 Guest d3d8.dll and d3d9.dll corrupt

Post by ken wtk »

I have tried on another machine that the command result is normal. Thus, I doubt the 3d acceleration seems abnormal
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Win 7 Guest d3d8.dll and d3d9.dll corrupt

Post by socratis »

Indeed running "sfc /scannow" has no adverse affect on the system. I didn't know that as well, but a quick test showed that there is no problem with that. Which means that your problem is something entirely different, Windows based.

Just because a program that runs in the context of VirtualBox has a problem, it doesn't make it a VirtualBox problem. You're having an issue that has most probably nothing to do with VirtualBox, so my suggestion would be to treat it as such, as a native problem with the OS or the application of the guest.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
ken wtk

Re: Win 7 Guest d3d8.dll and d3d9.dll corrupt

Post by ken wtk »

Yes, but I also found the Surrogate does not work. It will prompt for closing the application once open any picture.
Post Reply