GNOME white flashes after login

Everytime I login using gdm, the screen shows white screen for one second, it really makes my eyes hurt.

See the video on 0:01

Is there any solution for this?

~ >>> journalctl -e -u gdm
Okt 28 16:56:10 andraantariksa-laptop systemd[1]: Starting GNOME Display Manager...
Okt 28 16:56:11 andraantariksa-laptop systemd[1]: Started GNOME Display Manager.
Okt 28 16:56:23 andraantariksa-laptop gdm-password][1413]: gkr-pam: unable to locate daemon control file
Okt 28 16:56:23 andraantariksa-laptop gdm-password][1413]: gkr-pam: stashed password to try later in open session
Okt 28 16:56:23 andraantariksa-laptop gdm-password][1413]: pam_systemd_home(gdm-password:account): systemd-homed is not available: Unit dbus-org.free>
Okt 28 16:56:23 andraantariksa-laptop gdm-password][1413]: pam_unix(gdm-password:session): session opened for user andraantariksa(uid=1000) by (uid=0)
Okt 28 16:56:24 andraantariksa-laptop gdm-password][1413]: gkr-pam: gnome-keyring-daemon started properly and unlocked keyring
Okt 28 17:02:27 andraantariksa-laptop gdm-password][3044]: gkr-pam: unable to locate daemon control file
Okt 28 17:02:27 andraantariksa-laptop gdm-password][3044]: gkr-pam: stashed password to try later in open session
Okt 28 17:02:27 andraantariksa-laptop gdm-password][3044]: pam_systemd_home(gdm-password:account): systemd-homed is not available: Unit dbus-org.free>
Okt 28 17:02:27 andraantariksa-laptop gdm-password][3044]: pam_unix(gdm-password:session): session opened for user andraantariksa(uid=1000) by (uid=0)
Okt 28 17:02:27 andraantariksa-laptop gdm-password][3044]: gkr-pam: gnome-keyring-daemon started properly and unlocked keyring
~ >>> inxi -F                                                                                                                                    [22]
System:    Host: andraantariksa-laptop Kernel: 5.8.16-2-MANJARO x86_64 bits: 64 Desktop: GNOME 3.36.6 Distro: Manjaro Linux 
Machine:   Type: Laptop System: ASUSTeK product: X555QA v: 1.0 serial: <superuser/root required> 
           Mobo: ASUSTeK model: X555QA v: 1.0 serial: <superuser/root required> UEFI: American Megatrends v: X555QA.329 
           date: 05/10/2019 
Battery:   ID-1: BAT0 charge: 30.6 Wh condition: 31.1/38.0 Wh (82%) 
CPU:       Topology: Quad Core model: AMD A12-9720P RADEON R7 12 COMPUTE CORES 4C+8G bits: 64 type: MCP L2 cache: 1024 KiB 
           Speed: 2283 MHz min/max: 1400/2700 MHz Core speeds (MHz): 1: 2984 2: 2107 3: 1395 4: 1392 
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Wani [Radeon R5/R6/R7 Graphics] driver: amdgpu v: kernel 
           Device-2: IMC Networks type: USB driver: uvcvideo 
           Display: x11 server: X.Org 1.20.9 driver: amdgpu,ati unloaded: modesetting,radeon resolution: 1366x768~60Hz 
           OpenGL: renderer: AMD Radeon R7 Graphics (CARRIZO DRM 3.38.0 5.8.16-2-MANJARO LLVM 10.0.1) v: 4.6 Mesa 20.1.8 
Audio:     Device-1: Advanced Micro Devices [AMD/ATI] Kabini HDMI/DP Audio driver: snd_hda_intel 
           Device-2: Advanced Micro Devices [AMD] Family 15h Audio driver: snd_hda_intel 
           Sound Server: ALSA v: k5.8.16-2-MANJARO 
Network:   Device-1: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter driver: ath9k 
           IF: wlp1s0 state: up mac: 30:d1:6b:2b:1f:fc 
           Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169 
           IF: enp2s0 state: down mac: 04:92:26:10:48:4f 
Drives:    Local Storage: total: 1.03 TiB used: 112.68 GiB (10.7%) 
           ID-1: /dev/sda vendor: V-Gen model: 07SM20AR128SDK 128GB size: 119.24 GiB 
           ID-2: /dev/sdb vendor: Toshiba model: MQ04ABF100 size: 931.51 GiB 
Partition: ID-1: / size: 116.29 GiB used: 29.63 GiB (25.5%) fs: ext4 dev: /dev/sda2 
           ID-2: /home size: 448.50 GiB used: 83.05 GiB (18.5%) fs: ext4 dev: /dev/sdb5 
Swap:      Alert: No Swap data was found. 
Sensors:   System Temperatures: cpu: 60.6 C mobo: N/A gpu: amdgpu temp: 60 C 
           Fan Speeds (RPM): cpu: 3100 
Info:      Processes: 271 Uptime: 14m Memory: 6.81 GiB used: 1.89 GiB (27.8%) Shell: Zsh inxi: 3.1.05

Try switching to Wayland? :slight_smile:

For gdm Cant enable wayland

at
/etc/gdm/custom.conf 

WaylandEnable=true

Reboot and try

Why it only occurs when I use Xorg? Can you explain what is the cause? Is there any alternative other than using Wayland? I have some problem with other application when I’m using Wayland like OBS studio and others.

Bugs, Xorg is basically abandonware now, GDM is big and Gnome is not bothering to make it as smooth as possible with somthing even bigger.

Are you sure the resolution is the same? I remeber GDM when logged it switched mÄ› to /dev/tty2 .

Changing the resolution of the TTY by modifing the GRUB config might help remove the flash? You could try tricks with nomodeset + resolution How to increase TTY console resolution on Ubuntu 18.04 Server - LinuxConfig.org

I had no problem with Xorg, except these flash in the login, but I have more problem with Wayland :neutral_face: . Anyway, is this only happens in GNOME? What about KDE?

Your issue is unique for your Hardware. There is million + 1 reasons why this happens, maybe it’s your ACPI table in bios wrong, maybe driver issue.

Try KDE and see. No one knows.

1 Like

Reinstalled the OS and moving to KDE is the best solution for me, no flashes and I’m able to screen record using OBS without any plugins

1 Like

Cool you can be happy with KDE :slight_smile:

1 Like

I don’t know what causes it - it appears to be a random issue - albeit for me it is rather consistent - and I am using LXDM to login into Openbox WM. I am even considering switching to console login - then some kind of automation to launch the window manager.

Lucky for me that sway can be started from agetty right away. For Openbox WM it should be doable right? I can’t imagine launching something more complex line Gnome without the GDM extremely complex scripts.

I found the cause of flashing on my system.

I moved picom to the bottom of my Openbox autostart - problem gone - I have been so annoyed - and such a simple fix - I feel like a :clown_face:

1 Like