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.67k stars 820 forks source link

Nouveau on older GPUs fails to work #3551

Open gzotti opened 10 months ago

gzotti commented 10 months ago

This is something we can do probably nothing about, or cannot invest much time, but maybe somebody has an idea?

Expected Behaviour

Graphics as expected

Actual Behaviour

I upgraded an old PC with Geforce 9600GT to Ubuntu 22.04LTS. NVidia has no more Linux driver for this oldish but still functional piece of hardware which perfectly well supports OpenGL3.3. The Nouveau driver delivers this.

stellarium-001

No stars, grids, text. Dialog panels appear. Any idea how Nouveau can be tweaked to work?

Steps to reproduce

System

Logfile

Logfile with OpenGL capabilities log.txt

github-actions[bot] commented 10 months ago

Hello @gzotti!

OK, developers can reproduce the issue. Thanks for the report!

10110111 commented 10 months ago

Nouveau has always been trash, it's just not worth supporting (unless you do it by reporting bugs upstream).

10110111 commented 10 months ago

Your actual options for old hardware are:

  1. Run with LIBGL_ALWAYS_SOFTWARE=1
  2. Build an older kernel (may break systemd or something else) or use a distro that allows installing an older kernel (can Gentoo provide it?)
  3. Stay on an older version of the OS.
gzotti commented 10 months ago

With LIBGL_ALWAYS_SOFTWARE=1 the system reports OpenGL4.5, but fails to come up after splash. Messagebox "Stellarium is not responding: Abort/Wait?" This is a Core2Duo from around 2010, so it just may have not the power to deliver. I wanted to make a quick final test before I donate this system in working condition. OK, it provides images, office/web tasks. Just no Stellarium :-(

10110111 commented 10 months ago

fails to come up after splash

Do you mean it's too slow during initialization? I don't think it should be; maybe there's some deadlock happening?

gzotti commented 10 months ago

Cannot say more. I have removed Stellarium and am just deleting my account on this system before donating it. No time for more. Whoever runs such system and does not want to build kernel modules or such: Stay with Ubuntu 20 LTS with NVidia's proprietary driver as long as you can!