Opened 20 months ago
Last modified 3 weeks ago
#21515 reopened defect
Windows 11 VM: graphics are still broken. But on Windows 10 VM everything looks fine.
Reported by: | boxer01 | Owned by: | |
---|---|---|---|
Component: | WDDM | Version: | VirtualBox-7.0.6 |
Keywords: | video glitches | Cc: | |
Guest type: | Windows | Host type: | Windows |
Description
I already opened the ticket #21136 for 7.0 Beta / 7.0.0 release. Since then, some improvements could be seen. For example, I only see this unwanted transparency on the Windows 11 VM; the Windows 10 VM on the same host works without such troubles. And since at least builds 6.1.41-154912 / 7.0.5-154910 or 6.1.41-155125 / 7.0.5-155126, there is no crash of VM if the newer version of the display driver is installed during the guest addition installation.
But there is still this unwanted and troubling transparency in Windows 11 VM, which making usage of the Windows 11 in VM a little bit difficult. So it would be nice if somebody would correct this too. The same VM on current 6.1 has no such troubles.
As usual, I add some logs.
Attachments (22)
Change History (92)
by , 20 months ago
Attachment: | Vbox_7.0.97-155973_dip_logs.7z added |
---|
comment:4 by , 19 months ago
by , 18 months ago
Attachment: | freezed-GA-7-0-6-uninstall-Win11-22H2.png added |
---|
freezed Guest Additions 7.0.6 uninstallation inside Win11 22H2 virtual machine
comment:5 by , 18 months ago
I can confirm that bug. Inside virtual machine installed MS Windows 11 22H2 and after installing 7.0.6 Guest Additions (GA), having same video glitches - unwanted transparency, random menus blinking, Notepad is totally black (even menus) and therefore unusable. When trying to uninstall GA, the VM freezes (see included screenshot with name freezed-GA-7-0-6-uninstall-Win11-22H2.png). 3D acceleration was enabled in VM settings with VBoxSVGA virtual adapter as offered by default, also 256 MB of video memory (maximum) were used. RDP and recording were disabled. After forcibly resetting, still Win11 will survive and VM will boot afterwards and somehow GA are uninstalled.
comment:7 by , 17 months ago
comment:8 by , 17 months ago
Already found the first glitch. If one opens a "new" Notepad from Windows 11 (not an old one from Windows 95 days), and set it to the Dark Theme, or the OS has a dark theme - then one couldn't see any text, because the background and foreground is all black. Just a big black field.
follow-up: 10 comment:9 by , 17 months ago
Windows 11 requires hardware 3D acceleration, so I can no longer turn it off in VirtualBox. I have VirtualBox 7.0.8.
I can confirm @boxer01's observation - Notepad in dark mode is black-on-black. I get endless flickering when I use the Windows search box. Excel is unusable - mostly grey with no user interface displayed.
My stack is Windows 11 guest, VirtualBox 7.0.8, Debian 11 ("bullseye") host, nvidia driver 470-182-03-1 on Lenovo Thinkpad P1 Gen 2 with NVIDIA TU117GLM [Quadro T2000 Mobile / Max-Q] (rev a1)
Is a stable 7.0.9 coming soon?
comment:10 by , 17 months ago
Replying to ConcreteGannet:
Is a stable 7.0.9 coming soon?
I see another trouble slowly coming: this behavior was first reported at the very beginning of the beta testing 9 months ago. There are some improvements here, but we still have some issues with the current Windows version as a guest. And the VBox 6.1 will be out of support in 6 or 7 months, by the end of the 2023, see the announcement on the download page. So from January 2024 on one would need to use either older Windows version with supported VBox version or downgrade the VBox to use it with modern Windows version.
Your question about stable 7.0.9 is cute. I also hope, that we get this issues fixed real soon. But looking back in the past - it is really the hope.
So, enough whining, this is not the spirit we need here. ;-)
comment:12 by , 16 months ago
Partly good news here! With the current 1577xx / 1578xx test builds, I can see yellow text on the black background in the "new" Notepad in the dark mode, as described above. It's better than before (black on black), but the same VM under VBox 6.1.45 current build has it right: white font on the black background. And: I still can't see the cogwheel or gearwheel to the settings on the right side. But I can click it, because I know it should be here, even if it is invisible.
BTW, the all links to the test build are gone
comment:16 by , 15 months ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Hello,
We just released VirtualBox 7.0.10. This issue should be fixed in this release. Culd you please give it a try? Packages are available on our downloads page.
by , 15 months ago
Attachment: | 2023-07-19-22-54-43.log added |
---|
comment:17 by , 15 months ago
Definitely version 7.0.10 is better than ever with windows 11. But some artifacts still appears when 3D Hardware Acceleration is enabled and JMeter with DDRAW is in use. Looks like 3D Hardware Acceleration off runs good!. With a very low framerate in animations but is usable as previous versions of virtualbox 6.x
by , 15 months ago
Attachment: | jmeter.png added |
---|
comment:18 by , 15 months ago
Just checked the 7.0.10 and described problems with "new" notepad (see comment 12 above) are still here. I also see some problems with .NET applications. I use O&O ShutUp and the labels there are all scrambled and changing if one move mouse over it.
Another user just wrote about some problems with Java applications like JMeter.
I'm afraid we have to reopen this ticket.;-) Or should I open a new ticket for a new version?
comment:19 by , 15 months ago
The issues with O&O Shut up could be resolved with repaint. Either minimize it and restore it afterward. Or change the VM to the full-screen mode and back then. "New" notepad's issues can't be solved this way - font color is still wrong then. And one can barely see the settings wheel icon.
comment:20 by , 12 months ago
FWIW, the issues with O&O ShutUp10++ can also be reproduced in a Windows 10 guest running in VirtualBox 7.0.12 running on a Windows 10 or Linux Mint 20 host. GPU is an Intel UHD Graphics 620 (Intel Core i5-8265U).
comment:21 by , 12 months ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
This has not been fixed yet in testbuild 7.0.x revision 159676. With 3D Acceleration Enabled Font corruption persists in JMeter, and MS Office still exhibits missing icons, bad colors, and distortion on buttons. I've reopened this ticket.
by , 12 months ago
Attachment: | JMeter.png added |
---|
by , 12 months ago
Attachment: | MsOffice01.png added |
---|
by , 12 months ago
Attachment: | MsOffice02.png added |
---|
by , 12 months ago
Attachment: | MsOffice03.png added |
---|
comment:22 by , 12 months ago
As I wrote in #21806, this is now happening only if 3D is activated. But then it happens not just in Windows 11, but also in Windows 10. I have to find time to check my old Windows 8 and 7 VMs ;-).
So the original troubles with graphics, no matter if 3D was activated or not, were solved as of version 7.0.9. But issues with graphics with 3D activated are still here as of 7.0.13-159676.
comment:25 by , 11 months ago
Still in 7.0.12 with Windows 11. Note Windows 11 requires 3D acceleration so it's no longer possible to work around the issue by turning off 3D.
follow-up: 27 comment:26 by , 11 months ago
7.0.12 seems to be an improvement.
I updated to Windows 11 23H2, and Notepad is now working in light and dark modes, so one problem has been fixed.
I was able to fix Excel by adding a registry setting. The Excel UI option to disable hardware graphics acceleration is no longer provided.
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Common\Graphics]
"DisableHardwareAcceleration"=dword:00000001
One problem remains. When you type anything into the search box in Windows you get endless flicker of the search menu. The search box is autocompleting, so it's as if there's an infinite loop where typing anything does a request which produces a list of results and appends some autocomplete text, which triggers another update when I haven't typed any new text. The search results flicker repeatedly.
Type a few times, and the VM and VirtualBox crashes completely after a few minutes.
comment:27 by , 11 months ago
Replying to ConcreteGannet:
When you type anything into the search box in Windows you get endless flicker of the search menu.
I noted that in #21233 as well, and provided a screencast of the issue:
comment:30 by , 9 months ago
Happy New Year, everybody! ;-) This issue is still here nearly 3 Month after its reopening, and the new stable version is just around the corner, just next week. Versions 7.0.13-160845, 7.0.13-161031, 7.0.97-160850, 7.0.97-161032
follow-up: 37 comment:36 by , 8 months ago
This ticket mentions several issues. For example, flickering in Search menu has been fixed. Could you please describe what exactly is "still here"?
comment:37 by , 8 months ago
Replying to sunlover1:
This ticket mentions several issues. For example, flickering in Search menu has been fixed. Could you please describe what exactly is "still here"?
As I wrote in the comment:18 I see troubles with "new" Notepad on Windows 11 and .NET application like O&O Shutup. Others see some troubles with Java applications, and I linked the ticket to some other kind of troubles with the graphics.
comment:38 by , 8 months ago
BTW, just tested with new guest additions version 161506 - still see these issues.
follow-up: 42 comment:39 by , 8 months ago
7.0 additions build 161711 fixes O&O Shutup graphics corruption: https://www.virtualbox.org/wiki/Testbuilds
Notepad problem is not yet fixed.
follow-up: 41 comment:40 by , 8 months ago
Windows 11 guest, VirtualBox 7.0.14, Debian 11 ("bullseye") host, nvidia driver 525.147.05 on Lenovo Thinkpad P1 Gen 2 with NVIDIA TU117GLM [Quadro T2000 Mobile / Max-Q] (rev a1) is now working fine for me, including hardware acceleration for Excel.
comment:41 by , 8 months ago
Replying to ConcreteGannet:
Windows 11 guest... is now working fine for me, including hardware acceleration for Excel.
Somebody else wrote here about other troubles with Office 365, see comments #comment:21. Did you have them, are they gone?
You didn't have troubles with notepad, but I have and they are still here.
comment:42 by , 8 months ago
Replying to sunlover1:
7.0 additions build 161711 fixes O&O Shutup graphics corruption:
Notepad problem is not yet fixed.
As of version 7.0.15-161716, I can confirm this. Thank you very much! Now waiting for solution of the other 3D related bugs like "new" Notepad, which still yellow on dark and partly invisible on my side.
Some other people wrote about issues with Office 365 or 2021 and others here and in the Linux related ticket (#21233). And the issues with Microsoft Weather in the same ticket. And the troubles with JMetter here and others have troubles with Fusion360 (#21959). Will they also be fixed, please? ;-)
comment:43 by , 7 months ago
I created a small list of graphic related bugs in version 7.0.x.
#21955 - Heavy screen flickering VirtualBox 6.1.48 / 7.0.12 Ubuntu Wayland guest kernels 6.4 / 6.5
#22012 - Windows 11 guest with 3d enabled results in black screen.
#22013 - Intense Screen Switching/blanking Win 10 Pro64 Guest on Win 10 Pro
#21886 - vbox 7.0.12 vboxSVGA with 3d "on" hangs on win 11 22h2 host
#21924 - 3d acceleration does not work
#21941 - Linux Guest graphics freezes when using 3D acceleration
#21487 - 3D acceleration causes Linux guest freezes
#21772 - Virtualbox 7.0.97 r158222 guest addition cause a bluescreen on Windows 8.1 guests
#21774 - Windows 10 guest: weird fonts after upgrade to 7.0.10
#21789 - Alibre (3D) crashes in VBox7, but worked in VBox6
#21795 - Windows 10 Host: Very small fonts on 2.8k displays
#21798 - Windows 7 on Virtualbox 7.0.10 Guest Additions MS Office 2019
#21800 - Seamless mode not restored
#21801 - Seamless mode: Window 10 task bar gone
#21811 - D3DXCreateTextureFromFileInMemoryEx not working
#21863 - Seamless mode not activated upon startup on WinXP VM
#21891 - UI starts flickering in Debian unstable
#21594 - 3D acceleration
#21595 - Windows 11 installed fresh in 7.0.8 having video issues.
#21597 - 7.0.8 Windows 7 guest with 3D acceleration enabled crashes when changing resolution / gets stuck in the bootloop if the resolution was changed
#21600 - No video output (black screen) on Windows XP after installing GAs
#21604 - Ubuntu Desktop graphics broken inside VirtualBox 7.0.8, but works well inside VirtualBox 6.1.44
#21606 - Current Stable Guest Additions break Windows XP VBoxVGA (black screen)
#21607 - Failed to boot windows 11 guest with VBoxSVGA+3D since vbox 7.0 on Archlinux host
#21608 - VirtualBox on Windows 11 AMD 5950x host, w/AMD W6800 Pro GFX, Guest Additions hang/freeze or blinking
#21624 - Transparency effects Win10, Win 11 crash 3d acceleration
#21667 - Windows 10 doesn't work with Guest additions V7.0.8
#21704 - The 3D acceleration of Windows7 has problems under certain circumstances
#21738 - VBoxVGA driver cannot display
#21754 - Unreadable font colors with dark theme on Windows
#21425 - Unreadable fonts in Windows 11 as guest in Virtualbox
#21426 - Unable to resize screen on Windows 10 guest with 3D acceleration enabled
#21427 - Unable to resize screen on Windows 10 guest with 3D acceleration enabled
#21433 - 7.0.x Graphical artifacts with 3D acceleration enabled | Windows 7/10 guest
#21448 - VirtualBox 7 VM Freezes or UI glitches
#21505 - Black Screen and Blinking Cursor using 3D Accelerator
#21411 - VBOX 7.0.x graphic corruption - Intel GPU
#21582 - Enabling 3D acceleration crashes Gnome Shell (unable to log in)
#21153 - Programs show garbage output
#21761 - AutoDesk Fusion 360 crashes with VirtualBox 7 + 3d Acceleration enabled
#21295 - Win 7 32b guest VM craash when installing guest additions 7.0.4
#21350 - 3d Graphics with windows 10 as a guest
#21405 - Linux guest on Windows 10 host does not start in seamless mode
#21146 - Buttons,transparent list background and startmenu are garbaged with 3d acceleration in win10 guest.
#21187 - Draw issues with 3d acceleration enabled on Windows Server 2016
#21195 - Display issue with Windows 8
#21198 - VirtualBox 7.0.2, Window 7 64bit guest, Linux host, 3D openGL not working with any video driver in guest additions
#21243 - WIndows 10 screen black, Mac Ventura, VB 7.0.2
#21261 - Microsoft Office 2013 not working if Guest Additions are installed
#21274 - Incorrect font size use sticks after virtualbox window is moved to the second display
comment:46 by , 5 months ago
My troubles with "new" Notepad are still here in 7.0.17-162950 and 7.0.97-162957.
comment:48 by , 3 months ago
My troubles with "new" Notepad are still here in 7.0.19-163608 and 7.0.97-163606.
comment:49 by , 3 months ago
Some new bugs from 7.0.18:
#22100 - Mouse stops working on FULL SCREEN mode
#22087 - Mouse stops working when going full screen
#22074 - [bug] (critical) the mouse cursor disappears
#22098 - Linux-6.9.4 vboxdrv breaks detection of screen resoltuion for some Intel graphic chips
#22096 - VMSVGA/VBoxSVGA: Accelerated cursor bugs
#22092 - abysmal vmwgfx performance with kernel > 6.7
#22091 - 16 inch 4k screen scaling issues/problems
#22086 - screen resolution defaults to 1280x960 if "Maximum Guest Screen Size" is set to auto
#22082 - Host cursor on top of guest cursor, when restored from saved state
#22075 - java fonts are shown garbled with 3d support
comment:52 by , 2 months ago
Some new bugs from 7.0.20:
#22124 - fehlerhafte Darstellung des Mikrosoft Stores
follow-up: 54 comment:53 by , 2 months ago
The Notepad issues should be fixed in the latest 7.0 build r164265. Both host package and guest additions must be updated.
follow-up: 55 comment:54 by , 2 months ago
Replying to sunlover1:
The Notepad issues should be fixed in the latest 7.0 build r164265. Both host package and guest additions must be updated.
Thank you for your changes. I can confirm, that the font's color in the notepad is now correct. It isn't yellow anymore, but white, as expected. But the cogwheel or gearwheel to the settings on the right side is still barely visible. Is there any chance to also fix this one?
I tested both in the current 7.1.x development snapshot with 7.1.x additions and then with the current 7.0.21 beta. First with 7.1.x additions and then with 7.0.21 additions. But the issue is just the same here, as I described above.
follow-up: 56 comment:55 by , 2 months ago
Replying to boxer01:
Replying to sunlover1:
The Notepad issues should be fixed in the latest 7.0 build r164265. Both host package and guest additions must be updated.
But the cogwheel or gearwheel to the settings on the right side is still barely visible. Is there any chance to also fix this one?
The settings icon is fixed too, it should have normal brighness. Please attach VBox.log of the VM session.
BTW, the fix for font color is in the guest additions driver. The fix for the settings icon is both in the host package and in the guest additions.
follow-up: 57 comment:56 by , 2 months ago
Replying to sunlover1:
The settings icon is fixed too, it should have normal brighness. Please attach VBox.log of the VM session.
Done
by , 2 months ago
Attachment: | VBox_wheel_11082024.7z added |
---|
Logs of the session with nearly invivible wheel
follow-up: 58 comment:57 by , 2 months ago
Replying to boxer01:
Replying to sunlover1:
The settings icon is fixed too, it should have normal brighness. Please attach VBox.log of the VM session.
Done
Thanks. Now it is clear why it is not working on your system. VirtualBox expects the host to support D3D11.1, while your host supports 11.0:
00:00:06.212074 VMSVGA: Feature level 0xb000 ; <- 11.0 00:00:06.219211 VMSVGA: Adapter [Intel(R) HD Graphics 4000]
Windows 11 uses a D3D11.1 feature to draw the settings icon.
follow-ups: 59 60 comment:58 by , 8 weeks ago
Replying to sunlover1:
Windows 11 uses a D3D11.1 feature to draw the settings icon.
I'm a little bit confused because dxdiag tells me, my host DirectX version is 12. So which version of what we are talking here?
comment:59 by , 8 weeks ago
Replying to boxer01:
Replying to sunlover1:
Windows 11 uses a D3D11.1 feature to draw the settings icon.
I'm a little bit confused because dxdiag tells me, my host DirectX version is 12. So which version of what we are talking here?
Technically the following happens: D3D11CreateDevice is unable to create a device with feature level D3D_FEATURE_LEVEL_11_1 and falls back to D3D_FEATURE_LEVEL_11_0.
I do not know why this happens on your host.
follow-up: 61 comment:60 by , 8 weeks ago
Replying to boxer01:
Replying to sunlover1:
Windows 11 uses a D3D11.1 feature to draw the settings icon.
I'm a little bit confused because dxdiag tells me, my host DirectX version is 12. So which version of what we are talking here?
What does dxdiag show as Feature Levels on the Display tab/Drivers section?
comment:61 by , 8 weeks ago
Replying to sunlover1:
Windows 11 uses a D3D11.1 feature to draw the settings icon.
What does dxdiag show as Feature Levels on the Display tab/Drivers section?
Thank you for your detailed explanation. Now, that I know which API call was made and which level we are talking about, it is clear what happens on my side and is causing this.
As of this issue: I probably can't solve this directly, because the root cause is in the drivers, and there would be no new drivers for this chipset?
On the other side, I have some comments and new questions. First, as a remark: I looked into the requirements and didn't see any mention of some DirectX version there. The only place where DirectX 11 is mentioned is in the version 7 release notes. But even here there is no mention of some feature level, so people would be confused.
On the other side, this happens only with 3D acceleration turned on. But without acceleration, I didn't see any of the issues. So the question is: how does Windows 11 work on my guest then, because my host still have only feature level 11.0, not 11.1? Shouldn't this be a problem in both cases?
follow-ups: 63 64 comment:62 by , 7 weeks ago
Right, VirtualBox documentation should mention that D3D11.1 is recommended for 3D acceleration. D3D11.1 was introduced in 2012 and current graphics chips support it.
The icon is drawn correctly with 3D acceleration turned off because Windows uses a software graphics library to draw everything when 3D acceleration is turned off. Graphics card 3D capabilities are not used.
comment:63 by , 7 weeks ago
Replying to sunlover1:
Right, VirtualBox documentation should mention that D3D11.1 is recommended for 3D acceleration. D3D11.1 was introduced in 2012 and current graphics chips support it.
This hardware is from 2013, but the drivers have no support for the 11.1; only 11.0. Could I tweak something, because there would be no more new drivers for this?
The icon is drawn correctly with 3D acceleration turned off because Windows uses a software graphics library to draw everything when 3D acceleration is turned off. Graphics card 3D capabilities are not used.
I took a look at the dxdiag in the guest, and now I'm even more confused. With 3D acceleration, my guest has a feature level of 11.1. Which my host doesn't have, and this is probably causing the API call to go into the void.
But if I turn the 3D acceleration off, then I have a feature level of 12.1 in the guest, so even better support! How is this possible?
comment:64 by , 3 weeks ago
Replying to sunlover1:
Right, VirtualBox documentation should mention that D3D11.1 is recommended for 3D acceleration. D3D11.1 was introduced in 2012 and current graphics chips support it.
I just tested the new test build (7.0.21-164815) and development snapshot (7.1.1-164842). The issue looks different now. I can see the wheel, but it is barely recognizable because of the low contrast. The element nearly disappears in the background. It doesn't matter if I change the theme from bright to dark or turn the transparency on or off. Other grayed-out UI elements like the mute / unmute button in the control center near the clock or the plane mode switch have the same issue - they are nearly not here.
Can something be done with this?
follow-up: 66 comment:65 by , 3 weeks ago
boxer01, please try latest guest additions (development snapshot) from https://www.virtualbox.org/wiki/Testbuilds
The Windows guest graphics driver now offers the same feature level as the host. So in your case dxdiag should now show 11.0 in the guest.
follow-up: 67 comment:66 by , 3 weeks ago
Replying to sunlover1:
boxer01, please try latest guest additions (development snapshot) from https://www.virtualbox.org/wiki/Testbuilds
The Windows guest graphics driver now offers the same feature level as the host. So in your case dxdiag should now show 11.0 in the guest.
Thank you very much for your effort! I just override the 7.0.21 GA (164724) with 7.1.1 GA (164859). The VBox version is still 7.0.21 because of the NAT troubles in 7.1.1. But I see no difference in the presentation. And dxdiag gives the same information as before.
I put some screenshots here so you could see the information and what it looks like.
follow-up: 68 comment:67 by , 3 weeks ago
Replying to boxer01:
Replying to sunlover1:
boxer01, please try latest guest additions (development snapshot) from https://www.virtualbox.org/wiki/Testbuilds
The Windows guest graphics driver now offers the same feature level as the host. So in your case dxdiag should now show 11.0 in the guest.
Thank you very much for your effort! I just override the 7.0.21 GA (164724) with 7.1.1 GA (164859). The VBox version is still 7.0.21 because of the NAT troubles in 7.1.1. But I see no difference in the presentation. And dxdiag gives the same information as before.
I put some screenshots here so you could see the information and what it looks like.
Please also attach VBox.log
comment:69 by , 3 weeks ago
Thanks for the log and images! You are using VBox 7.0 and there it is indeed not working yet. Sorry. I'll fix and update 7.0 soon.
follow-up: 71 comment:70 by , 3 weeks ago
Please update VBox on your host to "7.0.x revision 164874" If it still does not work, then attach VBox.log
comment:71 by , 3 weeks ago
Replying to sunlover1:
Please update VBox on your host to "7.0.x revision 164874" If it still does not work, then attach VBox.log
Thank you very much! This was the fix! So now dxdiag in the guest shows the same feature level as on the host. And because the 11.1 disappeared - the things look better because of the better contrast. I did some screenshots, with dark theme this time. But bright theme also looks fine now.
I didn't update the GA because I have done this yesterday and 7.0.21 GA is an earlier release than 7.1.1 right now, looking at the number.
Could you port this to the 7.1.1 branch? And release the other OS versions, so other people could test it?
Logs of Windows 11 on VBox 7 VM