You are not logged in.

#1 2024-03-07 19:05:55

DeutscheGabanna
Member
Registered: 2023-08-15
Posts: 10

Black screen after gnome-login with cursor (only sometimes!)

Hi,

if this error was occuring every time, it might be easier to reproduce. But the black screen after logging in on gnome, with just an X cursor visible, occurs once per maybe 10 boots.
First - I obviously keep my packages up to date by running `sudo pacman -Syyu`.

Here's the `journalctl -p 3 -xb` from 3 past boots that includes one black screen occurence.

mar 07 19:56:19 arch kernel: 
mar 07 19:56:19 arch (udev-worker)[352]: event7: Failed to call EVIOCSKEYCODE with scan code 0x7c, and key code 190: Invalid argument
mar 07 19:56:20 arch kernel: nvidia-gpu 0000:09:00.3: i2c timeout error e0000000
mar 07 19:56:20 arch kernel: ucsi_ccg 3-0008: i2c_transfer failed -110
mar 07 19:56:20 arch kernel: ucsi_ccg 3-0008: ucsi_ccg_init failed - -110
mar 07 19:56:21 arch bluetoothd[534]: src/device.c:set_wake_allowed_complete() Set device flags return status: Invalid Parameters
mar 07 19:56:21 arch sendmail[625]: My unqualified host name (arch) unknown; sleeping for retry
mar 07 19:56:28 arch bluetoothd[534]: profiles/input/hog-lib.c:report_ccc_written_cb() Write report characteristic descriptor failed: Request attribute has encountered an unlikely error
mar 07 19:56:28 arch bluetoothd[534]: profiles/input/hog-lib.c:report_ccc_written_cb() Write report characteristic descriptor failed: Request attribute has encountered an unlikely error
mar 07 19:56:28 arch bluetoothd[534]: profiles/input/hog-lib.c:report_ccc_written_cb() Write report characteristic descriptor failed: Request attribute has encountered an unlikely error
mar 07 19:56:35 arch gdm-password][1106]: gkr-pam: unable to locate daemon control file
mar 07 19:56:37 arch systemd[1118]: Failed to start Application launched by gnome-session-binary.
░░ Subject: A start job for unit UNIT has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit UNIT has finished with a failure.
░░ 
░░ The job identifier is 194 and the job result is failed.
mar 07 19:57:21 arch sendmail[625]: unable to qualify my own domain name (arch) -- using short name
mar 07 19:57:21 arch sendmail[625]: My unqualified host name (arch) unknown; sleeping for retry

What might be the problem?

Offline

#2 2024-03-07 19:12:58

DeutscheGabanna
Member
Registered: 2023-08-15
Posts: 10

Re: Black screen after gnome-login with cursor (only sometimes!)

Offline

#3 2024-03-07 21:41:20

seth
Member
Registered: 2012-09-03
Posts: 51,587

Re: Black screen after gnome-login with cursor (only sometimes!)

up to date by running `sudo pacman -Syyu`

Don't. Check the pacman manpage, understand what the second "y" actually does and how this can harm you and stop using it unless you *REALLY* mean to.

Here's the `journalctl -p 3 -xb`

Isn't really helpful.
The "p" is priority, it doesn't control the boot age, -x is flat out spam - never use this in support requests and while that looks like a system journal, run journalctl as root unless you're in the wheel or adm groups.

Please post your complete system journal for and affected boot:

sudo journalctl -b -3 | curl -F 'file=@-' 0x0.st

for three boots ago (if that was the intention)

Offline

#4 2024-03-08 16:45:48

DeutscheGabanna
Member
Registered: 2023-08-15
Posts: 10

Re: Black screen after gnome-login with cursor (only sometimes!)

Offline

#5 2024-03-08 16:55:34

seth
Member
Registered: 2012-09-03
Posts: 51,587

Re: Black screen after gnome-login with cursor (only sometimes!)

Disable dhcpcd (though that's hardly the problem)
The journal has only one login into a gnome X11 session that ran for ~25m and has FF and steam running, so I assume that wasn't a "black screen" session?

mar 07 18:39:15 arch /usr/lib/gdm-x-session[1099]: (==) Using config file: "/etc/X11/xorg.conf"
mar 07 18:39:15 arch /usr/lib/gdm-x-session[1099]: (==) Using config directory: "/etc/X11/xorg.conf.d"
mar 07 18:39:15 arch /usr/lib/gdm-x-session[1099]: (==) Using system config directory "/usr/share/X11/xorg.conf.d"
mar 07 18:39:15 arch /usr/lib/gdm-x-session[1099]: (==) ServerLayout "Layout0"
mar 07 18:39:15 arch /usr/lib/gdm-x-session[1099]: (**) |-->Screen "Screen0" (0)
mar 07 18:39:15 arch /usr/lib/gdm-x-session[1099]: (**) |   |-->Monitor "Monitor0"
mar 07 18:39:15 arch /usr/lib/gdm-x-session[1099]: (**) |   |-->Device "Device0"
mar 07 18:39:15 arch /usr/lib/gdm-x-session[1099]: (**) |-->Input Device "Keyboard0"
mar 07 18:39:15 arch /usr/lib/gdm-x-session[1099]: (**) |-->Input Device "Mouse0"

remove /etc/X11/xorg.conf to not hav e it gloss over problems.

You're running nvidia 550xx w/ apparently nvidia_drm modeset=1 fbdev=1 (you're not using the kernel parameter but the simpledrm device isn't to be seen anywhere)
Try to add the "nvidia_drm.modeset=1" kernel parameter and remove fbdev=1, its status is currently inconclusive.

Offline

#6 2024-04-13 16:27:43

yueduz
Member
Registered: 2024-04-13
Posts: 1

Re: Black screen after gnome-login with cursor (only sometimes!)

I encountered the same problem

"Activation request for 'org.freedesktop.nm_dispatcher' failed."
This is my last failure, I currently uninstalled networkmanager and continue testing

Last edited by yueduz (2024-04-13 16:32:19)

Offline

#7 2024-04-14 10:41:39

DeutscheGabanna
Member
Registered: 2023-08-15
Posts: 10

Re: Black screen after gnome-login with cursor (only sometimes!)

seth wrote:

Try to add the "nvidia_drm.modeset=1" kernel parameter and remove fbdev=1, its status is currently inconclusive.

I did try that. Setting the modeset to 1 caused flickering issues in games. I suspect it may be because the games started running in Xwayland mode and my Nvidia GPU does not work well in this mode. Returning to X11 and no modeset removed this problem.

Removing the fbdev=1 proved to be harder. I cannot find for the love of me any file that sets it. I searched in /etc/modprobe.d/ and there is no mention of it:

$ cat /etc/modprobe.d/*
blacklist nouveau
options nvidia NVreg_PreserveVideoMemoryAllocations=1
options snd_hda_intel power_save=0

Offline

#8 2024-04-14 13:58:46

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,764

Re: Black screen after gnome-login with cursor (only sometimes!)

A kernel parameter is never set in modprobe.d but in the configuration of your bootloader: https://wiki.archlinux.org/title/Kernel_parameters

Offline

#9 2024-04-20 11:27:38

DeutscheGabanna
Member
Registered: 2023-08-15
Posts: 10

Re: Black screen after gnome-login with cursor (only sometimes!)

I stumbled on the problem once again and have prepared two journalctl files - one with a successful boot & login and the other where there's a black screen.

Successful: http://0x0.st/XoWc.txt
Failed: http://0x0.st/XoWT.txt

Offline

#10 2024-04-20 12:12:22

seth
Member
Registered: 2012-09-03
Posts: 51,587

Re: Black screen after gnome-login with cursor (only sometimes!)

Apr 20 13:15:31 arch kernel: [drm] Initialized simpledrm 1.0.0 20200625 for simple-framebuffer.0 on minor 0
Apr 20 13:15:31 arch kernel: simple-framebuffer simple-framebuffer.0: [drm] fb0: simpledrmdrmfb frame buffer device
Apr 20 13:15:35 arch /usr/lib/gdm-x-session[611]: (II) Platform probe for /sys/devices/platform/simple-framebuffer.0/drm/card0
Apr 20 13:15:36 arch /usr/lib/gdm-x-session[611]: MESA-LOADER: failed to open simpledrm: /usr/lib/dri/simpledrm_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)
Apr 20 13:15:37 arch kernel: simple-framebuffer simple-framebuffer.0: swiotlb buffer is full (sz: 14675968 bytes), total 32768 (slots), used 0 (slots)
Apr 20 13:16:16 arch /usr/lib/gdm-x-session[1151]: (II) Platform probe for /sys/devices/platform/simple-framebuffer.0/drm/card0
Apr 20 13:16:16 arch /usr/lib/gdm-x-session[1151]: MESA-LOADER: failed to open simpledrm: /usr/lib/dri/simpledrm_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)
Apr 20 13:16:17 arch kernel: simple-framebuffer simple-framebuffer.0: swiotlb buffer is full (sz: 14675968 bytes), total 32768 (slots), used 0 (slots)

That's the SIMPLYDUMB device, enable https://wiki.archlinux.org/title/NVIDIA … de_setting - use the "nvidia_drm.modeset=1" kernel parameter (modprobe.conf won't do!)

Offline

Board footer

Powered by FluxBB