All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] qxl : no mouse cursor with sdl2/gtk UI
@ 2016-01-18 20:11 nicolas prochazka
  2016-01-19 13:31 ` Gerd Hoffmann
  0 siblings, 1 reply; 13+ messages in thread
From: nicolas prochazka @ 2016-01-18 20:11 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 504 bytes --]

hello,
my  vm is starting with libvirt xml definition file.

Qemu 2.4.0
using sdl2|gtk  ui     ( not using spice client)
guest vm = windows seven
last qxl drivers

=> there is no mouse cursor visible in windows.

same with windows 8.1 guest
=> there is mouse cursor visible

there 's no problem with linux guest.

Qxl video card is necessary for dual monitor configuration under windows OS
.

Any suggestion, it 's seems a bugzilla was submitted long time ago without
answer.

Regars,
Nicolas Prochazka.

[-- Attachment #2: Type: text/html, Size: 889 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [Qemu-devel] qxl : no mouse cursor with sdl2/gtk UI
  2016-01-18 20:11 [Qemu-devel] qxl : no mouse cursor with sdl2/gtk UI nicolas prochazka
@ 2016-01-19 13:31 ` Gerd Hoffmann
  2016-01-19 14:59   ` nicolas prochazka
  0 siblings, 1 reply; 13+ messages in thread
From: Gerd Hoffmann @ 2016-01-19 13:31 UTC (permalink / raw)
  To: nicolas prochazka; +Cc: qemu-devel

On Mo, 2016-01-18 at 21:11 +0100, nicolas prochazka wrote:
> hello, 
> 
> my  vm is starting with libvirt xml definition file.
> 
> 
> Qemu 2.4.0
> 
> using sdl2|gtk  ui     ( not using spice client)

> Qxl video card is necessary for dual monitor configuration under
> windows OS .

Dual monitor will work with spice only.  You need the spice client and
spice agent in the guest to have functional mouse input.

cheers,
  Gerd

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [Qemu-devel] qxl : no mouse cursor with sdl2/gtk UI
  2016-01-19 13:31 ` Gerd Hoffmann
@ 2016-01-19 14:59   ` nicolas prochazka
  2016-01-20  7:00     ` Gerd Hoffmann
  0 siblings, 1 reply; 13+ messages in thread
From: nicolas prochazka @ 2016-01-19 14:59 UTC (permalink / raw)
  To: Gerd Hoffmann; +Cc: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 599 bytes --]

hello,
however it "s working perfectly under windows81
Regards,
Nicolas


2016-01-19 14:31 GMT+01:00 Gerd Hoffmann <kraxel@redhat.com>:

> On Mo, 2016-01-18 at 21:11 +0100, nicolas prochazka wrote:
> > hello,
> >
> > my  vm is starting with libvirt xml definition file.
> >
> >
> > Qemu 2.4.0
> >
> > using sdl2|gtk  ui     ( not using spice client)
>
> > Qxl video card is necessary for dual monitor configuration under
> > windows OS .
>
> Dual monitor will work with spice only.  You need the spice client and
> spice agent in the guest to have functional mouse input.
>
> cheers,
>   Gerd
>
>
>

[-- Attachment #2: Type: text/html, Size: 1048 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [Qemu-devel] qxl : no mouse cursor with sdl2/gtk UI
  2016-01-19 14:59   ` nicolas prochazka
@ 2016-01-20  7:00     ` Gerd Hoffmann
  2016-01-20 14:20       ` nicolas prochazka
  0 siblings, 1 reply; 13+ messages in thread
From: Gerd Hoffmann @ 2016-01-20  7:00 UTC (permalink / raw)
  To: nicolas prochazka; +Cc: qemu-devel

On Di, 2016-01-19 at 15:59 +0100, nicolas prochazka wrote:
> hello, 
> 
> however it "s working perfectly under windows81 

But you no tablet configured and therefore have to grab/ungrab the mouse
when switching between host and guest I guess?

cheers,
  Gerd

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [Qemu-devel] qxl : no mouse cursor with sdl2/gtk UI
  2016-01-20  7:00     ` Gerd Hoffmann
@ 2016-01-20 14:20       ` nicolas prochazka
  2016-01-21  8:03         ` Gerd Hoffmann
  0 siblings, 1 reply; 13+ messages in thread
From: nicolas prochazka @ 2016-01-20 14:20 UTC (permalink / raw)
  To: Gerd Hoffmann; +Cc: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 3705 bytes --]

hello,
my libvirt definition xml file, if i change qxl by vga , mouse pointer is
present ,
if i change vm seven to windows81 , mouse pointer is present  ( using wddm
qxl driver not the same as seven )
with windows seven vm, last qxl , mouse click is ok, but there'is no mouse
pointer
( sound card, usb are passthrough device , test without passthrough do not
change anyting )

Regards,
Nicolas

<domain type='kvm'
>

  <uuid>12c378b0-f434-3a5b-a0f6-137ac0680af1</uuid>

<name>seven</name>

  <memory
unit='MB'>2732</memory>

  <currentMemory
unit='MB'>2732</currentMemory>

<memoryBacking>
<hugepages/>
</memoryBacking>
<os>


<type>hvm</type>

  </os>
<features>
    <acpi/>
     <apic/>
     <hap/>
      <hyperv>
       <relaxed state='on'/>
      <vapic state='on'/>
     <spinlocks state='on' retries='8191'/>
    </hyperv>
   </features>

<vcpu placement='static'>2</vcpu>
  <cputune>
      <vcpupin vcpu='0' cpuset='2'/>
          <vcpupin vcpu='1' cpuset='3'/>
        </cputune>

<cpu mode='host-passthrough'>
<model>kvm64</model>
<feature policy='optional' name='x2apic' />
<topology sockets='1' cores='2' threads='1' />
 </cpu>
 <pm>
     <suspend-to-disk enabled='no'/>
         <suspend-to-mem enabled='no'/>
       </pm>
  <clock offset='localtime'>
      <timer name='hpet' present='no'/>
          <timer name='hypervclock' present='yes'/>
  </clock>


<devices>

<emulator>/usr/bin/qemu-kvm</emulator>
<channel type='unix'>
<source mode='bind' />
<target type='virtio' name='org.qemu.guest_agent.0'/>
<address type='virtio-serial' controller='0' bus='0' port='1'/>
</channel>


<disk type='network' device='disk'>
      <driver name='qemu' type='raw'/>
            <source protocol='nbd' >
                <host transport='unix' socket='/tmp/seven.ctl' />
                  </source>
              <target dev='hda' bus='ide' />
              </disk>


<disk type='network' device='disk'>
      <driver name='qemu' type='raw'/>
            <source protocol='nbd' >
                    <host transport='unix' socket='/tmp/swap.ctl' />
                          </source>
                          <target dev='hdb' bus='ide' />
                          </disk>


<memballoon model='none'/>
    <interface type='bridge'>
      <source bridge='switch0' />
      <virtualport type='openvswitch' />
      <model type='e1000'/>
      <mac address='AC:DE:50:72:8E:68'/>
      <vlan>
            <tag id='0' />
      </vlan>

    </interface>

   <graphics type='sdl' display=':0.0'>
     </graphics>
<graphics type='vnc'
passwd='3e93e9ad7d080d3c33247d22a0ec3ada581d140c2ce5b14803cd46adab11e506'
port='5900' autoport='no' keymap='fr' websocket='8080' >
     <listen type='address' address='10.10.3.230' />
     </graphics>
<input type='tablet' bus='usb'/>
<!-- <sound model='ich6'/> -->

 <video>
      <model type='qxl' vram='65536' heads='1'/>
    </video>

<hostdev mode='subsystem' type='pci' managed='yes'>
  <source>
  <address domain='0x0000' bus='0x00' slot='0x1b' function='0x0'/>
  </source>
  </hostdev>
<hostdev mode='subsystem' type='pci' managed='yes'>
  <source>
  <address domain='0x0000' bus='0x00' slot='0x1d' function='0x0'/>
  </source>
  </hostdev>
<hostdev mode='subsystem' type='pci' managed='yes'>
  <source>
  <address domain='0x0000' bus='0x00' slot='0x14' function='0x0'/>
  </source>
  </hostdev>

</devices>
</domain>





2016-01-20 8:00 GMT+01:00 Gerd Hoffmann <kraxel@redhat.com>:

> On Di, 2016-01-19 at 15:59 +0100, nicolas prochazka wrote:
> > hello,
> >
> > however it "s working perfectly under windows81
>
> But you no tablet configured and therefore have to grab/ungrab the mouse
> when switching between host and guest I guess?
>
> cheers,
>   Gerd
>
>
>

[-- Attachment #2: Type: text/html, Size: 9140 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [Qemu-devel] qxl : no mouse cursor with sdl2/gtk UI
  2016-01-20 14:20       ` nicolas prochazka
@ 2016-01-21  8:03         ` Gerd Hoffmann
  2016-01-21  9:41           ` nicolas prochazka
  0 siblings, 1 reply; 13+ messages in thread
From: Gerd Hoffmann @ 2016-01-21  8:03 UTC (permalink / raw)
  To: nicolas prochazka; +Cc: qemu-devel

On Mi, 2016-01-20 at 15:20 +0100, nicolas prochazka wrote:
> hello, 
> 
> my libvirt definition xml file, if i change qxl by vga , mouse pointer
> is present , 
> 
> if i change vm seven to windows81 , mouse pointer is present  ( using
> wddm qxl driver not the same as seven )
> 
> with windows seven vm, last qxl , mouse click is ok, but there'is no
> mouse pointer
> 
> ( sound card, usb are passthrough device , test without passthrough do
> not change anyting ) 

What do you use usb passthrough for?  The mouse?

cheers,
  Gerd

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [Qemu-devel] qxl : no mouse cursor with sdl2/gtk UI
  2016-01-21  8:03         ` Gerd Hoffmann
@ 2016-01-21  9:41           ` nicolas prochazka
  2016-01-21  9:54             ` Gerd Hoffmann
  0 siblings, 1 reply; 13+ messages in thread
From: nicolas prochazka @ 2016-01-21  9:41 UTC (permalink / raw)
  To: Gerd Hoffmann; +Cc: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 984 bytes --]

hello,
yes you 're right
- windows seven, qxl , usb mouse passthrough  : no mouse cursor
- windows seven, vga, usb mouse passthrough  : cursor
- windows seven, qxl , no passthrough : cursor

- windows 8, qxl , usb mouse passthrough  : cursor
- windows 8 vga, usb mouse passthrough  : cursor
- windows 8, qxl , no passthrough : cursor

Regards,
Nicolas

2016-01-21 9:03 GMT+01:00 Gerd Hoffmann <kraxel@redhat.com>:

> On Mi, 2016-01-20 at 15:20 +0100, nicolas prochazka wrote:
> > hello,
> >
> > my libvirt definition xml file, if i change qxl by vga , mouse pointer
> > is present ,
> >
> > if i change vm seven to windows81 , mouse pointer is present  ( using
> > wddm qxl driver not the same as seven )
> >
> > with windows seven vm, last qxl , mouse click is ok, but there'is no
> > mouse pointer
> >
> > ( sound card, usb are passthrough device , test without passthrough do
> > not change anyting )
>
> What do you use usb passthrough for?  The mouse?
>
> cheers,
>   Gerd
>
>
>

[-- Attachment #2: Type: text/html, Size: 1534 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [Qemu-devel] qxl : no mouse cursor with sdl2/gtk UI
  2016-01-21  9:41           ` nicolas prochazka
@ 2016-01-21  9:54             ` Gerd Hoffmann
  2016-01-21 10:38               ` nicolas prochazka
  0 siblings, 1 reply; 13+ messages in thread
From: Gerd Hoffmann @ 2016-01-21  9:54 UTC (permalink / raw)
  To: nicolas prochazka; +Cc: qemu-devel

On Do, 2016-01-21 at 10:41 +0100, nicolas prochazka wrote:
> hello, 
> 
> yes you 're right 
> 
> - windows seven, qxl , usb mouse passthrough  : no mouse cursor

Try dropping the usb tablet from the libvirt config then.

cheers,
  Gerd

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [Qemu-devel] qxl : no mouse cursor with sdl2/gtk UI
  2016-01-21  9:54             ` Gerd Hoffmann
@ 2016-01-21 10:38               ` nicolas prochazka
  2016-01-21 10:57                 ` Gerd Hoffmann
  0 siblings, 1 reply; 13+ messages in thread
From: nicolas prochazka @ 2016-01-21 10:38 UTC (permalink / raw)
  To: Gerd Hoffmann; +Cc: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 532 bytes --]

it does not work , with dropping usb tablet.
to be more precise, when i write "no mouse cursor', it means, mouse is ok (
click and position) , it's just the mouse pointer which is not visible

Regard,
Nicolas

2016-01-21 10:54 GMT+01:00 Gerd Hoffmann <kraxel@redhat.com>:

> On Do, 2016-01-21 at 10:41 +0100, nicolas prochazka wrote:
> > hello,
> >
> > yes you 're right
> >
> > - windows seven, qxl , usb mouse passthrough  : no mouse cursor
>
> Try dropping the usb tablet from the libvirt config then.
>
> cheers,
>   Gerd
>
>
>

[-- Attachment #2: Type: text/html, Size: 993 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [Qemu-devel] qxl : no mouse cursor with sdl2/gtk UI
  2016-01-21 10:38               ` nicolas prochazka
@ 2016-01-21 10:57                 ` Gerd Hoffmann
  2016-01-21 11:16                   ` nicolas prochazka
  0 siblings, 1 reply; 13+ messages in thread
From: Gerd Hoffmann @ 2016-01-21 10:57 UTC (permalink / raw)
  To: nicolas prochazka; +Cc: qemu-devel

On Do, 2016-01-21 at 11:38 +0100, nicolas prochazka wrote:
> it does not work , with dropping usb tablet.
> 
> to be more precise, when i write "no mouse cursor', it means, mouse is
> ok ( click and position) , it's just the mouse pointer which is not
> visible

Is the spice guest agent active?
Does it help to disable it?

cheers,
  Gerd

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [Qemu-devel] qxl : no mouse cursor with sdl2/gtk UI
  2016-01-21 10:57                 ` Gerd Hoffmann
@ 2016-01-21 11:16                   ` nicolas prochazka
  2016-01-25 12:54                     ` nicolas prochazka
  0 siblings, 1 reply; 13+ messages in thread
From: nicolas prochazka @ 2016-01-21 11:16 UTC (permalink / raw)
  To: Gerd Hoffmann; +Cc: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 509 bytes --]

I test with and without spice guest agent,
nothing changes.

Regards,
Nicolas

2016-01-21 11:57 GMT+01:00 Gerd Hoffmann <kraxel@redhat.com>:

> On Do, 2016-01-21 at 11:38 +0100, nicolas prochazka wrote:
> > it does not work , with dropping usb tablet.
> >
> > to be more precise, when i write "no mouse cursor', it means, mouse is
> > ok ( click and position) , it's just the mouse pointer which is not
> > visible
>
> Is the spice guest agent active?
> Does it help to disable it?
>
> cheers,
>   Gerd
>
>
>

[-- Attachment #2: Type: text/html, Size: 947 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [Qemu-devel] qxl : no mouse cursor with sdl2/gtk UI
  2016-01-21 11:16                   ` nicolas prochazka
@ 2016-01-25 12:54                     ` nicolas prochazka
  2016-01-25 16:49                       ` nicolas prochazka
  0 siblings, 1 reply; 13+ messages in thread
From: nicolas prochazka @ 2016-01-25 12:54 UTC (permalink / raw)
  To: Gerd Hoffmann; +Cc: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 709 bytes --]

hello,
any suggestion to search for,
qxl drivers source ?  spice-server ?

Regards,
Nicolas

2016-01-21 12:16 GMT+01:00 nicolas prochazka <prochazka.nicolas@gmail.com>:

> I test with and without spice guest agent,
> nothing changes.
>
> Regards,
> Nicolas
>
> 2016-01-21 11:57 GMT+01:00 Gerd Hoffmann <kraxel@redhat.com>:
>
>> On Do, 2016-01-21 at 11:38 +0100, nicolas prochazka wrote:
>> > it does not work , with dropping usb tablet.
>> >
>> > to be more precise, when i write "no mouse cursor', it means, mouse is
>> > ok ( click and position) , it's just the mouse pointer which is not
>> > visible
>>
>> Is the spice guest agent active?
>> Does it help to disable it?
>>
>> cheers,
>>   Gerd
>>
>>
>>
>

[-- Attachment #2: Type: text/html, Size: 1525 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [Qemu-devel] qxl : no mouse cursor with sdl2/gtk UI
  2016-01-25 12:54                     ` nicolas prochazka
@ 2016-01-25 16:49                       ` nicolas prochazka
  0 siblings, 0 replies; 13+ messages in thread
From: nicolas prochazka @ 2016-01-25 16:49 UTC (permalink / raw)
  To: Gerd Hoffmann; +Cc: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 1044 bytes --]

for your information,
suppres hardware cursor implementation from qxl driver  ( DrvSetPointerSh )
suppress this issue.
wddm version of qxl ( win81) does not implement hardware cursor.

Regards,
Nicolas Prochazka.

2016-01-25 13:54 GMT+01:00 nicolas prochazka <prochazka.nicolas@gmail.com>:

> hello,
> any suggestion to search for,
> qxl drivers source ?  spice-server ?
>
> Regards,
> Nicolas
>
> 2016-01-21 12:16 GMT+01:00 nicolas prochazka <prochazka.nicolas@gmail.com>
> :
>
>> I test with and without spice guest agent,
>> nothing changes.
>>
>> Regards,
>> Nicolas
>>
>> 2016-01-21 11:57 GMT+01:00 Gerd Hoffmann <kraxel@redhat.com>:
>>
>>> On Do, 2016-01-21 at 11:38 +0100, nicolas prochazka wrote:
>>> > it does not work , with dropping usb tablet.
>>> >
>>> > to be more precise, when i write "no mouse cursor', it means, mouse is
>>> > ok ( click and position) , it's just the mouse pointer which is not
>>> > visible
>>>
>>> Is the spice guest agent active?
>>> Does it help to disable it?
>>>
>>> cheers,
>>>   Gerd
>>>
>>>
>>>
>>
>

[-- Attachment #2: Type: text/html, Size: 2337 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2016-01-25 16:49 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-18 20:11 [Qemu-devel] qxl : no mouse cursor with sdl2/gtk UI nicolas prochazka
2016-01-19 13:31 ` Gerd Hoffmann
2016-01-19 14:59   ` nicolas prochazka
2016-01-20  7:00     ` Gerd Hoffmann
2016-01-20 14:20       ` nicolas prochazka
2016-01-21  8:03         ` Gerd Hoffmann
2016-01-21  9:41           ` nicolas prochazka
2016-01-21  9:54             ` Gerd Hoffmann
2016-01-21 10:38               ` nicolas prochazka
2016-01-21 10:57                 ` Gerd Hoffmann
2016-01-21 11:16                   ` nicolas prochazka
2016-01-25 12:54                     ` nicolas prochazka
2016-01-25 16:49                       ` nicolas prochazka

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.