Skip to contentSkip to conversation

QEMU 0.8.1

Qemu-devel Fabrice Bellard 14 participants 28 messages May 3, 2006 – May 10, 2006

lore
Share & tools
lore
#0 lore raw

Hi,

QEMU version 0.8.1 is available at http://bellard.org/qemu/download.html.

version 0.8.1:

- USB tablet support (Brad Campbell, Anthony Liguori)
- win32 host serial support (Kazu)
- PC speaker support (Joachim Henke)
- IDE LBA48 support (Jens Axboe)
- SSE3 support
- Solaris port (Ben Taylor)
- Preliminary SH4 target (Samuel Tardieu)
- VNC server (Anthony Liguori)
- slirp fixes (Ed Swierk et al.)
- USB fixes
- ARM Versatile Platform Baseboard emulation (Paul Brook)

Fabrice.

#1 lore raw

mingw32 build breaks on "ssize_t" which should be "long" instead on win32 (see previous post on vnc.c).

beyond this little detail, compiled version works fine on win32 (I'll do more testing tomorrow).

do we need kqemu-1.3.0pre6.tar.gz for this version or a newer kqemu ?

Quoted 18 lines · Fabrice Bellard

Hi,

QEMU version 0.8.1 is available at http://bellard.org/qemu/download.html.

version 0.8.1:

- USB tablet support (Brad Campbell, Anthony Liguori)
- win32 host serial support (Kazu)
- PC speaker support (Joachim Henke)
- IDE LBA48 support (Jens Axboe)
- SSE3 support
- Solaris port (Ben Taylor)
- Preliminary SH4 target (Samuel Tardieu)
- VNC server (Anthony Liguori)
- slirp fixes (Ed Swierk et al.)
- USB fixes
- ARM Versatile Platform Baseboard emulation (Paul Brook)

Quoted 8 lines

Fabrice.

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

--
Christian

#3 lore raw
In reply to Fabrice Bellard

seen on winXP host (kqemu independent): sometimes the pointer inside the guest hits like an invisible wall and cannot go any further. This happens on a win2003 bartpe based guest and on a RedHat 7.2 livecd (superrescue 2.1.2).

how to see it:
- boot the guest without having the physical pointer grabbed
- the guest pointer is centered (position A)
- move the physical/host pointer halfway between guest pointer and the bottom of the windows of the guest (position B)
- click inside the guest (grabs the physical pointer: we're in position A)
- move the pointer vertically slowly down, the pointer cannot go any lower than position B

I would say this could be a grab/ungrab issue induced recently (vnc patch?). To check it, how do I remove the vnc patch alltogether ?

Christian

Quoted 4 lines · Fabrice Bellard

Hi,

QEMU version 0.8.1 is available at http://bellard.org/qemu/download.html.

#4 lore raw

I removed manually vnc_display_init, and this is not the culprit... I'll check anyway versus qemu-0.8.0...

Quoted 2 lines · Christian MICHON

I would say this could be a grab/ungrab issue induced recently (vnc patch?). To check it, how do I remove the vnc patch alltogether ?

#5 lore raw

qemu 0.8.0 does not show this invisible barrier issue. if this is worth anything, I use SDL 1.2.9.

If someone can reproduce the issue also on linux hosts, there could be a lead.

Quoted 3 lines · Christian MICHON

I removed manually vnc_display_init, and this is not the culprit... I'll check anyway versus qemu-0.8.0...

--
Christian

#6 lore raw

I can reproduce on a linux host. I've seen this for a few weeks in CVS.

Quoted 10 lines · Christian MICHON

qemu 0.8.0 does not show this invisible barrier issue. if this is worth anything, I use SDL 1.2.9.

If someone can reproduce the issue also on linux hosts, there could be a lead.

Quoted 3 lines · Christian MICHON

I removed manually vnc_display_init, and this is not the culprit... I'll check anyway versus qemu-0.8.0...

Quoted 9 lines

--
Christian

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

--
ReactOS is a hub, follow the spokes and you'll immediately find absolutely everything you need to know about Windows. ReactOS is not just software, it's people.
kjk_hyperion

#7 lore raw
In reply to Christian MICHON

Hi,

For what it's worth. I have also seen this "invisible wall" problem with my mouse for a few weeks off the CVS build too.

Since 0.8.1 came out yesterday, Instead of using CVS build, I'm now running Qemu 0.8.1 + kqemu-1.3.0pre6. My host OS is FC5 and I'm running XP inside it.

Thanks,
Thomas

Quoted 20 lines · Christian MICHON

qemu 0.8.0 does not show this invisible barrier issue. if this is worth anything, I use SDL 1.2.9.

If someone can reproduce the issue also on linux hosts, there could be a lead.

Quoted 3 lines · Christian MICHON

I removed manually vnc_display_init, and this is not the culprit... I'll check anyway versus qemu-0.8.0...

--
Christian

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

#8 lore raw
Quoted 3 lines · Thomas Han

Hi,

For what it's worth. I have also seen this "invisible wall" problem with my mouse for a few weeks off the CVS build too.

Can you try out the following patch. *grumbles about SDL's brokenness*

Regards,

Anthony Liguori

Quoted 28 lines

Since 0.8.1 came out yesterday, Instead of using CVS build, I'm now running Qemu 0.8.1 + kqemu-1.3.0pre6. My host OS is FC5 and I'm running XP inside it.

Thanks,
Thomas

On 5/4/06, *Christian MICHON* < [email protected] <mailto:[email protected]>> wrote:

qemu 0.8.0 does not show this invisible barrier issue. if this is worth anything, I use SDL 1.2.9.

If someone can reproduce the issue also on linux hosts, there could be a lead.

On 5/4/06, Christian MICHON <[email protected] <mailto:[email protected]>> wrote:
> I removed manually vnc_display_init, and this is not the culprit... > I'll check anyway versus qemu-0.8.0...
>
--
Christian

_______________________________________________
Qemu-devel mailing list [email protected] <mailto:[email protected]>
http://lists.nongnu.org/mailman/listinfo/qemu-devel

Quoted 7 lines

------------------------------------------------------------------------

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

sdl.c +7 -2
diff -r 39a6dd1136c6 sdl.c
@@ -280,13 +280,18 @@ static void sdl_update_caption(void)
 
 static void sdl_hide_cursor(void)
 {
-    SDL_SetCursor(sdl_cursor_hidden);
+    if (kbd_mouse_is_absolute()) {
+	SDL_ShowCursor(1);
+	SDL_SetCursor(sdl_cursor_hidden);
+    } else {
+	SDL_ShowCursor(0);
+    }
 }
 
 static void sdl_show_cursor(void)
 {
     if (!kbd_mouse_is_absolute()) {
-	SDL_SetCursor(sdl_cursor_normal);
+	SDL_ShowCursor(1);
     }
 }
 
#9 lore raw

it works. Side effect: after the first ungrab, I can't see the host pointer over the SDL windows.

Yet, it's nothing as compared to the invisible wall. I know nothing about most qemu internals, but would it be possible to make it like vmw*re, ie the mouse is automagically grabbed/ungrabbed whenever you reach the limits of the SDL window ?

Quoted 11 lines · Anthony Liguori
Quoted 4 lines · Thomas Han

Hi,

For what it's worth. I have also seen this "invisible wall" problem with my mouse for a few weeks off the CVS build too.

Can you try out the following patch. *grumbles about SDL's brokenness*

Regards,

Anthony Liguori

--
Christian

#10 lore raw

That requires a driver in guest side that communicates with qemu.

VMWare and VirtualPC does this but requires a driver in the guest side, so in unsupported systems you still have to click to grab.

Quoted 32 lines · Christian MICHON

it works. Side effect: after the first ungrab, I can't see the host pointer over the SDL windows.

Yet, it's nothing as compared to the invisible wall. I know nothing about most qemu internals, but would it be possible to make it like vmw*re, ie the mouse is automagically grabbed/ungrabbed whenever you reach the limits of the SDL window ?

Quoted 4 lines · Anthony Liguori
Quoted 3 lines · Thomas Han

Hi,

For what it's worth. I have also seen this "invisible wall"

Quoted 8 lines

problem

Quoted 1 line

with my mouse for a few weeks off the CVS build too.

Can you try out the following patch. *grumbles about SDL's brokenness*

Regards,

Anthony Liguori

--
Christian

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

#11 lore raw
Quoted 3 lines · Natalia Portillo

That requires a driver in guest side that communicates with qemu.

VMWare and VirtualPC does this but requires a driver in the guest side, so in unsupported systems you still have to click to grab.

Just as a side note, the USB tablet support makes this quite easy at least on Win2k - it already has the required driver, so for me it was enough to add -usbdevice tablet to the command line to have the mouse cursor automatically grabbed/ungrabbed (it seems that the behaviour of Ctrl+Alt changed a bit, but one gets used to it).

Thanks to Brad and Anthony for making that possible :D

Regards,
Oliver

Quoted 45 lines · Christian MICHON
Quoted 15 lines

it works. Side effect: after the first ungrab, I can't see the host pointer over the SDL windows.

Yet, it's nothing as compared to the invisible wall. I know nothing about most qemu internals, but would it be possible to make it like vmw*re, ie the mouse is automagically grabbed/ungrabbed whenever you reach the limits of the SDL window ?

Quoted 3 lines · Anthony Liguori
Quoted 2 lines · Thomas Han

Hi,

Quoted 19 lines
Quoted 8 lines
Quoted 2 lines

For what it's worth. I have also seen this "invisible wall" problem with my mouse for a few weeks off the CVS build too.

Can you try out the following patch. *grumbles about SDL's brokenness*

Regards,

Anthony Liguori

Signature · 7 lines
Christian


_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

#12 lore raw

That's good.

Then someone should create drivers for the OSes that doesn't include USB tablet support and will be great.

Quoted 58 lines · Oliver Gerlich
Quoted 2 lines · Natalia Portillo

That requires a driver in guest side that communicates with qemu.
VMWare and VirtualPC does this but requires a driver in the guest side, so in unsupported systems you still have to click to grab.

Just as a side note, the USB tablet support makes this quite easy at least on Win2k - it already has the required driver, so for me it was enough to add -usbdevice tablet to the command line to have the mouse cursor automatically grabbed/ungrabbed (it seems that the behaviour of Ctrl+Alt changed a bit, but one gets used to it).

Thanks to Brad and Anthony for making that possible :D

Regards,
Oliver

Quoted 35 lines · Christian MICHON
Quoted 15 lines

it works. Side effect: after the first ungrab, I can't see the host pointer over the SDL windows.

Yet, it's nothing as compared to the invisible wall. I know nothing about most qemu internals, but would it be possible to make it like vmw*re, ie the mouse is automagically grabbed/ungrabbed whenever you reach the limits of the SDL window ?

Quoted 4 lines · Anthony Liguori
Quoted 3 lines · Thomas Han

Hi,

For what it's worth. I have also seen this "invisible wall"

Quoted 19 lines
Quoted 8 lines

problem

Quoted 1 line

with my mouse for a few weeks off the CVS build too.

Can you try out the following patch. *grumbles about SDL's brokenness*

Regards,

Anthony Liguori

Signature · 7 lines
Christian


_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel
Quoted 4 lines

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

#13 lore raw
In reply to Natalia Portillo
Quoted 1 line · Natalia Portillo

That requires a driver in guest side that communicates with qemu.

No it doesn't. It'd only work in absolute mode of course... but it'd be easy to implement.

Personally I'd dislike such a feature anyways.

Signature · 2 lines
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.
#14 lore raw
In reply to Christian MICHON
Quoted 2 lines · Christian MICHON

it works. Side effect: after the first ungrab, I can't see the host pointer over the SDL windows.

Ok. I'll take a look at that. Should be easy enough to fix.

Quoted 6 lines

Yet, it's nothing as compared to the invisible wall. I know nothing about most qemu internals, but would it be possible to make it like vmw*re, ie the mouse is automagically grabbed/ungrabbed whenever you reach the limits of the SDL window ?

As someone has already mentioned, you want to use -usb -usbdevice tablet.

Regards,

Anthony Liguori

Quoted 21 lines · Anthony Liguori
Quoted 11 lines
Quoted 4 lines · Thomas Han

Hi,

For what it's worth. I have also seen this "invisible wall" problem with my mouse for a few weeks off the CVS build too.

Can you try out the following patch. *grumbles about SDL's brokenness*

Regards,

Anthony Liguori

Signature · 7 lines
Christian


_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel
#15 lore raw

on windows 3.0 (my usual testcase) ?
I'll try at least on rh72...

Quoted 1 line · Anthony Liguori

As someone has already mentioned, you want to use -usb -usbdevice tablet.

#16 lore raw
Quoted 2 lines · Christian MICHON

on windows 3.0 (my usual testcase) ?
I'll try at least on rh72...

Oh, I doubt that Windows 3.0 has USB support. I also doubt that VMware wrote a driver for it :-) You probably won't have much like with RH7.2 either.

Regards,

Anthony Liguori

Quoted 8 lines · Anthony Liguori
Quoted 1 line

As someone has already mentioned, you want to use -usb -usbdevice tablet.

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

#17 lore raw

well, at least inside rh72, I can see a usb device:
Vendor=0627 ProdID=0001
Product=QEMU USB Tablet

all I need now is:
1) which module to modprobe
2) which /dev/input/event... is used
3) modify XF86config accordingly

and then theoretically it should work... anyone can help me please on rh72 + usb tablet ? Thanks

Quoted 3 lines · Anthony Liguori

Oh, I doubt that Windows 3.0 has USB support. I also doubt that VMware wrote a driver for it :-) You probably won't have much like with RH7.2 either.

#18 lore raw
Quoted 11 lines · Christian MICHON

well, at least inside rh72, I can see a usb device:
Vendor=0627 ProdID=0001
Product=QEMU USB Tablet

all I need now is:
1) which module to modprobe
2) which /dev/input/event... is used
3) modify XF86config accordingly

and then theoretically it should work... anyone can help me please on rh72 + usb tablet ?

I don't know of an X driver for such an old kernel that would work. Sorry.

Regards,

Anthony Liguori

Quoted 12 lines

Thanks

Quoted 3 lines · Anthony Liguori

Oh, I doubt that Windows 3.0 has USB support. I also doubt that VMware wrote a driver for it :-) You probably won't have much like with RH7.2 either.

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

#19 lore raw
Quoted 10 lines · Anthony Liguori
Quoted 9 lines · Christian MICHON

well, at least inside rh72, I can see a usb device:
Vendor=0627 ProdID=0001
Product=QEMU USB Tablet

all I need now is:
1) which module to modprobe
2) which /dev/input/event... is used
3) modify XF86config accordingly

Quoted 9 lines
Quoted 2 lines

and then theoretically it should work... anyone can help me please on rh72 + usb tablet ?

I don't know of an X driver for such an old kernel that would work. Sorry.

Regards,

Anthony Liguori

I don't remember which kernel rh72 ships with.

However, you just need to modprobe evdev.o and use /dev/input/eventN (for me the actual name of the event device varies, but there should only be a single event device there).

The evtouch driver (tested with XFree86 4.2.1) should have no issues with such a setup.

Signature · 2 lines
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.
#20 lore raw

thanks for the tips.
unfortunately, rh72 means xfree86 4.1.0 (event with updates) xfree86 4.2 means at least rh73

I read somewhere that evtouch driver is actually for kernel 2.6 and at least xorg (not xfree 4.x). I tried to fiddle with the usb tablet in rh72, but no luck yet.

One question: which driver is actually used for win98 guest ?

Quoted 34 lines · Jim C. Brown
Quoted 10 lines · Anthony Liguori
Quoted 9 lines · Christian MICHON

well, at least inside rh72, I can see a usb device:
Vendor=0627 ProdID=0001
Product=QEMU USB Tablet

all I need now is:
1) which module to modprobe
2) which /dev/input/event... is used
3) modify XF86config accordingly

Quoted 9 lines
Quoted 2 lines

and then theoretically it should work... anyone can help me please on rh72 + usb tablet ?

I don't know of an X driver for such an old kernel that would work. Sorry.

Regards,

Anthony Liguori

I don't remember which kernel rh72 ships with.

However, you just need to modprobe evdev.o and use /dev/input/eventN (for me the actual name of the event device varies, but there should only be a single event device there).

The evtouch driver (tested with XFree86 4.2.1) should have no issues with such a setup.

--
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.

Quoted 5 lines

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

--
Christian

#21 lore raw
Quoted 9 lines · Christian MICHON

thanks for the tips.
unfortunately, rh72 means xfree86 4.1.0 (event with updates) xfree86 4.2 means at least rh73

I read somewhere that evtouch driver is actually for kernel 2.6 and at least xorg (not xfree 4.x). I tried to fiddle with the usb tablet in rh72, but no luck yet.

One question: which driver is actually used for win98 guest ?

Windows built in hid driver.. works with absolute input messages out of the box.

Signature · 3 lines
"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
#22 lore raw
In reply to Christian MICHON
Quoted 4 lines · Christian MICHON

thanks for the tips.
unfortunately, rh72 means xfree86 4.1.0 (event with updates) xfree86 4.2 means at least rh73

Can't hurt to try.

The driver I have was compiled against Xorg 6.8.2 but it works with Xfree86 4.2.1

The official drivers are compiled against Xorg 6.8 but work with XFree86 4.0 (iirc), so there is a good chance the evtouch driver will work if u try it.

Quoted 3 lines

I read somewhere that evtouch driver is actually for kernel 2.6 and at least xorg (not xfree 4.x). I tried to fiddle with the usb tablet in rh72, but no luck yet.

evtouch definitely works with 4.x

The site claims that evtouch only works with 2.6 kernels though (rather, that it has only been tested on 2.6 kernels). Looking at the source code of evdev.c I don't see any obvious differences that would stop it from functioning with the /dev/input/eventX interface of 2.4 though. I guess what we really need is someone who can test. :)

Quoted 58 lines

One question: which driver is actually used for win98 guest ?

Quoted 38 lines · Jim C. Brown
Quoted 10 lines · Anthony Liguori
Quoted 9 lines · Christian MICHON

well, at least inside rh72, I can see a usb device:
Vendor=0627 ProdID=0001
Product=QEMU USB Tablet

all I need now is:
1) which module to modprobe
2) which /dev/input/event... is used
3) modify XF86config accordingly

Quoted 4 lines
Quoted 2 lines

and then theoretically it should work... anyone can help me please on rh72 + usb tablet ?

I don't know of an X driver for such an old kernel that would work.

Sorry.

Quoted 5 lines

Regards,

Anthony Liguori

I don't remember which kernel rh72 ships with.

However, you just need to modprobe evdev.o and use /dev/input/eventN (for me
the actual name of the event device varies, but there should only be a single
event device there).

The evtouch driver (tested with XFree86 4.2.1) should have no issues with such a setup.

--
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.

Quoted 5 lines

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

--
Christian

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

Signature · 2 lines
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.
#23 lore raw
In reply to Anthony Liguori

Hi Anthony,

Sorry for the late reply. I did try out the patch with my local build and I haven't see that "invisible wall" mouse problem for a few days now.

Thanks very much,
Thomas

Quoted 88 lines · Anthony Liguori
Quoted 4 lines · Thomas Han

Hi,

For what it's worth. I have also seen this "invisible wall" problem with my mouse for a few weeks off the CVS build too.

Can you try out the following patch. *grumbles about SDL's brokenness*

Regards,

Anthony Liguori

Quoted 13 lines

Since 0.8.1 came out yesterday, Instead of using CVS build, I'm now running Qemu 0.8.1 + kqemu-1.3.0pre6. My host OS is FC5 and I'm running XP inside it.

Thanks,
Thomas

On 5/4/06, *Christian MICHON* < [email protected] <mailto:[email protected]>> wrote:

qemu 0.8.0 does not show this invisible barrier issue. if this is worth anything, I use SDL 1.2.9.

Quoted 6 lines

If someone can reproduce the issue also on linux hosts, there could be a lead.

On 5/4/06, Christian MICHON <[email protected] <mailto:[email protected]>> wrote:
> I removed manually vnc_display_init, and this is not the

culprit...

Quoted 12 lines
Quoted 2 lines

I'll check anyway versus qemu-0.8.0...

    --
    Christian


    _______________________________________________
    Qemu-devel mailing list
    [email protected] <mailto:[email protected]>
    http://lists.nongnu.org/mailman/listinfo/qemu-devel
Quoted 7 lines

------------------------------------------------------------------------

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

diff -r 39a6dd1136c6 sdl.c

sdl.c Thu May 04 21:30:11 2006 -0500 renamed from sdl.c Thu May 04 04:13:13 2006 +0000 +7 -2
@@ -280,13 +280,18 @@ static void sdl_update_caption(void)
 
 static void sdl_hide_cursor(void)
 {
-    SDL_SetCursor(sdl_cursor_hidden);
+    if (kbd_mouse_is_absolute()) {
+       SDL_ShowCursor(1);
+       SDL_SetCursor(sdl_cursor_hidden);
+    } else {
+       SDL_ShowCursor(0);
+    }
 }
 
 static void sdl_show_cursor(void)
 {
     if (!kbd_mouse_is_absolute()) {
-       SDL_SetCursor(sdl_cursor_normal);
+       SDL_ShowCursor(1);
     }
 }
 

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

#24 lore raw

Re: [Qemu-devel] QEMU 0.8.1 - Invisible wall

Quoted 102 lines · Thomas Han

Hi Anthony,

Sorry for the late reply. I did try out the patch with my local build and I haven't see that "invisible wall" mouse problem for a few days now.

Thanks very much,
Thomas

Quoted 82 lines · Anthony Liguori
Quoted 4 lines · Thomas Han

Hi,

For what it's worth. I have also seen this "invisible wall" problem with my mouse for a few weeks off the CVS build too.

Can you try out the following patch. *grumbles about SDL's brokenness*

Regards,

Anthony Liguori

Quoted 13 lines

Since 0.8.1 came out yesterday, Instead of using CVS build, I'm now running Qemu 0.8.1 + kqemu-1.3.0pre6. My host OS is FC5 and I'm running XP inside it.

Thanks,
Thomas

On 5/4/06, *Christian MICHON* < [email protected] <mailto:[email protected]>> wrote:

qemu 0.8.0 does not show this invisible barrier issue. if this is worth anything, I use SDL 1.2.9.

Quoted 6 lines

If someone can reproduce the issue also on linux hosts, there could be a lead.

On 5/4/06, Christian MICHON <[email protected] <mailto:[email protected]>> wrote:
> I removed manually vnc_display_init, and this is not the

culprit...

Quoted 13 lines
Quoted 2 lines

I'll check anyway versus qemu-0.8.0...

    --
    Christian


    _______________________________________________
    Qemu-devel mailing list
    [email protected] <mailto:[email protected]>
    http://lists.nongnu.org/mailman/listinfo/qemu-devel

------------------------------------------------------------------------

Quoted 6 lines

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

diff -r 39a6dd1136c6 sdl.c

sdl.c Thu May 04 21:30:11 2006 -0500 renamed from sdl.c Thu May 04 04:13:13 2006 +0000 +7 -2
@@ -280,13 +280,18 @@ static void sdl_update_caption(void)
 
 static void sdl_hide_cursor(void)
 {
-    SDL_SetCursor(sdl_cursor_hidden);
+    if (kbd_mouse_is_absolute()) {
+       SDL_ShowCursor(1);
+       SDL_SetCursor(sdl_cursor_hidden);
+    } else {
+       SDL_ShowCursor(0);
+    }
 }
 
 static void sdl_show_cursor(void)
 {
     if (!kbd_mouse_is_absolute()) {
-       SDL_SetCursor(sdl_cursor_normal);
+       SDL_ShowCursor(1);
     }
 }
 
Quoted 7 lines

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

------------------------------------------------------------------------

Quoted 6 lines

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

On my installation (v0.8.1 with WindowsXP host) the "invisible wall" can be avoided or reproduced at will and I guess this indicates what´s wrong.

After leaving MouseGrab with Ctrl-Alt there will be an invisible wall if I reenter by clicking with the host's mouse pointer far away from where the quest-OS-pointer is. On the other hand if I reenter by carefully clicking exactly at the guest-OS-pointer they will be in sync and everything seems to be OK. I haven´t been looking at the source-code, but my suggestion is that in the Click-event-handler where Mousegrab is entered the guest-OS pointer coordinates should be passed rather than the host's coordinates (simulating a click at the exakt right position). Regards
Dan Sandberg

#25 lore raw
In reply to Christian MICHON
Quoted 4 lines · Christian MICHON

seen on winXP host (kqemu independent): sometimes the pointer inside the guest hits like an invisible wall and cannot go any further. This happens on a win2003 bartpe based guest and on a RedHat 7.2 livecd (superrescue 2.1.2).

I've seen this for a few weeks in CVS as well on win98 guest. There seems to be a work around. If you roll your mouse around a lot and far distances, it seems to recalibrate itself or something and the invisible wall goes away.

During the emails on the usb tablet development, I saw a few comments about having mouse acceleration turned on in windows could cause mouse confusion. I haven't bothered trying to turn that off but that may also fix it.

Chris

#26 lore raw

yes, but this is a painful way to recalibrate. Apparently, there's a confusion inside absolute coord and relative coord between guest and host.

Turning off acceleration is not helping at all. Unfortunately

Quoted 10 lines · Chris Bagwell

I've seen this for a few weeks in CVS as well on win98 guest. There
seems to be a work around. If you roll your mouse around a lot and far
distances, it seems to recalibrate itself or something and the invisible wall goes away.

During the emails on the usb tablet development, I saw a few comments about having mouse acceleration turned on in windows could cause mouse confusion. I haven't bothered trying to turn that off but that may also fix it.

Quoted 8 lines

Chris

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

--
Christian

#27 lore raw
In reply to Fabrice Bellard
Quoted 4 lines · Fabrice Bellard

Hi,

QEMU version 0.8.1 is available at http://bellard.org/qemu/download.html.

qemu-system-sparc.exe doesn't work. A patch is below.

Regards,
Kazu

loader.c Thu May 4 17:35:10 2006 renamed from loader.c Thu May 4 05:32:58 2006 +1 -1
@@ -200,7 +200,7 @@
     int fd, data_order, must_swab, ret;
     uint8_t e_ident[EI_NIDENT];
 
-    fd = open(filename, O_RDONLY);
+    fd = open(filename, O_RDONLY | O_BINARY);
     if (fd < 0) {
         perror(filename);
         return -1;