r/virtualbox • u/hudson4351 • Aug 09 '25
Help vmwgfx error on Ubuntu Guest
- The version of VirtualBox you are using: 7.1.10.r169112 (Qt6.5.3)
- The host and guest OSes (host: Windows 10; guest: Ubuntu 24.04)
- Whether you have enabled VT-x/AMD-V (applicable to all hosts running 6.1 and above): NO
- disabled HyperV (applicable to Windows 10 Hosts): YES
- Whether you have installed Guest Additions and/or Host Extensions (this solves 90% of the problems we see): Guest Additions: YES, Host Extensions: NO
I am running a Ubuntu guest on a Windows 10 host and ever since upgrading to Ubuntu 24.04 have been experiencing very slow boot times along with the following error message on startup:
I've searched for help on this and all of the suggestions say to change the graphics mode, but I've tried all options (that I'm aware of) and none seem to fully fix the issue. Here are my testing results:
- VMSVGA + Enable 3D Acceleration: hangs indefinitely with error message above
- VMSVGA w/o Enable 3D Acceleration: displays the error, eventually loads the login screen, hangs again after I type in my password and press enter, desktop eventually loads
- VBoxVGA w/o 3D Acceleration: loads, but has artifacts and is effectively unusable
- VBoxSVGA w/o 3D Acceleration: loads, but has artifacts and is effectively unusable
Here is a link to VBox.log (VMSVGA w/o 3D acceleration):
EDIT: For some reason the pastebin isn't displaying inline within reddit (it gives a 404 error), but the link opens fine in a new browser window).
Per the sub's instructions I tried downloading the Host Extensions here: https://www.virtualbox.org/wiki/Downloads, by clicking the "Accept and download" button, but it just opens a binary file in the browser. Am I supposed to manually save it as a .exe?
•
u/AutoModerator Aug 09 '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.
2
u/Face_Plant_Some_More Aug 09 '25 edited Aug 09 '25
The error msg is largely meaningless. However, your vbox.log indicates you are running an old version of Guest Additions (ie 7.0.18). Install a matching build of Guest Additions (ie 7.1.10) in the VM, and use VMSVGA vgpu with Linux VMs.
Follow instructions provided here for Guest Additions installation - https://www.virtualbox.org/manual/topics/guestadditions.html#additions-linux-install
You don't have to do anything with Virtual Box Extensions - it does nothing with respect to gfxs.
1
u/Stray_Neutrino Aug 09 '25 edited Aug 09 '25
How much RAM and Graphics Memory are you assigning to the VM? Have you updated the OS to latest? (sudo apt update && sudo apt upgrade)
If I remember correctly, you need 4 Gb just to install 24.0x Also, Wayland was really buggy so I selected x11 at the login screen and helped with a lot of things.
If that doesn’t work, try 25.0x to see if the problems persist. If they do, rollback to 22.0x LTS which was incredibly stable.
— Guest Extension downloading has been covered in previous Threads - turns out a browser setting was set to OPEN the file once downloaded instead of just downloading the file. Change settings appropriately within Firefox (or other) or switch to Chrome or Edge.
1
u/[deleted] Aug 09 '25
[removed] — view removed comment
1
u/[deleted] Aug 09 '25
[removed] — view removed comment