console in the framebuffer in qemu-kvm is slow, breaks -curses functionality
Bug #487187 reported by
Dustin Kirkland
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
rootskel (Ubuntu) |
Won't Fix
|
Wishlist
|
Unassigned |
Bug Description
Binary package hint: rootskel
When running the Ubuntu server installer in a virtual machine, using the fbcon (framebuffer console) is exceptionally slow.
Additionally, it breaks qemu's -curses feature, which is really quite useful.
To post a comment you must log in.
The fix is quite simple. In rootskel, when loading the fbcon module, we can check if we're running in a QEMU based virtual machine.
=== modified file 'src/lib/ debian- installer- startup. d/S40framebuffe r-module- linux-x86' debian- installer- startup. d/S40framebuffe r-module- linux-x86 2009-04-29 09:59:35 +0000 debian- installer- startup. d/S40framebuffe r-module- linux-x86 2009-11-23 16:34:52 +0000 FRAMEBUFFER_ TRY" ] && \ installer/ framebuffer) " = true ]; then installer/ framebuffer) " = true ] && \
(modprobe -q vesafb >/dev/null 2>&1 && grep -q . /proc/fb) || \
--- src/lib/
+++ src/lib/
@@ -1,5 +1,6 @@
if [ -n "$TERM_
- [ "$(debconf-get debian-
+ [ "$(debconf-get debian-
+ [ ! grep -qs "^model.*QEMU Virtual CPU" /proc/cpuinfo ]; then
echo "Trying to enable the frame buffer..."
if grep -q VESA /proc/fb || \