Skip to content
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

GUI stops updating unless the window is resized on some Linux setups #358

Closed
nazar-pc opened this issue Sep 29, 2018 · 16 comments
Closed

GUI stops updating unless the window is resized on some Linux setups #358

nazar-pc opened this issue Sep 29, 2018 · 16 comments

Comments

@nazar-pc
Copy link

nazar-pc commented Sep 29, 2018

System information

SolveSpace version: 3.0~fb138f49 (from ppa) and also happens in 3.0~88d59ea7 (compiled myself a while ago)

Operating system: Ubuntu 18.10

Expected behavior

Rotation/zoom changes should be rendered immediately.

Actual behavior

They are rendered only after SolveSpace's window resizing
Demo: https://nextcloud.mokrynskyi.com/s/r8A8bdewa3qtZFK

Additional information

I believe this is a regression I've got after upgrading from Mesa 18.1.5 to 18.2.1, which fixed one bug I had and introduced this one.
UPD: The same happens on Mesa 18.3 from Git
UPD 2: Software rendering with LIBGL_ALWAYS_SOFTWARE=1 solvespace works nice and smooth, but menu is not rendering until clicked for the first time on each menu item.
UPD 3: Mesa bug report: https://bugs.freedesktop.org/show_bug.cgi?id=108097

@whitequark
Copy link
Contributor

Indeed, I've been seeing these issues as well. I've spent many days poring over SolveSpace's OpenGL code and found absolutely nothing; half of my debugging tools do not indicate that I'm doing anything wrong at all, and the other perturb the environment just enough to make the bugs disappear. These are very frustrating.

@diggit
Copy link

diggit commented Sep 30, 2018

Can't reproduce this problem.
Distro: Arch
WM: i3
Solvespace: 258545a
Mesa: 18.2.1-1
GFX: Intel® HD Graphics 4000

@nazar-pc
Copy link
Author

nazar-pc commented Sep 30, 2018

@diggit are you using compositor? I have Qtile with Compton and no window decorations.
Also your GPU is a bit older, so I guess this issue might be caused for some optimizations for newer generations that are not applied to older ones.

@diggit
Copy link

diggit commented Sep 30, 2018

Usually, I do not use compositor. Now I tested solvespace with compton and xcompmgr using some default config and everything seemed ok. That probably points to HW specific problem or some special SW combination/settings.

@whitequark
Copy link
Contributor

Closing as upstream bug (see comment).

@whitequark
Copy link
Contributor

Keeping this open since people are still hitting it...

@mkyral
Copy link

mkyral commented Oct 16, 2018

I'm affected as well. On my first computer with nVidia graphics SolveSpace works, but on second with only Intel graphics not.

Both laptops have Gentoo Linux and KDE with compositor (kwin). On both SolveSpace compiled from sources. nVidia one compiled at 22:42:50 1.10.2018 (3.0~258545a3). The Intel only version I will check tomorrow.

@whitequark
Copy link
Contributor

Yep. Unfortunately there is nothing I can do as this is an upstream bug. I'm sorry.

@whitequark whitequark changed the title Rotation/zoom changes are not rendered until window is resized GUI stops updating unless the window is resized on Linux Intel graphics Oct 16, 2018
@mkyral
Copy link

mkyral commented Oct 17, 2018

Yep. Unfortunately there is nothing I can do as this is an upstream bug. I'm sorry.

Just tested a patch in upstream bug and it fixed SolveSpace behaviour on my i965.

@nazar-pc
Copy link
Author

Fixed in git, I can confirm that it now works better than ever before.

@PhilipAnderson
Copy link

Was this supposed to be fixed?
I have suddenly hit it after updating my Ubuntu 18.04.2, I am running mesa 18.2.2, and Solvespace compiled from source.

@whitequark
Copy link
Contributor

I have also hit this recently with NVidia graphics. Unfortunately still no idea what causes it. Sorry.

@whitequark whitequark changed the title GUI stops updating unless the window is resized on Linux Intel graphics GUI stops updating unless the window is resized on some Linux setups Mar 1, 2019
@PhilipAnderson
Copy link

Sorry to keep bumping this old issue, but I just managed to get it working again by using updated drivers from this PPA: https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers , hopefully it may help others too.

So now I can use Solvespace again :)

Thanks for your work on this great program.

@philtipping
Copy link

philtipping commented Mar 1, 2019 via email

@supertaz
Copy link

supertaz commented Jun 7, 2019

Thus far, I haven't hit this, except for the menu bug. I'm using Ubuntu 18.04 and NVidia RTX cards.

@whitequark whitequark pinned this issue Jun 8, 2019
@whitequark
Copy link
Contributor

I'm closing this because it's a fixed upstream bug I can't do anything about, but I'm also pinning it so that people can see it easily if they also have that problem.

@phkahler phkahler unpinned this issue May 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants