Stellarium / stellarium

Stellarium is a free GPL software which renders realistic skies in real time with OpenGL. It is available for Linux/Unix, Windows and macOS. With Stellarium, you really see what you can see with your eyes, binoculars or a small telescope.
https://stellarium.org
GNU General Public License v2.0
7.74k stars 820 forks source link

Stellarium 0.20.2 freezed at start on Win10 (with TelescopeControl) #1142

Open bemo47 opened 4 years ago

bemo47 commented 4 years ago

Expected Behaviour

Actual Behaviour

Describe or maybe attach a screenshot?

Steps to reproduce

System

Logfile

If possible, attach the logfile log.txt from your user data directory. Look into the Guide for its location.

github-actions[bot] commented 4 years ago

Thanks for adding your first issue to Stellarium. If you have questions, please do not hesitate to contact us.

bemo47 commented 4 years ago

I installed the last Stellarium version, 0.20.2 on my Windows 10 1909

When i activate the plugin Telescope Control, after restart of Stellarium, it opens full screen as usual but i cannot do anything on the menus.

Everything is freezed.

I did uninstall Stellarium, and install it again but its same.

Regards

Bernard

log.txt

bemo47 commented 4 years ago

oh, sorry, but now, after about 1 hour, i tried again and it works normally .... I really don't understand why i had these freeze but now it seams ok.

bemo47 commented 4 years ago

and sorry again, but after some trials without issues, now it start again to freeze.....

gzotti commented 4 years ago

Quoting from the report template which you apparently preferred to ignore:

Logfile

If possible, attach the logfile log.txt from your user data directory. Look into the Guide for its location.

bemo47 commented 4 years ago

logfile is attached in the first message

bemo47 commented 4 years ago

but i attach it again here log.txt

gzotti commented 4 years ago

These are from successful runs (unloading plugin modules at shutdown...)

bemo47 commented 4 years ago

yes but i can't do anything on stellarium, its freezed, when i move my cursor i cannot see the menus, the screen doesn't move, so at the end i do a close of the windows throught the alt+tab function

gzotti commented 4 years ago

When Stellarium is frozen and you kill it, the logfile should look different.

You can try ANGLE or MESA modes to see if it's a graphics problem.

bemo47 commented 4 years ago

here again, new trial just now, stellarium opens, full screen but totally freezed after that.

log.txt

bemo47 commented 4 years ago

ok, tried with ANGLE and it worked, what can be the conclusion ? should i work with ANGLE ?

bemo47 commented 4 years ago

MESA working also

gzotti commented 4 years ago

Was this a fresh install or did you update? Maybe delete/rename config.ini to start with fresh defaults. I cannot say what may not work with OpenGL, but if ANGLE works, then just use it.

bemo47 commented 4 years ago

its an update from previous version of Stellarium but i did an unisntall and asked to remove all files before installing the new 0.20.2 version. but i can go to my disk and check if the config.ini has been deleted too. anyway, with the ANGLE or MESA it will work well also ?

gzotti commented 4 years ago

ANGLE should be almost as fast, it just translates OpenGL to DirectX. MESA on Windows runs on the CPU only, so this is much slower, but a last fallback if the GPU is bad. But a Geforce with current drivers should usually be fine.

bemo47 commented 4 years ago

ok, thanks, but what i noticed is that it freeze only after activation of the telescope control plugin. When i open Stellarium at first its ok, then i select and activate the plugin, then restart, and now its freezed.

gzotti commented 4 years ago

OK. Sorry, but freezing telescopes are not my territory. At least this is some indication what may fail.

bemo47 commented 4 years ago

ok, anyway thanks for having found a bypass :) and now i can launch with the normal stellarium and it works !!! really strange...

alex-w commented 4 years ago

Are you defined to auto connect to the mount in the Telescope Control plugin and tried startup planetarium without connection of hardware?

bemo47 commented 4 years ago

no auto connect, anyway it seems that i can't click this option, but i don't need

image

ManyExposures commented 4 years ago

no auto connect, anyway it seems that i can't click this option, but i don't need

image

I have the same issue. No matter what I try (OpenGL or MESA) the auto-connect at startup is greyed out. Also, at startup, the scope/mount circle stops somewhere on the east and only comes to the celestial pole if I park and unpark EQMOD. This just started to happen with this 20.2 release.

gzotti commented 4 years ago

This is not OpenGL vs. ANGLE.

Finally I see ASCOM selected. Maybe @gionkunz can help you? What was the version of Stellarium that worked for you before?

gionkunz commented 4 years ago

I know there was an issue with ASCOM telescopes automatically starting on Stellarium start when there was no gear connected. Was disabling the auto start feature when ASCOM was selected as a quick fix / workaround to prevent that from happening? Maybe there's something wrong there and the telescope is set to automatically start even if the checkbox is not ticked and disabled?

@ManyExposures @bemo47 Can you post your setting files? @gzotti do you recollect the location on Windows where the telescope configuration is written to?

gzotti commented 4 years ago

That should be $USER_DATA\modules\TelescopeControl\telescopes.json Some flags also in $USER_DATA\config.ini, but these probably are not important here. I am not really familiar with the TC plugin code. You have certainly already gained more insight.

ManyExposures commented 4 years ago

I know there was an issue with ASCOM telescopes automatically starting on Stellarium start when there was no gear connected. Was disabling the auto start feature when ASCOM was selected as a quick fix / workaround to prevent that from happening? Maybe there's something wrong there and the telescope is set to automatically start even if the checkbox is not ticked and disabled?

@ManyExposures @bemo47 Can you post your setting files? @gzotti do you recollect the location on Windows where the telescope configuration is written to?

@gionkunz thanks for the response. Last night I worked a little longer on this and found the cause of the problem. It was on EQMOD. I ran ASCOM diagnostics and one of the checks for EQMOD failed. I googled the error and an old post on Sratgazers Lounge gave me the clue. The trick was to delete all the EQMOD .ini files. Did that, re-register EQMOD, put my location in, and found the COM port and all good now. The checkbox for open on startup is available and stays checked.

What caused the problem with EQMOD? My guess is that when I was playing with the Park script in APT the other night it may have stored a park point out there on the east where I was at the moment. This is just a guess.

My issue was not related to Stellarium 20.2.

Thank you for offering to help.

Clear skies

alex-w commented 4 years ago

Hmmm... Could you install version 0.20.1 into separate directory and check behavior of plugin with automatic connection mode?

ManyExposures commented 4 years ago

Alex. I tried to go back to version 20.1 that I had no issues with before and the same behaviuor as 20.2. That is when I realized the problem was not with Stellarium.

So I did this as posted here

https://github.com/Stellarium/stellarium/issues/1142#issuecomment-654806173

gionkunz commented 4 years ago

Okay, @ManyExposures , glad you found the issue :-) Let's wait for a reply of the OP @bemo47 to see if there's a similar issue

alex-w commented 4 years ago

@gionkunz could you check an issue with ASCOM telescopes automatically starting on Stellarium start when there was no gear connected? I mean removing my hack to disabling autoconnecting.

gionkunz commented 4 years ago

Hi @alex-w , ah so that is actually put into place :-) Thanks for clarifying! Makes sense to disable auto-connect for ASCOM as long as the bug is there as a short term measure!

I'll need to see when I find time for this, hopefully sometime this week. Will keep you guys updated.

Cheers Gion

gzotti commented 2 months ago

@gionkunz @alex-w what's the state here? Do we need to keep it open?

alex-w commented 2 months ago

@gionkunz @alex-w what's the state here? Do we need to keep it open?

This is sad, but yes - we need to keep it open until classical ASCOM is supported by Stellarium.