VirtualBox

Opened 10 months ago

Last modified 29 hours ago

#21955 accepted defect

Heavy screen flickering VirtualBox 6.1.48 / 7.0.12 Ubuntu Wayland guest kernels 6.4 / 6.5 — at Version 12

Reported by: Erwin Owned by:
Component: GUI Version: VirtualBox-7.0.14
Keywords: screen flickering, ubuntu updates, display, guest additions Cc: Erwin
Guest type: Linux Host type: Windows

Description (last modified by Erwin)

Heavy screen flickering occurs with Ubuntu Wayland guest after installing guest Ubuntu updates.

VirtualBox Forum:

Reproducible on AMD Ryzen 7/9 Windows/Linux host computers as all guests running Ubuntu (Wayland) flavors are affected after updated kernel versions 6.4/6.5:

  • Ubuntu 22.04 / 23.10 desktops running kernel versions 6.4 and 6.5
  • Fedora 39, kernel 6.6.9-200.fc39
  • Hosts Windows 10 and any Linux
  • VirtualBox versions 6.1.50, 7.0.14 and older
  • Corresponding Guest additions installed
  • Guest Display settings: 128MB, 3D acceleration unchecked (as 3D graphics acceleration is not supported by VirtualBox)
  • Latest Windows 10 host NVidia driver v546.33

Problems:

  • Screen flickering occurs especially in full screen of the guest and maximized guest window.
  • Additionally, the Ubuntu 23.10 / 24.04 installation window does not start or is white (popup asks to quit as there is no GUI response).
  • Very slow GUI guest response.

Change History (19)

by Erwin, 10 months ago

Attachment: guest_dmesg_logs.zip added

by Erwin, 10 months ago

Attachment: VirtualBoxLogs21955.zip added

comment:1 by pm4492, 10 months ago

Getting this error in Xorg.0.log with kernel 6.6 not with kernel 6.1

[    53.021] (EE) vmwgfx_scanout_update: failed to send dirty (-12, Cannot allocate memory)
[    53.021] (EE) vmwgfx_scanout_update: failed to send dirty (-12, Cannot allocate memory)

comment:2 by pm4492, 10 months ago

Among the kernels that I can find, 6.3.9 is the last one that works and 6.4 is the first one that has this issue.

comment:3 by Erwin, 10 months ago

Description: modified (diff)

comment:4 by bradfordwetmore, 10 months ago

This may be related to:

https://forums.virtualbox.org/viewtopic.php?t=110879

There were reports of similar vmwgfx errors in that one as well.

Was seeing large rectangles for where the cursor was supposed to be, along with major flickering.

by macsek, 10 months ago

Attachment: stripes_logs.zip added

comment:5 by macsek, 10 months ago

Same issue here, different hardware (12th Gen Intel(R) Core(TM) i7-1255U 1.70 GHz, 32GB RAM), more recent VirtualBox version.

https://forums.virtualbox.org/viewtopic.php?p=545533

Freshly installed VirtualBox 7.0.14 r161095 (Qt5.15.2) and VirtualBox 7.0.14 Oracle VM VirtualBox Extension Pack running on Win11, the only VM created is an Ubuntu 22.04 LTS 64 bits. Ubuntu was installed from the official (just downloaded) iso automatically by VirtualBox. (I like this feature 8) ) Nothing is modified at all, no additional program is installed. The windows screen is working well, however the ubuntu VM window (and only that) shows stripes, like on an old monitor. I suspected the VirtualBox video driver (VMSVGA) and tried to change it to VBoxSVGA and VBoxVGA but setting either resulted me not able to log in so I reverted. I restarted more times, reinstalled Guest Additions two times, no change.

After retaining the original software state (no updates, no installs) the stripes does not show the next day, screen is normal. However when tried to start terminal (to check kernel version) I received an error message and terminal did not start, even on 2nd try. I have sent the problem report right now.

stripes_logs.zip contains the logfiles. Please let me know if you need more information.

comment:6 by discoverix558, 10 months ago

I can confirm the problem, I work with a Windows 10 host and Ubuntu 22.04 LTS guests in seamless mode. After updating VBox to version 7.0.14 – including corresponding guest additions – graphics are unstable. VBox „forgets“ the seamless mode (that was always the case in version 7), means when I do something else and then return to the guest, I often have to switch the seamless mode on again as the screen does not fit the display. With version 7.0.14 I experience now that the guest starts flickering once I switch to seamless – not at the first time, but latest at the 3rd. I have not found a way to stop it other than to reboot the guest. As I am updating ubuntu regularly and I noticed that the kernel is now on version 6.0.15-14. My CPU type is AMD 5700G without an additional graphics card, I am working with a resolution of 3820 x 2160 (x 2026 seamless). I am happy to provide more details or log data if that is of any help to resolve the problem. Does anyone know a „least annoying“ workaround while this issue is pending ?

comment:7 by bradfordwetmore, 10 months ago

@discoverix558:

Until this issue is resolved, I've been booting into an older kernel.

For booting to an older kernel, the best solution for me was to set (in /etc/default/grub):

GRUB_DEFAULT=saved
GRUB_SAVEDEFAULT=true

With this settings the last selected value is kept for the next boot. If you have a new kernel you don't have to edit your config.

Don't forget to re-run sudo update-grub. Then boot into grub and select the a downrev'd kernel.

Not ideal.

I've heard the VB devs are aware of the issue, but that's all the insight I have.

comment:8 by Erwin, 10 months ago

Description: modified (diff)

comment:9 by Erwin, 10 months ago

Description: modified (diff)

comment:10 by Erwin, 10 months ago

@VirtualBox developers, can you reproduce this issue? It is still listed as "new defect".

Updates: Bug still exists in VirtualBox versions 6.1.50, 7.0.14 and older.

comment:12 by Erwin, 10 months ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette