VM machine help / Virt-manager

Hello, I am posting today because I am having troubles with setting up an “optimized” virtual machine on my PC. I have my system info, the error, and the videos I watched below. What I am currently stuck on is trying to change some of the VM settings, like the video model and a few others that I can’t remember RN.

System:
Kernel: 6.14.4-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
clocksource: tsc avail: hpet,acpi_pm
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=822bdc17-1dfe-4416-bbb0-61bec1c21a66 rw rootflags=subvol=@
quiet resume=UUID=0f2a7bea-18ef-4870-8a89-c86eb5a7a066 loglevel=3 ibt=off
Desktop: KDE Plasma v: 6.3.4 tk: Qt v: N/A info: frameworks v: 6.13.0
wm: kwin_wayland with: krunner vt: 1 dm: SDDM Distro: Garuda
base: Arch Linux
Machine:
Type: Desktop Mobo: ASRock model: X570 Taichi serial: <superuser required>
uuid: <superuser required> UEFI: American Megatrends v: P5.60
date: 01/18/2024
Battery:
Device-1: hidpp_battery_0 model: Logitech Wireless Keyboard ERGO K860
serial: <filter> charge: 100% (should be ignored) rechargeable: yes
status: discharging
CPU:
Info: model: AMD Ryzen 9 3950X bits: 64 type: MT MCP arch: Zen 2 gen: 2
level: v3 note: check built: 2020-22 process: TSMC n7 (7nm)
family: 0x17 (23) model-id: 0x71 (113) stepping: 0 microcode: 0x8701034
Topology: cpus: 1x dies: 1 clusters: 1 cores: 16 threads: 32 tpc: 2
smt: enabled cache: L1: 1024 KiB desc: d-16x32 KiB; i-16x32 KiB L2: 8 MiB
desc: 16x512 KiB L3: 64 MiB desc: 4x16 MiB
Speed (MHz): avg: 4150 min/max: 550/4763 boost: enabled scaling:
driver: amd-pstate-epp governor: powersave cores: 1: 4150 2: 4150 3: 4150
4: 4150 5: 4150 6: 4150 7: 4150 8: 4150 9: 4150 10: 4150 11: 4150 12: 4150
13: 4150 14: 4150 15: 4150 16: 4150 17: 4150 18: 4150 19: 4150 20: 4150
21: 4150 22: 4150 23: 4150 24: 4150 25: 4150 26: 4150 27: 4150 28: 4150
29: 4150 30: 4150 31: 4150 32: 4150 bogomips: 223996
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities: <filter>
Graphics:
Device-1: Advanced Micro Devices [AMD/ATI] Navi 21 [Radeon RX 6800/6800 XT
/ 6900 XT] vendor: Sapphire driver: amdgpu v: kernel arch: RDNA-2
code: Navi-2x process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 4
speed: 16 GT/s lanes: 16 ports: active: DP-1,DP-2,HDMI-A-1
empty: DP-3,Writeback-1 bus-ID: 10:00.0 chip-ID: 1002:73bf class-ID: 0300
Display: wayland server: X.org v: 1.21.1.16 with: Xwayland v: 24.1.6
compositor: kwin_wayland driver: X: loaded: amdgpu
unloaded: modesetting,radeon alternate: fbdev,vesa dri: radeonsi
gpu: amdgpu d-rect: 9600x3360 display-ID: 0
Monitor-1: DP-1 pos: primary,top-left model: Dell S2721Q serial: <filter>
built: 2021 res: mode: 3840x2160 hz: 60 scale: 150% (1.5) to: 2560x1440
dpi: 163 gamma: 1.2 size: 597x336mm (23.5x13.23") diag: 685mm (27")
ratio: 16:9 modes: max: 3840x2160 min: 720x400
Monitor-2: DP-2 pos: top-center model: Dell S2721Q serial: <filter>
built: 2021 res: mode: 3840x2160 hz: 60 scale: 150% (1.5) to: 2560x1440
dpi: 163 gamma: 1.2 size: 597x336mm (23.5x13.23") diag: 685mm (27")
ratio: 16:9 modes: max: 3840x2160 min: 720x400
Monitor-3: HDMI-A-1 pos: bottom-r model: Dell MR2416 serial: <filter>
built: 2018 res: mode: 1920x1200 hz: 60 scale: 100% (1) dpi: 94 gamma: 1.2
size: 518x324mm (20.39x12.76") diag: 611mm (24.1") ratio: 16:10 modes:
max: 1920x1200 min: 720x400
API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
device: 1 drv: swrast gbm: drv: kms_swrast surfaceless: drv: radeonsi
wayland: drv: radeonsi x11: drv: radeonsi
API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 25.0.4-arch1.1
glx-v: 1.4 direct-render: yes renderer: AMD Radeon RX 6900 XT (radeonsi
navi21 LLVM 19.1.7 DRM 3.61 6.14.4-zen1-1-zen) device-ID: 1002:73bf
memory: 15.62 GiB unified: no display-ID: :1.0
API: Vulkan v: 1.4.309 layers: 10 device: 0 type: discrete-gpu name: AMD
Radeon RX 6900 XT (RADV NAVI21) driver: mesa radv v: 25.0.4-arch1.1
device-ID: 1002:73bf surfaces: xcb,xlib,wayland device: 1 type: cpu
name: llvmpipe (LLVM 19.1.7 256 bits) driver: mesa llvmpipe
v: 25.0.4-arch1.1 (LLVM 19.1.7) device-ID: 10005:0000
surfaces: xcb,xlib,wayland
Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
de: kscreen-console,kscreen-doctor gpu: lact wl: wayland-info
x11: xdpyinfo, xprop, xrandr
Audio:
Device-1: Advanced Micro Devices [AMD/ATI] Navi 21/23 HDMI/DP Audio
driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
bus-ID: 10:00.1 chip-ID: 1002:ab28 class-ID: 0403
Device-2: Advanced Micro Devices [AMD] Starship/Matisse HD Audio
vendor: ASRock driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s
lanes: 16 bus-ID: 12:00.4 chip-ID: 1022:1487 class-ID: 0403
Device-3: SteelSeries ApS Arctis Nova Pro Wireless
driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 2.0 speed: 12 Mb/s
lanes: 1 mode: 1.1 bus-ID: 5-4:5 chip-ID: 1038:12e5 class-ID: 0300
API: ALSA v: k6.14.4-zen1-1-zen status: kernel-api tools: N/A
Server-1: PipeWire v: 1.4.2 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel pcie: gen: 2
speed: 5 GT/s lanes: 1 bus-ID: 06:00.0 chip-ID: 8086:2723 class-ID: 0280
IF: wlp6s0 state: down mac: <filter>
Device-2: Intel I211 Gigabit Network vendor: ASRock driver: igb v: kernel
pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: f000 bus-ID: 08:00.0
chip-ID: 8086:1539 class-ID: 0200
IF: enp8s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Info: services: NetworkManager, systemd-timesyncd, wpa_supplicant
Bluetooth:
Device-1: Intel AX200 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 3-2:2 chip-ID: 8087:0029
class-ID: e001
Report: btmgmt ID: hci0 rfk-id: 0 state: down bt-service: enabled,running
rfk-block: hardware: no software: no address: <filter> bt-v: 5.2 lmp-v: 11
status: discoverable: no pairing: no
Drives:
Local Storage: total: 1.5 TiB used: 476.84 GiB (31.1%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Intel model: SSDPEKNW010T8
size: 953.87 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
lanes: 4 tech: SSD serial: <filter> fw-rev: 002C temp: 38.9 C scheme: GPT
ID-2: /dev/nvme1n1 maj-min: 259:4 vendor: Kingston model: SNVS500G
size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
lanes: 4 tech: SSD serial: <filter> fw-rev: S8542105 temp: 43.9 C
scheme: GPT
ID-3: /dev/sda maj-min: 8:0 vendor: Kingston model: SV300S37A120G
size: 111.79 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
tech: SSD serial: <filter> fw-rev: BBF2 scheme: MBR
Partition:
ID-1: / raw-size: 919.18 GiB size: 919.18 GiB (100.00%)
used: 476.84 GiB (51.9%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 608 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 919.18 GiB size: 919.18 GiB (100.00%)
used: 476.84 GiB (51.9%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-4: /var/log raw-size: 919.18 GiB size: 919.18 GiB (100.00%)
used: 476.84 GiB (51.9%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-5: /var/tmp raw-size: 919.18 GiB size: 919.18 GiB (100.00%)
used: 476.84 GiB (51.9%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: zram size: 31.25 GiB used: 4.47 GiB (14.3%)
priority: 100 comp: zstd avail: lzo-rle,lzo,lz4,lz4hc,deflate,842
max-streams: 32 dev: /dev/zram0
ID-2: swap-2 type: partition size: 34.39 GiB used: 0 KiB (0.0%)
priority: -2 dev: /dev/nvme0n1p3 maj-min: 259:3
Sensors:
System Temperatures: cpu: 37.6 C mobo: N/A gpu: amdgpu temp: 50.0 C
mem: 54.0 C
Fan Speeds (rpm): N/A gpu: amdgpu fan: 0
Info:
Memory: total: 32 GiB available: 31.25 GiB used: 13.63 GiB (43.6%)
Processes: 604 Power: uptime: 8h 3m states: freeze,mem,disk suspend: deep
avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
suspend, test_resume image: 12.49 GiB services: org_kde_powerdevil,
power-profiles-daemon, upowerd Init: systemd v: 257 default: graphical
tool: systemctl
Packages: 1589 pm: pacman pkgs: 1583 libs: 448 tools: octopi,paru
pm: flatpak pkgs: 6 Compilers: clang: 19.1.7 gcc: 14.2.1 Shell: garuda-inxi
default: fish v: 4.0.2 running-in: konsole inxi: 3.3.38
Garuda (2.7.2-1):
System install date:     2025-01-12
Last full system update: 2025-04-30
Is partially upgraded:   No
Relevant software:       snapper NetworkManager dracut
Windows dual boot:       Probably (Run as root to verify)
Failed units:

Here is the error I get:

Error changing VM configuration: unsupported configuration: domain configuration does not support video model ‘virtio’

Error changing VM configuration: unsupported configuration: domain configuration does not support video model 'virtio'

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/addhardware.py", line 341, in change_config_helper
    define_func(devobj=devobj, do_hotplug=False, **define_args)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/virt-manager/virtManager/object/domain.py", line 899, in define_video
    self._process_device_define(editdev, xmlobj, do_hotplug)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/virt-manager/virtManager/object/domain.py", line 512, in _process_device_define
    self._redefine_xmlobj(xmlobj)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
  File "/usr/share/virt-manager/virtManager/object/libvirtobject.py", line 391, in _redefine_xmlobj
    self._redefine_xml_internal(origxml, newxml)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/usr/share/virt-manager/virtManager/object/libvirtobject.py", line 374, in _redefine_xml_internal
    self._define(newxml)
    ~~~~~~~~~~~~^^^^^^^^
  File "/usr/share/virt-manager/virtManager/object/domain.py", line 1116, in _define
    self.conn.define_domain(xml)
    ~~~~~~~~~~~~~~~~~~~~~~~^^^^^
  File "/usr/share/virt-manager/virtManager/connection.py", line 556, in define_domain
    return self._backend.defineXML(xml)
           ~~~~~~~~~~~~~~~~~~~~~~~^^^^^
  File "/usr/lib/python3.13/site-packages/libvirt.py", line 4559, in defineXML
    raise libvirtError('virDomainDefineXML() failed')
libvirt.libvirtError: unsupported configuration: domain configuration does not support video model 'virtio'

Here are the tutorial videos that I watched:

You should first… a bios update ?

After bios update pls think on right settings. (fastboot, secureboot, etc)

then perhaps update the system or ?

and after this → reboot and take a look if all correct installed for kvm/qemu.
That’s simple if you use Garuda Assistent and / or use the konsole to look if all is installed with pacman -Qs qemu
Activate (if not) the stuff about “virtualization” (virt-manager libvirtd enabled + user in libvirt)
Reboot → start the virtual manager and start a new vm with your preferred *.iso.
The how-to config qemu vm is then “easy.”
Your system amd ↔ amd. (means opengl is possible)
Example garuda iso but it’s not optimized for a vm.
Right size for image (a garuda iso needs 31gb → enough memory + cpu →
Display spice server → listen “no” → button opengl “active” → Video model “virtio” + button 3d enabled. All other leave at the moment " default." Save and start the vm.
The vm should run with no errors then.

3 Likes

I think going to Garuda assistant and enabling virtual manager is what I needed to do to fix the issue, but I’m not 100% sure…

I did not however update my bios, so that definitely wasn’t the issue.

Virt-manager / 3D acceleration / virtio - ArchWiki

3 Likes

But you should do this anyway. At least one of them contains security updates.

Update AMD AM4 AGESA Combo V2 PI 1.2.0.Cc to patch SMM Lock Bypass security issue.

3 Likes

Oh, alright. I will look into how to do it then since it does have a security patch.

When you do update your bios so make sure to write down what you have changed so far as it will clear the settings.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.