Emulator Issues #2792
closedGames freeze untill mouse is clicked inside window.
0%
Description
What steps will reproduce the problem?
1.run Dolphin svn
2.when playing game, game will sometimes act "paused" and will only continue once mouse has been clicked on window.
What is the expected output? What do you see instead?
No pause should exist there.
Dolphin version with the problem? Other Dolphin version without the
problem?
problem in 5643, none in 4883
32-bit or 64-bit and any other build parameters?
64 bit
OS version and versions of tools/libraries used?
latest archlinux
Please provide any additional information below.
tried many different settings to make sure those weren't causing this and none of them changed the functionality.
Updated by GameZelda2 over 14 years ago
Something similar happens to me with a 64-bit Debian, using a revision from a few months ago and a revision from about a month ago.
There are moments where the games work correctly (without pausing), but sometimes the game won't run unless I move the mouse over the window or click it.
Updated by Karloathian over 14 years ago
Found a fix thats works for me and it's pretty simple:
change
Source/Plugins/Plugin_VideoOGL/Src/GLUtil.cpp line 168 from
for (int num_events = XPending(GLWin.dpy); num_events > 0; num_events--) {
to
for (int num_events = XPending(GLWin.dpy) -1; num_events > 0; num_events--) {
The XEvent loop was looking for 1 too many events, which caused XNextEvent to hang until it got another event, which in turn prevented XLib input driver from querying the mouse and keyboard in a seperate thread.
Updated by classic.gamer0 over 14 years ago
Karloathian's fix is working for me with the latest revision (5743) on my updated Arch64 install.
Updated by glennricster over 14 years ago
- Status changed from Fixed to Questionable
This is wrong. It sounds like the x server implementation on these distributions that are having this problem has a bug in it. Now if there is a single event occurs it is not detected until the next event occurs. This must be reverted immediately.
Updated by glennricster over 14 years ago
- Status changed from Questionable to Duplicate