Legion Slim 5 16APH8 - Video randomly freezes and reboots
I have been using a Legion Slim 5 16APH8 laptop (Ryzen 7 7840HS w/ Radeon 780M + RTX 4070 + 32Gb DDR5 RAM) for the past month or so and noticed that I have very random video freezes and sometimes straight up reboots (with or even without BSOD). At first I thought it was a lack of RAM problem, I use the laptop for coding and sometimes when emulating applications the RAM consumption tends to be pretty high, so I've upgraded the factory 16Gb to 32Gb but to no avail.
It seems to happen less when using Windows (I have a dual boot in a separate drive with Ubuntu), and I also noticed that disabling dynamic graphics in BIOS and using the discrete card tends to be way more stable than with the dynamic graphics enabled (when using dynamic graphics in Ubuntu for example it either lasts a few hours, or it straight up crashes upon login). I've manually downloaded and installed all software updates for my laptop from lenovo website and ran all extended versions of the tests in Lenovo Diagnostic Solutions but everything passed (CPU, integrated graphics and discrete graphics).
I've read some forums online that point to a problem with the integrated graphics, but they seem to be of a year ago and I hope that a patch for that has long been released by AMD. I am at a loss, what should I verify (in either Windows or Ubuntu) to try and narrow this problem down? I'd like to determine if this is a software or hardware problem (sending the device to Lenovo support is not an option for me because I bought the machine while travelling and my country doesn't provide support for this model).
Edit.:
- It seems to happen more frequently while browsing.