flathub / org.gnome.Boxes

https://flathub.org/apps/details/org.gnome.Boxes
13 stars 10 forks source link

[Silverblue 35] 3D Acceleration option suddenly gone. VM which had it set before crash on startup #68

Closed Mershl closed 2 years ago

Mershl commented 2 years ago

Description

Updated an SB35 machine today (7 days worth of updates). Noticed that many previously working VMs in Gnome Boxes (from flathub) were crashing on startup. All affected VMs had 3D acceleration enabled. The option is no longer shown in the Properties pane for any VM.

Gnome Boxes logs:

(gnome-boxes:2): Boxes-WARNING **: 01:58:55.300: libvirt-machine.vala:290: Failed to connection to system libvirt: Unable to open qemu+unix:///system: Failed to connect socket to '/app/var/run/libvirt/virtqemud-sock-ro': No such file or directory

(gnome-boxes:2): Boxes-WARNING **: 01:59:04.219: machine.vala:644: Failed to start Fedora-Kinoite: Unable to start domain: internal error: qemu unexpectedly closed the monitor: 2021-11-08T00:59:03.993232Z qemu-system-x86_64: warning: This family of AMD CPU doesn't support hyperthreading(2)
Please configure -smp options properly or try enabling topoext feature.
2021-11-08T00:59:04.007816Z qemu-system-x86_64: -device virtio-vga-gl,id=video0,max_outputs=1,bus=pcie.0,addr=0x1: opengl is not available

Affected VMs (that had 3D acceleration enabled before) log: sb35_gnome_boxes_3d_accel_crash.txt

Workaround

Setting the accel3d parameter manually to "no" allows VMs to boot again.

      <model type="virtio" heads="1" primary="yes">
        <acceleration accel3d="yes"/>   // -> setting this to "no"
      </model>

System info

fedora:fedora/35/x86_64/silverblue
                   Version: 35.20211107.0 (2021-11-07T01:03:34Z)

Using latest GNOME Boxes from flathub (last updated: 2021-11-05 10:28:37 +0000)

GNOME Boxes org.gnome.Boxes 41.1    stable  system
loganmc10 commented 2 years ago

+1 on this, I don't see any 3d acceleration option using the GNOME Boxes flatpak on Silverblue 35

1player commented 2 years ago

I can see the 3d acceleration option as of 7 Apr 2022, though I'm not sure it's actually doing anything. This issue can probably be closed.

Mershl commented 2 years ago

Can confirm. The issue is no longer reproduciable after upgrading to Fedora 36 and Gnome Boxes 42.0 (from flathub).