I did a Manjaro XFCE install as a guest virtual machine on Proxmox. I’m pleased how it is performing after a few tweaks. This is what I did. If anyone has more suggestions please do post them! Video playback is my benchmark test, this is often something that is bad. I’m connecting with virt-viewer. Video playback depends on the system connected and is partly offloaded. Connecting with a lightweight netbook is poor playback, an average laptop (Running Majaro i3) works fine (not fullscreen playback, but acceptable to me). Had to switch to pulseaudio for virt-viewer to pass the audio from guest to spice host.
I’ve tested to pass USB through Spice and that is also working. Plugged in a USB drive on my laptop and mount it in the guest. I can access my data.
When installed the Manjaro hardware detection set the video driver as vesa. I did the folowing and changed it to qxl, would perhaps be nice if this would be autodetected as hardware.
pamac install xf86-video-qxl spice-vdagent qemu-guest-agent
and changed vesa driver to qxl in /etc/X11/mwhd.d/vesa.conf:
Section "Device" Identifier "Device0" Driver "qxl" BusID "PCI:0:2:0" Option "DRI" "true" EndSection
Enable spice vdagent and qemu-guest-agent (qemu-guest is more for Proxmox to detect IP, shutdown etc.)
sudo systemctl enable spice-vdagentd sudo systemctl start spice-vdagentd sudo systemctl enable qemu-ga
Loaded qxl module in mkinitcpio.conf (not sure if that helps with anything):
What I did not find a solution for is the following:
- The bootup from grub to graphical is completely black screen. Bootup however is fast for me, 12 seconds to graphical.
- Anything else I missed to improve.
inxi info (from guest):
System: Host: manjaro Kernel: 4.19.1-1-MANJARO x86_64 bits: 64 compiler: gcc v: 8.2.1 Desktop: Xfce 4.13.2git-UNKNOWN tk: Gtk 3.24.1 info: xfce4-panel wm: xfwm4 dm: LightDM 1.28.0 Distro: Manjaro Linux Machine: Type: Kvm System: QEMU product: Standard PC (i440FX + PIIX, 1996) v: pc-i440fx-2.12 serial: <filter> Chassis: type: 1 v: pc-i440fx-2.12 serial: <filter> Mobo: N/A model: N/A serial: N/A BIOS: SeaBIOS v: rel-1.11.1-0-g0551a4be2c-prebuilt.qemu-project.org date: 04/01/2014 CPU: Topology: Dual Core model: Common KVM bits: 64 type: MCP arch: Netburst Presler rev: 1 L2 cache: 16.0 MiB flags: lm nx pae sse sse2 sse3 bogomips: 8834 Speed: 2208 MHz min/max: N/A Core speeds (MHz): 1: 2208 2: 2208 Graphics: Device-1: Red Hat QXL paravirtual graphic card driver: qxl v: kernel bus ID: 00:02.0 chip ID: 1b36:0100 Display: x11 server: X.Org 1.20.3 driver: none resolution: 1360x714-0~N/A OpenGL: renderer: llvmpipe (LLVM 7.0 128 bits) v: 3.3 Mesa 18.2.4 compat-v: 3.1 direct render: Yes Audio: Device-1: Intel 82801FB/FBM/FR/FW/FRW High Definition Audio vendor: Red Hat QEMU Virtual Machine driver: snd_hda_intel v: kernel bus ID: 00:18.0 chip ID: 8086:2668 Sound Server: ALSA v: k4.19.1-1-MANJARO Network: Device-1: Intel 82371AB/EB/MB PIIX4 ACPI vendor: Red Hat Qemu virtual machine type: network bridge driver: piix4_smbus v: N/A port: e0c0 bus ID: 00:01.3 chip ID: 8086:7113 Device-2: Red Hat Virtio network driver: virtio-pci v: 1 port: e120 bus ID: 00:12.0 chip ID: 1af4:1000 IF: ens18 state: up speed: -1 duplex: unknown mac: <filter> Drives: Local Storage: total: 32.00 GiB used: 6.74 GiB (21.1%) ID-1: /dev/sda vendor: QEMU model: HARDDISK size: 32.00 GiB speed: <unknown> serial: <filter> rev: 2.5+ scheme: MBR Partition: ID-1: / size: 23.03 GiB used: 6.74 GiB (29.3%) fs: ext4 dev: /dev/sda1 ID-2: swap-1 size: 8.47 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda2 Sensors: Message: No sensors data was found. Is sensors configured? Info: Processes: 129 Uptime: 12m Memory: 3.85 GiB used: 447.5 MiB (11.3%) Init: systemd v: 239 Compilers: gcc: 8.2.1 Shell: bash v: 4.4.23 running in: xfce4-terminal inxi: 3.0.27