User Tools

Site Tools


infra:machines:craptrap

Craptrap - the home of (crap) virtualized workstations

Hardware

  • Ryzen 5950X
  • 128GB RAM
  • R9 290

Software

  • Debian
  • Qemu (libvirt KVM)

VM's

  • Win10 ⇒ winbox.waw.hackerspace.pl (10.8.1.48)
    • Włączanie/wyłączanie na http://iot.waw.hackerspace.pl (via S3 - suspend to ram)
    • Podłączenie zdalne przez RDP (Microsoft Remote Desktop). Host: winbox.waw.hackerspace.pl, user/password: jak na LDAP
    • Podłączenie bezpośrednie: FYI jest podłączona na stałe klawiatura i mysz bezprzewodowa, przynieś baterie AA
    • Logowanie hasłem z LDAPa (pGina Fork, staff ma Administratora)
    • RDP enabled
    • GPU pass-through do karty graficznej
    • USB pass-through ⇒ klawiatura + myszka wireless Logitech bork, trzeba nowego adaptera USB/PCIe żeby przekazać

Issues & Solutions

Windows 10

GPU code 43

Reinstall uninstall and reinstall GPU drivers

VM S3 (suspend/sleep) not available

Install qxldod drivers.

Slow suspend

Disable hibernation: powercfg /h off

My IO is too slow

''virsh dompm{suspend,wakeup}'' does not...

Install qemu agent and vioserial driver in guest

VM crashes when idle for some time

Well, disable screen blanking and autosuspend…

Audio on PulseAudio

https://wiki.archlinux.org/index.php/libvirt#PulseAudio

<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
 [...]
 <qemu:commandline>
   <qemu:env name='QEMU_AUDIO_DRV' value='pa'/>
   <qemu:env name='QEMU_PA_SERVER' value='sound.waw.hackerspace.pl'/>
 </qemu:commandline>
</domain>

Audio stutters

Change Default Format from 16bit 48kHz to 16bit 44.1kHz in emulated sound card properties in guest.

Everything's shit

Enable “HIGH PERFRORMANCE” power profile.

GPU crashes after host resume

Seems like keeping QXL enabled on VMs with Radeon GPU passed through fixes GPU crashes on host suspend. (VM needs to be suspended first as well)

QXL/Spice display does not automatically resize to client window

FreeBSD

11.1

Hypervisor configuration

  • Network: choose bridged. Bridge name: br0.

Linux Guests with PCIe Passthrough

MacOS

https://github.com/kholia/OSX-KVM + wieloryb:/storage/common/S*/O*/*.README

Works perfectly fine, including GPU passthrough.

infra/machines/craptrap.txt · Last modified: 2024/07/20 12:47 by q3k

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki