Hello all
I got new laptop with relatively new cpu. Amd ryzen 7 7840 with integrated 780M gpu.
14" lenovo yoga basic laptop does not have modems or exotic stuff.
I deleted windows and installed manjaro with gnome and dual boot windows next to it. This is fresh install scenario.
After random amount of time screen crashes. About 1/4th of the upper part of screen stays readable.
I can get back to system via ctrl+alt+f1 or f2 and I get login screen, and log back in.
After this mouse settings are changed and some reason screen goes to night time settings.
If I change session to Gnome Xorg on the GDM login screen it seems to be working ok.
Meaning this might be just Wayland issue.
- So far I have reinstalled it few times. First I was running f2fs filesystem and changed that to xfs.
- Manjaro minimal and full install medias used
- All kernels tested that are available on manjaro settings utility.
- Tinkered with screen settings like frequency, resolution etc.
- Used fractional scaling, but that is now off.
Using journalctl -b this seems to be the error when it happens.
syys 04 13:27:34 useraccount-82x3 gnome-shell[696]: Connection to xwayland lost
More logs when it happens:
august 04 13:27:34 useraccount-82x3 systemd[1171]: Started GNOME XSettings service.
august 04 13:27:34 useraccount-82x3 systemd[1171]: GNOME session X11 services is inactive.
august 04 13:27:34 useraccount-82x3 systemd[1171]: Reached target GNOME XSettings target.
august 04 13:27:34 useraccount-82x3 systemd[1171]: Reached target GNOME Session.
august 04 13:27:34 useraccount-82x3 systemd[1171]: Reached target GNOME X11 Session (session: gnome).
august 04 13:27:34 useraccount-82x3 systemd[1171]: Reached target Current graphical user session.
august 04 13:27:34 useraccount-82x3 NetworkManager[573]: <info> [1693823254.1337] agent-manager: agent[b70e35e93b7d9ec7,:1.69/org.gnome.Shell.NetworkAgent/1000]: agent registered
august 04 13:27:34 useraccount-82x3 systemd-coredump[1820]: Process 1759 (touchegg) of user 1000 dumped core.
Stack trace of thread 1759:
#0 0x00007fd85668e83c n/a (libc.so.6 + 0x8e83c)
#1 0x00007fd85663e668 raise (libc.so.6 + 0x3e668)
#2 0x00007fd8566264b8 abort (libc.so.6 + 0x264b8)
#3 0x00007fd856a9ca6f _ZN9__gnu_cxx27__verbose_terminate_handlerEv (libstdc++.so.6 + 0x9ca6f)
#4 0x00007fd856ab011c _ZN10__cxxabiv111__terminateEPFvvE (libstdc++.so.6 + 0xb011c)
#5 0x00007fd856ab0189 _ZSt9terminatev (libstdc++.so.6 + 0xb0189)
#6 0x00007fd856ab03ed __cxa_throw (libstdc++.so.6 + 0xb03ed)
#7 0x0000564466d6b63f n/a (touchegg + 0x1363f)
#8 0x0000564466d792be _ZN15XmlConfigLoader4loadEv (touchegg + 0x212be)
#9 0x0000564466d6fe5c main (touchegg + 0x17e5c)
#10 0x00007fd856627cd0 n/a (libc.so.6 + 0x27cd0)
#11 0x00007fd856627d8a __libc_start_main (libc.so.6 + 0x27d8a)
#12 0x0000564466d70115 _start (touchegg + 0x18115)
ELF object binary architecture: AMD x86-64
august 04 13:27:34 useraccount-82x3 systemd[1]: systemd-coredump@0-1806-0.service: Deactivated successfully.
august 04 13:27:34 useraccount-82x3 gsd-media-keys[1628]: Failed to grab accelerator for keybinding settings:rotate-video-lock
august 04 13:27:34 useraccount-82x3 gsd-media-keys[1628]: Failed to grab accelerator for keybinding settings:hibernate
august 04 13:27:34 useraccount-82x3 gsd-media-keys[1628]: Failed to grab accelerator for keybinding settings:playback-random
august 04 13:27:34 useraccount-82x3 gsd-media-keys[1628]: Failed to grab accelerator for keybinding settings:playback-repeat
august 04 13:27:34 useraccount-82x3 gnome-shell[1329]: Failed to create color profile from colord profile: Error opening file /var/lib/gdm/.local/share/icc/edid-bd416a68ea1969556a9d01692fcbdf70.icc: Permission denied
august 04 13:27:34 useraccount-82x3 gnome-shell[1329]: GNOME Shell started at Mon Sep 04 2023 13:27:33 GMT+0300 (Eastern European Summer Time)
august 04 13:27:34 useraccount-82x3 gnome-shell[1329]: Registering session with GDM
august 04 13:27:34 useraccount-82x3 pulseaudio[765]: X11 I/O error handler called
august 04 13:27:34 useraccount-82x3 gnome-shell[696]: Connection to xwayland lost
august 04 13:27:34 useraccount-82x3 org.gnome.Shell.desktop[696]: GNOME Shell terminated with an error: Xwayland exited unexpectedly
august 04 13:27:34 useraccount-82x3 gnome-shell[696]: Xwayland terminated, exiting since it was mandatory
august 04 13:27:34 useraccount-82x3 gnome-shell[696]: (../mutter/src/core/meta-context.c:501):meta_context_terminate: runtime check failed: (g_main_loop_is_running (priv->main_loop))
august 04 13:27:34 useraccount-82x3 gnome-shell[696]: Shutting down GNOME Shell
august 04 13:27:34 useraccount-82x3 pulseaudio[765]: X11 I/O error exit handler called, preparing to tear down X11 modules
august 04 13:27:34 useraccount-82x3 gsd-sharing[811]: Error releasing name org.gnome.SettingsDaemon.Sharing: The connection is closed
august 04 13:27:34 useraccount-82x3 gsd-usb-protect[819]: Error releasing name org.gnome.SettingsDaemon.UsbProtection: The connection is closed
august 04 13:27:34 useraccount-82x3 gsd-rfkill[829]: Error releasing name org.gnome.SettingsDaemon.Rfkill: The connection is closed
august 04 13:27:34 useraccount-82x3 systemd[1]: Stopping Session 1 of User gdm...
august 04 13:27:34 useraccount-82x3 polkitd[549]: Unregistered Authentication Agent for unix-session:1 (system bus name :1.21, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
august 04 13:27:34 useraccount-82x3 systemd[1]: session-1.scope: Deactivated successfully.
august 04 13:27:35 useraccount-82x3 systemd[1]: Stopped Session 1 of User gdm.
Edit: This was related to AMD PSU feature.
Laptop stopped crashing after I added “amdgpu.dcdebugmask=0x10” to grub configs.
So now my cmdline looks like this:
cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-6.5-x86_64 root=UUID=33e9bbd9-8c27-4043-81be-sa3331267ef2 rw quiet splash apparmor=1 security=apparmor udev.log_priority=3 amd_pstate.shared_mem=1 amdgpu.dcdebugmask=0x10 amdgpu.ppfeaturemask=0xffffffff
This will disable the neat power saving features of the display.
Moderator edit: In the future, please use proper formatting: [HowTo] Post command output and file content as formatted text