﻿id,summary,reporter,owner,description,type,status,component,version,resolution,keywords,cc,guest,host
21487,3D acceleration causes Linux guest freezes,Pablo Sanchez,,"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:
  * https://edition.cnn.com
  * https://www.theweathernetwork.com/fr/weather/ile-de-france/paris

=== 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  
",defect,new,guest additions/x11/graphics,VirtualBox-7.0.6,,"freeze, Linux, guest, 3D acceleration",,Linux,Linux
