Open rodrigogonegit opened 2 years ago
Update: it only happens on Wayland.
App crashes on Wayland only, workaround: GDK_BACKEND=x11 gnome-extensions-app
.
App crashes on Wayland only, workaround:
GDK_BACKEND=x11 gnome-extensions app
.
Thanks but that does not work:
➜ ~ flatpak run --env=GDK_BACKEND=x11 com.mattjakeman.ExtensionManager
(extension-manager:2): Gtk-WARNING **: 19:23:56.946: cannot open display:
➜ ~ flatpak run --env=GDK_BACKEND=x11 com.mattjakeman.ExtensionManager
(extension-manager:2): Gtk-WARNING **: 19:23:56.946: cannot open display:
Hmmm, this is not the stock Extensions app (it comes from a deb package), this app is something else available in Flathub, so not related to Pop!_OS. The stock Extensions app (gnome-extensions-app) works fine using the environment variable as explained.
App crashes on Wayland only, workaround:
GDK_BACKEND=x11 gnome-extensions-app
.
Actually it seems to be a problem between GTK and Nvidia proprietary drivers, it works fine here (Pop 22.04/Wayland on AMD). I can get the app to launch on Nvidia using the command above, but all settings windows crash. No luck changing the renderer either, with or without forcing it to use Xwayland:
GDK_BACKEND=x11 GSK_RENDERED=cairo gnome-extensions-app
GDK_BACKEND=x11 GSK_RENDERED=opengl gnome-extensions-app
GSK_RENDERED=cairo gnome-extensions-app
GSK_RENDERED=opengl gnome-extensions-app
NVIDIA Wayland isn't supported so if that's the only issue I think we can close this.
Just for the record:
Just for the record:
I also have 2 graphics cards, what exactly shall I do to get it working? I have no idea how the bug is related to nvidia drivers since DE shall render on AMD
I also have 2 graphics cards, what exactly shall I do to get it working? I have no idea how the bug is related to nvidia drivers since DE shall render on AMD
If you have hybrid graphics with AMD, try:
DRI_PRIME=1 gnome-extensions-app
or 0 instead of 1 (to use iGPU).
komorebi@komorebi-pc:~$ DRI_PRIME=0 glxinfo | grep "OpenGL renderer"
OpenGL renderer string: AMD RENOIR (LLVM 13.0.1, DRM 3.42, 5.15.0-48-generic)
komorebi@komorebi-pc:~$ DRI_PRIME=1 glxinfo | grep "OpenGL"
libGL error: failed to create dri screen
libGL error: failed to load driver: nouveau
OpenGL vendor string: Mesa/X.org
OpenGL renderer string: llvmpipe (LLVM 13.0.1, 256 bits)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 22.0.5
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.5 (Compatibility Profile) Mesa 22.0.5
OpenGL shading language version string: 4.50
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 22.0.5
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
So the first one must be AMD, but both are not working.
komorebi@komorebi-pc:~$ DRI_PRIME=0 gnome-extensions-app
Gdk-Message: 02:45:48.194: Error reading events from display: Protocol error
komorebi@komorebi-pc:~$ DRI_PRIME=1 gnome-extensions-app
Gdk-Message: 02:45:56.602: Error flushing display: Protocol error
This must be an AMD driver issue, hopefully I'll receive some fixes with HWE updates.
Anywy @lfom thank you for help!
@komorebithrowsatable Are you using Wayland with AMD? The command below also fails? If yes, stock Pop installation?
GDK_BACKEND=x11 gnome-extensions-app
How did you upgrade to 22.04? (Fresh install / Upgrade) Upgraded from 21.10. Deleted old extensions. Just the system extensions are installed.
Related Application and/or Package Version (run
apt policy $PACKAGE NAME
): gnome-shellIssue/Bug Description: Attempting to open the settings window of any extension fails.
Relevant journal logs:
Steps to reproduce (if you know):
Expected behavior: The settings window should open.
Other Notes: As it might be related to the GPU, I'll leave the driver versions I'm using.