← Graph

Gaming With Ruby and VMs Lightning Talk

talk 4 connections

Wroclove.rb 2018 lightning talk narrating the speaker's quest to play 'Black & White 2' on a Windows-10 desktop. Native Windows 10 failed (game needed a removed emulation layer, so Windows 8 required but couldn't be installed), VMware Workstation failed (GPU emulation present but the needed legacy emulation layer missing). Solution: Linux + QEMU + VFIO PCI passthrough with two graphics cards, two keyboards/mice and two screens, so multiple guest operating systems can run games while sharing the same motherboard. Shows the libvirt XML with real-time clock, USB, VFIO PCI host devices, graphics card assignment, and a Steam-disk passthrough. To manage the growing fleet of VMs and USB-device assignments the speaker built a Ruby CLI using the 30-year-old curses library (ncurses gem pulled from an external gem since removed from stdlib) — complains about its X/Y vs columns/lines confusion and the weird attron/attroff API, but it works.

type
lightning-talk
talk Gaming With Ruby and VMs Lightning Talk
about
QEMU tool
Uses QEMU to run Windows guests with dedicated GPUs for gaming.
talk Gaming With Ruby and VMs Lightning Talk
about
Technique central to the talk — binding GPUs to vfio-pci and giving them to guests.
talk Gaming With Ruby and VMs Lightning Talk
about
curses tool
Speaker builds a Ruby curses CLI to manage growing fleet of gaming VMs.
talk Gaming With Ruby and VMs Lightning Talk
presented_at
Lightning talk delivered at wroclove.rb 2018.

Provenance

Read by
9 extractions