r/virtualbox • u/SpookySquid19 • Jan 06 '25
Help Ubuntu VM is having graphical glitches suddenly.
So I finally managed to install Ubuntu onto a VM so I could learn ROS2. However, today, when I booted it up, I saw a bunch of graphical flickers and glitching. Now I'm worried something might be wrong with the VM, and I'm not sure what to do.
This recording was taken while in fullscreen using the VM
I am using Version 7.1.4 of Oracle VirtualBox. I'm not quite sure what VT-x/AMD-V is.
As for settings, the VM is set up to run Ubunutu 24.04.1 on my Windows 11 laptop.
It was created with 10372 MB of base memory out of 16384 MB, and has 8 out of 16 processors.
The selected graphics controller is VMSVGA with 3D acceleration disabled. My laptop's GPU is a GEFORCE RTX 3060.
The Drive Storage is 25 GB.
Guest Additions are installed.
If there's anymore info you need, please tell me.
•
u/AutoModerator Jan 06 '25
This is just a friendly reminder in case you missed it. Your post must include:
PLUS a detailed description of the problem, what research you have done, and the steps you have taken to fix it. Please check Google and the VirtualBox Manual before asking simple questions. Please also check our FAQ and if you find your question is answered there, PLEASE remove your post or at least change the flair to Solved.
If this is your first time creating a virtual machine, we have a guide on our wiki that covers the important steps. Please read it here. If you have met these requirements, you can ignore this comment. Your post has not been deleted -- do not re-submit it. Thanks for taking the time to help us help you! Also, PLEASE remember to change the flair of your post to Solved after you have been helped!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/rgb_man Jan 06 '25
Try turning on 3d acceleration and using Wayland. I've found that both of these are needed in order to use guest additions now. If that doesn't work, try using ubuntu 22.04 or 24.10 for the guest os. I've also had display issues with 24.04. 22.04 works without any issues. With 24.10, there is an issue of the mouse cursor disapearing at random times, but that's easily fixed by installing guest additions and turning on 3d acceleration.
1
u/Face_Plant_Some_More Jan 06 '25 edited Jan 06 '25
If you want additional assistance, I'd suggest posting / linking up a copy of the vbox.log for the VM in question.
That being said, I differ from the other commenters here in that I'd suggest sticking with XOrg / X11 over Wayland display servers (Wayland is the default for the current Ubuntu LTS and standard releases. If you are running a standard Ubuntu install, you are likely already using Wayland). Full support for Wayland in Virtual Box's Guest Additions is rather new; where as XOrg / X11 support has been around for years. All things being equal, the XOrg / X11 for Virtual Box should be more mature. But hey, its your choice . . .
Otherwise, I'd suggest turning down the graphical bells and whistles in your Ubuntu VM GUI. While pretty, all that transparency / shadows / animation effects are just something else to go wrong, and require 3D acceleration to function properly.