[Bug 2145108] [NEW] EDK II does not correctly detect screen size for QEMU's -nographic

Heinrich Schuchardt 2145108 at bugs.launchpad.net
Sat Mar 21 23:17:56 UTC 2026


Public bug reported:

I launch a VM using

qemu-system-riscv64 \
        -cpu rva23s64 \
        -machine virt,acpi=on -m 4G -smp cpus=2 \
        -nographic \
        -drive if=pflash,format=raw,unit=0,file=/usr/share/qemu-efi-riscv64/RISCV_VIRT_CODE.fd,readonly=on \
        -drive if=pflash,format=raw,unit=1,file=RISCV_VIRT_VARS.fd,readonly=off \
        -netdev user,id=net0 \
        -device virtio-net-device,netdev=net0 \
        -device virtio-rng-pci \
        -drive file=disk,format=raw,if=none,id=DISK \
        -device virtio-blk,drive=DISK,bootindex=1 \
        -drive file=resolute-live-server-riscv64.iso,format=raw,readonly=on,if=none,id=ISO \
        -device virtio-blk,drive=ISO,bootindex=2

Neither the EDK II menu nor the GRUB menu fits onto my 119x39 screen. It
is displayed to wide. This behavior did not occur with previous
versions.

** Affects: edk2 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to edk2 in Ubuntu.
https://bugs.launchpad.net/bugs/2145108

Title:
  EDK II does not correctly detect screen size for QEMU's -nographic

Status in edk2 package in Ubuntu:
  New

Bug description:
  I launch a VM using

  qemu-system-riscv64 \
          -cpu rva23s64 \
          -machine virt,acpi=on -m 4G -smp cpus=2 \
          -nographic \
          -drive if=pflash,format=raw,unit=0,file=/usr/share/qemu-efi-riscv64/RISCV_VIRT_CODE.fd,readonly=on \
          -drive if=pflash,format=raw,unit=1,file=RISCV_VIRT_VARS.fd,readonly=off \
          -netdev user,id=net0 \
          -device virtio-net-device,netdev=net0 \
          -device virtio-rng-pci \
          -drive file=disk,format=raw,if=none,id=DISK \
          -device virtio-blk,drive=DISK,bootindex=1 \
          -drive file=resolute-live-server-riscv64.iso,format=raw,readonly=on,if=none,id=ISO \
          -device virtio-blk,drive=ISO,bootindex=2

  Neither the EDK II menu nor the GRUB menu fits onto my 119x39 screen.
  It is displayed to wide. This behavior did not occur with previous
  versions.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/edk2/+bug/2145108/+subscriptions




More information about the foundations-bugs mailing list