Linux kernel 5.10+ still permalocks my screen once it's inactive, forcing me to restart the computer


SN: UHBA2021041182

Hardware info

[folaht@pjehrsohmehj ~]$ inxi -SCGM
System:    Host: pjehrsohmehj Kernel: 5.15.2-2-MANJARO x86_64 bits: 64 Desktop: Xfce 4.16.0 Distro: Manjaro Linux
Machine:   Type: Desktop Mobo: ASRock model: J5040-ITX serial: <superuser required> UEFI: American Megatrends v: P1.60
           date: 01/17/2020
CPU:       Info: Quad Core model: Intel Pentium Silver J5040 bits: 64 type: MCP cache: L2: 4 MiB
           Speed: 937 MHz min/max: 800/3200 MHz Core speeds (MHz): 1: 937 2: 3104 3: 2167 4: 2553
Graphics:  Device-1: Intel GeminiLake [UHD Graphics 605] driver: i915 v: kernel
           Display: x11 server: X.Org driver: loaded: modesetting resolution: 1: 1920x1080~60Hz 2: 1920x1080~60Hz
           OpenGL: renderer: Mesa Intel UHD Graphics 605 (GLK 3) v: 4.6 Mesa 21.2.5

/var/log/Xorg.log.0 full

/var/log/Xorg.log.0 only Warnings & Errors

1 Like

Maybe worth trying latest BIOS ?

Do you have TLP installed?
Have you tried with and without the xf86-video-intel installed?

What is TLP?


It’s loaded but exited?

$ sudo systemctl status tlp
[sudo] Mot de passe de folaht :
● tlp.service - TLP system startup/shutdown
     Loaded: loaded (/usr/lib/systemd/system/tlp.service; enabled; vendor preset: disabled)
     Active: active (exited) since Mon 2021-11-22 15:39:47 CET; 4min 21s ago
    Process: 545 ExecStart=/usr/bin/tlp init start (code=exited, status=0/SUCCESS)
   Main PID: 545 (code=exited, status=0/SUCCESS)
        CPU: 294ms

nov 22 15:39:45 pjehrsohmehj systemd[1]: Starting TLP system startup/shutdown...
nov 22 15:39:46 pjehrsohmehj tlp[545]: Applying power save settings...done.
nov 22 15:39:47 pjehrsohmehj tlp[545]: Setting battery charge thresholds...done.
nov 22 15:39:47 pjehrsohmehj systemd[1]: Finished TLP system startup/shutdown.
1 Like

i would remove TLP tho … you do not need the power settings from it to a Desktop PC.

1 Like

TLP has been removed, new BIOS installed.

I guess I’ll have to wait a long time now doing nothing to see if it occurs again?


It’s still permalocking my screen.

No, how do I do that?


$ sudo mhwd --listinstalled
[sudo] Mot de passe de folaht :
> Installed PCI configs:
                  NAME               VERSION          FREEDRIVER           TYPE
           video-linux            2018.05.04                true            PCI

The xf86-video-intel is a bit different and comes as a package. To install it:
pamac install xf86-video-intel

but in some cases, by removing it, makes things better for i915
pamac remove xf86-video-intel
and also by removing /etc/X11/xorg.conf.d/20-intel.conf file … Probably best to do a backup:

sudo mv /etc/X11/xorg.conf.d/20-intel.conf /etc/X11/xorg.conf.d/20-intel.conf_BCK

so you can restore it in case things do not go well.

1 Like

Is xf86-video-intel the same as video-linux?

It seems to be installed already.

$ pacman -Qs xf86-video-intel
local/xf86-video-intel 1:2.99.917+916+g31486f40-2 (xorg-drivers) Intel i810/i830/i915/945G/G965+ video drivers

But I have no xorg file loading it.

$ ls -lha /etc/X11/xorg.conf.d/
total 4,0K
drwxr-xr-x 1 root root  32 30 jul  2020 .
drwxr-xr-x 1 root root  64  9 aug 18:03 ..
-rw-r--r-- 1 root root 270  5 aug  2020 00-keyboard.conf

See if any of this is helpful Intel graphics - ArchWiki
Look at troubleshooting part too. Is a bit long to read, but will help you take some decisions and test things.

1 Like

Okay, I’ve been a bit confused here, but in the manjaro chatroom I’ve been assured that I’m supposed to uninstall xf86-video-intel since it was already installed.

I’ve uninstalled it just now and rebooted.
I’ve also added Xorg logs in the OP post.

Do I have to wait again until the screen goes black, or can I just enter xflock4 to test it?

Try to replicate it as before, and see if does the same thing.

It still does the same thing.