1
8
submitted 1 month ago by [email protected] to c/[email protected]

Perhaps the biggest libvirt related piece of work here has been to reworking of the QMP API docs to make them easier to navigate. QMP is how libvirt probes for functionality as well as handling things like introspection of the machines and dealing with things like hotplug.

2
1
submitted 4 months ago by [email protected] to c/[email protected]
3
1
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]

Does anyone know how to get OpenGL3 to work on an Archlinux VM?
My goal is to be able to run Godot within a VM so that I can have:

  • a reproducible and shareable dev environment

I've tried the following guide:

  1. Edit grub configuration (on Archlinux guest VM) > /etc/default/grub
# Added "amd_iommu=on" to the default configuration line 6 as shown below:
GRUB_CMDLINE_LINUX_DEFAULT"loglevel=3 quiet amd_iommu=on"
  • Run sudo grub-mkconfig -o /boot/grub/grub.cfg

  1. Shutdown Archlinux VM and modify the VM's configurations:

[Virt-Manager VM Tabs]:

Display Spice

  • Listen type: [Address --> None]
  • OpenGL: [disabled --> ✅]
    • [Laptop DGPU selected]:
      {0000:07:00:0 Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt [Radeon 680M] (render)}

Video Virtio

  • 3D acceleration [disabled --> ✅]

This results in my VM displaying a mainly white screen with random rainbow artifacts:


I have a feeling that I might need to edit the grub configuration on my host machine however due to running NixOS atm for my laptop,

  • this isn't an option for me at the moment,
    • however I would still appreciate confirmation in knowing that the host grub edit is required/necessary

Virt-Manager

69 readers
8 users here now

Virt-Manager [Graphical Desktop Tool]

which is used to help create and manage libvirt virtual machines.


Resources:

[Archlinux Wiki]

[Wikipedia]

[Graphical Tutorials]

[Extras]

Community Logo is provided by KDE as part of their Breeze Icon set under GNU Lesser General Public License v2.1.

founded 1 year ago
MODERATORS