You are not logged in.

#1 2023-03-16 19:06:56

itaintmyprotectionfault
Member
Registered: 2023-03-16
Posts: 8

[SOLVED] xfce4-screensaver general protection fault

I'm having a rather annoying problem with xfce4-screensaver that I do not know how to address. The issue is occurring on both my PC and laptop. I can lock my screen and the display turns off as expected. However, when I try to move the mouse or type in my password to unlock, the screens will go black for less than a second and reset any input I've entered. If I move the mouse, click the mouse buttons, and press random keys... sometimes I can get the login screen to "stick" and I can log in successfully. Sometimes the flashing black screen unlock behavior persists so long that I give up, switch to a TTY and restart my systems.

When this behavior occurs, I get these errors for xfce4-screensaver in the journal:  xfce4-screensaver general protection fault

Any ideas on how to fix this? Thanks!

Last edited by itaintmyprotectionfault (2023-03-17 15:39:00)

Offline

#2 2023-03-16 19:58:43

seth
Member
Registered: 2012-09-03
Posts: 49,951

Re: [SOLVED] xfce4-screensaver general protection fault

Do you run glib2 2.76 on both systems and does the GPF go away when you downgrade to 2.75?

Offline

#3 2023-03-16 20:06:10

itaintmyprotectionfault
Member
Registered: 2023-03-16
Posts: 8

Re: [SOLVED] xfce4-screensaver general protection fault

Looks like I wasn't the only one. There's a fix coming soon, methinks:

https://gitlab.xfce.org/apps/xfce4-scre … issues/119

Offline

#4 2023-03-16 20:07:41

itaintmyprotectionfault
Member
Registered: 2023-03-16
Posts: 8

Re: [SOLVED] xfce4-screensaver general protection fault

seth wrote:

Do you run glib2 2.76 on both systems and does the GPF go away when you downgrade to 2.75?

I will attempt to downgrade. I'm sort of new to Arch, so it might take me a hot minute.

Last edited by itaintmyprotectionfault (2023-03-16 20:09:04)

Offline

#5 2023-03-16 20:53:48

itaintmyprotectionfault
Member
Registered: 2023-03-16
Posts: 8

Re: [SOLVED] xfce4-screensaver general protection fault

I appear to be running glib2 2.76 on both machines, and I can only downgrade to 2.74.6 on both machines. Performing the downgrade seems to break logging in at all completely after a restart, so I'm back to 2.76. I've downloaded the glib2 2.75.4 tarball, but I'm not really sure how to install it. It might be better for me to just not lock my screens for now, and wait for a fix.

Offline

#6 2023-03-16 21:02:03

seth
Member
Registered: 2012-09-03
Posts: 49,951

Re: [SOLVED] xfce4-screensaver general protection fault

How did you approach the https://wiki.archlinux.org/title/Downgrading_packages ?
You'd download eg. https://archive.archlinux.org/packages/ … kg.tar.zst and "pacman -U glib2-2.74.6-1-x86_64.pkg.tar.zst" which is unlikely to "break logging in"

Offline

#7 2023-03-16 21:16:07

itaintmyprotectionfault
Member
Registered: 2023-03-16
Posts: 8

Re: [SOLVED] xfce4-screensaver general protection fault

I used that link to the wiki and used "pacman -U glib2-2.74.6-1-x86_64.pkg.tar.zst" but after restarting I don't see a login screen anymore - just black screens. I'm forced to switch TTY and "pacman -Syu" to go back to 2.76 and restart to get back to where I was. Sorry, I'm pretty new at all this. I was able to build 2.75 with meson, but I don't think it installed correctly. I followed these steps in the INSTALL.md:

Simple install procedure
========================

```sh
tar xf glib-*.tar.gz                    # unpack the sources
cd glib-*                               # change to the toplevel directory
meson _build                            # configure the build
ninja -C _build                         # build GLib

# Become root if necessary

ninja -C _build install                 # install GLib
```

Last edited by itaintmyprotectionfault (2023-03-16 21:19:28)

Offline

#8 2023-03-16 21:30:52

seth
Member
Registered: 2012-09-03
Posts: 49,951

Re: [SOLVED] xfce4-screensaver general protection fault

You don't have to build 2.75, nor should you.
What's your login manager (ie. what you'd expect to see instead of the "black screens")?
Lightdm? GDM?

Offline

#9 2023-03-16 21:58:37

itaintmyprotectionfault
Member
Registered: 2023-03-16
Posts: 8

Re: [SOLVED] xfce4-screensaver general protection fault

I am using Lightdm on both machines. On my laptop I will get a black screen instead of the login screen if I downgrade to glib2 2.74.6. However, I just noticed an error before it happens:

[FAILED] Failed to start Accounts Service.

I let my laptop sit at it's black screen for a while, but lightdm finally loaded and I was able to log in. Everything displayed thereafter just took a while to load, like my wallpaper. I hit my keybind to lock the laptop and pressed a key to show the unlock screen. It took a while to load, but I was able to log back in without any problems. Everything was just slow to respond in displaying things.

As per Sebalis' last post in this thread, I can work around the problem a little better with xfce4-screensaver-git from AUR and using glib2 2.76. The GPFs no longer appear in my logs after this.

Last edited by itaintmyprotectionfault (2023-03-16 22:20:01)

Offline

#10 2023-03-16 22:23:07

seth
Member
Registered: 2012-09-03
Posts: 49,951

Re: [SOLVED] xfce4-screensaver general protection fault

That's unlikely directly related to the downgrade, I suspect some issue in the network setup.
If you want to address that,
please post the output of

find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f

And please post your complete system journal for the boot, eg.

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

for the previous one.

Offline

#11 2023-03-16 22:43:31

itaintmyprotectionfault
Member
Registered: 2023-03-16
Posts: 8

Re: [SOLVED] xfce4-screensaver general protection fault

The output of "find /etc/systemd..."

dbus-org.freedesktop.nm-dispatcher.service | system
dbus-org.freedesktop.timesync1.service   | system
display-manager.service                  | system
extra_lo_addr.service                    | multi-user.target.wants
gcr-ssh-agent.socket                     | sockets.target.wants
getty@tty1.service                       | getty.target.wants
gnome-keyring-daemon.socket              | sockets.target.wants
macspoof@wlp0s20f3.service               | multi-user.target.wants
NetworkManager.service                   | multi-user.target.wants
NetworkManager-wait-online.service       | network-online.target.wants
p11-kit-server.socket                    | sockets.target.wants
piavpn.service                           | multi-user.target.wants
pipewire.socket                          | sockets.target.wants
pulseaudio.socket                        | sockets.target.wants
remote-fs.target                         | multi-user.target.wants
stubby.service                           | multi-user.target.wants
systemd-timesyncd.service                | sysinit.target.wants
tlp.service                              | multi-user.target.wants
ufw.service                              | multi-user.target.wants
xdg-user-dirs-update.service             | default.target.wants

-----

And the system journal for the boot:

http://0x0.st/H-u3.txt

-----

I should say that things take a little while to load initially with glib2 2.74.6 and xfce4-screensaver installed, but things return to normal functioning and speed after a few minutes. I think I'm going to stick with glib2 2.76 and xfce4-screensaver-git from AUR for now. Thanks very much for your help!

Last edited by itaintmyprotectionfault (2023-03-16 22:50:27)

Offline

#12 2023-03-17 06:44:50

seth
Member
Registered: 2012-09-03
Posts: 49,951

Re: [SOLVED] xfce4-screensaver general protection fault

extra_lo_addr.service                    | multi-user.target.wants
macspoof@wlp0s20f3.service               | multi-user.target.wants

?

The journal shows your session starting 7 seconds after lightdm, but because of

Mar 16 15:25:54 construct-117 udisksd[3173]: GLib-GIO:ERROR:../glib/gio/gresource.c:1451:g_static_resource_fini: assertion failed: (g_atomic_int_get (&resource->ref_count) >= 2)
Mar 16 15:25:54 construct-117 udisksd[3173]: Bail out! GLib-GIO:ERROR:../glib/gio/gresource.c:1451:g_static_resource_fini: assertion failed: (g_atomic_int_get (&resource->ref_count) >= 2)

I suspect that's also from a run w/ 2.76 ?

The delay between

Mar 16 15:09:47 construct-117 systemd[1]: Started Session c1 of User lightdm.

and

Mar 16 15:09:51 construct-117 systemd[1]: Reached target Multi-User System.
Mar 16 15:09:51 construct-117 systemd[1]: Reached target Graphical Interface.

seems because of your wifi connection.

Mar 16 15:09:43 construct-117 kernel: i915 0000:00:02.0: enabling device (0006 -> 0007)

shows up rather late (2s into the boot) so you might want to look into https://wiki.archlinux.org/title/Kernel … _KMS_start and/or https://wiki.archlinux.org/title/LightD … TTY_output

nb. that other clients may fail victim to the glib2 update.

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

#13 2023-03-17 16:10:13

itaintmyprotectionfault
Member
Registered: 2023-03-16
Posts: 8

Re: [SOLVED] xfce4-screensaver general protection fault

I added "extra_lo_addr.service" for a SSH tunnel. And, "macspoof@wlp0s20f3.service" is for changing my MAC while at school or on public networks for paranoia reasons. The log I provided was with 2.74.6 installed and the xfce4-screensaver package. I tried enabling "logind-check-graphical" in lightdm.conf, but the sluggishness persists at login. I will play around with an early KMS start of my Intel graphics after class and work today. Really learning alot here about Arch from this thread. Seth, thank you once again for helping out a noob!

Offline

Board footer

Powered by FluxBB