Hi all,
I've been following the instructions in the documentation to run an image I built inside a VM[1]. I'm building for the amd64-generic board.
I managed to get it to run inside QEMU, but the graphics are glitchy and most notably the cursor is quite glitched. I found this discussion from a few years ago where some folks suggest the cursor might not work at all. That seems to have been partially, but not completely, fixed. I tried using both the version of QEMU in the source tree and also the version of QEMU I installed locally from my distro's repository[2].
I tried some of the other VGA options that QEMU supports. virtio will boot (at 640x480) but won't give any cursor at all. None of the other options would even boot into the window manager. I also tried converting the image into a vmdk and booting it in VirtualBox, but the window manager wouldn't start then either (I'm assuming in both cases it was due to the display driver for the VGA system presented by the virtualization layer not being present).
Is running CrOS in a VM something that anyone here does for testing purposes? Or does everyone test on hardware? Is the glitchy cursor a problem that only I'm seeing, or is it expected? Am I asking too many questions in one post? :)
Thanks!
Nathan
[1] Side note: The documentation is out of date in that qemu-kvm is no longer maintained. I note that the helper scripts are aware of that, but for anyone who might find this via a web search, just installing the qemu package and ensuring that the kvm modules are loaded and functional should be sufficient.
[2] The version of QEMU included in the source tree--which is the version launched by the cros_start_vm helper tool--will start a VNC server even when -vnc is not specified on the command line. Running my locally-installed version of QEMU will spawn a window, as expected. I found adding the extra layer of VNC in the mix turned the VM from "barely usable" into "not usable".
--
--
Chromium OS Developers mailing list: chromiu...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-os-dev?hl=en
---
You received this message because you are subscribed to the Google Groups "Chromium OS dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-os-d...@chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-os-dev+unsubscribe@chromium.org.
--
--
Chromium OS Developers mailing list: chromiu...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-os-dev?hl=en
---
You received this message because you are subscribed to the Google Groups "Chromium OS dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-os-dev+unsubscribe@chromium.org.
I have seen this issue as well. Here's a screenshot: http://pasteboard.co/nekNGEwYs.pngThe square of vertical lines is the mouse cursor. The pattern of lines does not change as the cursor is moved.This is with cirrus graphics, QEMU 2.6.2
On Fri, Nov 4, 2016 at 11:54 AM, 'Zach Reizner' via Chromium OS dev <chromiu...@chromium.org> wrote:
The cursor should work in qemu with cirrus graphics. I assume you're using the 4.4 kernel which supports cursor with since this patch.
On Fri, Nov 4, 2016 at 9:47 AM Nathan <nat...@lenovo-chrome.com> wrote:Hi all,
I've been following the instructions in the documentation to run an image I built inside a VM[1]. I'm building for the amd64-generic board.
I managed to get it to run inside QEMU, but the graphics are glitchy and most notably the cursor is quite glitched. I found this discussion from a few years ago where some folks suggest the cursor might not work at all. That seems to have been partially, but not completely, fixed. I tried using both the version of QEMU in the source tree and also the version of QEMU I installed locally from my distro's repository[2].In what way is the cursor glitched? Could you describe it our send an image of it?
--
I tried some of the other VGA options that QEMU supports. virtio will boot (at 640x480) but won't give any cursor at all. None of the other options would even boot into the window manager. I also tried converting the image into a vmdk and booting it in VirtualBox, but the window manager wouldn't start then either (I'm assuming in both cases it was due to the display driver for the VGA system presented by the virtualization layer not being present).
Is running CrOS in a VM something that anyone here does for testing purposes? Or does everyone test on hardware? Is the glitchy cursor a problem that only I'm seeing, or is it expected? Am I asking too many questions in one post? :)
Thanks!
Nathan
[1] Side note: The documentation is out of date in that qemu-kvm is no longer maintained. I note that the helper scripts are aware of that, but for anyone who might find this via a web search, just installing the qemu package and ensuring that the kvm modules are loaded and functional should be sufficient.
[2] The version of QEMU included in the source tree--which is the version launched by the cros_start_vm helper tool--will start a VNC server even when -vnc is not specified on the command line. Running my locally-installed version of QEMU will spawn a window, as expected. I found adding the extra layer of VNC in the mix turned the VM from "barely usable" into "not usable".
--
Chromium OS Developers mailing list: chromiu...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-os-dev?hl=en
---
You received this message because you are subscribed to the Google Groups "Chromium OS dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-os-d...@chromium.org.
--
--
Chromium OS Developers mailing list: chromiu...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-os-dev?hl=en
---
You received this message because you are subscribed to the Google Groups "Chromium OS dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-os-d...@chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-os-dev+unsubscribe@chromium.org.
--
--
Chromium OS Developers mailing list: chromiu...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-os-dev?hl=en
---
You received this message because you are subscribed to the Google Groups "Chromium OS dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-os-dev+unsubscribe@chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-os-d...@chromium.org.
--
--
Chromium OS Developers mailing list: chromiu...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-os-dev?hl=en
---
You received this message because you are subscribed to the Google Groups "Chromium OS dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-os-d...@chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-os-dev+unsubscribe@chromium.org.
--
--
Chromium OS Developers mailing list: chromiu...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-os-dev?hl=en
---
You received this message because you are subscribed to the Google Groups "Chromium OS dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-os-dev+unsubscribe@chromium.org.
localhost ~ # uname -a
Linux localhost 4.4.21-05976-g2b1dece #1 SMP PREEMPT Wed Nov 2 02:17:22 PDT 2016 x86_64 QEMU Virtual CPU version 2.5+ GenuineIntel GNU/Linux
[nathan@nathanb-linux ~] qemu-system-x86_64 --version
QEMU emulator version 2.7.0, Copyright (c) 2003-2016 Fabrice Bellard and the QEMU Project developers
[nathan@nathanb-linux ~] uname -a
Linux nathanb-linux 4.8.6-1-ARCH #1 SMP PREEMPT Mon Oct 31 18:51:30 CET 2016 x86_64 GNU/Linux
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-os-d...@chromium.org.
--
--
Chromium OS Developers mailing list: chromiu...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-os-dev?hl=en
---
You received this message because you are subscribed to the Google Groups "Chromium OS dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-os-d...@chromium.org.