Hardware⏱️ 3 min read📅 2026-05-29

How to Fix: Debian 12 rebooting/crashing almost randomly

Debian 12 random rebooting/crashing issue on Ryzen 9 laptop, stress testing with glmark2 confirms graphics hardware problem.

Quick Answer: Try updating your graphics drivers to the latest version and consider installing a proprietary driver for your specific GPU model.

The issue you're experiencing on your Debian 12 laptop, where it reboots or crashes almost randomly after using applications for some time, is likely caused by a combination of factors including the graphics hardware and the system's resource management. Stress testing with glmark2 confirms that the problem is related to the graphics driver.

⚠️ Common Causes

  • Outdated or incompatible graphics drivers
  • Insufficient system resources (RAM, CPU)
  • Graphics hardware issues (e.g., faulty GPU)

🛠️ Step-by-Step Verified Fixes

Method 1: Updating Graphics Drivers

  1. Step 1: Open a terminal and run the command `sudo apt update && sudo apt full-upgrade` to ensure your system is up-to-date.
  2. Step 2: Install the latest graphics drivers using `sudo apt install nvidia-driver-` (replace `` with the version available for your GPU model).
  3. Step 3: Restart your laptop to apply the changes.

Method 2: Adjusting System Resources

  1. Step 1: Open the `sysctl` configuration file using `sudo nano /etc/sysctl.conf`.
  2. Step 2: Add or modify settings to increase system resources, such as `vm.max_user_pages=1000000` and `fs.movable_locks=1`. Save and close the file.

Method 3: Running a System Diagnostic Tool

  1. Step 1: Install the `linux-firmware` package using `sudo apt install linux-firmware`.
  2. Step 2: Run the command `sudo dmidecode -s system-product-name` to check for any hardware issues.

💡 Conclusion

By following these steps, you should be able to resolve the issue and enjoy a more stable experience on your Debian 12 laptop. Remember to monitor your system's performance and adjust settings as needed to maintain optimal performance.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions