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

Upgrade of Stellarium from 1.0 to 1.1 on raspberry makes all graphics below horizon disappear including menus. #2811

Closed
mgrouch opened this issue Nov 2, 2022 · 32 comments
Labels
help wanted We may not have the hardware or expertise need more info Read the guidelines how to report properly, or we have new questions/suggestions to try
Milestone

Comments

@mgrouch
Copy link

mgrouch commented Nov 2, 2022

Raspberry Pi Bullseye,
stellarium_1.1-upstream1.2~ubuntu20.04.1_arm64.deb

started using script:


#!/bin/bash

# hack to control Stellarium azimuth by true north heading from signalK

MESA_GL_VERSION_OVERRIDE=3.0 MESA_GLSL_VERSION_OVERRIDE=130 onlyone stellarium "$@"  &
sleep 12

i=0
while [[ -n "$(pidof stellarium)" ]]
do
  # magnetic variation
  if [[ $((i%20)) == 0 ]]; then
    MV=$(curl -s http://localhost:3000/signalk/v1/api/vessels/self/navigation/magneticVariation/value)
    i=0
  fi
  # magnetic heading
  MH=$(curl -s http://localhost:3000/signalk/v1/api/vessels/self/navigation/headingMagnetic/value)
  if [ -n "$MH" ] && [ -n "$MV" ]; then
    # true heading
    HT=$(echo "$MH" + "$MV" - 3.1415926535 | bc)
    # control Stellarium azimuth
    curl -X POST -d "az=$HT" 'http://localhost:8090/api/main/view'
  fi
  # control Stellarium location
  POS="$(curl -s http://localhost:3000/signalk/v1/api/vessels/self/navigation/position/ | jq -M -jr '"latitude=",.value.latitude,"&longitude=",.value.longitude')"
  if [ -n "$POS" ] && [ "latitude=null&longitude=null" != "$POS" ]; then
    curl -X POST -d "altitude=2&${POS}&name=Current" 'http://localhost:8090/api/location/setlocationfields'
  fi
  sleep 3
  i=$((i+1))
done

@mgrouch
Copy link
Author

mgrouch commented Nov 2, 2022

Even if it is started like this:


MESA_GL_VERSION_OVERRIDE=3.0 MESA_GLSL_VERSION_OVERRIDE=130 stellarium

@alex-w
Copy link
Member

alex-w commented Nov 2, 2022

Please try MESA_GL_VERSION_OVERRIDE=3.0 MESA_GLSL_VERSION_OVERRIDE=130 stellarium --opengl-compat

@mgrouch
Copy link
Author

mgrouch commented Nov 2, 2022 via email

@alex-w
Copy link
Member

alex-w commented Nov 2, 2022

Please enable OpenGL debugging and share log from Stellarium

@alex-w alex-w added the bug Something likely wrong in the code label Nov 2, 2022
@mgrouch
Copy link
Author

mgrouch commented Nov 2, 2022 via email

@alex-w
Copy link
Member

alex-w commented Nov 2, 2022

How do I enable OpenGL debugging? Thanks

stellarium --dump-opengl-details

@mgrouch
Copy link
Author

mgrouch commented Nov 2, 2022

@alex-w

Attaching log

s.log

@mgrouch
Copy link
Author

mgrouch commented Nov 2, 2022 via email

@10110111
Copy link
Contributor

10110111 commented Nov 2, 2022

makes all graphics below horizon disappear including menus

How does it look? Could you post a screenshot?

@mgrouch
Copy link
Author

mgrouch commented Nov 2, 2022

makes all graphics below horizon disappear including menus

How does it look? Could you post a screenshot?

@10110111

Expected:
expected

Bad:
bad

@alex-w
Copy link
Member

alex-w commented Nov 2, 2022

I see in the log:

Xlib: sequence lost (0x101bd > 0x1bf) in reply type 0x0!
Xlib: sequence lost (0x101d4 > 0x1d6) in reply type 0x0!
Xlib: sequence lost (0x101d9 > 0x1db) in reply type 0x0!
Xlib: sequence lost (0x101de > 0x1e0) in reply type 0x0!

and something strange happening for initialisation of OpenGL profile - this is not very good

@mgrouch
Copy link
Author

mgrouch commented Nov 2, 2022

I see in the log:

Xlib: sequence lost (0x101bd > 0x1bf) in reply type 0x0!
Xlib: sequence lost (0x101d4 > 0x1d6) in reply type 0x0!
Xlib: sequence lost (0x101d9 > 0x1db) in reply type 0x0!
Xlib: sequence lost (0x101de > 0x1e0) in reply type 0x0!

and something strange happening for initialisation of OpenGL profile - this is not very good

Where can I download previous version?
It worked for me. And it was here:


wget http://ppa.launchpad.net/stellarium/stellarium-releases/ubuntu/pool/main/s/stellarium/stellarium_1.0-upstream1.0~ubuntu20.04.1_arm64.deb
wget http://ppa.launchpad.net/stellarium/stellarium-releases/ubuntu/pool/main/s/stellarium/stellarium-data_1.0-upstream1.0~ubuntu20.04.1_all.deb



@gzotti
Copy link
Member

gzotti commented Nov 3, 2022

I see esp. Core 3.0 profile and Mesa. The RPi has no more, and should be forced to OpenGL ES2.0 mode. I am not available for testing this week.

@mgrouch
Copy link
Author

mgrouch commented Nov 3, 2022 via email

@alex-w
Copy link
Member

alex-w commented Nov 20, 2022

Please check the fresh version (development snapshot) of Stellarium:
https://github.com/Stellarium/stellarium-data/releases/tag/weekly-snapshot

@mgrouch
Copy link
Author

mgrouch commented Nov 20, 2022

@gzotti
Copy link
Member

gzotti commented Nov 20, 2022

Building master on my RPi4 (Ubuntu Mate 22.4.1, aarch64, Qt6) works well, don't know what irritates the CI here.

@gzotti
Copy link
Member

gzotti commented Dec 9, 2022

uname -a
Linux rpi4-mate 5.15.0-1021-raspi #23-Ubuntu SMP PREEMPT Fri Nov 25 15:27:43 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux

log.txt
For me (RPi4, Ubuntu Mate 22.04.1) all looks OK with master.

@mgrouch
Copy link
Author

mgrouch commented Dec 19, 2022

Doesn't look ok for me with Ubuntu 20.10.01. Everything in bottom part is missing except of background.
Version 1.0 was only one which worked.

@gzotti
Copy link
Member

gzotti commented Dec 19, 2022

Official support for Ubuntu 20.10 ended on July 22, 2021...
Your image above shows <1fps. Did you enable hardware support for OpenGL? This should also deliver 6-12fps, depending on screen size and some other factors.

@alex-w alex-w modified the milestones: 1.2, 23.1 Dec 24, 2022
@alex-w
Copy link
Member

alex-w commented Mar 13, 2023

Please check packages from our PPA for beta

@gzotti
Copy link
Member

gzotti commented Mar 14, 2023

I have both ppa.launchpadcontent.net/stellarium/stellarium-{release,beta}/ubuntu jammy InRelease in my apt sources. I have 1.2 installed. Should there be a beta installed by a regular update?

@alex-w
Copy link
Member

alex-w commented Mar 15, 2023

I have both ppa.launchpadcontent.net/stellarium/stellarium-{release,beta}/ubuntu jammy InRelease in my apt sources. I have 1.2 installed. Should there be a beta installed by a regular update?

I think - yes

@gzotti
Copy link
Member

gzotti commented Mar 15, 2023

Then something does not work around package provision in the PPA.
Anyhow, I built from sources and still cannot reproduce the issue on RPi4/Ubuntu Mate 22.04.01/aarch64.

@alex-w
Copy link
Member

alex-w commented Mar 15, 2023

Then something does not work around package provision in the PPA. Anyhow, I built from sources and still cannot reproduce the issue on RPi4/Ubuntu Mate 22.04.01/aarch64.

Hmm... What say sudo apt upgrade -t stellarium-beta ?

@gzotti
Copy link
Member

gzotti commented Mar 19, 2023

$ cat /etc/apt/sources.list.d/stellarium-ubuntu-stellarium-beta-jammy.list 
deb https://ppa.launchpadcontent.net/stellarium/stellarium-beta/ubuntu/ jammy main
# deb-src https://ppa.launchpadcontent.net/stellarium/stellarium-beta/ubuntu/ jammy main

$ sudo apt upgrade -t stellarium-beta
Paketlisten werden gelesen… Fertig
E: Der Wert »stellarium-beta« ist für APT::Default-Release ungültig, da solch eine Veröffentlichung in den Paketquellen nicht verfügbar ist.

(stellarium-beta invalid, no package available).

@gzotti gzotti modified the milestones: 23.1, 23.2 Mar 19, 2023
@gzotti
Copy link
Member

gzotti commented Mar 19, 2023

I assume a hardware/driver configuration issue. This should not block 23.1.

@alex-w
Copy link
Member

alex-w commented Mar 20, 2023

Hmm... please try use ppa.launchpad.net host in sources.list file

@alex-w
Copy link
Member

alex-w commented Jun 16, 2023

@gzotti please check our PPA again

@gzotti
Copy link
Member

gzotti commented Jun 16, 2023

OK, finally. Did an apt update, apt dist-upgrade, and finally have 23.1.167-1671719 (tarball) on Qt6.2.4. And have 12fps of OpenGL2.1 on a smallish screen. Note that I do not have @mgrouch 's configuration. On Ubuntu Mate it works flawlessly.

We need more info. Is this RPi3 or 4 to begin with, which OS (/etc/os-release), which driver configuration in raspi-config, ...

@gzotti gzotti added help wanted We may not have the hardware or expertise need more info Read the guidelines how to report properly, or we have new questions/suggestions to try and removed bug Something likely wrong in the code labels Jun 19, 2023
@github-actions
Copy link

Hello @mgrouch, we need more info and feedback!

The hardware info, steps of reproduction and log file are really important and help us resolve over 90% issues fast. Of course, in some specific cases we need more data, but we ask the required data separately...

@gzotti gzotti modified the milestones: 23.2, 23.3 Jun 19, 2023
@gzotti
Copy link
Member

gzotti commented Sep 12, 2023

@mgrouch please update to Ubuntu 22.4LTS and try again. Else we close this as unreproducable on or after September 22.

@alex-w alex-w closed this as not planned Won't fix, can't repro, duplicate, stale Sep 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted We may not have the hardware or expertise need more info Read the guidelines how to report properly, or we have new questions/suggestions to try
Development

No branches or pull requests

4 participants