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

Dragging around is very laggy when the Moon is selected zoomed out #3804

Open
henrysky opened this issue Jul 8, 2024 · 8 comments
Open

Dragging around is very laggy when the Moon is selected zoomed out #3804

henrysky opened this issue Jul 8, 2024 · 8 comments

Comments

@henrysky
Copy link

henrysky commented Jul 8, 2024

Expected Behaviour

Dragging around even when the Moon is selected is not laggy.

Actual Behaviour

Dragging around is laggy when the Moon is selected when zoomed out. Mouse dragging is fine with other objects selected like the Sun, other planets, stars, nebulae...

This maybe is a MacOS specific issue as I cannot reproduce this issue on Windows with Nvidia graphics.

Steps to reproduce

Zoom out and select the Moon, it will be very laggy if you use your mouse to drag around. You can then select other object like the Sun, everything would be fine when you use your mouse to pan around. Selecting the moon when zoomed in does not have such issue, only zoomed out.

I have recorded a video to demonstrate

My.Movie.mp4

System

  • Stellarium version: 24.2 qt6 arm64
  • Operating systepm: MacOS 14.5
  • Graphics Card: Apple Silicon M3 Pro 18 GPU cores
  • Screen type (if applicable): 3024x1964 native resolution, 200% scaling

Logfile

log.txt

@henrysky
Copy link
Author

henrysky commented Jul 8, 2024

Actually I also just found out having a window that is not focused while dragging also make it very laggy, maybe the same root cause as this issue so I am just gonna post it here. Also cannot reproduce on Windows with Nvidia graphics.

Here is a demo:

Screen.Recording.2024-07-08.at.7.53.25.PM.mov

@alex-w
Copy link
Member

alex-w commented Jul 9, 2024

@henrysky could you please check qt5-based package also?

@10110111
Copy link
Contributor

10110111 commented Jul 9, 2024

Does the object selection slowdown happen only with the Moon? What if you select Sun or some small unnamed star?

@Atque
Copy link
Contributor

Atque commented Jul 9, 2024

Do you have a large number of asteroids/comets loaded?

@henrysky
Copy link
Author

henrysky commented Jul 9, 2024

Thanks all for your reply! The strange thing is panning around only laggy if using the macbook touchpad when the Moon is selected but not mouse which similar thing actually have been mentioned in #2947.

@alex-w using qt5 will also force it to use rosetta 2?

@10110111 Yes only happen to the Moon when using macbook touchpad and zoomed out (it is fine if using a mouse no matter what the zoom level is). If select the Sun or other stars, it is fine even with macbook touchpad no matter what the zoom level is. And I notice the framerate is always good even when panning around is laggy.

I think maybe the "halo" around the moon has something to do with this somehow. You can see in the following demo (using macbook touchpad only, no mouse) with atmosphere turned off (so you can see the halo effect around the moon), pan around is fine when the Moon is not selected. Then select the Moon, pan around is laggy. Then zoom in to the Moon until the "halo" disappeared, then pan around is very smooth. You can also see how much laggy-ness also seems to relate how much halo the Moon has when it is selected.

My.Movie.mp4

@Atque I did not add any asteroids/comets manually.

@alex-w
Copy link
Member

alex-w commented Jul 9, 2024

Yes for rosetta 2

@gzotti
Copy link
Member

gzotti commented Jul 9, 2024

Sounds like the old (or yet another) Mac touchpad issue for me.

@worachate001
Copy link
Member

I tried switching the atmosphere model to Preetham, the lag seems to completely gone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

6 participants