Closed joseph-long closed 4 years ago
Hi @joseph-long those appear to be some usability breaking issues.
Probably unrelated, transparency seems to be broken on my machine... window shadows render as large opaque black borders on windows.
That sounds as if the window manager has crashed. Are both these issues noticed at the same time occasionally or has the session always been like this?
To help me I'm also going ask if you can provide the following information:
Can you pastebin the output of logs in /var/log/lightdm
?
Any errors in journalctl
?
Is it possible you can get a screenshot of the session?
I managed to make a mess of my NixOS install in the few hours between my issue report and your comment, so it'll take a little while to put things back in place to reproduce this issue and get the additional information you requested.
That sounds as if the window manager has crashed. Are both these issues noticed at the same time occasionally or has the session always been like this?
They are noticed at the same time. I really just enabled pantheon for the first time, nixos-rebuild switch
ed, logged in, and observed both issues.
@joseph-long What DE/WM were you using prior? (could be important or was in the past)
It was Plasma/KDE5 with (I think) sddm? I used what was in the autogenerated configuration.nix on first boot
It was Plasma/KDE5 with (I think) sddm? I used what was in the autogenerated configuration.nix on first boot
In that case you may want to try moving out all the hidden files in $HOME
and also .config
, .cache
, .local
.
Okay, I've reproduced on a fresh install (was switching from SeaBIOS -> EFI and back on a Chromebook... an all-day affair, apparently).
There's something interesting in the journal:
Jul 12 05:50:30 pixie kernel: traps: .gala-wrapped[1207] trap int3 ip:7fe738532423 sp:7ffc7002c430 error:0 in libglib-2.0.so.0.5800.2[7fe7384ea000+9d000]
Jul 12 05:50:30 pixie gnome-session-binary[930]: WARNING: Application 'gala.desktop' killed by signal 5
Jul 12 05:50:30 pixie gnome-session[930]: gnome-session-binary[930]: WARNING: Application 'gala.desktop' killed by signal 5
Yep after looking at that log it's very indicative that gala crashes instantly (perhaps related to monitor setup, only a guess since it's currently problematic)
Can you enable systemd.coredump.enable
and see if you can get a coredump?
Sure, where do those end up?
By enabling that you'll be able to use the coredumpctl
tool.
So coredumpctl
and if there's one for gala
.
From there we can do the usual procedure if present.
When I went to apply that change with nixos-rebuild switch
I saw
trace: Default desktop manager (pantheon) not found at evaluation time.
These are the known valid session names:
services.xserver.desktopManager.default = "xterm";
services.xserver.desktopManager.default = "none";
It's also possible the default can be found in one of these packages:
elementary-session-settings-5.0.3
but the build succeeded. Just a moment and I should have a core dump to share.
Yeah that trace is part of a know bug that's currently harmless.
Okay, got the dump off and put it on my Dropbox: https://www.dropbox.com/s/dpinv50vxhwf93i/gala.dump?dl=1
I'd prefer if you could enable debugging for gala
nixpkgs.overlays = [
(self: super: {
pantheon = super.pantheon.overrideScope' (pself: psuper: {
gala = self.enableDebugging (psuper.gala.overrideAttrs(old: rec { mesonBuildType = "debug"; }));
});
})
];
and then do coredumpctl gdb
then bt
. (send that output)
(gdb) bt
#0 0x00007fce4bf3f423 in g_log_structured_array ()
from /nix/store/n5kbifi190fcigz9zmk8yxbbr80kjfd9-glib-2.58.2/lib/libglib-2.0.so.0
#1 0x00007fce4bf3f8c9 in g_log_default_handler ()
from /nix/store/n5kbifi190fcigz9zmk8yxbbr80kjfd9-glib-2.58.2/lib/libglib-2.0.so.0
#2 0x00007fce4bf3fbac in g_logv ()
from /nix/store/n5kbifi190fcigz9zmk8yxbbr80kjfd9-glib-2.58.2/lib/libglib-2.0.so.0
#3 0x00007fce4bf3fd8f in g_log ()
from /nix/store/n5kbifi190fcigz9zmk8yxbbr80kjfd9-glib-2.58.2/lib/libglib-2.0.so.0
#4 0x00007fce4c1639e9 in g_settings_schema_key_init ()
from /nix/store/n5kbifi190fcigz9zmk8yxbbr80kjfd9-glib-2.58.2/lib/libgio-2.0.so.0
#5 0x00007fce4c16808d in g_settings_get_value ()
from /nix/store/n5kbifi190fcigz9zmk8yxbbr80kjfd9-glib-2.58.2/lib/libgio-2.0.so.0
#6 0x00007fce4c16945b in g_settings_get_strv ()
from /nix/store/n5kbifi190fcigz9zmk8yxbbr80kjfd9-glib-2.58.2/lib/libgio-2.0.so.0
#7 0x00007fce4b2d8894 in meta_input_settings_find_monitor ()
from /nix/store/cxmrv9gch2vdndakr30m2mzbzn17hcfx-mutter-3.28.4/lib/libmutter-2.so.0
#8 0x00007fce4b2dafaf in update_device_display ()
from /nix/store/cxmrv9gch2vdndakr30m2mzbzn17hcfx-mutter-3.28.4/lib/libmutter-2.so.0
#9 0x00007fce4b2db625 in check_add_mappable_device ()
from /nix/store/cxmrv9gch2vdndakr30m2mzbzn17hcfx-mutter-3.28.4/lib/libmutter-2.so.0
#10 0x00007fce4b2db83a in meta_input_settings_constructed ()
from /nix/store/cxmrv9gch2vdndakr30m2mzbzn17hcfx-mutter-3.28.4/lib/libmutter-2.so.0
#11 0x00007fce4c033fd3 in g_object_new_internal ()
from /nix/store/n5kbifi190fcigz9zmk8yxbbr80kjfd9-glib-2.58.2/lib/libgobject-2.0.so.0
#12 0x00007fce4c0362c5 in g_object_new_with_properties ()
from /nix/store/n5kbifi190fcigz9zmk8yxbbr80kjfd9-glib-2.58.2/lib/libgobject-2.0.so.0
#13 0x00007fce4c036cd1 in g_object_new ()
from /nix/store/n5kbifi190fcigz9zmk8yxbbr80kjfd9-glib-2.58.2/lib/libgobject-2.0.so.0
#14 0x00007fce4b2d2070 in meta_backend_real_post_init ()
from /nix/store/cxmrv9gch2vdndakr30m2mzbzn17hcfx-mutter-3.28.4/lib/libmutter-2.so.0
#15 0x00007fce4b2ed563 in meta_backend_x11_post_init ()
from /nix/store/cxmrv9gch2vdndakr30m2mzbzn17hcfx-mutter-3.28.4/lib/libmutter-2.so.0
#16 0x00007fce4b2ef169 in meta_backend_x11_cm_post_init ()
from /nix/store/cxmrv9gch2vdndakr30m2mzbzn17hcfx-mutter-3.28.4/lib/libmutter-2.so.0
#17 0x00007fce4b2d243b in meta_clutter_init ()
from /nix/store/cxmrv9gch2vdndakr30m2mzbzn17hcfx-mutter-3.28.4/lib/libmutter-2.so.0
#18 0x00007fce4b31afb4 in meta_init ()
from /nix/store/cxmrv9gch2vdndakr30m2mzbzn17hcfx-mutter-3.28.4/lib/libmutter-2.so.0
#19 0x0000000000424b6c in gala_main (args=<optimized out>, args_length1=<optimized out>)
at /build/source/src/Main.vala:51
#20 0x0000000000424c22 in main (argc=<optimized out>, argv=<optimized out>)
at /build/source/src/Main.vala:30
Ooh, sorry I didn't get back to you on this. Everything has been extensively updated, both on nixos-unstable and 20.03. I'm closing until feedback that the exact crash happens again.
Issue description
After enabling pantheon and LightDM in
/etc/nixos/configuration.nix
, I can log in and see a Pantheon desktop. However, I don't seem to be able to send keyboard input to Terminal or xterm. Searching the Applications menu did work, however.Probably unrelated, transparency seems to be broken on my machine... window shadows render as large opaque black borders on windows.
Steps to reproduce
Technical details
"x86_64-linux"
Linux 4.19.58, NixOS, 19.03.173085.ecc64b374b2 (Koi)
yes
yes
nix-env (Nix) 2.2.2
/nix/var/nix/profiles/per-user/root/channels/nixos