I've been using Ubuntu on a new laptop for a while now (Lenovo Legion 5, Ryzen 5000 7, RTX 3050), and I've been plagued by a random rebooting issue. There's no pattern to when it happens or what I'm doing when it happens. Sometimes it'll be fine for a whole month, sometimes it happens multiple times per day. It happened just a few minutes ago, and the last thing few things in my syslog are:
Dec 10 19:26:53 [System name] rtkit-daemon[1704]: Supervising 14 threads of 6 processes of 1 users.
Dec 10 19:26:54 [System name] avahi-daemon[1293]: Registering new address record for [mac address] on wlp4s0..
Dec 10 19:26:55 [System name] avahi-daemon[1293]: Withdrawing address record for [mac address] on wlp4s0.
Dec 10 19:27:00 [System name] avahi-daemon[1293]: Registering new address record for [mac address] on wlp4s0..
Dec 10 19:27:01 [System name] avahi-daemon[1293]: Withdrawing address record for [mac address] on wlp4s0.
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
It never happens under Windows, so I can only guess it's a configuration or driver issue...I'm not sure what to do from here.