aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-02-28 17:12:44 +0100
committerdec05eba <dec05eba@protonmail.com>2024-02-28 17:12:44 +0100
commitdb1934b4ea47bb19d8f18517737e263589c5d7ea (patch)
treec345c92650cf8db69323de309b432510c043238d /src
parent073c10eff39adb1faa05b050811fdea7dcd50e3a (diff)
Update error message when glinit fails because of llvmpipe in flatpak
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 47b20ee..edd8944 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -3239,7 +3239,8 @@ static void activate(GtkApplication *app, gpointer) {
if(!gl_get_gpu_info(&egl, &gpu_inf)) {
GtkWidget *dialog = gtk_message_dialog_new(NULL, GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_OK,
- "Failed to get OpenGL information. Make sure your GPU drivers are properly installed.");
+ "Failed to get OpenGL information. Make sure your GPU drivers are properly installed. "
+ "If you are using nvidia then make sure to run \"flatpak update\" to keep all of your flatpaks up to date. You might also need to install a flatpak nvidia driver version that matches your distros nvidia driver version.");
gtk_dialog_run(GTK_DIALOG(dialog));
gtk_widget_destroy(dialog);
g_application_quit(G_APPLICATION(app));