New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gnome flags SFML windows unresponsive. #1089
Comments
Something I've noticed today is that when there is another opengl window open (I'm playing Axiom Verge to be clear. It uses SDL2 through FNA monogame fork) I don't get this message. Go figure :) EDIT: As a side note SDL2 has a window hint that disable _NET_WM_PING completely. It might be a good option actually: https://wiki.libsdl.org/SDL_HINT_VIDEO_X11_NET_WM_PING EDIT2: After a little further investigation to the source code of both SDL2 and SFML, I've noticed that apart from sending a ping while event dispatching, SDL also sends a ping inside its window creating function: https://github.com/spurious/SDL-mirror/blob/master/src/video/x11/SDL_x11window.c#L587 |
Hi, |
Hello, Edit: It seems that this issue does not occur on the same computer if KDE 5.19.0 is used instead of Gnome. If I switch back to Gnome, the issue reappears. |
This is promising. Any news on this? |
I can confirm I have the same issue on Ubuntu 16.04 with Gnome 3.18 Another issue that I've had is once this is triggered any input via SFML is activated and will not stop. I.e. if I was moving a character to the right, when the unresponsive error appears then I would not be able to stop moving to the right. |
Try out the bugfix/xlib branch and see if it fixes the problem. |
@tapir, @SirSharpest, @bsaleil, @buchwj can you try the bugfix/xlib branch? CI snapshots can be found here. |
@eXpl0it3r for me it looks like its fixed. thank you |
Thanks for trying to fix that @binary1248. |
Yep that's sorted. What was the issue out of curiosity? |
From what I understand they completely switched from XCB to Xlib. I'm ok with it since XCB never lived up to its potential and it doesn't have to anymore since we will have Wayland in the near future. |
Okay, so to fix it we have to use a special branch or just use 2.4 ? because in my school everyone use gnome and SFML and everyone have this issue (we are 500+) |
@Ostefanini You can test the bugfix/xlib branch and may fix this issue. |
I am very interested to use this fix, how to ? |
You can compile the 2.4.x branch. |
Can we maybe get a 2.4.1 release so that distros pick it up? |
Okay, as ever cmake && make && sudo make install ? |
@Ostefanini: Essentially, yes, just don't forget to switch branch first. Switch to the 2.4.x branch:
Build:
Install:
@tapir: It's planned, but there are a few other open issues for 2.4.1. |
Yeah yeah, for sure it was just about the compile part. Love cmake, and love sfml. |
As discussed on the topic: http://en.sfml-dev.org/forums/index.php?topic=19715
There is a fix #947 that is not working for me. I'm on Arch Linux with Gnome 3.20 and tried the SFML/CSFML from the official repos along with compiling the latest git versions of both of them and the window is still flagged as unresponsive. It doesn't have to be fullscreen as suggested. It always happens.
@binary1248, After a quick chat with a "Clutter" developer on IRC, it's certain that this only happens if the application doesn't respond properly to _NET_WM_PING. I asked specifically if anything else can cause this and the answer was no. I don't know if that helps but that's the only information I got.
The text was updated successfully, but these errors were encountered: