Skip to contentSkip to conversation

input, virtio-vga & multihead -- current state

Qemu-devel Gerd Hoffmann 2 participants 3 messages Jan 28, 2014 – Jan 30, 2014

lore
Share & tools
lore
#0 lore raw

Hi,

Input layer + sdl2 pull request just sent. So the first bits will hopefully be merged soon.

On top of that I've been working on some multihead and virtio gpu/vga bits. Current state is here:

http://www.kraxel.org/cgit/qemu/log/?h=rebase/input-wip

Commits are baby steps, build fixes not squashed in yet, commit log needs more info, ...

On multihead:

* QemuConsole got a new 'head' field for devices with multiple heads, with some infrastructure (func to query head etc.).
* Created QemuUIInfo struct. Each QemuConsole gets one of these assigned. It is supposed to carry hints from the UI code for the graphics emulation. For now it carries the window geometry. I think edid information should live there too. Maybe even replace width+height.
* gfx hardware -> ui notification on head geometry is still to be done.
* Dave used dpy_gfx_replace_surface(con, NULL) to disable heads. Nice idea. /me fixed spice to handle that correctly.

On virtio-vga:

* Both virtio-gpu-pci and virtio-vga are children of virtio-pci-proxy now.
* Didn't came very far in testing. Guest kernel just says:

   [   50.712897] [drm] got -2147483647 outputs
   I've used   
   http://cgit.freedesktop.org/~airlied/linux/log/?h=virtio-vga
   Ideas?

cheers,
Gerd

#2 lore raw
Quoted 8 lines · Gerd Hoffmann
Quoted 4 lines

* Didn't came very far in testing. Guest kernel just says:

   [   50.712897] [drm] got -2147483647 outputs
   I've used
   http://cgit.freedesktop.org/~airlied/linux/log/?h=virtio-vga

Switched to virtio-vga-3d branch -- that is working better. Handover from vesafb to virtio-vga drm driver doesn't work though ...

Excellent, I'm a bit snowed under in non-virgl work at the moment, hoping next week
to pick myself back into the virt world,

This look good to me and yes virtio-vga-3d is the branch the other one I need to probably kill with fire, I'll apply your patch to it to fix the handover.

I'll try and get this stuff running here to play around with.

Dave.