* Re: [Qemu-devel] Current state of RFB patch
2005-03-21 19:50 ` Johannes Schindelin
@ 2005-03-21 20:14 ` use.reply-to.address
2005-03-21 20:26 ` Jim C. Brown
2005-03-21 20:59 ` Struan Bartlett
` (2 subsequent siblings)
3 siblings, 1 reply; 12+ messages in thread
From: use.reply-to.address @ 2005-03-21 20:14 UTC (permalink / raw)
To: qemu-devel
>Well, here you are:
>
>http://libvncserver.sf.net/qemu/qemu-rfb10.patch.gz
>
>Have fun!
>
>One remark, though: it is a quick hack to make it apply to the current
>CVS, so to use your mouse, you have to make sure that the guest OS does
>not accelerate your pointer. In Windows: in Settings, look for Mouse and
>set it to "slowest". With x11: "xset m 1".
>
>
is it possible to have qemu disable host mouse acceleration while it has
focus ? some guest os do not allow disabling of acceleration
for example in dos , some games have their own builtin mouse driver ,
and you can't control acceleration on those
off course a generic vnc client can't do that , so maybe then there
could be a de-acceleration routine in the qemu-vnc interface code ?
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Qemu-devel] Current state of RFB patch
2005-03-21 20:14 ` use.reply-to.address
@ 2005-03-21 20:26 ` Jim C. Brown
0 siblings, 0 replies; 12+ messages in thread
From: Jim C. Brown @ 2005-03-21 20:26 UTC (permalink / raw)
To: qemu, qemu-devel
On Mon, Mar 21, 2005 at 03:14:05PM -0500, use.reply-to.address@domn.net wrote:
> >
> is it possible to have qemu disable host mouse acceleration while it has
> focus ? some guest os do not allow disabling of acceleration
>
I suppose, but I do not understand how this could help you.
> for example in dos , some games have their own builtin mouse driver ,
> and you can't control acceleration on those
> off course a generic vnc client can't do that , so maybe then there
> could be a de-acceleration routine in the qemu-vnc interface code ?
>
That is not really possible. There can be no generic de-acceleration
routine, tho you might be able to hack it for one particular OS/DOS game if
you knew by what factor it accelerated.
>
>
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
>
--
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Qemu-devel] Current state of RFB patch
2005-03-21 19:50 ` Johannes Schindelin
2005-03-21 20:14 ` use.reply-to.address
@ 2005-03-21 20:59 ` Struan Bartlett
2005-03-22 1:13 ` Johannes Schindelin
2005-03-22 6:46 ` Brad Campbell
2005-03-22 11:53 ` Andreas Bollhalder
3 siblings, 1 reply; 12+ messages in thread
From: Struan Bartlett @ 2005-03-21 20:59 UTC (permalink / raw)
To: qemu-devel
Johannes Schindelin wrote:
>On Mon, 21 Mar 2005, zitu wrote:
>
>
>>Quoting Johannes Schindelin <Johannes.Schindelin@gmx.de>:
>>
>>
>>>I wanted to make a new patch this year with an updated mouse handling, but
>>>I didn't come around to do it yet. I'm not at my development machine ATM,
>>>but tomorrow I will create an RFB10 patch, promise!
>>>
>>>
>Well, here you are:
>
>http://libvncserver.sf.net/qemu/qemu-rfb10.patch.gz
>
>
This patches, but compile breaks:
gcc-3.3 -march=pentium -DQEMU_TOOL -Wall -O2 -g -fno-strict-aliasing -g
-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o qemu-img
qemu-img.c block.c block-cow.c block-qcow.c aes.c block-vmdk.c
block-cloop.c block-dmg.c -lz
sh create_keysym_header.sh vnc ""
Usage: create_keysym_header.sh vnc|sdl cflags
make: *** [keysym_adapter_vnc.h] Error 1
Looks like create_keysym_header.sh isn't being called with a second
argument that gets past it's argument checking. Strange because my
config-host.mak has CFLAGS=-O2 in it. Anyway, hacking
create_keysym_header.sh to hardcode cflags=-O2 allowed my compile to
continue. But now I'm having a problem launching QEMU with -vnc.
$ qemu -hda win2k.qcow -m 64 -monitor stdio -k en-gb -vnc
<snip>
Warning: could not read keymap - falling back native keycodes!
Could not initialize keyboard
The keymap files are there alright in /usr/local/share/qemu/keymaps/ and
the same command, minus the -vnc, starts QEMU just fine.
Any suggestions?
Struan
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Qemu-devel] Current state of RFB patch
2005-03-21 20:59 ` Struan Bartlett
@ 2005-03-22 1:13 ` Johannes Schindelin
2005-04-01 16:45 ` Andreas Bollhalder
0 siblings, 1 reply; 12+ messages in thread
From: Johannes Schindelin @ 2005-03-22 1:13 UTC (permalink / raw)
To: qemu-devel
Hi,
On Mon, 21 Mar 2005, Struan Bartlett wrote:
> This patches, but compile breaks:
>
> gcc-3.3 -march=pentium -DQEMU_TOOL -Wall -O2 -g -fno-strict-aliasing -g
> -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o qemu-img
> qemu-img.c block.c block-cow.c block-qcow.c aes.c block-vmdk.c
> block-cloop.c block-dmg.c -lz
> sh create_keysym_header.sh vnc ""
The cflags are assumed to be the include path to rfb.h. Probably you did
not use a current LibVNCServer, or you have an old libvncserver-config in
your path.
> But now I'm having a problem launching QEMU with -vnc.
>
> $ qemu -hda win2k.qcow -m 64 -monitor stdio -k en-gb -vnc
> <snip>
> Warning: could not read keymap - falling back native keycodes!
> Could not initialize keyboard
Beware! RFB support is not yet for the faint-hearted! ATM if you don't
have the keymaps/ directory in your current working path, you don't get
support from RFB.
Yes, yes, I know. keymaps should be taken from qemu's default path, the
mouse should be calibrated automatically, and all the rest. If somebody
wants to see about that, well, go ahead. ATM I unfortunately don't have
time to spare.
Ciao,
Dscho
^ permalink raw reply [flat|nested] 12+ messages in thread
* RE: [Qemu-devel] Current state of RFB patch
2005-03-22 1:13 ` Johannes Schindelin
@ 2005-04-01 16:45 ` Andreas Bollhalder
0 siblings, 0 replies; 12+ messages in thread
From: Andreas Bollhalder @ 2005-04-01 16:45 UTC (permalink / raw)
To: qemu-devel
Hola
I have successfully testet the rfb10 patch on Mandrake 10.0 with the
current build of QEMU. It's that great, to start any guest OS using a
GUI on a Linux with only a CLI ;-) That's a big thing. As known, the
mouse behavior is a little bit odd. I use the de-ch keymap, it needs
some research for having the whole swiss german keyboard function
correctly.
Many thanks to all helping on this project.
Andreas
> -----Original Message-----
> From: qemu-devel-bounces+bolle=geodb.org@nongnu.org
> [mailto:qemu-devel-bounces+bolle=geodb.org@nongnu.org] On
> Behalf Of Johannes Schindelin
> Sent: Tuesday, March 22, 2005 2:13 AM
> To: qemu-devel@nongnu.org
> Subject: Re: [Qemu-devel] Current state of RFB patch
>
>
> *This message was transferred with a trial version of
> CommuniGate(tm) Pro*
> Hi,
>
> On Mon, 21 Mar 2005, Struan Bartlett wrote:
>
> > This patches, but compile breaks:
> >
> > gcc-3.3 -march=pentium -DQEMU_TOOL -Wall -O2 -g
> -fno-strict-aliasing -g
> > -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o
qemu-img
> > qemu-img.c block.c block-cow.c block-qcow.c aes.c block-vmdk.c
> > block-cloop.c block-dmg.c -lz
> > sh create_keysym_header.sh vnc ""
>
> The cflags are assumed to be the include path to rfb.h.
> Probably you did
> not use a current LibVNCServer, or you have an old
> libvncserver-config in
> your path.
>
> > But now I'm having a problem launching QEMU with -vnc.
> >
> > $ qemu -hda win2k.qcow -m 64 -monitor stdio -k en-gb -vnc
> > <snip>
> > Warning: could not read keymap - falling back native keycodes!
> > Could not initialize keyboard
>
> Beware! RFB support is not yet for the faint-hearted! ATM if you
don't
> have the keymaps/ directory in your current working path, you
> don't get
> support from RFB.
>
> Yes, yes, I know. keymaps should be taken from qemu's default
> path, the
> mouse should be calibrated automatically, and all the rest.
> If somebody
> wants to see about that, well, go ahead. ATM I unfortunately
> don't have
> time to spare.
>
> Ciao,
> Dscho
>
>
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Qemu-devel] Current state of RFB patch
2005-03-21 19:50 ` Johannes Schindelin
2005-03-21 20:14 ` use.reply-to.address
2005-03-21 20:59 ` Struan Bartlett
@ 2005-03-22 6:46 ` Brad Campbell
2005-03-22 11:53 ` Andreas Bollhalder
3 siblings, 0 replies; 12+ messages in thread
From: Brad Campbell @ 2005-03-22 6:46 UTC (permalink / raw)
To: qemu-devel
Johannes Schindelin wrote:
> Well, here you are:
>
> http://libvncserver.sf.net/qemu/qemu-rfb10.patch.gz
>
> Have fun!
>
> One remark, though: it is a quick hack to make it apply to the current
> CVS, so to use your mouse, you have to make sure that the guest OS does
> not accelerate your pointer. In Windows: in Settings, look for Mouse and
> set it to "slowest". With x11: "xset m 1".
>
Wow. Mouse accuracy is rock solid, although it takes forever for the pointer to reach its
destination and the overshoot and overcorrection is good for a laugh!
Linux host and XP guest.
Neato!
Brad
--
"Human beings, who are almost unique in having the ability
to learn from the experience of others, are also remarkable
for their apparent disinclination to do so." -- Douglas Adams
^ permalink raw reply [flat|nested] 12+ messages in thread
* RE: [Qemu-devel] Current state of RFB patch
2005-03-21 19:50 ` Johannes Schindelin
` (2 preceding siblings ...)
2005-03-22 6:46 ` Brad Campbell
@ 2005-03-22 11:53 ` Andreas Bollhalder
3 siblings, 0 replies; 12+ messages in thread
From: Andreas Bollhalder @ 2005-03-22 11:53 UTC (permalink / raw)
To: qemu-devel
Hallo Johannes
Thousend thanks for your work !!! I hope that I didn't hurt you ;-) I
can try it out the patch next week when I'm at my machine.
Andreas
> -----Original Message-----
> From: qemu-devel-bounces+bolle=geodb.org@nongnu.org
> [mailto:qemu-devel-bounces+bolle=geodb.org@nongnu.org] On
> Behalf Of Johannes Schindelin
> Sent: Monday, March 21, 2005 8:51 PM
> To: qemu-devel@nongnu.org
> Subject: Re: [Qemu-devel] Current state of RFB patch
>
>
> *This message was transferred with a trial version of
> CommuniGate(tm) Pro*
> Hi,
>
> On Mon, 21 Mar 2005, zitu wrote:
>
> > Quoting Johannes Schindelin <Johannes.Schindelin@gmx.de>:
> > > I wanted to make a new patch this year with an updated
> mouse handling, but
> > > I didn't come around to do it yet. I'm not at my
> development machine ATM,
> > > but tomorrow I will create an RFB10 patch, promise!
> >
> > looking forward to it :)
>
> Well, here you are:
>
> http://libvncserver.sf.net/qemu/qemu-rfb10.patch.gz
>
> Have fun!
>
> One remark, though: it is a quick hack to make it apply to the
current
> CVS, so to use your mouse, you have to make sure that the
> guest OS does
> not accelerate your pointer. In Windows: in Settings, look
> for Mouse and
> set it to "slowest". With x11: "xset m 1".
>
> > PS: it could be interesting then to have qemu+vnc running
> on colinux, and
> > get a bit more performance than the std qemu on windows hosts.
>
> I am doubtful if that is so much faster, but would appreciate if you
> provided me with hard numbers...
>
> Ciao,
> Dscho
>
>
>
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
>
^ permalink raw reply [flat|nested] 12+ messages in thread