You are not logged in.

#26 2026-05-18 21:19:49

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,669

Re: [SOLVED] Linux won't shutdown, screen black but keyboard is awake

The implication was to push that button and see what falls out wink

Offline

#27 2026-05-18 21:22:49

BIGBEASTISHANK
Member
From: Home
Registered: 2021-10-23
Posts: 41
Website

Re: [SOLVED] Linux won't shutdown, screen black but keyboard is awake

seth wrote:

The implication was to push that button and see what falls out wink

Was doing it as we speak and the result is: D**king nothing ;(

Update: Hibernating linux works, means their is a firmware glitch not hardware defect sad

Update 2: My current work arround is to add a menu entry in grub of poweroff with boot sequence of "hault" and I just reboot my laptop from linux and when grub open select poweroff entry.

Final update: created a poweroff-msi  file in /bin/ and the content are

#!/bin/sh

sudo grub-reboot "Shutdown" && sudo reboot

Then added

username ALL=(ALL:ALL) NOPASSWD: /usr/bin/grub-reboot, /usr/bin/reboot

in visudo
---
For windows I have enables Fast startup as its the only way in which it will poweroff with charger and with it.
---

Marking this as solved as this is my specific Laptop hardware related issue, If I get any update form MSI I will bump here

Last edited by BIGBEASTISHANK (2026-05-19 05:22:12)


A523 1348 2964 6091 F9fe 8a5c B731 1e54 D05e B9d7

Offline

#28 2026-05-19 14:43:26

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,669

Re: [SOLVED] Linux won't shutdown, screen black but keyboard is awake

\o/
You might want to record this in https://wiki.archlinux.org/title/Laptop/MSI

wrt you DM, you can get mails for threads you susbscribed to and autosubscribe to threads you post in and there're special views for new, active and unanswered threads.

Offline

#29 2026-05-19 14:45:48

BIGBEASTISHANK
Member
From: Home
Registered: 2021-10-23
Posts: 41
Website

Re: [SOLVED] Linux won't shutdown, screen black but keyboard is awake

seth wrote:

\o/
You might want to record this in https://wiki.archlinux.org/title/Laptop/MSI

I didnt get it, what should i do inwiki?

also how to subscribe a thread csnt find any btn, i mean i can find subscribe button on post but not on entire section when someone post a new thread then i get a notification

Update: Got the button at footer in each category

Last edited by BIGBEASTISHANK (2026-05-19 14:48:59)


A523 1348 2964 6091 F9fe 8a5c B731 1e54 D05e B9d7

Offline

#30 2026-05-19 14:50:33

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,669

Re: [SOLVED] Linux won't shutdown, screen black but keyboard is awake

I didnt get it, what should i do inwiki?

The model, the problem and your workaround.

Offline

#31 2026-05-19 14:51:36

BIGBEASTISHANK
Member
From: Home
Registered: 2021-10-23
Posts: 41
Website

Re: [SOLVED] Linux won't shutdown, screen black but keyboard is awake

seth wrote:

The model, the problem and your workaround.

How can I create a pr? lemme see

Got it, need to create account their, will update it soon

Btw I remember seeing things on reddit where multiple people have that issue and one person have my exact same issue (atleast 70 to 80%) and fun fact he is using msi laptop lol
https://www.linuxquestions.org/question … 175680548/

Updated the wiki
https://wiki.archlinux.org/title/Laptop … down_issue

Last edited by BIGBEASTISHANK (2026-05-19 16:39:15)


A523 1348 2964 6091 F9fe 8a5c B731 1e54 D05e B9d7

Offline

#32 2026-05-23 20:39:14

BIGBEASTISHANK
Member
From: Home
Registered: 2021-10-23
Posts: 41
Website

Re: [SOLVED] Linux won't shutdown, screen black but keyboard is awake

Btw its a software issue, after removing windows and linux both, then installing only windows fix the issue completly, but when install linux by removing windows, it sometimes turn off sometimes dont, now if i dual boot with windows the issue comes back, also powerbutton after complete format works properly now, no reboot with powerbutton hold


A523 1348 2964 6091 F9fe 8a5c B731 1e54 D05e B9d7

Offline

#33 2026-05-23 21:06:32

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,669

Re: [SOLVED] Linux won't shutdown, screen black but keyboard is awake

This somehow *yells* to be the dual boot condition, otherwise the presence of one OS should™ really not impact the ACPI state of the other.
Did you properly shut down windows before removing it?
Does it have any impact if you reset the CMOS before every boot (that's oc not a practical solution)?

If you're sure you're not hibernating windows, the ACPI might conflate S5 and S4 - can you reliably hibernate when only using linux? (windows can be installed but don't switch between the hibernating OS)

Offline

#34 2026-05-23 21:16:21

BIGBEASTISHANK
Member
From: Home
Registered: 2021-10-23
Posts: 41
Website

Re: [SOLVED] Linux won't shutdown, screen black but keyboard is awake

Let's make it clear how the things are going

- MSI called me, and suggested some changes, that didn't worked so they sent me official MSI windows 11 copy with all drivers pre installed. They asked for 2 pendrive 32gb and 16gb which I don't have right now so they told they will wait until I get one.

Now what happen is I wanted to test the reset my self so first I tested the bug if its still working. What I did:

Shutdown (Windows):
- Fast startup enabled charging: No issue
- Fast startup enabled no charging: No issue
- Fast startup disabled charging: No issue
- Fast startup disabled no charging: Glitch
- If hibernating: No issue
- - When in glitch state holding power button restarts pc insted of shutting down

Shutdown (Linux)
- No matter what, if shutdown it glitches
- Hibernation: No issue
- - When in glitch state holding power button restarts pc insted of shutting down

------

Formatted ssd completly

Installed windows on entire disk:
- Issue completly fixed, no issue at all

Installed linux on entire disk:
- Sometimes it poweroff sometimes it glitches
- - Power button now poweroff insted of rebooting

Installed windows after linux (dual boot):
- Everything is same as previous dual boot
- - Power button now poweroff insted of reboot


A523 1348 2964 6091 F9fe 8a5c B731 1e54 D05e B9d7

Offline

#35 2026-05-23 21:19:41

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,669

Re: [SOLVED] Linux won't shutdown, screen black but keyboard is awake

Installed windows on entire disk:
- Issue completly fixed, no issue at all

S4 (fast start) or S5?

Offline

#36 2026-05-23 21:21:21

BIGBEASTISHANK
Member
From: Home
Registered: 2021-10-23
Posts: 41
Website

Re: [SOLVED] Linux won't shutdown, screen black but keyboard is awake

seth wrote:

S4 (fast start) or S5?

No issue powering off even with Fast start disabled and no charger plugged, and no issue in hibernation


A523 1348 2964 6091 F9fe 8a5c B731 1e54 D05e B9d7

Offline

#37 2026-05-24 19:30:34

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,669

Re: [SOLVED] Linux won't shutdown, screen black but keyboard is awake

seth wrote:

Does it have any impact if you reset the CMOS before every boot (that's oc not a practical solution)?

Does it help to disable aspm and apst?

pcie_aspm=off nvme_core.default_ps_max_latency_us=0 pcie_port_pm=off iommu=soft

https://wiki.archlinux.org/title/Solid_ … leshooting

Offline

#38 2026-05-24 19:33:46

BIGBEASTISHANK
Member
From: Home
Registered: 2021-10-23
Posts: 41
Website

Re: [SOLVED] Linux won't shutdown, screen black but keyboard is awake

seth wrote:
pcie_aspm=off nvme_core.default_ps_max_latency_us=0 pcie_port_pm=off iommu=soft

https://wiki.archlinux.org/title/Solid_ … leshooting

Archwiki:

This article or section is out of date.

Reason: This kernel parameter may no longer be necessary with recent versions of Linux Kernel. (e.g., v4.14.221, v4.19.175, v5.4.97, v5.10.15, v5.11-rc7, and later). [18] (Discuss in Talk:Solid state drive/NVMe)

I will tey EC reset thing and will update


A523 1348 2964 6091 F9fe 8a5c B731 1e54 D05e B9d7

Offline

#39 2026-05-24 19:53:29

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,669

Re: [SOLVED] Linux won't shutdown, screen black but keyboard is awake

This is more of a general concern esp. because of the reboot after the "failed" shutown - it has nothing to do specifically w/ the symptoms discussed in the wiki.

Offline

#40 2026-05-24 19:58:05

BIGBEASTISHANK
Member
From: Home
Registered: 2021-10-23
Posts: 41
Website

Re: [SOLVED] Linux won't shutdown, screen black but keyboard is awake

nah now when i have dualboot ec reset also wont let me shutdown linux sad at this point me so much tired


A523 1348 2964 6091 F9fe 8a5c B731 1e54 D05e B9d7

Offline

#41 2026-05-24 20:21:37

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,669

Re: [SOLVED] Linux won't shutdown, screen black but keyboard is awake

The main concern is whether you can sanitze windows this way - the state bleeding over suggests there's *some* problem w/ the EFI.
Next to that I wonder whether the ACPI actually enters S5 but the hardware doesn't fully power down (b/c or the ASPM/APST behavior)

There's also "reboot=[type]" | [type] == bios, acpi, kbd, triple, efi, or pci

Offline

Board footer

Powered by FluxBB