Opened 6 years ago
Last modified 5 years ago
#16664 new defect
Graphics: extensive pixelation and discoloration with VirtualBox graphcis driver and Aero enabled; Windows 7, 8.1, 10
Reported by: | JMH1 | Owned by: | |
---|---|---|---|
Component: | guest additions | Version: | VirtualBox 5.1.18 |
Keywords: | graphics, guest additions, display, pixelation, Aero, driver | Cc: | jmh@… |
Guest type: | Windows | Host type: | Windows |
Description
I install clean Windows 7/8/1/10 installations. I then install Guest Additions with the default graphics driver, and restart. For Windows 7, I manually enable Aero. For Windows 8.1 & 10, this is automatic. Everything is fine until I start a Windows Installer program, or try to uninstall certain programs. At this point the display starts to become pixelated and discolored. Each time I change screens or move the cursor the pixilation becomes worse.
SPECIFICS: The only way to get rid of the pixilation without restarting the VM is to restore (un-maximize) and maximize the VM display window. I started noticing this about a month ago. I tried rolling back the VM additions and graphics drivers to the versions when this wasn't yet a problem, but that does not fix it. This occurs in Windows 7, 8.1, and 10, in both x86 and x64. This problem can be avoided by disabling Aero in Windows 7. HOWEVER, disabling Aero transparency does NOT fix Windows 8.1 or 10. This is not remedied by changing the amount of VM graphics memory, 2D settings, or 3D settings. I tried ALL combinations of enabling and disabling these. HOST GRAPHICS: NVidia GeForce GTX 970M HOST OS: Windows 10 x64 LOG: Attached. Starts at VM bootup and ends at first signs of this pixilation.
Attachments (7)
Change History (17)
by , 6 years ago
by , 6 years ago
After a couple of more clicks, the entire screen becomes pixelized.
by , 6 years ago
If I click-and-drag open windows arounds, the pixelation becomes extreme and I cannot see to continue
by , 6 years ago
Attachment: | VBoxHardening.log added |
---|
VBox hardening log, truncated to allow uploading size
comment:1 by , 6 years ago
The VBoxHardening log is filled with thousands of these errors:
'C:\WINDOWS\System32\OPENGL32.dll' 3180.3720: supR3HardenedMonitor_LdrLoadDll: returns rcNt=0x0 hMod=00007ff9a5730000 'C:\WINDOWS\System32\OPENGL32.dll' 3180.3720: supR3HardenedMonitor_LdrLoadDll: returns rcNt=0x0 hMod=00007ff9a5730000
follow-up: 3 comment:2 by , 6 years ago
Similar issue applies to Windows 10 Host and Linux Mint 18 guest.
Virtual Box version: Version 5.2.0 r118431. Issue first observed on 5.1.x series.
VM parameters: RAM 3000MB, ICH9 chipset, Video memory 64MB (tried 128MB too), 3d acceleration is enabled.
Guest tools: 5.1.30 (5.2.0 does not compile)
Hardware: Dell Precision 5510 laptop.
The VBoxHardening log is filled with: 2c20.36f8: supR3HardenedMonitor_LdrLoadDll: returns rcNt=0x0 hMod=00007ff985750000 'C:\WINDOWS\System32\OPENGL32.dll'
Issue first observed, when Intel HD Graphics 530 driver was updated to version after 21.20.16.4590. Current version installed 21.20.16.4664. After driver downgrade issue is not observed.
Issue is not observed, when guest 3D acceleration is disabled (however modern desktops are not usable with such setup.)
In my case system boots normally, however after launching application with complex GUI screen is filled with pixels. Screen is cleared from pixelation if VM window is resized, however for some applications their window content is not refreshed and remains blank/corrupted. Launching more than one RAM intensive application also increases probability for screen distortion.
Known applications causing issue to appear every time or after some tasks done via application: Atom Editor, Squirrel SQL, Sublime text, Light table (this causes a bit different corruption, see attachments).
by , 6 years ago
Attachment: | Lighttable-corruption.jpg added |
---|
After starting Lighttable pixelated mirrored top of screen appears on the bottom.
by , 6 years ago
Attachment: | Sublime-corruption.JPG added |
---|
Sublime cause red tinted pixelation to occur. Note: image redacted to hide some names.
follow-up: 4 comment:3 by , 6 years ago
Replying to Elvinas:
Issue first observed, when Intel HD Graphics 530 driver was updated to version after 21.20.16.4590. Current version installed 21.20.16.4664. After driver downgrade issue is not observed.
Your new drivers are not properly signed, or the certificate database was not updated during the update. If a DLL is not properly signed, it cannot be loaded from VirtualBox. You can see this from your VBox.log, if you open it and really early (20-50 lines) you will see that the DLL is rejected.
Solution: get properly signed drivers. If you re-update that may also update the certificate database in Windows.
BTW, same goes for JMH1. If JMH1 had included the whole VBoxHardening.log (and not the part that he thought was useful), or the VBox.log of a complete start/stop session, you would have noticed that as well.
comment:4 by , 6 years ago
Replying to socratis:
Replying to Elvinas:
Issue first observed, when Intel HD Graphics 530 driver was updated to version after 21.20.16.4590. Current version installed 21.20.16.4664. After driver downgrade issue is not observed.
Your new drivers are not properly signed, or the certificate database was not updated during the update. If a DLL is not properly signed, it cannot be loaded from VirtualBox. You can see this from your VBox.log, if you open it and really early (20-50 lines) you will see that the DLL is rejected.
Solution: get properly signed drivers. If you re-update that may also update the certificate database in Windows.
Hm... Not sure where to get more properly signed Windows drivers for Dell laptop, than from Dell website and/or Microsoft :).
By looking at the log I do see that it is NVidia driver DLL is rejected and Intel driver loads fine.
00:00:03.372644 crUtil DLL loaded. 00:00:03.425033 supR3HardenedErrorV: supR3HardenedScreenImage/LdrLoadDll: rc=VERR_CR_PKCS7_KEY_USAGE_MISMATCH fImage=1 fProtect=0x0 fAccess=0x0 \Device\HarddiskVolume3\Windows\System32\DriverStore\FileRepository\nvdm.inf_amd64_790c5c10f20c35fb\nvinitx.dll: WinVerifyTrust failed with hrc=CERT_E_CHAINING on '\Device\HarddiskVolume3\Windows\System32\DriverStore\FileRepository\nvdm.inf_amd64_790c5c10f20c35fb\nvinitx.dll' 00:00:03.425194 supR3HardenedErrorV: supR3HardenedMonitor_LdrLoadDll: rejecting 'C:\WINDOWS\System32\DriverStore\FileRepository\nvdm.inf_amd64_790c5c10f20c35fb\nvinitx.dll' (C:\WINDOWS\System32\DriverStore\FileRepository\nvdm.inf_amd64_790c5c10f20c35fb\nvinitx.dll): rcNt=0xc0000190 00:00:03.888267 OpenGL Info: Render SPU: GL_VENDOR: Intel 00:00:03.888280 OpenGL Info: Render SPU: GL_RENDERER: Intel(R) HD Graphics 530 00:00:03.888284 OpenGL Info: Render SPU: GL_VERSION: 4.4.0 - Build 21.20.16.4590 00:00:03.888287 OpenGL Info: Render SPU: GL_EXTENSIONS: GL_3DFX_texture_compression_FXT1 GL_AMD_depth_clamp_separate GL_AMD_vertex_shader_layer
However offending dll is signed. Before reinstallation of older version (pushed via Dell corporate update) it had 2 signatures. SHA1 from Nvidia and SHA256 from Microsoft. Current version 21.21.13.7586 shows only SHA1 signature from NVIDIA.
Can it be that Virtualbox became overzealous in checking signatures and is rejecting SHA1 signature, now declared as insecure?
PS was too happy about Intel driver downgrade 21.20.16.459 also produces pixel "fireworks".
UPDATE: Found that NVidia DLL rejected due to same unverified CA as listed in this issue: https://www.virtualbox.org/ticket/13882 Virtual box source explicitly lists this cert as problematic: https://www.virtualbox.org/changeset/53042/vbox
However I am not sure how this DLL rejection is related to pixelation issue as Intel DLL is loaded fine and it is used for OpenGL accelaration. That suggests there is some issue with VirtualBox 3D implementation. Screen clear on window resize suggest some memory leak and buffer reinitialization on "screen" resolution change.
follow-ups: 6 7 comment:5 by , 6 years ago
I downloaded an updated driver for the 530 Graphics and the problem is gone! :-)
comment:6 by , 6 years ago
Replying to JMH1:
I downloaded an updated driver for the 530 Graphics and the problem is gone! :-)
@JMH1
Keep in ming that it may be not that the DLLs for your drivers were not signed, it may be that simply by updating your drivers, you also updated the Windows Certificate Database. It's also part of the problem. As I said previously:
Your new drivers are not properly signed, or the certificate database was not updated during the update.
Solution: get properly signed drivers. If you re-update that may also update the certificate database in Windows.
comment:7 by , 6 years ago
Hi,
Replying to JMH1:
I downloaded an updated driver for the 530 Graphics and the problem is gone! :-)
Can you specify your VBox, extensions and driver version and where did you pick it up? Intel.com or hardware vendor ?
For the moment I have found a workaround for some apps: Resize VM window to reset graphics. It works for some apps, but some continues to generate onscreen garbage.
Thanks.
PS. It was Intel driver update, that started havoc for me.
comment:8 by , 6 years ago
Driver info: I found the driver on Dell's website. (This is for an Alienware laptop)
File version 3.6.0.4 Product version 22.20.16.4771
VBox version: This started at or around 5.1.18, and now I'm at 5.1.30. Yes, resizing the window does clear the fuzz, but usually just temporarily.
I still find it interesting how disabling Aero in Windows 7 VMs fixed the problem (workaround), but in other OSs the problem remained.
comment:9 by , 5 years ago
Don't you have something looks like that?
I have the same issue, VirtualBox 5.2.18, Host Windows 10, Guest Windows 7 Home Premium. Also disappears when I turning off Aero. Artifacts appear around every window I open and remain, gradually covering all the screen. Host has GeForce GTX 1050 graphic card, drivers are updated
comment:10 by , 5 years ago
Also, bug reproduces only on some virtual machines. Let's say, identical Windows 7 installations, appears only on one of them. Recovering clean VM from backup solves the problem, but only for some time
First sign of pixelation. Windows Installer in foreground, Windows Explorer in background