Ubuntu 1710 screen flicker

Discussions related to using VirtualBox on Mac OS X hosts.

Ubuntu 1710 screen flicker

Postby zphelj » 20. Oct 2017, 19:57

I'm experiencing a screen flicker in both window and full screen mode on HighSierra with VB 5.2.0 r118431 with a fresh install of Ubuntu 1710 64bit desktop. This occurs even if I start the VM, leave it at the login screen, and then shutdown without logging in. I.e. I do nothing, just leave the machine idle. Otherwise operation is as expected. I've tried tweaking various settings however the result is the same, a very annoying random flicker.

In the VM log I'm seeing resize events over and over:

00:00:33.685795 VBVA: InfoScreen: [0] @0,0 2560x1600, line 0x2800, BPP 32, flags 0x1
00:00:33.685873 Display::handleDisplayResize: uScreenId=0 pvVRAM=000000011c4b5000 w=2560 h=1600 bpp=32 cbLine=0x2800 flags=0x1
00:00:33.685920 GUI: UIFrameBufferPrivate::NotifyChange: Screen=0, Origin=0x0, Size=2560x1600, Sending to async-handler
00:00:33.700914 GUI: UIMachineView::sltHandleNotifyChange: Screen=0, Size=2560x1600
00:00:33.701014 GUI: UIFrameBufferPrivate::handleNotifyChange: Size=2560x1600
00:00:33.701050 GUI: UIFrameBufferPrivate::performResize: Size=2560x1600, Directly using source bitmap content
00:00:33.712050 VBVA: InfoScreen: [0] @0,0 2560x1600, line 0x2800, BPP 32, flags 0x1
00:00:33.712128 Display::handleDisplayResize: uScreenId=0 pvVRAM=000000011c4b5000 w=2560 h=1600 bpp=32 cbLine=0x2800 flags=0x1
00:00:33.718723 GUI: UIFrameBufferPrivate::NotifyChange: Screen=0, Origin=0x0, Size=2560x1600, Sending to async-handler
00:00:33.741201 GUI: UIMachineView::sltHandleNotifyChange: Screen=0, Size=2560x1600
00:00:33.741239 GUI: UIFrameBufferPrivate::handleNotifyChange: Size=2560x1600
00:00:33.741259 GUI: UIFrameBufferPrivate::performResize: Size=2560x1600, Directly using source bitmap content
00:00:33.859351 VBVA: InfoScreen: [0] @0,0 2560x1600, line 0x2800, BPP 32, flags 0x1
00:00:33.859415 Display::handleDisplayResize: uScreenId=0 pvVRAM=000000011c4b5000 w=2560 h=1600 bpp=32 cbLine=0x2800 flags=0x1
00:00:33.859461 GUI: UIFrameBufferPrivate::NotifyChange: Screen=0, Origin=0x0, Size=2560x1600, Sending to async-handler
00:00:33.868411 GUI: UIMachineView::sltHandleNotifyChange: Screen=0, Size=2560x1600
00:00:33.868478 GUI: UIFrameBufferPrivate::handleNotifyChange: Size=2560x1600
00:00:33.868515 GUI: UIFrameBufferPrivate::performResize: Size=2560x1600, Directly using source bitmap content
00:00:45.274291 GUI: UIDesktopWidgetWatchdog::sltHandleHostScreenWorkAreaResized: Screen 0 work area is formally resized to: 0x23 x 1280x723
00:00:48.261357 VBVA: InfoScreen: [0] @0,0 2560x1600, line 0x2800, BPP 32, flags 0x1
00:00:48.261416 Display::handleDisplayResize: uScreenId=0 pvVRAM=000000011c4b5000 w=2560 h=1600 bpp=32 cbLine=0x2800 flags=0x1
00:00:48.261458 GUI: UIFrameBufferPrivate::NotifyChange: Screen=0, Origin=0x0, Size=2560x1600, Sending to async-handler
00:00:48.261528 GUI: UIMachineView::sltHandleNotifyChange: Screen=0, Size=2560x1600
00:00:48.261542 GUI: UIFrameBufferPrivate::handleNotifyChange: Size=2560x1600
00:00:48.261558 GUI: UIFrameBufferPrivate::performResize: Size=2560x1600, Directly using source bitmap content
00:01:21.954062 GUI: UIDesktopWidgetWatchdog::sltHandleHostScreenWorkAreaResized: Screen 0 work area is formally resized to: 0x0 x 1280x746
00:01:22.623470 VBVA: InfoScreen: [0] @0,0 2560x1600, line 0x2800, BPP 32, flags 0x1


Looking for troubleshooting pointers or suggestions. Thanks!
Attachments
vbox-flicker-ubuntu-1710.log.zip
Log file
(30.18 KiB) Downloaded 5 times
Last edited by zphelj on 20. Oct 2017, 23:42, edited 1 time in total.
zphelj
 
Posts: 2
Joined: 20. Oct 2017, 19:38

Re: Ubuntu 1710 screen flicker

Postby socratis » 20. Oct 2017, 20:35

If you have access to the OSX developer builds, try the latest 10.13.1 beta. They have been fixing bugs like crazy, including many that were affecting VirtualBox. If you don't have access to the OSX developer builds, you'll have to wait until 10.13.x is a little bit more stable.

Can you try an older Ubuntu client, like 16.04 the LTS one? See if you get the screen flicker there too.

Ubuntu 17.10 just came out. So did OSX 10.13. So did VirtualBox 5.2.0. All of them shiny new! You can't possibly expect to have a bug free ride, do you? ;)

PS. Could you ZIP and post the whole VBox.log, after you've completely shut down the VM?
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 12692
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: Ubuntu 1710 screen flicker

Postby zphelj » 20. Oct 2017, 23:57

socratis wrote:Can you try an older Ubuntu client, like 16.04 the LTS one? See if you get the screen flicker there too.
...
PS. Could you ZIP and post the whole VBox.log, after you've completely shut down the VM?

Thanks for the suggestions and no, not surprised there's an issue :-) Zip file of log added to original post, and I tried a new installation of 16.04.3 LTS and it's not exhibiting the issue so far.
zphelj
 
Posts: 2
Joined: 20. Oct 2017, 19:38

Re: Ubuntu 1710 screen flicker

Postby socratis » 25. Oct 2017, 11:32

zphelj wrote:I tried a new installation of 16.04.3 LTS and it's not exhibiting the issue so far.
OK, then it's either an interaction between OSX 10.13 and Ubuntu 17.10, or between OSX 10.13 and VirtualBox 5.2.0, or between Ubuntu 17.10 and VirtualBox 5.2.0. That's what you get when you're trying/modifying 3 (n) parameters of a multi-parameter problem at the same time; you get "n×(n-1)/2" combinations :D

I downloaded "ubuntu-17.10-desktop-amd64.iso" just to try it out. Booted into live/test mode with VirtualBox 5.2.0 and I saw no flickering whatsoever. I then installed it on its virtual hard drive, just to test the Guest Additions (GAs). And then the ... flickering hit the fan!

I installed VirtualBox 5.1.26. Same flickering.
I installed VirtualBox 5.1.28. Same flickering.
I installed VirtualBox 5.1.30. Same flickering.
I installed VirtualBox 5.2.0. Same flickering.

Conclusion: Ubuntu 17.10 does *not* want to be installed, it prefers the Live mode.


PS. On an almost related note, I really liked 17.10, I'm seriously considering upgrading my 16.04 LTS VM. If and when it stops flickering...
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 12692
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: Ubuntu 1710 screen flicker

Postby gjenkinslb » 30. Oct 2017, 21:35

I found this to be a bug with the new Ubuntu 17.10 in Sierra and VBox 5.2.0 and fixed it by selecting Xorg instead of default Wheland window system. You will find this option in the Ubuntu login dialog under the gear.
gjenkinslb
 
Posts: 1
Joined: 30. Oct 2017, 21:30

Re: Ubuntu 1710 screen flicker

Postby socratis » 30. Oct 2017, 23:24

Thanks 'gjenkinslb', I completely forgot to update the thread. I found the exact same workaround as you, but I forgot to post it...

The parameter that I seem to have left from my previous post, is that I'm on 10.11.6, so it's not a Sierra issue alone. I have an old Win host, I will try later to see what happens there too.

And maybe we'll need to move the thread from the "OSX Hosts" to the "Linux Guests", since I have the feeling that this is an Ubuntu 17.10 issue, not an OSX issue. News later tonight, at 11pm...
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 12692
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: Ubuntu 1710 screen flicker

Postby vicnowo » 19. Nov 2017, 15:55

I solved this problem by selecting Xorg. Thank you for your post.
vicnowo
 
Posts: 1
Joined: 19. Nov 2017, 15:53

Re: Ubuntu 1710 screen flicker

Postby Ekevoo » 29. Nov 2017, 22:44

Auto login users might want to uncomment the following line in /etc/gdm3/custom.conf

Code: Select all   Expand viewCollapse view
#WaylandEnable=false


Here's a helpful one-liner:

Code: Select all   Expand viewCollapse view
sudo perl -e '$^I=".backup";while(<>){s/#(WaylandEnable=false)/$1/;print;}' /etc/gdm3/custom.conf
Ekevoo
 
Posts: 1
Joined: 29. Nov 2017, 22:31
Primary OS: MS Windows 8.1
VBox Version: PUEL
Guest OSses: Ubuntu

Re: Ubuntu 1710 screen flicker

Postby bentito » 4. Dec 2017, 18:15

^^^ Fixed the flicker from my Ubuntu 17.10 and Mac OS 10.12.6. Thanks!
bentito
 
Posts: 2
Joined: 22. May 2013, 19:49

Re: Ubuntu 1710 screen flicker

Postby ChipMcK » 4. Dec 2017, 19:18

This may be of interest
Ubuntu 17.10: return of the GNOME
ChipMcK
Volunteer
 
Posts: 962
Joined: 20. May 2009, 02:17
Location: U S of A
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Windows, OSX


Return to VirtualBox on Mac OS X Hosts

Who is online

Users browsing this forum: PerfectStorm and 22 guests