Screen flicker with Fedora on macOS host

Discussions about using Linux guests in VirtualBox.
TheSentinel
Posts: 3
Joined: 15. Jun 2017, 10:19

Screen flicker with Fedora on macOS host

Post by TheSentinel »

I have a continuing problem with Fedora 25 on macOS/OS X hosts. Everything works just fine installation-wise, but after installing the guest additions, I get a screen flicker/flash every now and then, usually every 4-6 seconds. Not on the host screen, but in the virtual box window screen. I have tried several installations on different versions of macOS/OSX, but the behaviour is consistent. It does not matter whether I have 3d enabled, full screen or windowed - it keeps flickering/flashing.

Anyone have a fix for this?

Yours Truly
TheSentinel
Posts: 3
Joined: 15. Jun 2017, 10:19

Re: Screen flicker with Fedora on macOS host

Post by TheSentinel »

Update: Have tested with Ubuntu, and there was no such problem there.
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: Screen flicker with Fedora on macOS host

Post by socratis »

TheSentinel wrote:I get a screen flicker/flash every now and then, usually every 4-6 seconds.
Any particular application, spot/area, circumstances? Are you running in windowed, seamless, or full screen mode? Are you using Gnome or Gnome classic?
TheSentinel wrote:Not on the host screen, but in the virtual box window screen.
If you were getting flicker on the host, that would be really, "really bad" ™. ;)
TheSentinel wrote:I have tried several installations on different versions of macOS/OSX
Would that be on different hosts/physical computers with different OSX versions, or something that you've been seeing for several versions of OSX through time on the same host/physical computer?

Follow a "start the VM from cold-boot" / "observe error" / "shutdown the VM" cycle. With the VM shut down completely (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).
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.
TheSentinel
Posts: 3
Joined: 15. Jun 2017, 10:19

Re: Screen flicker with Fedora on macOS host

Post by TheSentinel »

socratis wrote:Any particular application, spot/area, circumstances? Are you running in windowed, seamless, or full screen mode? Are you using Gnome or Gnome classic?
Gnome. And the entire screen. Fullscreen, or full desktop in a window (guess that is windowed).
socratis wrote:Would that be on different hosts/physical computers with different OSX versions, or something that you've been seeing for several versions of OSX through time on the same host/physical computer?
3 different hosts, one with macOS Sierra 10.12.5, one with Sierra 10.12.6 beta, and one older with 10.10.
socratis wrote:Follow a "start the VM from cold-boot" / "observe error" / "shutdown the VM" cycle. With the VM shut down completely (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).
Attached
Attachments
vbox-Fedoratre-2017-06-15-12-21-41.log.zip
(29.02 KiB) Downloaded 34 times
Last edited by socratis on 15. Jun 2017, 13:06, edited 1 time in total.
Reason: Fixed formatting.
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: Screen flicker with Fedora on macOS host

Post by socratis »

Sorry for the late reply, "tabs" backlog...
  • You do not have 3D acceleration enabled.
  • You are assigning memory to your guest, that you do not have available. Either close some applications on the host, buy more RAM for the host, or reduce the amount of RAM assigned to the guest.
    00:00:01.695877 Host RAM: 8192MB (8.0GB) total, 3539MB (3.4GB) available
    00:00:01.978570 RamSize  <integer> = 0x0000000100000000 (4 294 967 296, 4 096 MB, 4 GB)
    00:00:01.979147 VRamSize <integer> = 0x0000000004000000 (67 108 864, 64 MB)
  • I see a lot of messages about screen size but they keep repeating and repeating, with no clear idea as to why. Try to fix the previous two issues and see if you see a difference.
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.
McJimmeh
Posts: 5
Joined: 5. Jul 2017, 01:52

Re: Screen flicker with Fedora on macOS host

Post by McJimmeh »

Any progress on this one? I'm getting the same problem. My searches for a cure are coming up empty.

Running VBox 5.1.22 r115126 on OS X 10.11.6 on a MacBook Pro to run a Fedora 25 virtual host (saw it on Fed24 too).

Enabled 3D accelaration, screen still flickered. (Gnome (3.22.2) also throws a Clutter error and cannot log in to desktop while 3D enabled. Can still log in with console.)

Video memory: 24MB of possible 128MB
Memory dedicated to VM...
00:00:00.948180 Host RAM: 8192MB (8.0GB) total, 4293MB (4.1GB) available
00:00:01.067812 RamSize <integer> = 0x0000000080000000 (2 147 483 648, 2 048 MB)
As noted above, my log is also coughing up a Display::handleDisplayResize event frequently (multiple per minute) when VM is idling and I suspect this to be the culprit.
00:04:49.811670 VBVA: InfoScreen: [0] @0,0 1152x864, line 0x1200, BPP 32, flags 0x1
00:04:49.811695 Display::handleDisplayResize: uScreenId=0 pvVRAM=00000001157b0000 w=1152 h=864 bpp=32 cbLine=0x1200 flags=0x1
00:04:49.811728 GUI: UIFrameBufferPrivate::NotifyChange: Screen=0, Origin=0x0, Size=1152x864, Sending to async-handler
00:04:49.811801 GUI: UIMachineView::sltHandleNotifyChange: Screen=0, Size=1152x864
00:04:49.811808 GUI: UIFrameBufferPrivate::handleNotifyChange: Size=1152x864
00:04:49.811819 GUI: UIFrameBufferPrivate::performResize: Size=1152x864, Directly using source bitmap content
00:04:49.817460 GUI: UIMachineView::storeGuestSizeHint: Storing guest-screen size-hint for screen 0 as 1152x864
I've tried switching 'Auto-resize Guest Display' off and setting to default monitor sizes only, but the flicker and log events keep coming. Can the event be suppressed?

Any suggestions? Thanks.
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: Screen flicker with Fedora on macOS host

Post by socratis »

I'm starting to believe that this is not an "OSX Host" issue, but rather a "Linux Guest" one. Moving accordingly...
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.
McJimmeh
Posts: 5
Joined: 5. Jul 2017, 01:52

Re: Screen flicker with Fedora on macOS host

Post by McJimmeh »

Could well be a Fedora thing. I can't imagine I'm the only one - but searching hasn't turned up similar.

For the record, the handleDisplayResize events and flicker/flashing stop when the console is activated (cmd-fn[2-7]).
On the GUI (gnome), if there is no keyboard/touchpad/mouse input, the flickering will stop. Touch anything (eg press shift key), the flicker will come 6 times, aprox 5 seconds apart.
McJimmeh
Posts: 5
Joined: 5. Jul 2017, 01:52

Re: Screen flicker with Fedora on macOS host

Post by McJimmeh »

Well, there you go, eh? It looks to be Wayland what done it.

Screen flickers/throw display resize events on login screen (gdm) and when logged in (gnome using Wayland).

Quick fix, when on enter password screen of gdm, click the cog, select 'Gnome on Xorg' (X11), and the flicker stops.

Hope it saves someone else's sanity.
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: Screen flicker with Fedora on macOS host

Post by socratis »

McJimmeh wrote:Quick fix, when on enter password screen of gdm, click the cog, select 'Gnome on Xorg' (X11), and the flicker stops.
That's exactly why I asked you a couple of posts back about your Gnome settings. I should have realized that you were using the Wayland one...
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.
alphacoorg
Posts: 1
Joined: 18. Aug 2017, 18:12

Re: Screen flicker with Fedora on macOS host

Post by alphacoorg »

McJimmeh wrote:Well, there you go, eh? It looks to be Wayland what done it.

Screen flickers/throw display resize events on login screen (gdm) and when logged in (gnome using Wayland).

Quick fix, when on enter password screen of gdm, click the cog, select 'Gnome on Xorg' (X11), and the flicker stops.

Hope it saves someone else's sanity.

Was struggling with this for hours. This helped. Thank You!
janpeter
Posts: 110
Joined: 27. Apr 2009, 11:51
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Windows 10, Ubuntu 20.04

Re: Screen flicker with Fedora on macOS host

Post by janpeter »

I just want to say this seems also to have worked for me.
Use macOS Sierra 10.12.6 and Vbox 5.1.26 and Fedora 26.

One remark though.
The other day I upgraded Fedora 25 to Fedora 26 from within Fedora 25.
The Fedora 25 flickered all the time and I used this VM
very little.
Hoped that upgrading Fedora 25 would work.
After upgrading it seemed to actually flicker less.
However, after installing upgraded guest additions the flickering came back...
My observation is not "water tight" since I spend very little time in the system
without guest additions, but I believe now afterwards that it was enough time
to see flickering if there was, and I think not.

So I started to think that the problem is related to guest additions or settings in Fedora related to that.
With your idea to select "Gnome on Xorg" the systems seems not to flicker anymore...
DowNow
Posts: 1
Joined: 15. Nov 2017, 21:31

Re: Screen flicker with Fedora on macOS host

Post by DowNow »

Saved my sanity thanks.
cc
mot_art
Posts: 1
Joined: 6. Feb 2018, 20:37

Re: Screen flicker with Fedora on macOS host

Post by mot_art »

Saved my sanity here as well. Thank you!
TommyTheKid
Posts: 1
Joined: 17. May 2018, 21:26

Re: Screen flicker with Fedora on macOS host

Post by TommyTheKid »

For what its worth, I have been fighting that problem since F25. Here is a bug on F27, it also affects F28.

RedHat Bugzilla Bug ID: 1520005

Also, for what its worth, the latest Ubuntu 18.04 also exhibited the flickering issue in the login screen, but as long as you select Ubuntu on X11 instead of Ubuntu on Weyland it seems to be fine.

~tommy
Last edited by socratis on 17. May 2018, 22:18, edited 1 time in total.
Reason: Added missing URL.
Post Reply