From db1934b4ea47bb19d8f18517737e263589c5d7ea Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 28 Feb 2024 17:12:44 +0100 Subject: Update error message when glinit fails because of llvmpipe in flatpak --- src/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main.cpp') 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)); -- cgit v1.2.3