Page 1 of 1

Ubuntu 24.04 LTS - flickering and crahes with 3D acceleration ON or OFF

Posted: 31. May 2024, 23:00
by miks
VBox 7.0.18 flickering is fixed with 3D acceleration turned ON, but turning 3D acceleration ON causes VM crashes when clicking on any desktop items like the Home icon.

VM crashes with "The instruction at 0x00007FFE50F9F43C referenced memory at
0x0000000000000000. The memory could not be read."

I suspect that VBox additions the current version that doesn't support yet NEW kernel in fresh Ubuntu v24.04 which is v6.8

So, 3D acceleration OFF - VM flickering, but 3D acceleration ON - VM crashes

------------------------
- Windows 10 host has the latest NVIDIA drivers
- VBox 7.0.18 works with Ubuntu 20, 22 guests

Re: Ubuntu 24.04 LTS - flickering and crahes with 3D acceleration ON or OFF

Posted: 3. Jun 2024, 13:56
by multiOS
If you are logging in to the default Ubuntu Wayland session, then you could try switching to an 'X' session, as VirtualBox 7.0.xx has some compatibility issues with Wayland.

Re: Ubuntu 24.04 LTS - flickering and crahes with 3D acceleration ON or OFF

Posted: 4. Jun 2024, 18:17
by miks
multiOS wrote: 3. Jun 2024, 13:56 If you are logging in to the default Ubuntu Wayland session, then you could try switching to an 'X' session, as VirtualBox 7.0.xx has some compatibility issues with Wayland.
Thank you, multiOS. I have tried to switch to X11:

- sudo cp /etc/gdm3/custom.conf /etc/gdm3/custom.conf.bak
- sudo nano /etc/gdm3/custom.conf
- add WaylandEnable=false
- reboot
- echo $XDG_SESSION_TYPE

and still flickering and crashes persist.

Re: Ubuntu 24.04 LTS - flickering and crahes with 3D acceleration ON or OFF

Posted: 25. Jul 2024, 19:12
by bertje
Bug reported December 2023: https://www.virtualbox.org/ticket/21955

VirtualBox 7.0.12 released, reported graphics problem
VirtualBox 7.0.14 released, same graphics problem
VirtualBox 7.0.16 released, same graphics problem, additionally crashing the host with Ethernet in bridged mode -> Useless release
VirtualBox 7.0.18 released, same graphics problem.
VirtualBox 7.0.20 released, same graphics problem.

Unclear if this bug will every be resolved. We gave up.