User Tools

Site Tools


infra:machines:craptrap

This is an old revision of the document!


Craptrap - the home of virtualized workstations

Hardware

  • FX8350
  • R9 290

Software

  • Debian
  • Qemu (libvirt KVM)

VM's

  • Win10 ⇒ craptrap-vm.waw.hackerspace.pl (10.8.1.48)
    • Włączanie/wyłączanie na http://iot.waw.hackerspace.pl (via S3 - suspend to ram)
    • Logowanie hasłem z LDAPa (pGina 3.2.4.0 + config, staff ma Administratora + patch na drive mapper żeby logowało się kerberosem…)
    • RDP enabled
    • GPU pass-through do karty graficznej
    • USB pass-through ⇒ klawiatura + myszka wireless Logitech

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.

Shitty IO performance vol. 2

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.

Hypervisor bug

There's a problem with the Opteron_G5 hypervisor, which is set by default.

The solution is to replace Opteron_G5 with kvm64 or Opteron_G3.

Also, there is an open bug report for this issue on FreeBSD Bugzilla .

Fixed in 12.0.

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.1581528519.txt.gz · Last modified: 2020/02/12 17:28 by q3k

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki