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

Discussions about using Linux guests in VirtualBox.
Post Reply
miks
Posts: 2
Joined: 31. May 2024, 22:51

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

Post 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
multiOS
Volunteer
Posts: 1734
Joined: 14. Sep 2019, 16:51
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux, BSD
Location: United Kingdom

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

Post 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.
miks
Posts: 2
Joined: 31. May 2024, 22:51

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

Post 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.
Last edited by miks on 4. Jun 2024, 18:38, edited 1 time in total.
bertje
Posts: 66
Joined: 4. Nov 2010, 09:49
Primary OS: MS Windows 10
VBox Version: OSE other
Guest OSses: Ubuntu/MATE/Server 16.04, 18.04, 20.04, 21.04, 22.04, 23.10, Windows XP/7/10/11

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

Post 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.
Post Reply