@Matt_Hartley I think the trick here is to increase the system temperature without pushing the CPU load. I managed to get the stuttering to occur consistently by encouraging the laptop to get warm (still, within reason).
Drain the laptop battery to ~30%
Charge it while the display is closed and the laptop sits on a soft surface. My laptop was charging on a couch.
After about half an hour, wake up the laptop and leave it on the couch.
Don’t try doing anything that would push the CPU load to extremes. Encourage the laptop to stay warm while using it and observe it. I’ve been unable to reproduce the stuttering while the laptop sits on a desk, but it will appear after about half an hour of use sitting in my lap.
Some more information as Im still getting system lock ups with Ubuntu wayland. I have easy effects open, a terminal session, and firefox as active windows. Im a browser tab hoarder as I use an extension called simple tab groups to organize trips and other things going on so I’ll usually have 5-8 active tabs with currently 80 tabs total including the active ones (so 75 background tabs not actively loaded in memory). On battery power with no external displays, or other things attached like a mouse or keyboard to the usb ports.
System behaviour swings from being responsive to total lockup while posting this comment. No keyboard or mouse input is processed while the system hangs. It will eventually catch up and process inputs but will take anywhere from 5 seconds to a minute before it becomes responsive again.
I can confirm that this behaviour doesn’t happen when using ubuntu on Xorg. This seems to only happen for me when using the wayland Ubuntu environment.
Ubuntu 22.04.3 LTS (installed on Intel 12th gen but went through Framework AMD OEM kernel installation steps before hardware upgrade to AMD and first booting with AMD)
All software packages at latest version as of today
GNOME session (not “Ubuntu” session)
Session uses Wayland
Fractional scaling set to 125%
Running on battery, ~70% SOC
Happens without any external devices or cables attached
Back expansion ports are USB-C, the other are USB-A and HDMI, all taken from the AMD box
Freezing also happens with all four expansion ports empty
After logging in with no applications open, as soon as I launch Firefox, frequent significant freezing starts occurring at random intervals (anywhere from one to many seconds after the previous freeze has disappeared), with everything on screen frozen for anywhere from a few hundred milliseconds to many seconds
When I close Firefox again, freezing almost disappears but is still noticeable with slight mouse cursor jumping when moving the cursor fast
It appears that the more graphically intense an application is, the more likely it is to trigger freezes, i.e. Firefox causes more freezing than e.g. a terminal window or a Nautilus window
The more windows are open, the more extensive freezing seems to become
Edit: Did some more testing with Firefox. It appears that the freezes predominantly appear to happen when something new needs to be rendered. For example, when I open this very forum page, the screen freezes for around 20 seconds. After the freeze is gone, I can scroll perfectly smooth up and down. However, when I scroll far enough that the forum loads additional messages, there is another multi-second freeze. Once that has receded, I can scroll fine again.
I would therefore assume the freezes have to do with how Wayland requests graphics memory to be allocated for textures.
I can immediately reproduce the stutter by opening Thunderbird and adding a Gmail account. Once the popup for entering the Google credentials comes up, the cursor freezes immediately and only moves a few millimeters after every 5 seconds or so. I managed to get that account set up across almost 10 minutes of time…
In general, using Thunderbird is one of the more egregious examples of the stutter. I have very slight mouse lags when using Firefox, Trackpad as well as Logitech MX Master (Bluetooth).
I had similar troubles opening Shotwell (the picture app bundled with Ubuntu). But not nearly as bad as Thunderbird with the credentials popup open.
Spotify is running in the background without any hickups playing back the entire time, so whatever is causing this is not affecting every process. It’s as if the input is frozen because not only does the mouse not react, it’s the same for keyboard inputs.
@Matt_Hartley Using 3.03 in Ubuntu 22.04.3 and the OEM kernel, I’m noticing that the laptop will ramp the fans up and down very quickly for no apparent reason. I’ve heard the laptop do this twice while I write this.
EDIT: There does not appear to be a way to easily monitor the fan speed in Ubuntu, so I’m not able to share any logs/data.
My AMD 13" is also not going to sleep when closing the lid. It just stays awake.
Have to manually hit “suspend” first. Then it won’t wake up again, have to reboot it by hitting the power key long and hard.