Closed Ellislee1 closed 1 year ago
Hi @Ellislee1,
The Qt/OpenGL warning is a known harmless one. Could you provide a bit more information:
3.10.x was installed from python.org, I've also had this issue with 3.9.x as well after some compat testing today. Labels have previously worked, and seem to work on my laptop I have tried all released packages from Aug-Dec 2022 to no luck on both 3.10.x and 3.9.x.
In fact I have been getting this now with no UI at all:
PS C:\Users\Ellis> bluesky
Using Python-based geo functions
Reading config from C:\Users\Ellis\bluesky\settings.cfg
Reading magnetic variation data
Loading global navigation database...
Reading cache: C:\Users\Ellis\bluesky\cache\navdata.p
***** BlueSky Open ATM simulator *****
Distributed under GNU General Public License v3
Accepting event connections on port 11000, and stream connections on port 11001
Discovery is disabled
Loading palette bluesky-default
Found Qt-provided OpenGL functions for OpenGL (4, 1) Core
Using Python-based geo functions
Reading config from C:\Users\Ellis\bluesky\settings.cfg
Reading magnetic variation data
Loading global navigation database...
Reading cache: C:\Users\Ellis\bluesky\cache\navdata.p
pygame 2.1.2 (SDL 2.0.18, Python 3.10.9)
Hello from the pygame community. https://www.pygame.org/contribute.html
Warning: RTree could not be loaded. areafilter get_intersecting and get_knearest won't work
Using Qt 6.4.2 for windows and widgets
Warning: RTree could not be loaded. areafilter get_intersecting and get_knearest won't work
Reading cache: C:\Users\Ellis\bluesky\cache\aptsurface.p
Qt gui warning: An OpenGL Core Profile was requested, but it is not supported on the current platform. Falling back to a non-Core profile. Note that this might cause rendering issues.
Qt information message:
GL Type: desktop
Surface Type: OpenGL
Surface Profile: CoreProfile
Surface Version: 4.1
QSG RHI Backend: OpenGL
Using Supported QSG Backend: yes
Using Software Dynamic GL: no
Using Multithreaded OpenGL: yes
Init Parameters:
* application-name python
* browser-subprocess-path C:\Users\Ellis\AppData\Local\Programs\Python\Python310\lib\site-packages\PyQt6\Qt6\bin\QtWebEngineProcess.exe
* disable-features ConsolidatedMovementXY,InstalledApp,BackgroundFetch,WebOTP,WebPayments,WebUSB,PictureInPicture
* disable-speech-api
* enable-features NetworkServiceInProcess,TracingServiceInProcess
* enable-threaded-compositing
* in-process-gpu
* use-gl desktop
Successfully loaded OpenAP performance model
Failed to load BADA performance model
Successfully loaded legacy performance model
Successfully loaded plugin AREA
Successfully loaded plugin DATAFEED
Ok, do you know of other things on your computer that may have changed, like video drivers? It's odd that only the text doesn't work anymore.
I have managed to get the UI to load again by installing pyQT 5 from the actual bluesky repo. But still no labels. I have checked everything and its in the same config from a few months ago. Something interesting though is the map button also doesnt work. Could these be linked?
By BlueSky repo you mean the pip repository? This is indeed recommended.
The map button indeed is broken in some versions, so this isn't related. I really think your problem must have something to do with GPU drivers or library versions. There hasn't been a change in years in the GL shaders of BlueSky.
So after trying to bug fix this for the better part of 2 months I am not any closer unfortunately. The QT6 version downloads and runs in any any non GUI mode but crashes in a GUI mode. The QT5 version still doesn't yield any labels. It must be drivers or something but they are kept up to date from AMD so I really don't know what the issue could be.
Hi @Ellislee1, that's a pity! Since the labels worked before, and previous releases of the bluesky package now give you the same results this problem has to be related to something else in your computer's installation, like gfx drivers. Unfortunately there's not much I can do about this without access to a machine with the same issues. If you have experience with GLSL you could try playing around with the radarwidget-text.frag
file.
I might have a look, thanks @jooste
After some fairly exhaustive testing with different OSs, I believe that this issue must be related to my hardware. For reference the machine that this issue is present on is:
> AMD Ryzen 7 5800X
> AMD Radeon RX6900 XT
> 32 GB RAM
> Windows 7,10&11 / Ubuntu
Hi @Ellislee1, thanks a lot for the update. If I come across a machine with similar specs I'll do some more testing!
Fresh install of bluesky (python package) and the Labels seem to be broken both for Airports/Waypoints and Aircraft. I have tried turning labels on and off to no luck.
Here is the output trace as well, I dont see any potential issues unless it has something to do with the
QT gui warning
?