Open skryvets opened 2 years ago
I have the same laptop, same OS, same symptoms.
Exactly the same happening to me. Same laptop. Running in nvidia compute mode. Suspending via menu. Does not happen regularly but it is quite annoying...
I noticed I am able to ssh into the machine but not sure what could fix it. The only thing that works so far is either reboot or "kill -9 -1"...
Latest comment from https://github.com/acpica/acpica/issues/725#issuecomment-1180568082 may suggest that issue is independent from acpica and rather lies within i915 driver.
What graphic mode are you running @skryvets @rlaanemets?
I'm running Nvidia only.
If this is the kernel, do we know which was the one that was working fine?
Latest comment from acpica/acpica#725 (comment) may suggest that issue is independent from acpica and rather lies within i915 driver.
What graphic mode are you running @skryvets @rlaanemets?
I'm running Hybrid.
If this is kernel, do we know which was the one that was working fine?
Not sure.
P.s.
I was able to fix the issue applying the patch from here. I tested it and it does fix the issue indeed.
However, since building kernel is new for me, some of my periphery stopped working with this newly kernel I built from source (some usb devices and wired network, they're now showing up as they connected). I assume I've done something wrong here. I wanted to find 5.17.15-76051715-generic
sources, but I had no luck so I used this repo at this commit as a kernel source.
This is what I've done:
curl -Ls https://github.com/acpica/acpica/files/9031293/dswexec.diff.txt -o dswexec.diff
linux && patch -p1 -i ../dswexec.diff
make localmodconfig
nice -n 20 make -jnproc
sudo make modules_install && sudo make install
. Which created initdr.img
and vmlinuz.efi
files inside the /boot
folder.initrd
entries for my "custom" kernel, so I can switch between "mine" and one that came with Pop!_OS. More info in this reddit commentIf this is indeed a fix, I would really love landing it in default kernel in pop repos.
It has been merged into mainline, is there any possibility of seeing it merged in here too?
https://github.com/torvalds/linux/commit/7dfb216eda99bbfc2a8c3b03d2eec63314f52b3c
Description
On my laptop Dell XPS 15 7590, (Pop!_OS 22.04 LTS) when I close the lid and open it again I have the error that is displayed on the black screen. There is no way for me to skip it and the only solution is to "force shut down" by holding on "on/off" button and start machine again. It started to happen when I updated to the latest Pop!_OS 22.04 LTS version.
The error says:
"array-index-out-of-bounds in /build/linux-9jwrn2/linux-5.17.5/drivers/acpi/acpica/dswexec.c:401:12"
Please see the photo here on imgur.
References
Exact same issue was reported in ACPI repo: https://github.com/acpica/acpica/issues/725. This is where the solution comes from. Please see below.
Solution
https://github.com/acpica/acpica/pull/745/files
Environment info
Stacktrace
More info
I'm trying to test this on my machine, since building a kernel is new for me. If it's going to work and would be approved I would submit a fix. Since I'm first timer here, please let me know if any additional steps required to submit a PR besides regular git flow.