http://bugs.winehq.org/show_bug.cgi?id=9142
--- Comment #17 from Alexandre Julliard <julliard(a)winehq.org> 2009-10-17 03:50:42 ---
You can't do that. The server must never block.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9142
--- Comment #16 from Peter Dons Tychsen <donpedro(a)tdcadsl.dk> 2009-10-16 20:09:58 ---
I think removing O_NONBLOCK might be a bit drastic. Maybe it should be applied
after the file has been opened with fcntl().
That would fix the problem with the failing open() and still keep the
O_NONBLOCK flag.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9142
--- Comment #15 from Peter Dons Tychsen <donpedro(a)tdcadsl.dk> 2009-10-16 19:57:16 ---
Andrew, please give the patch a spin.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9142
--- Comment #13 from Peter Dons Tychsen <donpedro(a)tdcadsl.dk> 2009-10-16 19:46:22 ---
OK now is see the bug.
Tricky!
I think the problem is in the wine-server:
1) wine-server opens all file with O_NONBLOCK. As described here:
http://linux.die.net/man/2/fcntl, the O_NONBLOCK can result in a EAGAIN if
there is a lock present.
2) EAGAIN is translated into a sharing violation in wine-server, and then it is
game over.
EAGAIN makes sense on unix programs (who might understand it and try again),
but i am not sure it makes that much sense for a windows program. I am not sure
Windows has this concept. Therefore setting O_NONBLOCK might be incorrect.
The attached patch removes O_NONBLOCK, and allows Andrews example to work.
Removing O_NONBLOCK might have the side effect that it will take longer for
dead network links to time-out, but i think this is OK as that actually
emulates very well what happens on Windows (net time-outs take forever on
windows).
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=5586
--- Comment #23 from adres7(a)gmail.com 2009-10-16 14:07:01 ---
When game starts with "engine 0", game works good but slow and look at "Screen
with -engine 0".
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=5586
--- Comment #20 from Henri Verbeet <hverbeet(a)gmail.com> 2009-10-16 13:08:05 ---
(In reply to comment #19)
> The issue you are seeing is a different bug and I'm not sure whether it is a
> Wine or GLX bug. At this point the glxinfo output looks correct and it should
> never be able to call glXCreatePbuffer but for some reason it is called. As
> Henri mentioned create a +wgl log, so run: WINEDEBUG=+wgl wine tibia.exe &> log
> and post that log.
>
The GLX message is just a warning, but the screen being offset from the bottom
of the window does look like the existing screenshot in this bug. That GLX
warning is still something that should be fixed, but it's not something for
this bug.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=5586
Roderick Colenbrander <thunderbird2k(a)gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |thunderbird2k(a)gmail.com
--- Comment #19 from Roderick Colenbrander <thunderbird2k(a)gmail.com> 2009-10-16 12:57:28 ---
The issue you are seeing is a different bug and I'm not sure whether it is a
Wine or GLX bug. At this point the glxinfo output looks correct and it should
never be able to call glXCreatePbuffer but for some reason it is called. As
Henri mentioned create a +wgl log, so run: WINEDEBUG=+wgl wine tibia.exe &> log
and post that log.
Roderick
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.