Issue with zenity , firefox, google-chrome on Ubuntu-22.04 and Ubuntu-24.04, MESA Error, OpenGL Issue
Is your feature request related to a problem:
When I launch from the command line of bash the following command: zenity --question --text="hello" , the dialog box may not show up
running this command on Ubuntu-22.04 , there's no warning or error message whereas on Ubuntu-24.04, the following message is displayed every time the command is launched: libEGL warning: DRI3: Screen seems not DRI3 capable libEGL warning: DRI3: Screen seems not DRI3 capable MESA: error: ZINK: failed to choose pdev libEGL warning: egl: failed to create dri2 screen
on Ubuntu-22.04, If I type zenity --question --text="hello" --display=:0 , the dialog box shows up each time the command is launched, unfortunately, on Ubuntu-24.04, the newer version of zenity lacks the --display option , and older version is not directly installable, at least with my linux and ubuntu poor knowledge.
Besides that, glxinfo displays for both distributions the same following error message:
name of display: :0 X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 148 (GLX) Minor opcode of failed request: 24 (X_GLXCreateNewContext) Value in failed request: 0x0 Serial number of failed request: 28 Current serial number in output stream: 29
glxgears outputs: Error: glXCreateContext failed
firefox and google-chrome do work but when in full screen, actually the screen size is more or less 2 times narrower than the app virtual area used, I only see the left middle of the app displayed area when these apps are launched, there are a lot of warning messages, like : Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory ( Ubuntu-22.04 only) Display.cpp:1085 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context ( both distributions ) eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED ( both distributions ) Initialization of all EGL display types failed.
Describe the solution you'd like:
I'd like that zenity works every time and not in random manner and would appreciate not to see all the warnings launching firefox or google-chrome and also be able to get these apps in full screen properly
Describe alternatives you've considered:
I tried to install newer mesa library according to chat GPT advices, also checked that the current windows GPU driver was up to date dxdiag tells that OpenGL 4.6 is supported on the windows laptop
Additional context:
No response
Up !
I have the same error, and my problem is that I can't find libdxgi.so file in the system. My Ubuntu is 24.04 and will have segmentation fault when I run: glxgears.
well, microsoft wslg guys don't seem to be interested in that !
This makes "zenity" work temporary in WSL Ubuntu 24.04 - export GSK_RENDERER=cairo or export GSK_RENDERER=vulkan.
The default value seems to be GSK_RENDERER=gl
If you want to make this permanent, you should add this line to the end of file "~/.profile".