You are not logged in.


Hello everyone,
I am new to this forum, so I apologize if I ask any silly questions. I have recently installed Gentoo Linux on my ThinkPad T480. With it, I installed Xfce as its desktop environment. While it seemed at first like there weren't any issues, I found one, and a major one at that. When I closed my laptop lid and reopened it, it, for some reason, defaulted to a blank screen, with no way to escape it aside from Ctrl+Alt+F4. After restarting, I went to the Power Manager and switched the "When the laptop lid is closed:" option from "Lock screen" to "Suspend." Once I closed and reopened my laptop lid, I wasn't met with a black screen. The lock screen didn't open (I had the lock screen enabled), and I couldn't interact with my desktop, except for my mouse cursor. I am unsure of what's going on or why. Does anyone have any ideas why this is happening, or maybe even know a solution?
Here's the output of inxi -Fxxxrz, since I saw someone else in the forum do that:
System:
Kernel: 6.12.58-gentoo-dist arch: x86_64 bits: 64 compiler: gcc v: 14.3.1
clocksource: tsc
Desktop: Xfce v: 4.20.1 tk: Gtk v: 3.24.51 wm: xfwm4 v: 4.20.0
with: xfce4-panel tools: xfce4-screensaver vt: 7 dm: LightDM v: 1.32.0
Distro: Gentoo Base System release 2.18
Machine:
Type: Laptop System: LENOVO product: 20L6SANC00 v: ThinkPad T480
serial: <superuser required> Chassis: type: 10 serial: <superuser required>
Mobo: LENOVO model: 20L6SANC00 v: SDK0J40697 WIN
serial: <superuser required>
part-nu: LENOVO_MT_20L6_BU_Think_FM_ThinkPad T480
uuid: <superuser required> UEFI: LENOVO v: N24ET76W (1.51 )
date: 02/27/2024
Battery:
ID-1: BAT0 charge: 13.4 Wh (100.0%) condition: 13.4/23.9 Wh (55.8%)
volts: 12.7 min: 11.4 model: LGC 01AV489 type: Li-poly serial: <filter>
status: full cycles: 185
ID-2: BAT1 charge: 17.8 Wh (100.0%) condition: 17.8/24.1 Wh (74.0%)
volts: 12.7 min: 11.4 model: Celxpert 01AV424 type: Li-poly serial: <filter>
status: full cycles: 1909
CPU:
Info: dual core model: Intel Core i5-7300U bits: 64 type: MT MCP
smt: enabled arch: Amber/Kaby Lake note: check rev: 9 cache: L1: 128 KiB
L2: 512 KiB L3: 3 MiB
Speed (MHz): avg: 400 min/max: 400/3500 cores: 1: 400 2: 400 3: 400 4: 400
bogomips: 21607
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
Device-1: Intel HD Graphics 620 vendor: Lenovo driver: i915 v: kernel
arch: Gen-9.5 ports: active: eDP-1 empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2
bus-ID: 00:02.0 chip-ID: 8086:5916 class-ID: 0300
Device-2: SunplusIT Integrated Camera driver: uvcvideo type: USB rev: 2.0
speed: 480 Mb/s lanes: 1 bus-ID: 1-8:3 chip-ID: 5986:2113 class-ID: 0e02
Display: x11 server: X.org v: 1.21.1.20 compositor: xfwm4 v: 4.20.0
driver: X: loaded: modesetting unloaded: fbdev,vesa alternate: intel
dri: iris gpu: i915 display-ID: :0.0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-size: <missing: xdpyinfo>
Monitor-1: eDP-1 model: ChiMei InnoLux 0x14c9 res: mode: 1920x1080 hz: 60
scale: 100% (1) dpi: 158 size: 309x173mm (12.17x6.81") diag: 354mm (13.9")
modes: 1920x1080
API: OpenGL Message: Unable to show GL data. glxinfo is missing.
Info: Tools: de: xfce4-display-settings x11: xprop,xrandr
Audio:
Device-1: Intel Sunrise Point-LP HD Audio vendor: Lenovo ThinkPad T480
driver: snd_hda_intel v: kernel bus-ID: 00:1f.3 chip-ID: 8086:9d71
class-ID: 0403
API: ALSA v: k6.12.58-gentoo-dist status: kernel-api
Server-1: PipeWire v: 1.4.9 status: off with: 1: pipewire-pulse
status: off 2: wireplumber status: off 3: pw-jack type: plugin
Server-2: PulseAudio v: 17.0 status: active
Network:
Device-1: Intel Ethernet I219-LM vendor: Lenovo driver: e1000e v: kernel
port: N/A bus-ID: 00:1f.6 chip-ID: 8086:15d7 class-ID: 0200
IF: enp0s31f6 state: down mac: <filter>
Device-2: Intel Wireless 8265 / 8275 driver: iwlwifi v: kernel pcie:
speed: 2.5 GT/s lanes: 1 bus-ID: 03:00.0 chip-ID: 8086:24fd class-ID: 0280
IF: wlp3s0 state: up mac: <filter>
IF-ID-1: wwan0 state: down mac: N/A
Bluetooth:
Device-1: N/A driver: btusb v: 0.8 type: USB rev: 2.0 speed: 12 Mb/s
lanes: 1 bus-ID: 1-7:2 chip-ID: 8087:0a2b class-ID: e001
Report: rfkill ID: hci0 rfk-id: 2 state: up address: see --recommends
Drives:
Local Storage: total: 476.94 GiB used: 41.89 GiB (8.8%)
ID-1: /dev/nvme0n1 vendor: Samsung model: PM981 NVMe 512GB
size: 476.94 GiB speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
fw-rev: EXA74D1Q temp: 30.9 C scheme: GPT
Partition:
ID-1: / size: 452.34 GiB used: 41.89 GiB (9.3%) fs: ext4 dev: /dev/nvme0n1p3
Swap:
ID-1: swap-1 type: partition size: 16 GiB used: 0 KiB (0.0%) priority: -2
dev: /dev/nvme0n1p2
Sensors:
Src: /sys System Temperatures: cpu: 51.0 C pch: 41.5 C mobo: N/A
Fan Speeds (rpm): N/A
Power: 12v: N/A 5v: 5 3.3v: N/A vbat: N/A
Repos:
Packages: 908 pm: emerge pkgs: 896 pm: flatpak pkgs: 12
No enabled portage sources in: /etc/portage/repos.conf/eselect-repo.conf
Info:
Memory: total: 32 GiB available: 31.21 GiB used: 2.61 GiB (8.4%)
Processes: 230 Power: uptime: 20m states: freeze,mem,disk suspend: deep
wakeups: 0 hibernate: platform Init: SysVinit v: 3.15 rc: OpenRC v: 0.62.10
runlevel: default default: 3
Compilers: gcc: 15.2.1 Shell: Bash v: 5.3.9 running-in: xfce4-terminal
inxi: 3.3.38Thank you in advance for any help! 
UPDATE:
As it turns out, the problem seems to stem from the compositor. Has this been a problem before with the compositor? While I can settle without it, I do like it and would prefer to get it fixed. Any additional help is appreciated!
Last edited by leeplusplus (Yesterday 22:49:33)
Offline


My first guess would be that it's a LightDM issue, unrelated to Xfce.
Also, your swap partition is 16GB, should be at least 64GB.
Maybe also try disabling the compositor.
Offline


My first guess would be that it's a LightDM issue, unrelated to Xfce.
Also, your swap partition is 16GB, should be at least 64GB.
Maybe also try disabling the compositor.
After doing a few tests. I am 99% sure it's the compositor, like you said. But then, that opens another question: Why is the compositor doing this?
Offline


For testing you can disable the compositor in the settings.
There was a similar problem with the xscreensaver. Switching to xfce4-screensaver fixes it. Also, there was an issue a while back with lightlocker, xfce4-screensaver fixed that too.
Lightdm can also handle screen locking easily.
I AM CANADIAN!
Siduction
Debian Sid
Xfce 4.20 with Wayland/Labwc
Offline


After doing a few tests. I am 99% sure it's the compositor, like you said. But then, that opens another question: Why is the compositor doing this?
I couldn't tell you, but it seems like every single freezing issue with Xfce comes down to compositor. Since you don't have an nvidia card, maybe try just disabling vsync instead of the entire compositor.
Offline
[ Generated in 0.015 seconds, 9 queries executed - Memory usage: 538.2 KiB (Peak: 547.13 KiB) ]