Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 538574 - >=sci-astronomy/stellarium-0.13.0 should depend on dev-qt/qtgui:5[egl]
Summary: >=sci-astronomy/stellarium-0.13.0 should depend on dev-qt/qtgui:5[egl]
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Astronomy project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-02 19:14 UTC by jannis
Modified: 2017-11-21 00:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info AFTER the USE flag has been changed (+egl and +evdev) (einfo,25.79 KB, text/plain)
2015-02-03 21:39 UTC, jannis
Details
message output from stellarium (stellarium.log,1.13 KB, text/x-log)
2015-02-03 21:42 UTC, jannis
Details
glxinfo (glxinfo,18.99 KB, text/plain)
2015-02-03 21:42 UTC, jannis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jannis 2015-02-02 19:14:42 UTC
stellarium 0.13.2 built fine on my system with USE="-egl" but failed to run, claiming that OpenGL 2.1 is not available on my system. Thanks to the developer's help on IRC (thanks!) we figured out that egl might be missing and setting +egl on dev-qt/qtgui:5 fixed it. Dependency should be adjusted

Reproducible: Always
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2015-02-02 21:39:14 UTC
builds and runs fine for me without that use flag.  I'm assuming it's because of the opengl that you're using so please attach the output from emerge --info and the messages that stellarium prints out at startup.
Comment 2 jannis 2015-02-03 21:39:26 UTC
Created attachment 395470 [details]
emerge --info AFTER the USE flag has been changed (+egl and +evdev)
Comment 3 jannis 2015-02-03 21:41:28 UTC
current (after the change) emerge --info has been attached. qtgui:5 USE-flags before were:
qtgui: 5.4.0(5)^t(14:44:55 02.02.2015)(accessibility gif gles2 harfbuzz jpeg opengl png udev xcb -debug -egl -eglfs -evdev -ibus -kms -test)
Comment 4 jannis 2015-02-03 21:42:02 UTC
Created attachment 395472 [details]
message output from stellarium
Comment 5 jannis 2015-02-03 21:42:44 UTC
Created attachment 395474 [details]
glxinfo
Comment 6 Mr. Bones. (RETIRED) gentoo-dev 2015-02-04 07:23:09 UTC
I wonder if it's just the egl use flag on mesa that you need.  Can you try turning it on for mesa but just having the opengl flag turned on for qtgui?
Comment 7 jannis 2015-02-06 20:09:04 UTC
No, it really seems to be qtgui that matters. I have mesa-10.4.3 with 
"classic dri3 egl gallium gbm gles1 gles2 llvm nptl osmesa pic udev vaapi wayland xa xvmc -bindist -debug -opencl -openmax -pax_kernel -r600-llvm-compiler -selinux -vdpau" 
and qtgui-5.4.0 with 
"accessibility gif gles2 harfbuzz jpeg opengl png udev xcb -debug -egl -eglfs -evdev -ibus -kms -test" 
and running stellarium fails with 
"No OpenGL 2.1 support on this system. Aborting."
Comment 8 Mr. Bones. (RETIRED) gentoo-dev 2015-02-06 21:15:59 UTC
I don't want to force people to turn on egl and evdev if they don't have to.  I could put in some kind of message for people with inferior opengl setups but that's not great.  I'm open to suggestions.
Comment 9 jannis 2015-02-06 21:44:29 UTC
I cannot judge on how much impact enabling the two USE flags have. Personally I don't have a problem enabling them.
Futhermore one might take a look at stellarium's source code to see if the check for "OpenGL 2.1" or at least the error message shown could be improved. Maybe egl is not required but they're checking for the wrong things?
Comment 10 Volker Hemmann 2015-06-14 01:16:10 UTC
hi,

seems that stellarium really needs qtgui being built with egl flag.

qtgui with gles2 and without egl/eglfs: stellarium refused to run. With those flags: works great.
Comment 11 Mr. Bones. (RETIRED) gentoo-dev 2015-06-14 02:51:37 UTC
try it without gles2.  I'm thinking that if you have gles2 enabled that it also needs egl.