Fedora COSMIC Spin 42 beta unable to boot in VM

Problem Description:
Fedora COSMIC Spin 42 beta doesn’t work inside of a VM using Boxes due to halting during boot sequence. Boot logs:

How to replicate:

  1. Download Fedora COSMIC Spin 42 beta iso
  2. Create VM in Boxes using the downloaded iso
  3. When booting, select the first option to just boot into the live image

Cosmic requires hardware acceleration. I have been unable to get it working in a VM as well, but works on real hardware.

2 Likes

It works.

You need to follow the steps to enable VirGL for the VM

In the virt-manager configs, set these in the graphics and display options

  • enable OpenGL
  • Set Listen Type to “none”
  • enable 3D acceleration

You can set these as default too, a lot of linux distros support it

1 Like

Fortunately I only had to do this by going into preferences for the VM and toggling “3D Acceleration”. Now boots to desktop, but cursor and keyboard isn’t being passed through and volume control is locked displaying 40%. Keyboard works just fine for selecting boot options… it’s just desktop that seems to be having issues. Don’t see this issue with other VMs on Boxes like Silverblue or Kinoite

Don’t see a OpenGL related config in the VM config file exposed by Boxes.

Edit: Looks like config is already properly set:

<graphics type="spice">
  <listen type="none"/>
  <image compression="off"/>
  <gl enable="yes"/>

I also has a double cursor with Kubuntu today. On a Fedora KDE VM it works