vircadia / vircadia-native-core

Vircadia open source agent-based metaverse ecosystem.
https://vircadia.com/
Other
533 stars 174 forks source link

Show proper error message on unsupported OpenGL #563

Open JulianGro opened 4 years ago

JulianGro commented 4 years ago

When trying to run the interface on Intel HD Graphics 2000, it starts normally but only shows a black screen inside the window. According to the console this is due to unsupported OpenGL.

[07/22 09:34:20] [CRITICAL] [hifi.gl] 0:1(10): error: GLSL 4.10 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.40, 1.50, 3.30, 1.00 ES, and 3.00 ES

For a non tech-savy user it is pretty much impossible to understand what is going on. I feel like ideally we would have an error window pop up saying something like:

You graphics adapter does not support OpenGL 4.10. Versions supported by your adapter are 1.10, 1.20, 1.30, 1.40, 1.40, 3.30, 1.00 ES, and 3.00 ES.
Common causes for this problem can be:
- outdated graphics drivers
- unsupported graphics adapter
- NVIDIA Optimus or AMD Switchable configured to use the integrated APU rather than the dedicated GPU
two-one-five commented 4 years ago

Do Linux and OSX have error dialogs similar to Windows or would a QML dialog be ideal here I wonder?

JulianGro commented 4 years ago

No idea what error dialogs there are in windows, but it makes sense to use QT for our QT application I would think.

JulianGro commented 4 years ago

Just found out that there already is an error message on Windows. Which means we are talking about Linux and potentially MacOS. Unbenannt

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 3 years ago

Hello! Is this still an issue?

JulianGro commented 3 years ago

Yes :anger:

stale[bot] commented 2 years ago

Hello! Is this still an issue?