Manjaro 20.2 Gnome randomly returning to boot screen

Hi, relative newbie here. I just installed Manjaro 20.2 Gnome on an external SSD (Samsung T5) for my HP Pavilion Gaming laptop
Specs:
Intel i5 9300H
8gb RAM
Intel HD Graphics 630
Nvidia GTX 1650
The install went well, the system booted as well but it started crashing out randomly and showed the HP boot screen with nothing working. I searched around and read about nvidia drivers not working properly with kernel 5.9 so I switched to 5.8 but still the crashes happened just more randomly. Then I even changed the gpu driver from 455xx to 450xx and now the crashes occur at longer intervals, the system is working completely fine between crashes. Can anyone help me with this? I’m completely clueless

inxi -v

System:    Kernel: 5.8.18-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 Desktop: GNOME 3.38.1 
           Distro: Manjaro Linux 
Machine:   Type: Laptop System: HP product: HP Pavilion Gaming Laptop 15-dk0xxx 
           v: Type1ProductConfigId serial: <filter> 
           Mobo: HP model: 85FC v: 42.34 serial: <filter> UEFI: Insyde v: F.20 date: 11/22/2019 
Battery:   ID-1: BAT1 charge: 18.0 Wh condition: 42.4/52.5 Wh (81%) 
           model: Hewlett-Packard PABAS0241231 status: Charging 
CPU:       Info: Quad Core model: Intel Core i5-9300H bits: 64 type: MT MCP arch: Kaby Lake rev: A 
           L2 cache: 8192 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 38408 
           Speed: 800 MHz min/max: 800/4100 MHz Core speeds (MHz): 1: 800 2: 801 3: 800 4: 800 
           5: 800 6: 800 7: 800 8: 800 
Graphics:  Device-1: Intel UHD Graphics 630 vendor: Hewlett-Packard driver: i915 v: kernel 
           bus ID: 00:02.0 
           Device-2: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q] vendor: Hewlett-Packard 
           driver: nvidia v: 450.80.02 bus ID: 01:00.0 
           Device-3: Lite-On HP Wide Vision HD Camera type: USB driver: uvcvideo bus ID: 1-5:3 
           Display: x11 server: X.org 1.20.10 driver: modesetting,nvidia 
           resolution: <xdpyinfo missing> 
           OpenGL: renderer: Mesa Intel UHD Graphics 630 (CFL GT2) v: 4.6 Mesa 20.2.3 
           direct render: Yes 
Audio:     Device-1: Intel Cannon Lake PCH cAVS vendor: Hewlett-Packard driver: snd_hda_intel 
           v: kernel bus ID: 00:1f.3 
           Sound Server: ALSA v: k5.8.18-1-MANJARO 
Network:   Device-1: Intel Wireless-AC 9560 [Jefferson Peak] driver: iwlwifi v: kernel port: 5000 
           bus ID: 00:14.3 
           IF: wlo1 state: up mac: <filter> 
           Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Hewlett-Packard 
           driver: r8169 v: kernel port: 3000 bus ID: 03:00.0 
           IF: eno1 state: down mac: <filter> 
Drives:    Local Storage: total: 1.60 TiB used: 9.52 GiB (0.6%) 
           ID-1: /dev/nvme0n1 vendor: Samsung model: MZVLB256HAHQ-000H1 size: 238.47 GiB 
           ID-2: /dev/sda vendor: Seagate model: ST1000LM049-2GH172 size: 931.51 GiB 
           ID-3: /dev/sdb type: USB vendor: Samsung model: Portable SSD T5 size: 465.76 GiB 
RAID:      Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: ahci v: 3.0 
           bus ID: 00:17.0 
Partition: ID-1: / size: 97.93 GiB used: 8.67 GiB (8.9%) fs: ext4 dev: /dev/sdb3 
           ID-2: /home size: 354.59 GiB used: 869.7 MiB (0.2%) fs: ext4 dev: /dev/sdb4 
Swap:      ID-1: swap-1 type: partition size: 4.00 GiB used: 0 KiB (0.0%) dev: /dev/sdb2 
Sensors:   System Temperatures: cpu: 42.0 C mobo: 29.8 C 
           Fan Speeds (RPM): N/A 
Info:      Processes: 259 Uptime: 16m Memory: 7.62 GiB used: 1.33 GiB (17.5%) Init: systemd 
           Compilers: gcc: 10.2.0 Packages: 1174 Shell: Zsh v: 5.8 inxi: 3.1.08 

mhwd -li

> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
     video-modesetting            2020.01.13                true            PCI
video-hybrid-intel-nvidia-450xx-prime            2020.10.04               false            PCI


Warning: No installed USB configs!
1 Like

Hi @pokemongo, and welcome!

I have no doubt, guessing from your complete post asking for assistance, that you might have eliminated this possibility. However, I just mention it, because you never know!

External HDD sounds USB’ish to me, in which case I’d recommend checking that connection first. I know, and I think most people know, a USB connection isn’t the most stable ever, and those symptoms are just about exactly what I’d suspect for it.

If you have and it’s not that, I have no idea what it could be, but that is what I’d check first.

Yes @Mirdarthos that’s where I went first. It’s an external SSD connected via USB C, the port is completely functional and the SSD as well. The indicator LED keeps blinking, I even kept an eye on the LED to see if it turns red indicating that it has disconnected but nothing. Even tried with a USB A port but still the same.

Did you happen to check the logs? journalctl would be what you’d need. Probably.

I’ve been reading some about your issue because to stop it from happening, we have to find out why it is happening. To that end I’ve come across this Stackexchange post. It would be almost exactly the same, I think, if you use it for figuring out why the session was ended. In other word, why you were logged our and presented with the login screen.

See the answer with heading “TLDR”. It seems to describe what to do very well.

Also a link from that post: How do I find out who or what halted my system

Hello,

That kernel was marked as EOL = end of life and upstream already removed it. Switch to 5.4 as is LTS or 5.9.
5.10 kernel is still rc5 on stable branch.

You are also behind with the updates. Stable has already 3.38.2

@Mirdarthos thank you for your help, I finally got some logs on what happened, here’s the output from the commands I executed
last -x | head | tac

reboot   system boot  5.8.18-1-MANJARO Wed Dec 30 15:46 - 16:07  (00:21)
vinayakm :1           :1               Wed Dec 30 15:46 - down   (00:21)
shutdown system down  5.8.18-1-MANJARO Wed Dec 30 16:07 - 19:25  (03:17)
reboot   system boot  5.8.18-1-MANJARO Wed Dec 30 19:25 - 19:47  (00:21)
vinayakm :1           :1               Wed Dec 30 19:25 - down   (00:21)
shutdown system down  5.8.18-1-MANJARO Wed Dec 30 19:47 - 19:47  (00:00)
reboot   system boot  5.9.11-3-MANJARO Wed Dec 30 19:47   still running
vinayakm :1           :1               Wed Dec 30 19:47 - crash  (00:06)
reboot   system boot  5.9.11-3-MANJARO Wed Dec 30 19:54   still running
vinayakm :1           :1               Wed Dec 30 19:54   still logged in

The second command outputs an error which I couldn’t figure out:

  /var/log/messages /var/log/syslog /var/log/apcupsd* \
  | grep -iw 'recover[a-z]*\|power[a-z]*\|shut[a-z ]*down\|rsyslogd\|ups'
zsh: no matches found: /var/log/apcupsd*

I used journalctl to and have entered here whatever I could understand that could be the problem, sorry I’m learning :sweat_smile:
Command: journalctl -b -1 -e

Dec 30 19:47:52 manjaro gnome-session-binary[1431]: Entering running state
Dec 30 19:47:52 manjaro manjaro-apply-locale.desktop[1761]: sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
Dec 30 19:47:52 manjaro sudo[1761]: pam_unix(sudo:auth): conversation failed
Dec 30 19:47:52 manjaro sudo[1761]: pam_unix(sudo:auth): auth could not identify password for [vinayakmalviya]
Dec 30 19:47:52 manjaro sudo[1761]: pam_unix(sudo:auth): auth could not identify password for [vinayakmalviya]
Dec 30 19:47:52 manjaro gnome-session[1431]: gnome-session-binary[1431]: GnomeDesktop-WARNING: Could not create transient scope for PID 1766: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Proces>
Dec 30 19:47:52 manjaro gnome-session-binary[1431]: GnomeDesktop-WARNING: Could not create transient scope for PID 1766: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Process with ID 1766 does n>
Dec 30 19:47:52 manjaro dbus-daemon[769]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.104' (uid=0 pid=1761 comm="sudo /usr/b>
Dec 30 19:47:52 manjaro dbus-daemon[769]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.home1.service': Unit dbus-org.freedesktop.home1.service not found.
Dec 30 19:47:52 manjaro audit[1761]: USER_AUTH pid=1761 uid=1000 auid=1000 ses=4 subj==unconfined msg='op=PAM:authentication grantors=? acct="vinayakmalviya" exe="/usr/bin/sudo" hostname=? addr=? terminal=? re>
Dec 30 19:47:52 manjaro sudo[1761]: pam_systemd_home(sudo:auth): systemd-homed is not available: Unit dbus-org.freedesktop.home1.service not found.
Dec 30 19:47:52 manjaro kernel: audit: type=1100 audit(1609337872.553:94): pid=1761 uid=1000 auid=1000 ses=4 subj==unconfined msg='op=PAM:authentication grantors=? acct="vinayakmalviya" exe="/usr/bin/sudo" hos>
Dec 30 19:47:52 manjaro systemd[1352]: Started Application launched by gnome-session-binary.
Dec 30 19:47:52 manjaro systemd[1352]: Started Application launched by gnome-session-binary.
Dec 30 19:47:52 manjaro systemd[1352]: Started Application launched by gnome-session-binary.
Dec 30 19:47:52 manjaro systemd[1352]: Started Application launched by gnome-session-binary.
Dec 30 19:47:52 manjaro systemd[1352]: Started Application launched by gnome-session-binary.
Dec 30 19:47:52 manjaro systemd[1352]: Started Application launched by gnome-session-binary.
Dec 30 19:47:52 manjaro systemd[1352]: Started Application launched by gnome-session-binary.
Dec 30 19:47:52 manjaro systemd[1352]: Started Application launched by gnome-session-binary.
Dec 30 19:47:52 manjaro systemd[1352]: Started Application launched by gnome-session-binary.
Dec 30 19:47:52 manjaro systemd[1352]: Started Application launched by gnome-session-binary.
Dec 30 19:47:52 manjaro systemd[1352]: app-gnome-create\x2dtemplate-1762.scope: Succeeded.
Dec 30 19:47:52 manjaro systemd[1352]: app-gnome-user\x2ddirs\x2dupdate\x2dgtk-1775.scope: Succeeded.
Dec 30 19:47:52 manjaro systemd[1352]: app-gnome-dtd\x2dwayland-1773.scope: Succeeded.
Dec 30 19:47:52 manjaro systemd[1352]: app-gnome-snap\x2duserd\x2dautostart-1772.scope: Succeeded.
Dec 30 19:47:52 manjaro libinput-gestures.desktop[1802]: Failed to open /dev/input/event2 (Permission denied)
Dec 30 19:47:52 manjaro libinput-gestures.desktop[1802]: Failed to open /dev/input/event12 (Permission denied)
Dec 30 19:47:52 manjaro libinput-gestures.desktop[1802]: Failed to open /dev/input/event11 (Permission denied)
Dec 30 19:47:52 manjaro libinput-gestures.desktop[1802]: Failed to open /dev/input/event0 (Permission denied)
Dec 30 19:47:52 manjaro libinput-gestures.desktop[1802]: Failed to open /dev/input/event1 (Permission denied)
Dec 30 19:47:52 manjaro libinput-gestures.desktop[1802]: Failed to open /dev/input/event4 (Permission denied)
Dec 30 19:47:52 manjaro libinput-gestures.desktop[1802]: Failed to open /dev/input/event5 (Permission denied)
Dec 30 19:47:52 manjaro libinput-gestures.desktop[1802]: Failed to open /dev/input/event21 (Permission denied)
Dec 30 19:47:52 manjaro libinput-gestures.desktop[1802]: Failed to open /dev/input/event10 (Permission denied)
Dec 30 19:47:52 manjaro libinput-gestures.desktop[1802]: Failed to open /dev/input/event19 (Permission denied)
Dec 30 19:47:52 manjaro libinput-gestures.desktop[1802]: Failed to open /dev/input/event9 (Permission denied)
Dec 30 19:47:52 manjaro libinput-gestures.desktop[1802]: Failed to open /dev/input/event13 (Permission denied)
Dec 30 19:47:52 manjaro libinput-gestures.desktop[1802]: Failed to open /dev/input/event14 (Permission denied)
Dec 30 19:47:52 manjaro libinput-gestures.desktop[1802]: Failed to open /dev/input/event15 (Permission denied)
Dec 30 19:47:52 manjaro libinput-gestures.desktop[1802]: Failed to open /dev/input/event16 (Permission denied)
Dec 30 19:47:52 manjaro libinput-gestures.desktop[1802]: Failed to open /dev/input/event17 (Permission denied)
Dec 30 19:47:52 manjaro libinput-gestures.desktop[1802]: Failed to open /dev/input/event18 (Permission denied)
Dec 30 19:47:52 manjaro libinput-gestures.desktop[1802]: Failed to open /dev/input/event3 (Permission denied)
Dec 30 19:47:52 manjaro libinput-gestures.desktop[1802]: Failed to open /dev/input/event7 (Permission denied)
Dec 30 19:47:52 manjaro libinput-gestures.desktop[1802]: Failed to open /dev/input/event8 (Permission denied)
Dec 30 19:47:52 manjaro libinput-gestures.desktop[1802]: Failed to open /dev/input/event20 (Permission denied)
Dec 30 19:47:52 manjaro libinput-gestures.desktop[1802]: Failed to open /dev/input/event6 (Permission denied)
Dec 30 19:47:52 manjaro libinput-gestures.desktop[1764]: Can not see any devices, did you add yourself to the input group and log out/in?
Dec 30 19:47:52 manjaro libinput-gestures.desktop[1764]: Could not determine touchpad device.
Dec 30 19:47:52 manjaro systemd[1352]: app-gnome-libinput\x2dgestures-1764.scope: Succeeded.
Dec 30 19:47:52 manjaro gnome-shell[1449]: GNOME Shell started at Wed Dec 30 2020 19:47:51 GMT+0530 (India Standard Time)
Dec 30 19:47:52 manjaro gnome-shell[1449]: Registering session with GDM
Dec 30 19:47:52 manjaro gnome-shell[918]: gnome-shell: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Dec 30 19:47:52 manjaro /usr/lib/gdm-x-session[891]: dbus-daemon[891]: [session uid=120 pid=891] Activating service name='org.freedesktop.systemd1' requested by ':1.11' (uid=120 pid=1000 comm="/usr/lib/gsd-sha>
Dec 30 19:47:52 manjaro gsd-keyboard[1004]: gsd-keyboard: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Dec 30 19:47:52 manjaro gsd-wacom[1018]: gsd-wacom: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Dec 30 19:47:52 manjaro gsd-xsettings[1033]: gsd-xsettings: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Dec 30 19:47:52 manjaro gsd-media-keys[1025]: gsd-media-keys: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Dec 30 19:47:52 manjaro gsd-power[1038]: gsd-power: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Dec 30 19:47:52 manjaro gnome-session[892]: gnome-session-binary[892]: WARNING: App 'org.gnome.SettingsDaemon.Keyboard.desktop' exited with code 1
Dec 30 19:47:52 manjaro gnome-session-binary[892]: WARNING: App 'org.gnome.SettingsDaemon.Keyboard.desktop' exited with code 1
Dec 30 19:47:52 manjaro gnome-session[892]: gnome-session-binary[892]: WARNING: App 'org.gnome.SettingsDaemon.MediaKeys.desktop' exited with code 1
Dec 30 19:47:52 manjaro gnome-session-binary[892]: WARNING: App 'org.gnome.SettingsDaemon.MediaKeys.desktop' exited with code 1
Dec 30 19:47:52 manjaro gsd-color[1003]: gsd-color: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Dec 30 19:47:52 manjaro gnome-session[892]: gnome-session-binary[892]: WARNING: Lost name on bus: org.gnome.SessionManager
Dec 30 19:47:52 manjaro gnome-session-binary[892]: WARNING: Lost name on bus: org.gnome.SessionManager
Dec 30 19:47:52 manjaro gsd-smartcard[1013]: Error releasing name org.gnome.SettingsDaemon.Smartcard: The connection is closed
Dec 30 19:47:52 manjaro /usr/lib/gdm-x-session[875]: (II) UnloadModule: "libinput"
Dec 30 19:47:52 manjaro /usr/lib/gdm-x-session[875]: (II) systemd-logind: releasing fd for 13:70
Dec 30 19:47:52 manjaro ibus-daemon[939]: GChildWatchSource: Exit status of a child process was requested but ECHILD was received by waitpid(). See the documentation of g_child_watch_source_new() for possible >
Dec 30 19:47:52 manjaro gsd-color[1625]: failed to connect to device: Failed to connect to missing device /org/freedesktop/ColorManager/devices/xrandr_AU_Optronics_gdm_120
Dec 30 19:47:52 manjaro /usr/lib/gdm-x-session[875]: (II) UnloadModule: "libinput"
Dec 30 19:47:52 manjaro /usr/lib/gdm-x-session[875]: (II) systemd-logind: releasing fd for 13:84
Dec 30 19:47:52 manjaro polkitd[772]: Unregistered Authentication Agent for unix-session:1 (system bus name :1.32, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.utf8) (disconnected >
Dec 30 19:47:52 manjaro /usr/lib/gdm-x-session[875]: (II) UnloadModule: "libinput"
Dec 30 19:47:52 manjaro /usr/lib/gdm-x-session[875]: (II) systemd-logind: releasing fd for 13:67
Dec 30 19:47:52 manjaro /usr/lib/gdm-x-session[875]: (II) UnloadModule: "libinput"
Dec 30 19:47:52 manjaro /usr/lib/gdm-x-session[875]: (II) systemd-logind: releasing fd for 13:83
Dec 30 19:47:52 manjaro /usr/lib/gdm-x-session[875]: (II) UnloadModule: "libinput"
Dec 30 19:47:52 manjaro /usr/lib/gdm-x-session[875]: (II) systemd-logind: releasing fd for 13:74
Dec 30 19:47:52 manjaro /usr/lib/gdm-x-session[875]: (II) UnloadModule: "libinput"
Dec 30 19:47:52 manjaro /usr/lib/gdm-x-session[875]: (II) systemd-logind: releasing fd for 13:85
Dec 30 19:47:52 manjaro /usr/lib/gdm-x-session[875]: (II) UnloadModule: "libinput"
Dec 30 19:47:52 manjaro /usr/lib/gdm-x-session[875]: (II) systemd-logind: releasing fd for 13:69
Dec 30 19:47:52 manjaro /usr/lib/gdm-x-session[875]: (II) UnloadModule: "libinput"
Dec 30 19:47:52 manjaro /usr/lib/gdm-x-session[875]: (II) systemd-logind: releasing fd for 13:65
Dec 30 19:47:52 manjaro /usr/lib/gdm-x-session[875]: (II) UnloadModule: "libinput"
Dec 30 19:47:52 manjaro /usr/lib/gdm-x-session[875]: (II) systemd-logind: releasing fd for 13:75
Dec 30 19:47:52 manjaro /usr/lib/gdm-x-session[875]: (II) UnloadModule: "libinput"
Dec 30 19:47:52 manjaro /usr/lib/gdm-x-session[875]: (II) systemd-logind: releasing fd for 13:76
Dec 30 19:47:52 manjaro /usr/lib/gdm-x-session[875]: (II) UnloadModule: "libinput"
Dec 30 19:47:52 manjaro /usr/lib/gdm-x-session[875]: (II) systemd-logind: releasing fd for 13:66
Dec 30 19:47:53 manjaro /usr/lib/gdm-x-session[875]: (WW) NVIDIA(G0): Failed to set the display configuration
Dec 30 19:47:53 manjaro /usr/lib/gdm-x-session[875]: (WW) NVIDIA(G0):  - Setting a mode on head 0 failed: Insufficient permissions
Dec 30 19:47:53 manjaro /usr/lib/gdm-x-session[875]: (WW) NVIDIA(G0):  - Setting a mode on head 1 failed: Insufficient permissions
Dec 30 19:47:53 manjaro /usr/lib/gdm-x-session[875]: (WW) NVIDIA(G0):  - Setting a mode on head 2 failed: Insufficient permissions
Dec 30 19:47:53 manjaro /usr/lib/gdm-x-session[875]: (WW) NVIDIA(G0):  - Setting a mode on head 3 failed: Insufficient permissions
Dec 30 19:47:53 manjaro /usr/lib/gdm-x-session[875]: (II) NVIDIA(GPU-0): Deleting GPU-0
Dec 30 19:47:53 manjaro gnome-session[1818]: Unable to init server: Could not connect: Connection refused
Dec 30 19:47:53 manjaro gnome-session-f[1818]: Cannot open display: 
Dec 30 19:47:53 manjaro /usr/lib/gdm-x-session[902]: Failed to launch bus: Bus exited with code 0
Dec 30 19:47:53 manjaro /usr/lib/gdm-x-session[875]: (II) Server terminated successfully (0). Closing log file.

@bogdancovaciu
I updated my kernel to 5.9 and the above logs are from a crash on version 5.9. Also my gnome version is 3.38.2 in the about page as well it is showing that, I cannot post a screenshot here, I even ran sudo pacman -Syu and sudo pacman -Syyu as well. There was nothing to update

No worries, whatsoever. I’m still learning myself.

From what I can see here, it looks like it’s Gnome itself crashing.

I am unable to figure out why, maybe someone else can help?

Also, we need to figure out what’s causing the crash that was logged there. So, according to, https://linuxhint.com/find_gnome_logs/ ,and I’d say it would be, it is helpful to view all the logs from your user. To accomplish this, run:

journalctl _UID=$(id -u)

as the user that’s having the problems. It’s already paginated, so no need to pipe it to more or less.

Try linking it to a pastebin so that we can view it.

I might not be helping you further, because my day is just about over, but then at least it’s there for someone else that might know. I’ll check in again tomorrow, though.

@Mirdarthos thank you so much for helping me out. Currently I am away from the device, I’ll post more logs tomorrow. Is it possible because of Mutter having some bugs with nvidia drivers that is creating this problem? The logs I posted above are the output for my user itself, I’ll post more tomorrow. I also read about using 440xx drivers, should I try that as well? I really love manjaro and want to learn more about linux especially arch, I don’t want to switch to some other distro like Pop!_os or something.

The crashes are more frequent now, I saved the logs using Manjaro Log helper and had to use a live usb to access those logs. I think I found where the crash is occuring but I have no idea how to fix it.
I copied the logs to pastebin, @Mirdarthos here’s the link: Crash log Manjaro 20.2 - Pastebin.com

From what I understood, I’m pasting some part of the logs below. Can anyone please help me understand what’s going wrong and how can I fix it?

Dec 31 10:17:23 manjaro systemd[1333]: app-gnome-create\x2dtemplate-1751.scope: Succeeded.
Dec 31 10:17:23 manjaro systemd[1333]: app-gnome-snap\x2duserd\x2dautostart-1748.scope: Succeeded.
Dec 31 10:17:23 manjaro gnome-shell[1431]: GNOME Shell started at Thu Dec 31 2020 10:17:21 GMT+0530 (India Standard Time)
Dec 31 10:17:23 manjaro gnome-shell[1431]: Registering session with GDM
Dec 31 10:17:23 manjaro /usr/lib/gdm-x-session[871]: dbus-daemon[871]: [session uid=120 pid=871] Activating service name='org.freedesktop.systemd1' requested by ':1.11' (uid=120 pid=980 comm="/usr/lib/gsd-sharing " label="unconfined")
Dec 31 10:17:23 manjaro gnome-shell[898]: gnome-shell: Fatal IO error 4 (Interrupted system call) on X server :0.
Dec 31 10:17:23 manjaro gnome-session[872]: gnome-session-binary[872]: WARNING: Lost name on bus: org.gnome.SessionManager
Dec 31 10:17:23 manjaro gnome-session-binary[872]: WARNING: Lost name on bus: org.gnome.SessionManager
Dec 31 10:17:23 manjaro gsd-keyboard[984]: gsd-keyboard: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Dec 31 10:17:23 manjaro ibus-daemon[934]: GChildWatchSource: Exit status of a child process was requested but ECHILD was received by waitpid(). See the documentation of g_child_watch_source_new() for possible causes.
Dec 31 10:17:23 manjaro gsd-print-notif[987]: Error releasing name org.gnome.SettingsDaemon.PrintNotifications: The connection is closed
Dec 31 10:17:23 manjaro gsd-color[983]: gsd-color: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Dec 31 10:17:23 manjaro gsd-rfkill[991]: Error releasing name org.gnome.SettingsDaemon.Rfkill: The connection is closed
Dec 31 10:17:23 manjaro gsd-wacom[993]: gsd-wacom: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Dec 31 10:17:23 manjaro gsd-xsettings[1013]: gsd-xsettings: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Dec 31 10:17:23 manjaro gsd-screensaver[1009]: Error releasing name org.gnome.SettingsDaemon.ScreensaverProxy: The connection is closed
Dec 31 10:17:23 manjaro gsd-a11y-settin[1012]: Error releasing name org.gnome.SettingsDaemon.A11ySettings: The connection is closed
Dec 31 10:17:23 manjaro gsd-housekeepin[1016]: Error releasing name org.gnome.SettingsDaemon.Housekeeping: The connection is closed
Dec 31 10:17:23 manjaro gsd-media-keys[1001]: gsd-media-keys: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Dec 31 10:17:23 manjaro gsd-datetime[998]: Error releasing name org.gnome.SettingsDaemon.Datetime: The connection is closed
Dec 31 10:17:23 manjaro gsd-power[1020]: gsd-power: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Dec 31 10:17:23 manjaro /usr/lib/gdm-x-session[863]: (II) UnloadModule: "libinput"
Dec 31 10:17:23 manjaro /usr/lib/gdm-x-session[863]: (II) systemd-logind: releasing fd for 13:68
Dec 31 10:17:23 manjaro /usr/lib/gdm-x-session[863]: (II) UnloadModule: "libinput"
Dec 31 10:17:23 manjaro /usr/lib/gdm-x-session[863]: (II) systemd-logind: releasing fd for 13:82
Dec 31 10:17:23 manjaro gsd-color[1608]: failed to connect to device: Failed to connect to missing device /org/freedesktop/ColorManager/devices/xrandr_AU_Optronics_gdm_120
Dec 31 10:17:23 manjaro libinput-gestures.desktop[1792]: Failed to open /dev/input/event2 (Permission denied)
Dec 31 10:17:23 manjaro libinput-gestures.desktop[1792]: Failed to open /dev/input/event8 (Permission denied)
Dec 31 10:17:23 manjaro libinput-gestures.desktop[1792]: Failed to open /dev/input/event7 (Permission denied)
Dec 31 10:17:23 manjaro libinput-gestures.desktop[1792]: Failed to open /dev/input/event0 (Permission denied)
Dec 31 10:17:23 manjaro libinput-gestures.desktop[1792]: Failed to open /dev/input/event1 (Permission denied)
Dec 31 10:17:23 manjaro libinput-gestures.desktop[1792]: Failed to open /dev/input/event19 (Permission denied)
Dec 31 10:17:23 manjaro libinput-gestures.desktop[1792]: Failed to open /dev/input/event16 (Permission denied)
Dec 31 10:17:23 manjaro libinput-gestures.desktop[1792]: Failed to open /dev/input/event17 (Permission denied)
Dec 31 10:17:23 manjaro libinput-gestures.desktop[1792]: Failed to open /dev/input/event10 (Permission denied)
Dec 31 10:17:23 manjaro libinput-gestures.desktop[1792]: Failed to open /dev/input/event11 (Permission denied)
Dec 31 10:17:23 manjaro libinput-gestures.desktop[1792]: Failed to open /dev/input/event12 (Permission denied)
Dec 31 10:17:23 manjaro libinput-gestures.desktop[1792]: Failed to open /dev/input/event13 (Permission denied)
Dec 31 10:17:23 manjaro libinput-gestures.desktop[1792]: Failed to open /dev/input/event14 (Permission denied)
Dec 31 10:17:23 manjaro libinput-gestures.desktop[1792]: Failed to open /dev/input/event15 (Permission denied)
Dec 31 10:17:23 manjaro libinput-gestures.desktop[1792]: Failed to open /dev/input/event9 (Permission denied)
Dec 31 10:17:23 manjaro libinput-gestures.desktop[1792]: Failed to open /dev/input/event3 (Permission denied)
Dec 31 10:17:23 manjaro libinput-gestures.desktop[1792]: Failed to open /dev/input/event5 (Permission denied)
Dec 31 10:17:23 manjaro libinput-gestures.desktop[1792]: Failed to open /dev/input/event6 (Permission denied)
Dec 31 10:17:23 manjaro libinput-gestures.desktop[1792]: Failed to open /dev/input/event18 (Permission denied)
Dec 31 10:17:23 manjaro libinput-gestures.desktop[1792]: Failed to open /dev/input/event4 (Permission denied)
Dec 31 10:17:23 manjaro libinput-gestures.desktop[1758]: Can not see any devices, did you add yourself to the input group and log out/in?
Dec 31 10:17:23 manjaro libinput-gestures.desktop[1758]: Could not determine touchpad device.
Dec 31 10:17:23 manjaro polkitd[754]: Unregistered Authentication Agent for unix-session:1 (system bus name :1.24, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.utf8) (disconnected from bus)
Dec 31 10:17:23 manjaro /usr/lib/gdm-x-session[863]: (II) UnloadModule: "libinput"
Dec 31 10:17:23 manjaro /usr/lib/gdm-x-session[863]: (II) systemd-logind: releasing fd for 13:67
Dec 31 10:17:23 manjaro systemd[1333]: app-gnome-libinput\x2dgestures-1758.scope: Succeeded.
Dec 31 10:17:23 manjaro /usr/lib/gdm-x-session[863]: (II) UnloadModule: "libinput"
Dec 31 10:17:23 manjaro /usr/lib/gdm-x-session[863]: (II) systemd-logind: releasing fd for 13:81
Dec 31 10:17:23 manjaro /usr/lib/gdm-x-session[863]: (II) UnloadModule: "libinput"
Dec 31 10:17:23 manjaro /usr/lib/gdm-x-session[863]: (II) systemd-logind: releasing fd for 13:80
Dec 31 10:17:23 manjaro /usr/lib/gdm-x-session[863]: (II) UnloadModule: "libinput"
Dec 31 10:17:23 manjaro /usr/lib/gdm-x-session[863]: (II) systemd-logind: releasing fd for 13:83
Dec 31 10:17:23 manjaro /usr/lib/gdm-x-session[863]: (II) UnloadModule: "libinput"
Dec 31 10:17:23 manjaro /usr/lib/gdm-x-session[863]: (II) systemd-logind: releasing fd for 13:65
Dec 31 10:17:23 manjaro /usr/lib/gdm-x-session[863]: (II) UnloadModule: "libinput"
Dec 31 10:17:23 manjaro /usr/lib/gdm-x-session[863]: (II) systemd-logind: releasing fd for 13:71
Dec 31 10:17:23 manjaro /usr/lib/gdm-x-session[863]: (II) UnloadModule: "libinput"
Dec 31 10:17:23 manjaro /usr/lib/gdm-x-session[863]: (II) systemd-logind: releasing fd for 13:72
Dec 31 10:17:23 manjaro /usr/lib/gdm-x-session[863]: (II) UnloadModule: "libinput"
Dec 31 10:17:23 manjaro /usr/lib/gdm-x-session[863]: (II) systemd-logind: releasing fd for 13:66
Dec 31 10:17:23 manjaro /usr/lib/gdm-x-session[863]: (WW) NVIDIA(G0): Failed to set the display configuration
Dec 31 10:17:23 manjaro /usr/lib/gdm-x-session[863]: (WW) NVIDIA(G0):  - Setting a mode on head 0 failed: Insufficient permissions
Dec 31 10:17:23 manjaro /usr/lib/gdm-x-session[863]: (WW) NVIDIA(G0):  - Setting a mode on head 1 failed: Insufficient permissions
Dec 31 10:17:23 manjaro /usr/lib/gdm-x-session[863]: (WW) NVIDIA(G0):  - Setting a mode on head 2 failed: Insufficient permissions
Dec 31 10:17:23 manjaro /usr/lib/gdm-x-session[863]: (WW) NVIDIA(G0):  - Setting a mode on head 3 failed: Insufficient permissions
Dec 31 10:17:23 manjaro /usr/lib/gdm-x-session[863]: (II) NVIDIA(GPU-0): Deleting GPU-0
Dec 31 10:17:23 manjaro gnome-session[1790]: Unable to init server: Could not connect: Connection refused
Dec 31 10:17:23 manjaro gnome-session-f[1790]: Cannot open display: 
Dec 31 10:17:23 manjaro /usr/lib/gdm-x-session[863]: (II) Server terminated successfully (0). Closing log file.
Dec 31 10:17:23 manjaro audit[831]: USER_END pid=831 uid=0 auid=120 ses=1 subj==unconfined msg='op=PAM:session_close grantors=pam_loginuid,pam_keyinit,pam_succeed_if,pam_permit,pam_systemd,pam_env acct="gdm" exe="/usr/lib/gdm-session-worker" hostname=manjaro addr=? terminal=/dev/tty1 res=success'
Dec 31 10:17:23 manjaro audit[831]: CRED_DISP pid=831 uid=0 auid=120 ses=1 subj==unconfined msg='op=PAM:setcred grantors=pam_permit acct="gdm" exe="/usr/lib/gdm-session-worker" hostname=manjaro addr=? terminal=/dev/tty1 res=success'
Dec 31 10:17:23 manjaro systemd[1]: session-1.scope: Succeeded.
Dec 31 10:17:23 manjaro kernel: audit: type=1106 audit(1609390043.846:91): pid=831 uid=0 auid=120 ses=1 subj==unconfined msg='op=PAM:session_close grantors=pam_loginuid,pam_keyinit,pam_succeed_if,pam_permit,pam_systemd,pam_env acct="gdm" exe="/usr/lib/gdm-session-worker" hostname=manjaro addr=? terminal=/dev/tty1 res=success'
Dec 31 10:17:23 manjaro kernel: audit: type=1104 audit(1609390043.846:92): pid=831 uid=0 auid=120 ses=1 subj==unconfined msg='op=PAM:setcred grantors=pam_permit acct="gdm" exe="/usr/lib/gdm-session-worker" hostname=manjaro addr=? terminal=/dev/tty1 res=success'
Dec 31 10:17:23 manjaro systemd-logind[756]: Removed session 1.
Dec 31 10:17:23 manjaro systemd[838]: pulseaudio.service: Succeeded.
Dec 31 10:17:23 manjaro gdm[782]: Gdm: Child process -861 was already dead.
Dec 31 10:17:25 manjaro systemd[1333]: app-gnome-manjaro\x2dapply\x2dlocale-1764.scope: Succeeded.

Hi @pokemongo,

Based on what I see here, it seems, to me at least, there might be a permission problems.

I don’t wanna be one of those people always saying everything different from their setup is bad. However, I might sound like it. Please forgive me if I do.

I’d recommend the following:

  • As you suggested and considered, try another nvidia driver. I use the 455xx one myself.
  • Try another kernel version:
    To get the current version:
$ sudo mhwd-kernel -li
Currently running: 5.4.85-1-MANJARO (linux54)
The following kernels are installed in your system:
* linux54

As toy can see, I have kernel 5.4 installed.

To get a list of available kernels, run:

$ sudo mhwd-kernel -l
available kernels:
* linux414
* linux419
* linux44
* linux49
* linux510
* linux54
* linux59
* linux54-rt
* linux59-rt

Install a different one than the one you are currently using, using the -i argument. For example:

$ sudo mhwd-kernel -i linux510

Reboot, select the new kernel to use from the GRUB screen and test with that.

  • If that works, cool. If not, it might be a messed up Gnome or something. Do you get the problem when using a Live ISO? I use KDE, and have never seen or experienced anything even remotely like this and I am in no way an expert. So, to my beginners knowledge and understanding, if the Live ISOs doesn’t have the same thing, I’d recommend a re-installation. But that’s just me, I think.
    NOTE:
    If the problem is caused by another issue, it might manifest again.
  • If the problem persists, go buy a cat and sacrifice him to the Computer devil and hope for the best.

Really, really, really hope this helps.

Btw, have you installed any shell extensions from the gnome website? If so, I would recommend trying to disable them to see if the issue persists. Besides graphics driver issues, this is another thing that can cause this kind of behavior.

Also, add your user to input group to solve those permissions issues in your log.

1 Like

This is something I didn’t think of, thank you for mentioning it!

@Mirdarthos
Hi, thank you again for helping me out. I have tried with kernels 5.8 and 5.9 along with nvidia drivers 455xx and 450xx, but the issue still persists. I’ll try with kernel 5.4 LTS version now. What’s surprising is that I didn’t have any of these issues when I was using the live USB, it worked flawlessly. I tried live USB for manjaro 20.1 and 20.2 both, installed both but both have the same problems

@Chrysostomus
Hi thank you for helping me out. I haven’t installed anything on top of the manjaro install. Only the extensions that come installed by default are enabled. After the first crash I ran sudo pacman -Syu to see if updated packages solve the issue but it’s still the same. I’ll disable all the extensions and will let you all know if the issue gets resolved. I’ll also add my user to the input group as well

This makes me think it’s some kind of permission error. Or something. I’m really at a loss here and don’t know how to go about from here on. If it was me, I’d have reinstalled it by now. It sounds extremely annoying and I’d have run out of patience.

Try also installing the free drivers with mhwd or manjaro-settings-manager. This looks like a graphics driver issue.

Though nvidia drivers should still work on that card… :thinking:

@Chrysostomus
I added my user in the input group and rebooted, but the crash still happened and it happened almost immediately after logging in and opening firefox. I have copied the logs on a pastebin, here’s the link: https://pastebin.com/T00TnGeH There are a lot of errors in there that I cannot understand, sorry. I will disable all the extensions and test now.

@Mirdarthos
Currently installing kernel 5.4 to see if it helps, also I’m using the 455xx drivers.

If this doesn’t work, I’ll try a reinstall again. Any instructions or things I should look out for during the reinstall? If the issue persists, I’ll try KDE but I’m not sure it’s something that I want to use as a daily driver.
Thank you again guys for helping me out

Happy New Year guyss…!!!
I reinstalled Manjaro 20.2 with open source drivers, it worked great without any issues for 1 and half hour, but then crashed the same way. I opened the logs but there’s nothing indicating what caused the crash. Disabling the extensions also changed nothing. But disabling the nvidia drivers increased the stability a lot. Tried the kernel 5.4, but its still the same. I want Gnome to work but I’m out of options now, I’ll try with KDE tomorrow probably. Thank you for your help guys @Mirdarthos @Chrysostomus @bogdancovaciu Please let me know if you find any solutions for this problem

Good news guys, I got it working finally. Last night I made a fresh USB with a new iso. Installed Manjaro 20.2 with proprietary drivers. In the morning, the system booted properly, I immediately added my user to the input group, it crashed once. I restarted and disabled all the extensions and the sleep and suspend timers. I saw new updates have been released so did sudo pacman -Syu completed the upgrade but during the upgrade, it uninstalled my nvidia drivers, here’s the log for it:

==> Checking if Nvidia drivers need an update ...
==> Maintaining video driver hybrid-intel-nvidia-455xx-prime
> Removing video-hybrid-intel-nvidia-455xx-prime...
Sourcing /etc/mhwd-x86_64.conf
Has lib32 support: true
Sourcing /var/lib/mhwd/local/pci/video-hybrid-intel-nvidia-455xx-prime/MHWDCONFIG
Processing classid: 0300
Sourcing /var/lib/mhwd/scripts/include/0300
checking dependencies...
:: ffmpeg optionally requires nvidia-utils: Nvidia NVDEC/NVENC support
:: vulkan-icd-loader optionally requires vulkan-driver: packaged vulkan driver

Packages (4) lib32-nvidia-455xx-utils-455.45.01-1  linux59-nvidia-455xx-455.45.01-4  nvidia-455xx-utils-455.45.01-1  nvidia-prime-1.0-4

Total Removed Size:  452.97 MiB

:: Do you want to remove these packages? [Y/n] 
:: Processing package changes...
removing linux59-nvidia-455xx...
removing lib32-nvidia-455xx-utils...
xorg configuration symlink valid...
removing nvidia-prime...
removing nvidia-455xx-utils...
xorg configuration symlink valid...
:: Running post-transaction hooks...
(1/4) Reloading system manager configuration...
(2/4) Arming ConditionNeedsUpdate...
(3/4) Updating module dependencies...
(4/4) Updating the desktop file MIME type cache...
'/etc/X11/xorg.conf.d/90-mhwd.conf' symlink is invalid! Removing it...
> Successfully removed video-hybrid-intel-nvidia-455xx-prime
==> Installing Nvidia drivers for you ...
Error: config 'video-hybrid-intel-nvidia-prime' does not exist!

I let the upgrade complete and after that I rebooted the system. Everything was working properly so I decided to enable the extensions. Enabled the extensions, still everything is working. Took it to the next level by installing proprietary drivers for nvidia using mhwd:
sudo mhwd -a pci nonfree 0300
It installed the following driver:

--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-prime            2020.11.30               false            PCI
     video-modesetting            2020.01.13                true            PCI


Warning: No installed USB configs!

Should I install 455xx? Or will this be ok? I plan on using Tensorflow gpu and do some gaming as well.

Thank you so much everyone @Mirdarthos @Chrysostomus @bogdancovaciu for your help. I learned a lot through this.

Very happy it worked out for you!

AFAIK, and I stand to be corrected, you no longer need to specify the version of the drivers to install. I’m in no way certain about hybrids so that might be different, but AFAIK, at least for me, the video-nvidia is all that’s necessary.

Update:
Everything is working flawlessly and is butter smooth. Finally switched from windows to linux full time and it is so worth it. @Mirdarthos Nvidia drivers are working well, my GPU is being detected in tensorflow as well. Manjaro is really great, no more ubuntu or Pop!_os

1 Like