Opened 20 months ago
Last modified 20 months ago
#21487 new defect
3D acceleration causes Linux guest freezes
| Reported by: | Pablo Sanchez | Owned by: | |
|---|---|---|---|
| Component: | guest additions/x11/graphics | Version: | VirtualBox-7.0.6 |
| Keywords: | freeze, Linux, guest, 3D acceleration | Cc: | |
| Guest type: | Linux | Host type: | Linux |
Description
Hi,
Checking the forums, there seems to be several people reporting instances of their Windows 11 Guests freezing. I have a situation with Linux Guests. Below are some details in case you need a test case.
I'm experiencing frequent freezes when 3D acceleration is enabled on Linux Guests. There is no issue with a Windows 10 Guest.
The current work-around is to disable 3D acceleration.
I captured a core dump of the frozen Guest using vboxmanage debugvm dumpvmcore. If there is any value, I can upload it to my G Drive. It is 460 MB.
Environment
Guest
I have tried to create a minimal test case using openSUSE MicroOS (immutable O/S).
Below are some of the highlight settings of the Guest. However I suspect VBox.log may only be needed.
- Download latest MicroOS - https://get.opensuse.org/microos/#download
- Set up a new Guest VM:
- Base memory: 3072 MB (4096 crashes)
- Processor: 1
- Storage:
- controller > Use Host I/O Cache
- 30 GB vdi > Solid-state Drive (assuming you're using an SSD)
- Current allocation is 8.02 GB
- Display:
- Video Memory: 128 MB
- Graphics controller:
- VMSVGA
- Enable 3D Acceleration
- Using the MicroOS ISO, create a new Guest
- Selected local TZ rather than UTC.
- Select KDE desktop
- On first boot, the Guest will set up bootstrap apps.
- Use discover to install the Brave browser. Discover is KDE's flatpak manager. By default, it lives in the systray. Its icon is a blue shopping bag. :)
- I did some minor KDE tweaking (e.g. focus-follows-mouse, etc.) If required, I could upload a tar-ball of the test user's $HOME.
Test Case
Using the test case below, the Guest may take upwards of a few hours to freeze. Sometimes it freezes in a few minutes.
I run it in a Virtual Desktop and periodically check.
- Run two instances of Brave
- In each, go to web pages that auto-refresh periodically. For example:
Host
- openSUSE Tumbleweed - rolling distro
- Regularly kept up to date.
- As of this writing, kernel 6.1.8-1
- Using Prime offloading
- iGPU - Intel UHD Graphics
- dGPU - Nvidia GeForce RTX 2060 Max-Q
Attachments (1)
Change History (4)
by , 20 months ago
comment:1 by , 20 months ago
I don't think it's material but in VBox.log I changed my domain to exmaple.org
comment:2 by , 20 months ago
On first-boot, I also added the following packages:
- virtualbox-guest-tools
- virtualbox-kmp-default
comment:3 by , 20 months ago
Correction: I was mistaken, W10 only works with 3D acceleration disabled.


VBox.log