Page 1 of 1

[Resolved] Refresh issue on Ubuntu 18.04.2 LTS guest

Posted: 27. Mar 2019, 16:33
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.

Re: Refresh issue on Ubuntu 18.04.2 LTS guest

Posted: 27. Mar 2019, 16:41
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

Re: Refresh issue on Ubuntu 18.04.2 LTS guest

Posted: 27. Mar 2019, 16:56
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.

Re: Refresh issue on Ubuntu 18.04.2 LTS guest

Posted: 27. Mar 2019, 17:08
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...

Re: Refresh issue on Ubuntu 18.04.2 LTS guest

Posted: 27. Mar 2019, 17:16
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 5259 times

Re: Refresh issue on Ubuntu 18.04.2 LTS guest

Posted: 27. Mar 2019, 17:59
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...

Re: Refresh issue on Ubuntu 18.04.2 LTS guest

Posted: 28. Mar 2019, 08:59
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 34 times

Re: Refresh issue on Ubuntu 18.04.2 LTS guest

Posted: 28. Mar 2019, 10:57
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...

Re: Refresh issue on Ubuntu 18.04.2 LTS guest

Posted: 28. Mar 2019, 11:48
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.

Re: Refresh issue on Ubuntu 18.04.2 LTS guest

Posted: 28. Mar 2019, 12:37
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 34 times

Re: Refresh issue on Ubuntu 18.04.2 LTS guest

Posted: 28. Mar 2019, 12:45
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.

Re: Refresh issue on Ubuntu 18.04.2 LTS guest

Posted: 29. Mar 2019, 02:38
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].

Re: Refresh issue on Ubuntu 18.04.2 LTS guest

Posted: 29. Mar 2019, 09:03
by LapisAlienus
socratis wrote:Great, I'll mark the thread as [Resolved].
Thank you socratis for your help in resolving this issue for me.