You are not logged in.
Pages: 1
Hey,
I'm running a fresh instalation of arch (1 week old or so), and I'm having issues with resuming from sleep. The PC seems to resume, however the monitors don't recieve any signal. I have 2 monitors, one on HDMI and one on DVI. I also can't do the `ctrl+alt+f1/2/3` trick to go to the console and wake the screens up.
Neofetch output:
OS: Arch Linux x86_64
Host: B660M GAMING X DDR4
Kernel: 5.17.3-arch1-1
Uptime: 5 mins
Packages: 1029 (pacman)
Shell: fish 3.4.1
Resolution: 1920x1080, 1920x1080
DE: Plasma 5.24.4
WM: KWin
WM Theme: Material
Theme: Dracula [Plasma], Orchis-dark [GTK2/3]
Icons: BeautyLine [Plasma], BeautyLine [GTK2/3]
Terminal: konsole
Terminal Font: Hack 13
CPU: 12th Gen Intel i7-12700KF (20) @ 5.000GHz
GPU: AMD ATI Radeon RX 6600/6600 XT/6600M
Memory: 2917MiB / 31942MiB
I've seen a few options but they were mostly related to nvidia. Not sure which is the correct approach to this. Need some guidance
Last edited by taigi100 (2022-04-21 22:09:00)
Offline
The PC seems to resume
Can you log in remotely (eg. via ssh) after the resume?
Offline
@seth
I've installed and enabled ssh, I can use it normally so it works.
But, when I try to log in after sleep (when the PC "woke up", or that's what I'm guessing based on the fans starting up) I am unable, it is telling me: `cannot connect to host: No route to host`.
Offline
What suggests it's not just the outputs…
https://01.org/node/3721
Offline
@seth
Thanks for the link. So I've tried part of it - I'm too newbie for some of it, like setting `sys/power/pm_async` since it gives a read only file system error.
But couldn't figure out much. Also, couldn't get netconsole to work either.
Findings:
During boot, I get a lot of errors such as:
dmesg:
[ 14.142039] calling acpi_cpufreq_init+0x0/0x1000 [acpi_cpufreq] @ 435
[ 14.142062] initcall acpi_cpufreq_init+0x0/0x1000 [acpi_cpufreq] returned -17 after 0 usecs
journalctl:
Apr 24 13:12:06 taigi100-PC kernel: initcall adxl_init+0x0/0x18c returned -19 after 0 usecs
Apr 24 13:12:06 taigi100-PC kernel: initcall balloon_init+0x0/0x18a returned -19 after 0 usecs
Apr 24 13:12:06 taigi100-PC kernel: initcall xen_setup_shutdown_event+0x0/0x30 returned -19 after 0 usecs
Apr 24 13:12:06 taigi100-PC kernel: initcall xen_acpi_pad_init+0x0/0x3c returned -19 after 0 usecs
Apr 24 13:12:06 taigi100-PC kernel: initcall init+0x0/0x86 returned -19 after 0 usecs
Apr 24 13:12:06 taigi100-PC kernel: initcall hpet_late_init+0x0/0x3ab returned -19 after 0 usecs
Apr 24 13:12:06 taigi100-PC kernel: initcall pnpacpi_init+0x0/0x6a returned 0 after 3192 usecs
Apr 24 13:12:06 taigi100-PC kernel: initcall amd_ibs_init+0x0/0x1f1 returned -19 after 0 usecs
Apr 24 13:12:06 taigi100-PC kernel: initcall amd_iommu_pc_init+0x0/0x245 returned -19 after 0 usecs
Apr 24 13:12:06 taigi100-PC kernel: initcall i8237A_init_ops+0x0/0x37 returned -19 after 7 usecs
Apr 24 13:12:06 taigi100-PC kernel: initcall sgx_init+0x0/0x43a returned -19 after 0 usecs
Apr 24 13:12:06 taigi100-PC kernel: initcall ghes_init+0x0/0xee returned -19 after 0 usecs
Apr 24 13:12:06 taigi100-PC kernel: initcall xenbus_init+0x0/0x3b returned -19 after 0 usecs
Apr 24 13:12:06 taigi100-PC kernel: initcall xenbus_backend_init+0x0/0x44 returned -19 after 0 usecs
Apr 24 13:12:06 taigi100-PC kernel: initcall hyper_sysfs_init+0x0/0x182 returned -19 after 0 usecs
Apr 24 13:12:06 taigi100-PC kernel: initcall hypervisor_subsys_init+0x0/0x25 returned -19 after 0 usecs
Apr 24 13:12:06 taigi100-PC kernel: initcall xen_late_init_mcelog+0x0/0x5e returned -19 after 0 usecs
Apr 24 13:12:06 taigi100-PC kernel: initcall pvcalls_back_init+0x0/0x6b returned -19 after 0 usecs
Apr 24 13:12:06 taigi100-PC kernel: initcall xen_hvc_init+0x0/0x1de returned -19 after 0 usecs
Apr 24 13:12:06 taigi100-PC kernel: initcall htcpld_core_init+0x0/0x2d returned -19 after 8 usecs
But all I get with sleep is:
systemd[1]: Reached target Sleep.
systemd[1]: Starting System Suspend...
systemd-sleep[2102]: Entering sleep state 'suspend'...
The 3 lines above are the end of my journalctl when I go to sleep, doesn't seem to print anything about waking up, or successfully entering to suspend state or so.
I might need more help debugging, so any help is greatly appreciated. Discord would be nice, you can add me: taigi100#0986
Offline
since it gives a read only file system error.
Sure it's not just permissions??
echo 0 | sudo tee /sys/power/pm_async
% errno 17 19
EEXIST 17 File exists
ENODEV 19 No such device
Before we head on, I forgot to ask: how many parallel windows installations are on that system?
Offline
that worked!
I tried with:
sudo echo 0 > /sys/power/pm_async
and got the permission error.
0 windows installations, it's a new PC (2 weeks old or so) with only 1 arch. Systemd-boot. KDE w/ SDDM. Those are the kernel params:
rw quiet audit=0 random.trust_cpu=1 mitigations=off cgroup_no_v1=all systemd.unified_cgroup_hierarchy=1 kernel.yama.ptrace_scope=0 initcall_debug no_console_suspend ignore_loglevel dyndbg="file suspend.c +p"
I also don't know if those errors are important, or not, or whatever they are about lol.
Edit:
pm_async didn't work.
I've also enabled the following settings in the BIOS, no change: ASPM, PCH ASPM, PEG ASPM, DMI ASPM.
s2ram command doesn't help either. Nor does systemctl suspend (I usually just use the GUI of KDE)
Last edited by taigi100 (2022-04-24 15:59:14)
Offline
I tried with:
Didn't work because you need the permissions on the write (bash redirection ">") not the echo. Using tee is a common way around that.
For the "no_console_suspend" you'll likely require a VGA console, eg. for grub see https://wiki.archlinux.org/title/GRUB/T … ramebuffer
Did you try whether the LTS kernel is affected?
Does the problem exist when you boot "nomodeset" and the multi-user.target (2nd link below)?
Offline
Edit: Happens with linux 5.15.13.arch1 as well, i'm guessing that's the last LTS?
Does the problem exist when you boot "nomodeset" and the multi-user.target (2nd link below)?
Yes, it does
Edit: Just tested without the internet driver (r8169) - doesn't work.
Last edited by taigi100 (2022-04-25 07:50:34)
Offline
I think i found the issue!
If I:
sudo rmmod intel_lpss_pci
it works!
Edit: Will disable this for now, but would like to know what the possible side effects are. I'm using a desktop PC.
Last edited by taigi100 (2022-04-25 08:12:29)
Offline
"Intel Low Power Subsystem (LPSS) devices such as I2C, SPI and HS-UART starting from Intel Sunrisepoint (Intel Skylake PCH) in PCI mode"
https://en.wikipedia.org/wiki/I%C2%B2C
https://en.wikipedia.org/wiki/Serial_Pe … _Interface
https://en.wikipedia.org/wiki/Universal … ransmitter
This could drive a bunch of controllers - or none in use.
I'd unload the module before and reload if after the suspend and see whether you start to miss functionality/hardware.
https://wiki.archlinux.org/title/Power_ … stem-sleep
Offline
I disabled it for now, doesn't seem to be any issues yet, works nicely
Offline
Pages: 1