Ubuntu 24.04.4 & Ubuntu 26.04 : screen freezes randomly (but processes don't stop)

Hello :slight_smile: Thank you for reading this topic and trying to help me :folded_hands:

Ubuntu Version:
24.04.4 LTS, 26.04 LTS (one partition for each version)

Desktop Environment:GNOME

Problem Description:
The screen sometimes freezes indefinitely, probably around 10-15 times a week (I use the system at least 5 hours every day).
When it happens, I use the power button to force the shutdown, then I boot the system again. Usually, the screen freezes again after 1 to 5 minutes so I reboot again. And again. And again. Maybe 4-5 times in total before the screen stops freezing.
Note that processes continue normally when the screen freezes; for instance, if music was playing, it continues to play.
The problem happened on Ubuntu 24 so I hoped installing Ubuntu 26 with a fresh install would fix the issue but it unfortunately doesn’t.
Note that the PC isn’t busy when the screen freezes since I’m usually just writing text or browsing the web.

Relevant System Information:

  • Model: HP OMEN Gaming Laptop 17-db0xxx
  • CPU: AMD Ryzen™ 7 8845HS w/ Radeon™ 780M Graphics Ă— 16
  • GPU: NVIDIA GeForce RTX™ 4070 Laptop GPU
  • graphics drivers : for Ubuntu 26, during the installation, I checked the checkbox saying “Install third-party drivers for graphic and Wi-fi hardware”. It seems to be NVIDIA driver version 595.58.03 according the app “NVIDIA Xserver settings”.

What I’ve Tried:
changing drivers (on Ubuntu 24, but not on Ubuntu 26 since it should be the right drivers on it)

Thank you for your help :folded_hands:

1 Like

Have you tested RAM health? This would be a good first step.

Thank you for your reply :folded_hands:

I forget to say it in the post but I’ve ran the “memtest” option on the GRUB menu but I stopped it after it said “PASS” (it continued after that, i don’t know why). Is it what you’re talking about? I can definitely run that test again.

EDIT: I’ve just done two additional passes of memtest (in addition to the one I did in the past) and there are still no error. I guess this means the RAM is probably okay?

1 Like

I suspect your (closed source proprietary) nVidia GPU driver though I can not say for sure.
The way to test this is to test with a different nVidia driver and the open source one and see if the problem persists.

I don’t say that this will lead to the answer but it is one of the usual suspects to rule out :slight_smile:

1 Like

Also make sure you have the latest BIOS. This may help

1 Like

Try adding amdgpu.dcdebugmask=0x12 to boot options.

I had this issue on Arch, although currently on Kubuntu 26.04 this has not (at least yet) surfaced. This solved issues for me then. This happens on some integrated AMD cards (I have same as you), but it’s not that much known/discussed online.

1 Like

Thank you your reply :folded_hands: I’ve just updated the BIOS via my Windows partition (I have a 3rd partition where I have Windows). If the freeze doesn’t happen within the next few days, I’ll mark your answer as the solution :smiling_face:

Thank you to the other two respondents, too! :folded_hands: I will come back and try your solutions if the freeze happens again in the next few days.

1 Like

The problem persists, so I’ve just applied your solution: I’ve wrote GRUB_CMDLINE_LINUX_DEFAULT=“quiet splash amdgpu.dcdebugmask=0x12” in /etc/default/grub. I will come back soon to inform you all if this solution fixed the problem!

1 Like

Remember to run sudo update-grub after editing the file. I forgot to mention this on my post. :slightly_smiling_face:

Oh yes, I forgot to mention that I did run that command after. My bad!

1 Like

Have you tried forcing performance mode in prime profiles ? This can be related to power management with Nvidia driver, i also have a laptop with Nvidia GPU and was experiencing freezes when i wake laptop from sleep or when waking the screen, then i have to resort to forced shutdown. I changed prime profile to performance mode and it fixed the issue

Thank your for your reply :folded_hands:

I will try this solution if I have another freeze in the next few days.

Again, thank you!

2 Likes

This topic was automatically closed 18 hours after the last reply. New replies are no longer allowed.