Mouse pointer missing in qemu

1,179 views
Skip to first unread message

Greg

unread,
Jan 19, 2016, 5:24:29 PM1/19/16
to Chromium OS dev
Hi,

I am running a Chromium OS image under kvm/qemu using the instructions at http://www.chromium.org/chromium-os/developer-guide. Unfortunately however, my mouse pointer is missing. Does anyone know how to resolve this issue? I don't see anything in the guide mentioning that anything specific is needed to get the mouse to work.

Regards,

Greg Kerr

Mike Frysinger

unread,
Jan 19, 2016, 5:34:35 PM1/19/16
to Greg, Chromium OS dev
what board are you targeting ?  are you running ToT or a branch ?

if it's amd64-generic, and you're using ToT, it might be freon related, but that should have been fixed now ... i explicitly asked about vm behavior :).
-mike

--
--
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


Greg Kerr

unread,
Jan 19, 2016, 5:56:20 PM1/19/16
to Mike Frysinger, Greg, Chromium OS dev
Thanks for following up. Indeed I am running amd64-generic from ToT with the following command:

sudo kvm -m 1024 -vga cirrus -pidfile /tmp/kvm.pid -net nic,model=virtio -net user,hostfwd=tcp::9222-:22 -hda build/images/amd64-generic/R50-7844.0.2016_01_19_1449-a1/chromiumos_qemu_image.bin

Regards,

Greg

Mike Frysinger

unread,
Jan 19, 2016, 5:58:51 PM1/19/16
to Greg Kerr, Chromium OS dev, Haixia Shi, Michael Spang
[ +hshi, +spang ]

let's loop in some guys who should know, or should know who should know ;)
-mike

Michael Spang

unread,
Jan 20, 2016, 2:11:17 PM1/20/16
to Haixia Shi, Mike Frysinger, Stéphane Marchesin, Zach Reizner, Greg Kerr, Chromium OS dev
[2nd try from the correct account]

On Wed, Jan 20, 2016 at 2:09 PM Michael Spang <sp...@google.com> wrote:
I think cirrus doesn't implement cursor modesetting at all. So there's no cursor.

One workaround is, use the keyboard to navigate over to the shelf menu, and enable either magnifier or large mouse cursor under accessibility. Those will both put you into cursor compositing mode.

Some future directions that'd make this better
- Use the virtio drm driver instead of cirrus. However even our newest kernel is too old.
- Add a chrome flag to force composited cursor, and pass this flag when running in a VM.

Michael

On Tue, Jan 19, 2016 at 6:00 PM Haixia Shi <hs...@chromium.org> wrote:
CC marcheu and zachr

Does qemu drm support cursor?

Denis Loginov

unread,
Feb 21, 2016, 7:32:18 PM2/21/16
to Chromium OS dev
I'm experiencing this issue as well. Have you been able to resolve it?

Zach Reizner

unread,
Feb 22, 2016, 12:51:29 PM2/22/16
to Chromium OS dev
QEMU emulates a cirrus graphics card and Chrome OS uses that card via the cirrus drm driver. That driver is missing hardware cursor support, and Chrome OS doesn't try to emulate cursor behavior in software. The cursor has been missing since the switch to Freon in VMs around November 2014.
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages