Nvidia-powerd crashing my laptop with CPU Hotplug

You mean, try wayland?

It is currently producing some weird black artifacts on KDE and Sway, and the patched Hyprland to allow nvidia has some considerable lack of performance on gaming(like about 20%) so, while it might work, nvidia needs to put some more love on wayland here.

As for the crash, there is no Call Trace, modules errors or other additional module or firmware/MCU logs here. The laptop just goes poweroff pretty much like when you pull the plug on a server. Last log is from nvidia-powerd.

I’ve mitigated this by issuing a systemctl stop nvidia-powerd when I activate the hotplug detach cores and, when cpu cores get re-attached and nvidia-powerd isn’t running, there is no crash so definitively, this SIGABRT on this software is doing something nasty here.

My current Xorg conf is:

[nwildner@sandworm xorg.conf.d]$ cat 10-optimus-manager.conf 
Section "Files"
	ModulePath "/usr/lib/nvidia"
	ModulePath "/usr/lib32/nvidia"
	ModulePath "/usr/lib32/nvidia/xorg/modules"
	ModulePath "/usr/lib32/xorg/modules"
	ModulePath "/usr/lib64/nvidia/xorg/modules"
	ModulePath "/usr/lib64/nvidia/xorg"
	ModulePath "/usr/lib64/xorg/modules"
EndSection

Section "ServerLayout"
	Identifier "layout"
	Screen 0 "integrated"
	Inactive "nvidia"
	Option "AllowNVIDIAGPUScreens"
EndSection

Section "Device"
	Identifier "integrated"
	Driver "modesetting"
	BusID "PCI:0:0:2:0"
	Option "DRI" "3"
EndSection

Section "Screen"
	Identifier "integrated"
	Device "integrated"
EndSection

Section "Device"
	Identifier "nvidia"
	Driver "nvidia"
	BusID "PCI:0:1:0:0"
	Option "Coolbits" "28"
EndSection

Section "Screen"
	Identifier "nvidia"
	Device "nvidia"
EndSection

Section "ServerFlags"
	Option "IgnoreABI" "1"
EndSection