jkitching / soft-brightness-plus

Gnome-shell extension to manage your display brightness via an alpha overlay (instead of the backlight).
GNU General Public License v3.0
42 stars 6 forks source link

gnome shell crashes #5

Closed Novite5 closed 1 year ago

Novite5 commented 1 year ago

gnome shell crashes and fails to restart

get the log message as follows:

== Stack trace for context 0x5569d91a2910 ==
Running GNOME Shell (using mutter 44.1) as a X11 window and compositing manager
 Unset XDG_SESSION_ID, getCurrentSessionProxy() called outside a user session. Asking logind directly.
 Will monitor session 19
 Telepathy is not available, chat integration will be disabled.
Failed to create file /run/user/1000/gnome-shell-disable-extensions: Fehler beim Öffnen der Datei »/run/user/1000/gnome-shell-disable-extensions«: Die Datei existiert bereits
 soft-brightness-plus: version 5 / git 77b5f92 on Gnome-Shell 44.1 / gjs 1.76.0 (17600) / x11
soft-brightness-plus: no delays for setting pointer invisible
 Received an X Window System error.
   This probably reflects a bug in the program.
   The error was 'BadWindow (invalid Window parameter)'.
   (Details: serial 754 error_code 3 request_code 2 (core protocol) minor_code 0)
   (Note to programmers: normally, X errors are reported asynchronously;
    that is, you will receive the error a while after causing it.
    To debug your program, run it with the MUTTER_SYNC environment
     variable to change this behavior. You can then get a meaningful
      backtrace from your debugger if you break on the meta_x_error() function.)

Arch Linux kernel 6.3.1-arch-1 gnome 44.1

Which one might cause this problem, the extension, gnome-shell or Xorg?

Thank you!

jkitching commented 1 year ago

If you disable the extension, does gnome-shell still crash?

If it doesn't crash, then perhaps it is indeed because of the extension. In that case, can you enable debugging logs for the extension (in the extension settings dialog) and post logs from journalctl | grep soft-brightness-plus?

Novite5 commented 1 year ago

Thank you for your help. This couldn't be caused by the extensions or Xorg. Because gnome shell still crashes, after I disabled all the extensions and transferred from Xorg to Wayland.