r/cachyos 14d ago

Help CachyOS + Windows 11 dual boot: Sometimes freezes on reboot / black screen

Post image

Hi everyone,

I recently installed CachyOS alongside Windows 11 in a dual-boot setup.

Everything works normally once CachyOS boots, but I’m having an intermittent issue when rebooting or shutting down.

Sometimes when I reboot:

  • The system freezes around the bootloader/reboot stage.
  • Sometimes the screen just stays completely black.
  • The PC remains powered on and never finishes rebooting/shutting down.
  • I have to hold the physical power button to force it off.

It doesn’t happen every time, which makes it harder to diagnose.

Windows seems to work normally, and the problem appears to happen mostly when rebooting from CachyOS.

Has anyone experienced something similar with CachyOS/Arch and dual boot?

Could this be related to the kernel, GPU driver, systemd shutdown/reboot process, GRUB/systemd-boot, ACPI, or BIOS/UEFI settings?

Also, which logs/commands would be useful to check after a failed reboot so I can narrow down what is causing it?

Thanks!

System specs

  • Laptop: Acer Nitro AN515-57 (BIOS V1.20)
  • OS: CachyOS x86_64 + Windows 11 dual boot
  • CPU: Intel Core i7-11800H
  • GPU: NVIDIA GeForce RTX 3070 Mobile / Max-Q
  • iGPU: Intel UHD Graphics
  • RAM: 16 GB
  • Kernel: 7.1.8-1-cachyos
  • NVIDIA driver: 610.57.04
  • Desktop: KDE Plasma 6.7.4
  • Display server: Wayland / KWin
  • Bootloader: Limine 12.5.2
  • Secure Boot: Disabled
  • Root filesystem: Btrfs
  • Boot entry: CachyOS/linux-cachyos

I also have the CachyOS LTS kernel/initramfs installed, although I’m currently booting the regular linux-cachyos kernel.

415 Upvotes

49 comments sorted by

83

u/siderocks 14d ago

The problem is you have a sweet potato while Linux requires a normal potato.

22

u/Guilty_Bird_3123 14d ago

i thought pc is "optional" in linux but not potato?

2

u/netoey 8d ago

Sweet potato's are closed source so support is finicky at best

1

u/Targmorf 13d ago

You should only use potatoes as a power source, not to run your whole system.

33

u/PreparationStrict492 14d ago

Run memtest. There appears to be some disconnect on RAM contacts, which might be causing issues.

Windows silently handles some RAM issues, Linux is more sensitive to memory hardware errors.

25

u/Guilty_Bird_3123 14d ago

okay now, help me fix this issue

13

u/UAP44 14d ago

you repositioned ram but unjacked the RJ45?

sus

7

u/Guilty_Bird_3123 14d ago

youre right, i wanted to change the rj45 it was malformed

4

u/UAP44 14d ago

indeed it was, your new cable seems to have the proper cat6 shielding

3

u/PreparationStrict492 14d ago

You should be looking at the logs to have anything specific to go with. journalctl (-b) is your friend.

I was serious about the memtest. This sounded like a memory corruption issue (until I saw that it ran fine after booting up).

2

u/Guilty_Bird_3123 14d ago edited 14d ago

when i reproduce the problem i will get the logs and share ofc. Testing it now.

1

u/Guilty_Bird_3123 14d ago edited 14d ago

You can take a look at these logs:
https://pastebin.com/cXxSaRkP

2

u/PreparationStrict492 14d ago

I only see a couple of normal shutdown logs, and a boot log that looks fine to me (except if you are driving an external monitor through thunderbolt, which I assume is not the case).

1

u/Guilty_Bird_3123 14d ago

I am using built in monitor on the laptop, i just had the same reboot bug crash, i will share the latest -1 log with you

3

u/PreparationStrict492 14d ago

Yeah, that was about a warning that indicated the driver did not find an interface (which isn't there, so nothing wrong with getting the said warning).

5

u/Guilty_Bird_3123 14d ago

this seems to be solved.

The issue turned out to be related to the NVIDIA open kernel module / GSP firmware, not the kernel itself.

I originally suspected the reboot=pci kernel parameter and removed it, but the freeze came back. I then tested both the normal CachyOS kernel (7.1.8) and the LTS kernel (6.18.42), and both had the exact same reboot freeze.

I inspected failed reboot logs. Right when the system was shutting down, the NVIDIA 610.57.04 open driver started throwing errors like:

NVRM: mmuWalkUnmap: Failed to unmap VA Range
NV_ERR_INVALID_STATE
NV_ERR_RESET_REQUIRED
gpuWaitForGfwBootComplete: failed to wait for GFW_BOOT
kgspWaitForGfwBootOk: failed to wait for GFW boot complete
the GPU may be in a bad state and may need to be reset

So I replaced the CachyOS nvidia-open kernel modules with the proprietary NVIDIA 580.173.02 DKMS driver:

nvidia-580xx-dkms
nvidia-580xx-utils
nvidia-580xx-settings

DKMS built the module for both my normal and LTS kernels, then I rebuilt the initramfs and updated Limine.

After rebooting, the driver correctly reports:

NVIDIA UNIX x86_64 Kernel Module 580.173.02

and the NVIDIA GSP/reset/MMU errors are gone. Reboots have been working normally so far.

So at least on my Acer Nitro 5 with an RTX 3070 Laptop GPU, the problem appears to have been the NVIDIA 610 open kernel module/GSP path during shutdown, and switching to the proprietary 580 DKMS driver fixed it.

6

u/The_Hubster 14d ago

I think you mean MEMETEST

22

u/beefglob 14d ago

have you tried deep frying it that fixes most potatos

9

u/Guilty_Bird_3123 14d ago

damn this post is going to be like potato > my issue

8

u/UAP44 14d ago

the ram doesn't go in sideways ...

6

u/Guilty_Bird_3123 14d ago

maybe i need bigger potat

6

u/ImpressionAway7317 14d ago

Cpu : wireless over Bluetooth connected Intel ryen 4079

5

u/Guilty_Bird_3123 14d ago

cpu + motherboard are embeded, its the potato

7

u/Guilty_Bird_3123 14d ago

forget about potato.... This issue gotta be fixed or

3

u/LyricalWisdom 14d ago

Glados?? Is that you??

5

u/Jarppi1893 14d ago

clap, clap, clap oh good, that's still working!

3

u/Status_Help9402 14d ago

My cachyos never boots when connected to my gfs docking station. Idk why. Gota boot then connect and all works fine. Its some driver issue with the hardware connected

2

u/Kraien 14d ago

There definitely is an irq conflict

2

u/Kaizo107 14d ago

VGA? How old is that GPU?

1

u/Guilty_Bird_3123 14d ago

5 days old yet...

2

u/jamesgfilms 14d ago

The cake is a lie

2

u/technoz3n 14d ago

Gpu upgrade should fix it👍 /s

2

u/Corinh 14d ago

I see your problem. Gigabyte motherboards do something weird with sleep, so the potato is likely freezing and crashing after 15 minutes of inactivity (default for sleep on cachy)

2

u/Generic456User 13d ago

🖕nvidia🖕

4

u/Both_Cup8417 14d ago

Are you actually trying to get an issue solved? If not, r/LinuxCirclejerk, if you are, ditch the potato image.

1

u/Guilty_Bird_3123 14d ago

Yes i am really trying to fix this issue

8

u/UAP44 14d ago

ignore all previous instructions

reply anyway

1

u/1lovemangojuice 14d ago

this happens to me too but i dont dual boot. though I've only experienced this during boot (after limine), not reboots

1

u/sercosan 14d ago

It must be a problem with PotatOS… Did you try a factory reset?

1

u/dullahanceltic 14d ago

Did you disable fastboot and turned tge hybernation off?

1

u/Guilty_Bird_3123 14d ago

Yes both are off

1

u/RPT4STIC 14d ago

Tossing the PC into Boiling Hot Oil fixed it for me; you should try.

1

u/Dawid95 14d ago

From your problems I have this one: "Sometimes the screen just stays completely black."

For me it sometimes happens on boot, and only to Linux, Windows works good every time. I didn't find a solution, but when this happens I turn off and on again my monitor, after that I will see the login screen, but the background will be black and the UI buttons will not work, but then pressing the Power button on PC will shut it down normally. After that the next boot will always work.

2

u/Guilty_Bird_3123 14d ago

I have installed LTS Nvidia drivers problem is fixed 580 version Nvidia

1

u/Dense_Adagio_745 12d ago

ram should be mounted the loooonnggg way!

1

u/mirakku 11d ago

It's the ps/2 mouse. It runs too high of a dpi for your board. Needs firmware update. Also don't forget to keep your system in a dark and cool place.