qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] VNC Patch - solved
@ 2004-07-27 23:47 Lindsay Mathieson
  2004-07-28  8:57 ` [Qemu-devel] " Johannes Schindelin
  2004-08-17 14:04 ` [Qemu-devel] VNC Patch - 6th version Johannes Schindelin
  0 siblings, 2 replies; 7+ messages in thread
From: Lindsay Mathieson @ 2004-07-27 23:47 UTC (permalink / raw)
  To: qemu, Johannes.Schindelin

Note : I've changed my list email from lindsay.mathieson@optusnet.com.au 
to lindsay@softlog.com.au

Ok, my problems with the vnc patch were that it could'nt find the 
keyboard maps for vnc. I had to hardcode the location into the source, 
it seemed to assume a relative path, but I guess this is something I 
should take up with the vnc patch creator.

You on this list Johannes ? I'd love to test and help if you want to 
pursue this.

-- 
When life hands you lemons, ask for a bottle of gin and tonic.

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

* [Qemu-devel] Re: VNC Patch - solved
  2004-07-27 23:47 [Qemu-devel] VNC Patch - solved Lindsay Mathieson
@ 2004-07-28  8:57 ` Johannes Schindelin
  2004-08-17 14:04 ` [Qemu-devel] VNC Patch - 6th version Johannes Schindelin
  1 sibling, 0 replies; 7+ messages in thread
From: Johannes Schindelin @ 2004-07-28  8:57 UTC (permalink / raw)
  To: qemu

Hi,

On Wed, 28 Jul 2004, Lindsay Mathieson wrote:
> Ok, my problems with the vnc patch were that it could'nt find the
> keyboard maps for vnc. I had to hardcode the location into the source,
> it seemed to assume a relative path, but I guess this is something I
> should take up with the vnc patch creator.

Note that the VNC patch is experimental. Unfortunately I did not yet have
the time to investigate the problem with Win98's standard mouse
acceleration. When I get this to work reliably, I call this patch finished
and try to fix up things like keymaps and also SDL or X using those
keymaps (for non-PC architectures).

> You on this list Johannes ? I'd love to test and help if you want to
> pursue this.

Yes, I am on the list. Even if I sometimes have strange problems: You sent
this email to me as well as the list, but I got it only once. Probably I
don't get all mails which are sent to the list. Some emails have delays of
more than one day.

And yes, I want to make it work, but my first priority right now is my
work, and then the Win98 mouse.

Ciao,
Dscho

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

* [Qemu-devel] VNC Patch - 6th version
  2004-07-27 23:47 [Qemu-devel] VNC Patch - solved Lindsay Mathieson
  2004-07-28  8:57 ` [Qemu-devel] " Johannes Schindelin
@ 2004-08-17 14:04 ` Johannes Schindelin
  2004-08-19  6:48   ` Lindsay Mathieson
  2004-08-19  7:14   ` Lindsay Mathieson
  1 sibling, 2 replies; 7+ messages in thread
From: Johannes Schindelin @ 2004-08-17 14:04 UTC (permalink / raw)
  To: qemu

Hi all,

I am proudly announcing a new incarnation of the VNC patch. Not much new,
really:
	- applies to current CVS version
	- fixes the mouse calibration with Windows 98

Unfortunately, for some systems (e.g. Windows 98), you have to calibrate
the mouse. For that, you have to move (somehow) the mouse pointer to an
empty spot on the desktop (with space above it), and then press and
release Ctrl+Shift. Your mouse cursor should go a little bit upwards and
then jump back. After that, the mouse pointer movements should be
consistent with the host pointer.

You can find the patch at
http://libvncserver.sourceforge.net/qemu/

Ciao,
Dscho

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

* Re: [Qemu-devel] VNC Patch - 6th version
  2004-08-17 14:04 ` [Qemu-devel] VNC Patch - 6th version Johannes Schindelin
@ 2004-08-19  6:48   ` Lindsay Mathieson
  2004-08-19  7:14   ` Lindsay Mathieson
  1 sibling, 0 replies; 7+ messages in thread
From: Lindsay Mathieson @ 2004-08-19  6:48 UTC (permalink / raw)
  To: qemu-devel

Johannes Schindelin wrote:

>Hi all,
>
>I am proudly announcing a new incarnation of the VNC patch. Not much new,
>really:
>	- applies to current CVS version
>	- fixes the mouse calibration with Windows 98
>
>  
>
Just building it now. Before I applied the patch I had to rename my 
"qemu" dir (clean cvs co) to "qemu_cvs" before the patch would apply

-- 
When life hands you lemons, ask for a bottle of gin and tonic.

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

* Re: [Qemu-devel] VNC Patch - 6th version
  2004-08-17 14:04 ` [Qemu-devel] VNC Patch - 6th version Johannes Schindelin
  2004-08-19  6:48   ` Lindsay Mathieson
@ 2004-08-19  7:14   ` Lindsay Mathieson
  2004-08-19 10:21     ` Johannes Schindelin
  1 sibling, 1 reply; 7+ messages in thread
From: Lindsay Mathieson @ 2004-08-19  7:14 UTC (permalink / raw)
  To: qemu-devel

Johannes Schindelin wrote:

>Unfortunately, for some systems (e.g. Windows 98), you have to calibrate
>the mouse. For that, you have to move (somehow) the mouse pointer to an
>empty spot on the desktop (with space above it), and then press and
>release Ctrl+Shift. Your mouse cursor should go a little bit upwards and
>then jump back. After that, the mouse pointer movements should be
>consistent with the host pointer.
>  
>
Got it running:
- still have to manually  edit keyboard_rdesktop.c and hardcode the 
prefix path for keycode to load
- the mouse does seem to track now, though it is extremely jerky and erratic

The session keeps disconnecting, it seems to make a difference choosing 
different compression ratios, also screen res in the guest makes a real 
difference as well.

e.g connecting with UltraVNC on AutoSpeed selection to win98 at 800x600, 
the client disconnects immediately.
 From my console log:
19/08/2004 16:29:00 rfbProcessClientNormalMessage: ignoring unknown 
encoding type 9
19/08/2004 16:29:00 rfbProcessClientNormalMessage: ignoring unknown 
encoding type 8
19/08/2004 16:29:00 Using compression level 6 for client 192.168.5.69
19/08/2004 16:29:00 Enabling X-style cursor updates for client 192.168.5.69
19/08/2004 16:29:00 Enabling full-color cursor updates for client 
192.168.5.69
19/08/2004 16:29:00 Using image quality level 0 for client 192.168.5.69
19/08/2004 16:29:00 rfbProcessClientNormalMessage: ignoring unknown 
encoding type -65530
19/08/2004 16:29:00 Enabling LastRect protocol extension for client 
192.168.5.69
19/08/2004 16:29:00 Enabling NewFBSize protocol extension for client 
192.168.5.69
19/08/2004 16:29:00 WriteExact: select: Interrupted system call
19/08/2004 16:29:00 rfbSendUpdateBuf: write: Interrupted system call
19/08/2004 16:29:00 Client 192.168.5.69 gone
19/08/2004 16:29:00 Statistics:
19/08/2004 16:29:00   key events received 0, pointer events 1
19/08/2004 16:29:00   framebuffer updates 2, rectangles 4, bytes 22303
19/08/2004 16:29:00     cursor shape updates 2, bytes 24
19/08/2004 16:29:00     hextile rectangles 1, bytes 17283
19/08/2004 16:29:00     ZRLE rectangles 1, bytes 4996
19/08/2004 16:29:00   raw bytes equivalent 921624, compression ratio 
41.367386

-- 
When life hands you lemons, ask for a bottle of gin and tonic.

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

* Re: [Qemu-devel] VNC Patch - 6th version
  2004-08-19  7:14   ` Lindsay Mathieson
@ 2004-08-19 10:21     ` Johannes Schindelin
  2004-08-19 12:02       ` Lindsay Mathieson
  0 siblings, 1 reply; 7+ messages in thread
From: Johannes Schindelin @ 2004-08-19 10:21 UTC (permalink / raw)
  To: qemu-devel

Hi,

On Thu, 19 Aug 2004, Lindsay Mathieson wrote:

> Got it running:
> - still have to manually  edit keyboard_rdesktop.c and hardcode the
> prefix path for keycode to load

The patch assumes that you start qemu from the qemu directory. By the way,
you don't have to rename the qemu directory to qemu_vnc or qemu_cvs, but
you can "cd qemu; patch -p1 < qemu-rfb6.patch".

> - the mouse does seem to track now, though it is extremely jerky and erratic

Yes. I don't know yet why it is jerky, but I found it more important that
it is sort of accurate first.

> The session keeps disconnecting, it seems to make a difference choosing
> different compression ratios, also screen res in the guest makes a real
> difference as well.
>
> [...]
> 19/08/2004 16:29:00 WriteExact: select: Interrupted system call
> 19/08/2004 16:29:00 rfbSendUpdateBuf: write: Interrupted system call

this probably means a bug in LibVNCServer. Hopefully I find the time to
look into that.

Ciao,
Dscho

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

* Re: [Qemu-devel] VNC Patch - 6th version
  2004-08-19 10:21     ` Johannes Schindelin
@ 2004-08-19 12:02       ` Lindsay Mathieson
  0 siblings, 0 replies; 7+ messages in thread
From: Lindsay Mathieson @ 2004-08-19 12:02 UTC (permalink / raw)
  To: qemu-devel

On Thu, 19 Aug 2004 08:21 pm, Johannes Schindelin wrote:
> Hi,
>
> On Thu, 19 Aug 2004, Lindsay Mathieson wrote:
> > Got it running:
> > - still have to manually  edit keyboard_rdesktop.c and hardcode the
> > prefix path for keycode to load
>
> The patch assumes that you start qemu from the qemu directory. By the way,
> you don't have to rename the qemu directory to qemu_vnc or qemu_cvs, but
> you can "cd qemu; patch -p1 < qemu-rfb6.patch".

Thats exactly what I did, didn't work. Had to rename qemu to qemu_cvs 
first.That patch I decompressed had qemu_cvs in it.


>
> > - the mouse does seem to track now, though it is extremely jerky and
> > erratic
>
> Yes. I don't know yet why it is jerky, but I found it more important that
> it is sort of accurate first.
That it does seem to be. Its probably worth mentioning that using qemu via 
remote xwindows/sdl is equally jerky. Hwoever the vnc client (when connected) 
is much better looking.

I use utltra vnc for a client usually, but tight vnc has the same problems. 
Both clients are under windows. The host os is Mandrake 10

>
> > The session keeps disconnecting, it seems to make a difference choosing
> > different compression ratios, also screen res in the guest makes a real
> > difference as well.
> >
> > [...]
> > 19/08/2004 16:29:00 WriteExact: select: Interrupted system call
> > 19/08/2004 16:29:00 rfbSendUpdateBuf: write: Interrupted system call
>
> this probably means a bug in LibVNCServer. Hopefully I find the time to
> look into that.

Ok,

cheers - Lindsay

-- 
Blore's Razor:
	Given a choice between two theories, take the one which is funnier.

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

end of thread, other threads:[~2004-08-19 12:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-27 23:47 [Qemu-devel] VNC Patch - solved Lindsay Mathieson
2004-07-28  8:57 ` [Qemu-devel] " Johannes Schindelin
2004-08-17 14:04 ` [Qemu-devel] VNC Patch - 6th version Johannes Schindelin
2004-08-19  6:48   ` Lindsay Mathieson
2004-08-19  7:14   ` Lindsay Mathieson
2004-08-19 10:21     ` Johannes Schindelin
2004-08-19 12:02       ` Lindsay Mathieson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).