Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't set up due to text color #119

Open
silverark opened this issue Nov 1, 2021 · 3 comments
Open

Can't set up due to text color #119

silverark opened this issue Nov 1, 2021 · 3 comments
Assignees

Comments

@silverark
Copy link

Not sure if this is the right place to ask this, but I can't set up and test ubuntu-core-20 in qemu-virgil as the default font is dark blue, and it's on a black background.

I'm following the official tutorial here:
https://ubuntu.com/tutorials/ubuntu-core-preparing-a-virtual-machine-with-graphics-support#1-overview

qemu-virgil -enable-kvm -m 1024 -device virtio-vga,virgl=on -display sdl,gl=on -netdev user,id=ethernet.0,hostfwd=tcp::10022-:22 -device r
tl8139,netdev=ethernet.0 -drive file=/snap/qemu-virgil/current/usr/share/qemu/edk2-x86_64-code.fd,if=pflash,format=raw,unit=0,readonly=on ~/snap/qemu-virgil/common/ubuntu-core-20-
amd64.img

This presents me with this:
image

This does say "press enter to configure", but it's so dark I can't read it. I've tried looking through eh QEMU options but can't find anything that would seem to help.

matt@silverark-14:~/work/virtualization$ qemu-virgil --version
QEMU emulator version 4.2.0 (v4.2.0-dirty)
Copyright (c) 2003-2019 Fabrice Bellard and the QEMU Project developers
matt@silverark-14:~/work/virtualization$ uname -a
Linux silverark-14 5.11.0-38-generic #42~20.04.1-Ubuntu SMP Tue Sep 28 20:41:07 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
@silverark
Copy link
Author

Manged to get it working by changing hte dispaly options. I updated -display sdl,gl=on to -display gtk and I can now see the text! Hopefully there won't be any issues running ubuntu-core in this mode?

image

@alfonsosanchezbeato
Copy link
Member

That's an interesting one, on which OS are you running this on? Which revision of the qemu-virgil snap are you running (snap list will show you this info)?

@silverark
Copy link
Author

Yea, it is a strange one! See first post for version details.
qemu-virgil 4.2.0
Ubuntu 20.04.1

I've played with the desktop theme to make sure it's not a dark mode issue. Played wiht the default terminal colours too.

@Meulengracht Meulengracht self-assigned this Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants