qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Dynamic screen resizing on QEMU (without virt-manager)


From: Henrique Borges
Subject: Dynamic screen resizing on QEMU (without virt-manager)
Date: Thu, 17 Jun 2021 16:32:12 -0300

I'm running QEMU (6.0.0) on bspwm (Arch Linux), when i launch it alone on a workspace, like this:

2021-06-17-162750_298x178_scrot.png


It runs fine, the output is perfectly visible and nothing is blurred or strecthed

But, if i run it like this, and shortly after move it to another workspace that already has some other window on it, like this:

2021-06-17-162915_302x173_scrot.png


It get's blurry and streched, barely readable

I'm running it with the following command:

```
qemu-system-x86_64 \
        -m 1G \
        -bios /usr/share/edk2-ovmf/x64/OVMF.fd \
        -drive file=storage.raw,format=raw,if=virtio \
        -cdrom "arch.iso" \
        -enable-kvm \
        -vga virtio \
        -display sdl,gl=on \
        -boot d \
        -cpu host \
        -k br-abnt2 \
        -name arch
```

I suspect that it might be the tty of the Arch ISO that i'm running setting locking the resolution accordingly to the QEMU window size on the initial stages of the boot, but i'm not sure, just a hypothesis

Any clue of what might be happening? or is it a intended behavior of QEMU?

> I want to avoid tools/protocols like `virt-manager`, `virsh` or `SPICE`, i'm willing to keep things as simple as possible, with little to no abstraction levels

Attachment: 2021-06-17-162750_298x178_scrot.png
Description: PNG image

Attachment: 2021-06-17-162915_302x173_scrot.png
Description: PNG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]