Unfortunately Nvidia hardware is not ideal for Linux due to the proprietary drivers, I've had trouble with them in the past and now just try to avoid Nvidia hardware if possible. The keyboard thing is odd, is it plugged in to a usb hub and then in via usb c? Sometimes I need to unplug mine and plug it back in after waking from suspend and it only happens when plugged in through my usb c hub with monitors plugged in to that.
Unfortunately Nvidia hardware is not ideal for Linux due to the proprietary drivers, I've had trouble with them in the past and now just try to avoid Nvidia hardware if possible. The keyboard thing is odd, is it plugged in to a usb hub and then in via usb c? Sometimes I need to unplug mine and plug it back in after waking from suspend and it only happens when plugged in through my usb c hub with monitors plugged in to that.