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

Stellarium waiting several seconds on 'Audio' at startup #3725

Open
freebrowser1 opened this issue Apr 27, 2024 · 6 comments
Open

Stellarium waiting several seconds on 'Audio' at startup #3725

freebrowser1 opened this issue Apr 27, 2024 · 6 comments
Assignees
Labels
infrastructure Infrastructure related issues state: in progress The problem is in process of solution... state: waiting feedback Waiting for user feedback
Milestone

Comments

@freebrowser1
Copy link

When starting Stellarium it shows a splash screen showing what is loading and then it starts Stellarium normally.
The issue is that in the splash screen I see 'Initializing audio...' which takes several seconds. But In don't have audio (and why does a planetarium app need sound ?) so this is completely useless.

Expected Behaviour

No audio loading.

Actual Behaviour

Loading Audio at startup takes several seconds.

Steps to reproduce

Start Stellarium on Ubuntu without sound drivers.
Screenshot 2024-04-27 at 11 01 19

System

  • Stellarium version: 24.1 installed with apt package manager in Ubuntu.
  • Operating system: Ubuntu 22.04.4
  • Graphics Card: ? (it is not a graphics issue)
  • Screen type (if applicable): 1366x768 (it happens at any resolution)

Logfile

stellarium 2>&1 | tee err2 results in attached file.
err2.log

@alex-w
Copy link
Member

alex-w commented Apr 27, 2024

Is it from our PPA?

@alex-w alex-w added this to Needs triage in OS: Linux/UNIX via automation Apr 27, 2024
@freebrowser1
Copy link
Author

Is it from our PPA?

Yes, after installing Ubuntu and Stellarium with apt install stellarium I got Stellarium 20.1 and then I did
sudo add-apt-repository ppa:stellarium/stellarium-releases and reinstalled with apt install stellarium and then I got the latest 24.1 version.

@10110111
Copy link
Contributor

and why does a planetarium app need sound ?

I also thought this first of all. From the code it looks like it's only used in the scripting engine, to make it possible for scripts to emit sounds.

@alex-w alex-w self-assigned this Apr 27, 2024
@gzotti
Copy link
Member

gzotti commented Apr 27, 2024

Yes, audio is required by the scripting engine, so this is required. Just like you have an audio system in a physical planetarium.
Is the actual audio initialisation taking so long, or is the next relevant message just late?
If we want to be greedy with CPU cycles, add yet another config option to disable multimedia modules, and message handling in the scripting engine for the case that the Multimedia part has not been initalized.

@alex-w alex-w moved this from Needs triage to In progress in OS: Linux/UNIX May 11, 2024
@alex-w alex-w added this to the 24.2 milestone May 11, 2024
@alex-w alex-w added the infrastructure Infrastructure related issues label May 11, 2024
@alex-w
Copy link
Member

alex-w commented May 13, 2024

Please check the fresh beta version of Stellarium:
https://code.launchpad.net/~stellarium/+archive/ubuntu/stellarium-beta

@alex-w alex-w added state: in progress The problem is in process of solution... state: waiting feedback Waiting for user feedback labels May 13, 2024
Copy link

Hello @freebrowser1!

We really need your feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infrastructure Infrastructure related issues state: in progress The problem is in process of solution... state: waiting feedback Waiting for user feedback
Projects
OS: Linux/UNIX
  
In progress
Development

No branches or pull requests

4 participants