Freeze/Black Screen On Both Ubuntu 24.04 and Windows 11 (FW13 AMD Ryzen 5 7640U)

Which Linux distro are you using?
Ubuntu 24.04

Which release version?
LTS

Which kernel are you using?
6.8.0-47-generic

Which BIOS version are you using?
JFP30.03.05

Which Framework Laptop 13 model are you using? (AMD Ryzen™ 7040 Series, Intel® Core™ Ultra Series 1, 13th Gen Intel® Core™ , 12th Gen Intel® Core™, 11th Gen Intel® Core™)
FW13 AMD Ryzen 5 7640U, 32GB

I got this laptop 5-6 months ago. A few months ago, it started somewhat randomly freezing/black screening (but tends to more when watching video or playing a light game such as Terraria). When it freezes, the CPU fan spins like crazy and no keyboard/mouse inputs work.

I have tried the following:

  • Updating GPU drivers (drivers up to date)
  • Tried different Ubuntu versions (22.04 and 24.04) AND Windows 11
  • Linux kernels 6.11, 6.8, 6.6
  • Increasing the iGPU memory to “gaming” in BIOS

I have attached journalctl logs below. I also have a video if needed.
https://pastebin.com/vusu3cg3

Any help would be greatly appreciated. Thanks!

I’d make sure I installed the drivers provided by AMD first → https://www.amd.com/en/support/download/linux-drivers.html

Make sure to take the right ones and use the gaming profile when installing them.
I only had a black screen on my kids fw13 with the workstation profile.

I’ve tried this before via the amdgpu-install package on Ubuntu 22.04, and it breaks a lot of things. I’m pretty sure you’re not suppose to install the official drivers. It’s not in the setup guide and this comment echoes the sentiment. Do correct me if I’m misunderstanding.

Edit: I’d also like to add that Linux kernels by default come with AMD GPU drivers.

Output of sudo lshw -C video | grep amdgpu


sudo lsmod | grep amdgpu

Got this:

smurphy@jupiter:~$ sudo lshw -C video | grep amdgpu
[sudo] password for smurphy: 
       configuration: depth=32 driver=amdgpu latency=0 resolution=2560,1600
smurphy@jupiter:~$ sudo lsmod | grep amdgpu
amdgpu              19632128  130
amddrm_ttm_helper      12288  1 amdgpu
amdttm                110592  2 amdgpu,amddrm_ttm_helper
amddrm_buddy           20480  1 amdgpu
amdxcp                 12288  1 amdgpu
drm_exec               12288  1 amdgpu
drm_suballoc_helper    16384  1 amdgpu
amd_sched              61440  1 amdgpu
amdkcl                 32768  3 amd_sched,amdttm,amdgpu
drm_display_helper    237568  1 amdgpu
video                  73728  1 amdgpu
i2c_algo_bit           16384  1 amdgpu

on my fw16. My kids hase the fw13 - same setup.
Regarding the comments, this was in the beginning where the drivers were not that mature.

It seems like I’m using the same drivers. I’m pretty sure that the AMD drivers come with the Linux kernel as can be seen here.

This problem is beyond Linux. It also occurs on Windows 11 with the driver bundle provided by Framework. To me, this seems like a hardware issue. I’m still within the 12 month warranty, so that’s an option too.

Edit: The reason why I provided Linux logs is because it was easiest to access (I tried to find them on Windows to no avail). Not sure if you saw these logs: https://pastebin.com/vusu3cg3 , but it appears to be a relatively common problem. Will keep posting updates.

The kernel drivers are updated by the amd driver pack.
The development of the kernel drivers is so fast, the versions are different.
Try making a:

$ modinfo amdgpu | grep -i version
version:        6.8.5
srcversion:     A26ECA602E99C6AF9F00C14
vermagic:       6.8.0-49-generic SMP preempt mod_unload modversions 
parm:           hws_gws_support:Assume MEC2 FW supports GWS barriers (false = rely on FW version check (Default), true = force supported) (bool)

and let’s see which version you have.
Will have to figure out a way to identify the chipset drivers, but don’t know which driver (name) they use.

I see, as requested:

I am 3 months behind the latest Windows bundle as well, and it appears that the graphics driver was updated.

I don’t see the version string in yours though. 6.8.5 in mine.

Is there anything specific I should try?

Haven’t had a lot of time to debug this, but this thread sounds extremely similar to mine: Framework 13 AMD Hard Crashing Issue.

I’ve noticed that the crashes happen more frequently (and potentially exclusively) when the laptop is charging.