[Resolved] Refresh issue on Ubuntu 18.04.2 LTS guest

Discussions about using Linux guests in VirtualBox.
Post Reply
LapisAlienus
Posts: 7
Joined: 27. Mar 2019, 16:26

[Resolved] Refresh issue on Ubuntu 18.04.2 LTS guest

Post by LapisAlienus »

Guest system:
Ubuntu 18.04.2 LTS

Host system:
Windows10 Version 1809 (OS Build 17763.379)

VirtualBox:
6.0.4 r128413 (Qt5.6.2)

I have a screenvideo of this issue, but as this is my first post I cannot post a link to it. The problem is that the GUI is not being repainted properly - this happens with all programs (Nautilus, Firefox etc.) making the VM unusable.
Last edited by socratis on 29. Mar 2019, 02:39, edited 1 time in total.
Reason: Marked as [Resolved].
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: Refresh issue on Ubuntu 18.04.2 LTS guest

Post by socratis »

I know a picture is worth 1000 words, imagine a moving picture. Try to obfuscate the link and I'll fix it.

What you can provide however is a log... We need to see a complete VBox.log, from a complete VM run, where the problem occurs:
  • Start the VM from cold-boot (not from a paused or saved state) / Observe problem / Shutdown the VM (force close it if you have to).
  • With the VM completely shut down (not paused or saved), right-click on the VM in the VirtualBox Manager and select "Show Log".
  • Save only the first "VBox.log", ZIP it and attach it to your response. See the "Upload attachment" tab below the reply form.
Image
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.
LapisAlienus
Posts: 7
Joined: 27. Mar 2019, 16:26

Re: Refresh issue on Ubuntu 18.04.2 LTS guest

Post by LapisAlienus »

Let's see if this works: https://drive.google.com/open?id=1_qcqG ... xWLjD8VaCj

I'm not in front of the host machine at the moment, but when I am next I'll generate a log for you.
Last edited by socratis on 27. Mar 2019, 17:06, edited 1 time in total.
Reason: Fixed obfuscated URLs.
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: Refresh issue on Ubuntu 18.04.2 LTS guest

Post by socratis »

Link fixed... Seems like a combination of 3D and VMSVGA set as your vGPU (try VBoxVGA), but I'll wait for the log...
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.
LapisAlienus
Posts: 7
Joined: 27. Mar 2019, 16:26

Re: Refresh issue on Ubuntu 18.04.2 LTS guest

Post by LapisAlienus »

I took a screenshot of the settings, and had already found somewhere or other that VMSVGA could be a problem so I had set it to VBoxVGA. I had also turned the 3D acceleration off (IIRC it's off by default):
VirtualBox_2019-03-27_12-08-22.png
VirtualBox_2019-03-27_12-08-22.png (64.6 KiB) Viewed 5222 times
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: Refresh issue on Ubuntu 18.04.2 LTS guest

Post by socratis »

[color=#00AA00]socratis[/color] wrote:but I'll wait for the log...
[color=#105289]LapisAlienus[/color] wrote:I took a screenshot of the settings
We're having some sort of communications breakdown...
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.
LapisAlienus
Posts: 7
Joined: 27. Mar 2019, 16:26

Re: Refresh issue on Ubuntu 18.04.2 LTS guest

Post by LapisAlienus »

Good morning.
socratis wrote:We're having some sort of communications breakdown...
There's always that risk, I'm afraid.

Please find attached the requested log file. Many thanks in advance for taking a look at it for me.
Office Ubuntu-2019-03-28-07-52-55.zip
(35.24 KiB) Downloaded 21 times
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: Refresh issue on Ubuntu 18.04.2 LTS guest

Post by socratis »

00:00:02.514365 NumCPUs <integer> = 0x0000000000000004 (4)
00:00:03.127426 CPUM: Physical host cores: 4
00:00:03.127919 Full Name: "Intel(R) Core(TM) i7-4771 CPU @ 3.50GHz"
You have assigned all your CPUs to the VM. The host is going to run low on resources, since VirtualBox cares about physical processors (cores), not logical ones (threads). Your Intel i7-4771 CPU has 4 cores, so you shouldn't be assigning more than 3 (max) to your guest. I would go with 2 vCPUs.
00:00:02.514591 3DEnabled <integer> = 0x0000000000000000 (0)
Try to enable 3D acceleration in your guest. I need to see your host's GPU info. Then post a new log. And since you're at it, just for kicks, can you try with VMSVGA? I don't think you're going to see an improvement, but it would be a "mistake" to not test that.
00:00:28.971040 VBVA: InfoScreen: [0] @0,0 1280x1024, line 0x1400, BPP 32, flags 0x1
00:00:28.971069 Display::handleDisplayResize: uScreenId=0 pvVRAM=0000000010b5a000 w=1280 h=1024 bpp=32 cbLine=0x1400 flags=0x1
00:00:28.971109 GUI: UIFrameBufferPrivate::NotifyChange: Screen=0, Origin=0x0, Size=1280x1024, Sending to async-handler
00:00:28.971175 GUI: UIMachineView::sltHandleNotifyChange: Screen=0, Size=1280x1024
00:00:28.971190 GUI: UIFrameBufferPrivate::handleNotifyChange: Size=1280x1024
00:00:28.971214 GUI: UIFrameBufferPrivate::performResize: Size=1280x1024, Directly using source bitmap content
I see a *lot* of these messages, that keep on repeating, and I honestly don't know why...
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.
andyp73
Volunteer
Posts: 1631
Joined: 25. May 2010, 23:48
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Assorted Linux, Windows Server 2012, DOS, Windows 10, BIOS/UEFI emulation

Re: Refresh issue on Ubuntu 18.04.2 LTS guest

Post by andyp73 »

socratis wrote:I see a *lot* of these messages, that keep on repeating, and I honestly don't know why...
We used to see behaviour similar to that when Wayland was used rather than Xorg for driving the desktop. Whilst Wayland was the default in 180.04 I thought Ubuntu had switched back to Xorg for the LTS release.

-Andy.
My crystal ball is currently broken. If you want assistance you are going to have to give me all of the necessary information.
Please don't ask me to do your homework for you, I have more than enough of my own things to do.
LapisAlienus
Posts: 7
Joined: 27. Mar 2019, 16:26

Re: Refresh issue on Ubuntu 18.04.2 LTS guest

Post by LapisAlienus »

Hello,
socratis wrote:Try to enable 3D acceleration in your guest. I need to see your host's GPU info. Then post a new log. And since you're at it, just for kicks, can you try with VMSVGA? I don't think you're going to see an improvement, but it would be a "mistake" to not test that.
Okay: 2 vCPUs, 3D acceleration and VMSVGA enabled - somehow this has resolved the issue, I no longer get the defective repainting. I attach the log of the setup that seems to work for me at the moment.
Office Ubuntu-2019-03-28-11-33-34.zip
(33.01 KiB) Downloaded 19 times
LapisAlienus
Posts: 7
Joined: 27. Mar 2019, 16:26

Re: Refresh issue on Ubuntu 18.04.2 LTS guest

Post by LapisAlienus »

Hello,
andyp73 wrote: We used to see behaviour similar to that when Wayland was used rather than Xorg for driving the desktop. Whilst Wayland was the default in 180.04 I thought Ubuntu had switched back to Xorg for the LTS release.
The following:

Code: Select all

echo $XDG_SESSION_TYPE
returns 'x11' in my Ubuntu host.
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: Refresh issue on Ubuntu 18.04.2 LTS guest

Post by socratis »

LapisAlienus wrote:2 vCPUs, 3D acceleration and VMSVGA enabled - somehow this has resolved the issue, I no longer get the defective repainting
Great, I'll mark the thread as [Resolved].
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.
LapisAlienus
Posts: 7
Joined: 27. Mar 2019, 16:26

Re: Refresh issue on Ubuntu 18.04.2 LTS guest

Post by LapisAlienus »

socratis wrote:Great, I'll mark the thread as [Resolved].
Thank you socratis for your help in resolving this issue for me.
Post Reply