Text and icons disappear in Ubuntu

Discussions related to using VirtualBox on Windows hosts.
Post Reply
Beosar
Posts: 7
Joined: 4. Mar 2022, 01:49

Text and icons disappear in Ubuntu

Post by Beosar »

I'm running Ubuntu 22.04 and this happens all the time:

https://imgur.com/a/y7S7bYX

I have no idea what to do, already tried many different settings and reinstalling ubuntu-desktop in the guest system. Nothing works.

It has worked for a long time and suddenly started showing this behavior without me changing anything. Please help...
Attachments
ubuntu log.zip
(54.51 KiB) Downloaded 4 times
Last edited by Beosar on 23. Jan 2023, 15:56, edited 2 times in total.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Text and icons disappear in Ubuntu

Post by mpack »

Please zip logs and attach them locally.
Beosar
Posts: 7
Joined: 4. Mar 2022, 01:49

Re: Text and icons disappear in Ubuntu

Post by Beosar »

mpack wrote:Please zip logs and attach them locally.
Done.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Text and icons disappear in Ubuntu

Post by mpack »

You can't give a VM more RAM than you have available. Nor should you leave the host with 0 cores.
00:00:03.232932 Host RAM: 65216MB (63.6GB) total, 37159MB (36.2GB) available
00:00:04.805019 CPUM: Physical host cores: 18
...
00:00:03.562119 RamSize <integer> = 0x0000000c35000000 (52 428 800 000, 50 000 MB, 48.8 GB)
00:00:03.562116 NumCPUs <integer> = 0x0000000000000012 (18)
What is this VM doing that it merits allocation of 150% of available resources, starving the host (which includes VirtualBox btw) of those same resources?

If you want good, reliable performance, make sure that the host can easily afford the resources you assign. For example I would reduce the allocations above to 16GB RAM (16384MB), and 2 CPU cores.
Beosar
Posts: 7
Joined: 4. Mar 2022, 01:49

Re: Text and icons disappear in Ubuntu

Post by Beosar »

mpack wrote:You can't give a VM more RAM than you have available. Nor should you leave the host with 0 cores.
What is this VM doing that it merits allocation of 150% of available resources, starving the host (which includes VirtualBox btw) of those same resources?

If you want good, reliably performance, make sure that the host can easily afford the resources you assign. For example I would reduce the allocations above to 16GB RAM (16384MB), and 2 CPU cores.
I have 64 GB of RAM, so 50 GB shouldn't be a problem. Neither should the CPU cores. Both CPU and RAM usage is low when this error occurs.

The VM is doing some C++ compiling which is taking way too long if I use less cores. These settings appear to be optimal for my purposes.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Text and icons disappear in Ubuntu

Post by mpack »

Beosar wrote: I have 64 GB of RAM, so 50 GB shouldn't be a problem. Neither should the CPU cores. Both CPU and RAM usage is low when this error occurs.
You had 64GB before the host OS took its chunk.

I quoted you the actual numbers reported by the log, no speculation was involved.
Beosar
Posts: 7
Joined: 4. Mar 2022, 01:49

Re: Text and icons disappear in Ubuntu

Post by Beosar »

mpack wrote:
Beosar wrote: I have 64 GB of RAM, so 50 GB shouldn't be a problem. Neither should the CPU cores. Both CPU and RAM usage is low when this error occurs.
You had 64GB before the host OS took its chunk.

I quoted you the actual the numbers reported by the log, no speculation was involved.
Yes, you're right. But that doesn't solve my original problem.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Text and icons disappear in Ubuntu

Post by mpack »

I gave my suggestions in my analysis of your log.
fth0
Volunteer
Posts: 5668
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Text and icons disappear in Ubuntu

Post by fth0 »

Ubuntu 22.04-2023-01-23-14-47-51.log file wrote:
4458.1f1c: supHardenedWinVerifyImageByHandle: -> 0 (\Device\HarddiskVolume9\Windows\System32\D3D12.dll)
4458.1f1c: supR3HardenedWinVerifyCacheInsert: \Device\HarddiskVolume9\Windows\System32\D3D12.dll
4458.1f1c: supR3HardenedMonitor_NtCreateSection: NtMapViewOfSection failed on 0000000000001270 (hFile=0000000000001258) with 0xc0000022 -> STATUS_TRUST_FAILURE
4458.1f1c: supR3HardenedScreenImage/NtCreateSection: cache hit (VINF_SUCCESS) on \Device\HarddiskVolume9\Windows\System32\D3D12.dll [avoiding WinVerifyTrust]
4458.1f1c: supR3HardenedMonitor_NtCreateSection: NtMapViewOfSection failed on 0000000000001258 (hFile=0000000000001270) with 0xc0000022 -> STATUS_TRUST_FAILURE
It looks like a problem discovered in the VirtualBox Hardening implementation:

On one hand, the signature of the D3D12.dll file could be verified. On the other hand, trying to map a section of the same file into memory failed, as if it was prevented by some other software. Do you have so-called security software installed on the host? If yes, uninstall it for a test.

Other than that, does the issue persist if you disable 3D Acceleration?
eisanchez
Posts: 1
Joined: 27. Jan 2023, 11:44

Re: Text and icons disappear in Ubuntu

Post by eisanchez »

fth0 wrote: It looks like a problem discovered in the VirtualBox Hardening implementation:
I have the same problem. Disabling 3D Acceleration fixed it.

My setup is a Windows 11 22H2 host. VM is an Ubuntu 22.04. The problem started when I upgraded to VirtualBox 7.
Last edited by mpack on 27. Jan 2023, 12:01, edited 2 times in total.
Reason: Trim unnecessary verbatim quote of entire preceding post.
Post Reply