Laptop 13 AMD Ryzen AI 300 with Ubuntu 25.04

Hello,

Just a few words to say that I have installed Ubuntu 25.04 on my newly received Laptop 13 Ryzen AI 300, and it is working perfectly. The WiFi had some difficulties connecting during the installation process, but it eventually succeeded. you should add Ubuntu 25.04 to compatible linux distribution : Framework | Linux Compatibility on the Framework Laptop


Which Linux distro are you using?
Ubuntu 25.04

Which release version?
25.04

Which Framework Laptop 13 model are you using?
AMD Ryzen™ AI 300 Series

4 Likes

After one week of intensive use with Ubuntu 25.04, I have to say it’s not working perfectly. It ran smoothly for about a week, but for the past two days, I’ve been experiencing complete system freezes (requiring a hard reset) and frequent micro-freezes (about 1 second), which are especially annoying when scrolling through a webpage.

I don’t know what changed these past 2 days. It’s weird.

I’m still just a couple days into my build/use, but the system has been peppy and stable so far except for wifi on Ubuntu 25.04. I knew there would be some risk on support from Ubuntu since this was pretty bleeding edge hardware.

I was able to resolve my wifi stability issues by modifying /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf and changing powersave from 3 to 2 (disabled)

1 Like

FWIW, I installed Ubuntu 25.04 when I received my Framework 13 (Ryzen 9 HX 370) on 22nd April, initially loads of issues, now “mostly” working. Note that I have to turn Wayland off as it is incompatible with several tools I use for work, so I don’t actually know if Wayland is any better.

There’s another thread here about the display lockups; TLDR is update /etc/default/grub with:

GRUB_CMDLINE_LINUX_DEFAULT=“quiet splash amdgpu.dcdebugmask=0x610”

(others have reported that 0x10 also works, I don’t personally know what the difference is)

I’ve since also upgraded to kernel 6.14.4 (using mainline: https://kernel.ubuntu.com/mainline/v6.14.4/ ) that resolved a fair few issues, including dodgy WiFi connectivity issues.

I still get occasional crashes, I’ve noticed they’re mainly with videos (e.g. very occasionally watching YT videos in Firefox, or MS Teams in Firefox). As a workaround I now use MS Teams in Chrome. Note: I’ve only experienced these when docked to a Dell WD22TB4, so it MAY be related to that, I’ve not tracked it down tbh, as it no longer happens frequently enough to be too much of a pain.

In general, the laptop seems to run very hot, and the fans were spinning up a LOT. I’ve installed fw-fanctrl, and to make it easier to manage I have this Gnome extension to set the fan profile. The “Lazy” profile seems perfectly adequate.

I keep on top of my “Power Mode” setting a lot. I tend to run in “Power Saving” mode, the CPU doesn’t really go above 60 degrees, so fans rarely spin up anyway. If I need a bit more juice, I’ll switched to Balanced mode manually. I also set PercentageLow=98.0 in /etc/UPower/UPower.conf so when I unplug it switches to “Power Saving” mode automatically so I don’t have to remember (although I get notifications when ANY device is below 98% now heh). snapd is a PITA, randomy comes on and uses 100% cpu, sudo service snapd stop fixes it. I plan on removing snaps entirely soon.

Apart from the above issues, my audio works fine, a couple games I’ve tried in Steam work fine, Bluetooth fine, WiFi fine (since I updated kernel). Battery life I get around 5hrs (although that is fairly intensive use developing a Java application with ~10 Docker containers).

Maybe 2025 will be the year of Linux on the Laptop :laughing:

Hope this helps anyway… :slight_smile:

2 Likes

That’s the best advice ever. I upgraded my kernel to 6.14.4 and it’s running so smoothly since then. No more freeze (major or minor), WiFi is working perfectly. Everything is just fine, except my printer with chrome but i think it’s chrome related as i can print from other apps like pdf viewer.

If you never did it (and are afraid of doing it), installing a new kernel is sooo easy.
1/ Download the 4 amd related files from here (for 6.14.4) : Index of /mainline/v6.14.4
2/ Install them : sudo dpkg -i *.deb
3/ You might need to deactivate secure boot from UEFI (as files are unsigned)
4/ Reboot and hold shift key
5/ Select “Advanced options for Ubuntu”
6/ Boot, done !

Even simplier, you can do it directly with the Mainline app : mainline [Wiki ubuntu-fr]

4 Likes

@Phil75

I’ve installed 6.14.7 mainline kernel on Ubuntu 24.04 and it mostly works indeed. However, I am now facing the screen freeze issue: mouse cursor moves OK, but the screen is effectively frozen.

Do you have any clues on that?

@Phil75

  • I’ve received my AMD Ryzen™ AI 300 Series - Ryzen™ AI 9 HX 370 yesterday, installed Ubuntu 25.04 alongside Windows.
  • I had no wifi connection during the installation process and connected an ethernet cable.
  • I’ve used the mainline package to upgrade the kernel to 6.14.3 and 6.14.4 which resolved the wifi issues. Hibernate/suspend work well.
  • I’m experiencing random full freezes after a couple of minutes on Gnome as well as XFCE that are only rebootable, however the mouse cursor still works. This happens both with the amdgpu package and without.

Hi,

Sorry i never experienced this issue. Ubuntu 25.04 with 6.14.6 kernel is working fine for me. I rarely have internet disruption (which need a reboot) but it’s due to hot unplug/plug. In normal use I have no trouble.

I have a Ryzen AI 7 350 processor.

I will echo that. I’ve installed mainline 6.14.6 (.7 was super broke wifi) and it’s very stable and fast wifi on AI 7 350

1 Like

By the way, did you guys manage to enable hardware acceleration in Firefox? In my case everything seems to be blacklisted for some reason. IIRC, on gen12 it was working fine.

The Firefox snap has an outdated mesa contained. You’ll need to use Firefox Flatpak or native deb for now. Here’s the bug will mozilla on it.

1 Like

Awesome. Thank you so much!

Just installed 6.15.0 from last night. Screen freeze after about 10 minutes :frowning:
(Only cursor moveable)

Update:
I think I’ve found it (XFCE related)

Later I found booting with either of these also worked around the problem:
amdgpu.dcdebugmask=0x610
amdgpu.dcdebugmask=0x10

0x10 seems to does the job for now.

Update after 3 hour usage including suspend: no problem :+1:

Does Bluetooth work for you on 6.14?

In my experience the most stable was 6.14.8, I tried even 6.15 but it has issues.

6.14.8 mostly works even after few suspend/resume cycles. However today I broke Bluetooth by disconnecting from a WiFi access point.

[12675.004315] wlp192s0: deauthenticating from 9c:a2:f4:2f:8d:0e by local choice (Reason: 3=DEAUTH_LEAVING)
[12894.745348] Bluetooth: hci0: Opcode 0x0c1a failed: -71
[12894.745364] Bluetooth: hci0: Error when powering off device on rfkill (-71)
[12894.748325] Bluetooth: hci0: HCI reset during shutdown failed
[12897.280898] usb 3-5: Failed to suspend device, error -71
[12906.514508] Bluetooth: hci0: Opcode 0x0c03 failed: -110
[12908.562089] Bluetooth: hci0: Failed to read MSFT supported features (-110)
[12911.033466] usb 3-5: Failed to suspend device, error -71
[12938.763310] Bluetooth: hci0: Opcode 0x0c03 failed: -110
[12938.763328] Bluetooth: hci0: MSFT extension not registered
[12941.258719] usb 3-5: Failed to suspend device, error -71
[12991.681078] wlp192s0: authenticate with 9c:a2:f4:2f:8d:0e (local address=80:c5:f2:da:72:b9)
[12991.723874] wlp192s0: send auth to 9c:a2:f4:2f:8d:0e (try 1/3)
[12991.725383] wlp192s0: authenticated
[12991.725803] wlp192s0: associate with 9c:a2:f4:2f:8d:0e (try 1/3)
[12991.727878] wlp192s0: RX AssocResp from 9c:a2:f4:2f:8d:0e (capab=0x1811 status=0 aid=4)
[12991.728366] wlp192s0: associated
[13005.478393] Bluetooth: hci0: Opcode 0x0c03 failed: -110
[13005.478408] Bluetooth: hci0: MSFT extension not registered
[13007.958379] usb 3-5: Failed to suspend device, error -71
[13253.506185] wlp192s0: deauthenticating from 9c:a2:f4:2f:8d:0e by local choice (Reason: 3=DEAUTH_LEAVING)
[15188.853175] r8152-cfgselector 6-1: USB disconnect, device number 2

And then after a couple of reboots device became totally unresponsive and disappeared from lsusb list:

[21406.434237] usb 3-5: reset full-speed USB device number 3 using xhci_hcd
[21406.554860] usb 3-5: device descriptor read/64, error -71
[21406.779871] usb 3-5: device descriptor read/64, error -71
[21406.995836] usb 3-5: reset full-speed USB device number 3 using xhci_hcd
[21407.115869] usb 3-5: device descriptor read/64, error -71
[21407.339921] usb 3-5: device descriptor read/64, error -71
[21407.555933] usb 3-5: reset full-speed USB device number 3 using xhci_hcd
[21407.556077] usb 3-5: Device not responding to setup address.
[21407.763930] usb 3-5: Device not responding to setup address.
[21407.971828] usb 3-5: device not accepting address 3, error -71
[21407.971953] usb 3-5: WARN: invalid context state for evaluate context command.
[21408.083885] usb 3-5: reset full-speed USB device number 3 using xhci_hcd
[21408.083982] xhci_hcd 0000:c3:00.0: ERROR: unexpected setup address command completion code 0x11.
[21408.291956] xhci_hcd 0000:c3:00.0: ERROR: unexpected setup address command completion code 0x11.
[21408.499899] usb 3-5: device not accepting address 3, error -22
[21408.505296] OOM killer enabled.
[21408.505304] Restarting tasks ... 
[21408.505495] usb 3-2: USB disconnect, device number 4
[21408.508363] done.
[21408.508387] random: crng reseeded on system resumption
[21408.513612] PM: suspend exit
[21408.657710] usb 3-5: USB disconnect, device number 3
[21408.771361] usb 3-5: new full-speed USB device number 5 using xhci_hcd
[21408.891418] usb 3-5: device descriptor read/64, error -71
[21409.115394] usb 3-5: device descriptor read/64, error -71
[21409.332385] usb 3-5: new full-speed USB device number 6 using xhci_hcd
[21409.452428] usb 3-5: device descriptor read/64, error -71
[21409.676409] usb 3-5: device descriptor read/64, error -71
[21409.779459] usb usb3-port5: attempt power cycle
[21410.158379] usb 3-5: new full-speed USB device number 7 using xhci_hcd
[21410.158889] usb 3-5: Device not responding to setup address.
[21410.364445] usb 3-5: Device not responding to setup address.
[21410.571354] usb 3-5: device not accepting address 7, error -71
[21410.571461] usb 3-5: WARN: invalid context state for evaluate context command.
[21410.683379] usb 3-5: new full-speed USB device number 8 using xhci_hcd
[21410.683499] usb 3-5: Device not responding to setup address.
[21410.891442] usb 3-5: Device not responding to setup address.
[21411.099943] usb 3-5: device not accepting address 8, error -71
[21411.100059] usb 3-5: WARN: invalid context state for evaluate context command.
[21411.100137] usb usb3-port5: unable to enumerate USB device
[21423.900551] wlp192s0: authenticate with 5c:02:14:b0:16:79 (local address=80:c5:f2:da:72:b9)
[21423.963183] wlp192s0: send auth to 5c:02:14:b0:16:79 (try 1/3)
[21423.965014] wlp192s0: authenticated
[21423.966138] wlp192s0: associate with 5c:02:14:b0:16:79 (try 1/3)
[21423.967313] wlp192s0: RX AssocResp from 5c:02:14:b0:16:79 (capab=0x1931 status=0 aid=7)
[21423.967695] wlp192s0: associated

Note however, that WiFi still works.

P.S.: Bluetooth part failed so hard, even reboot did not help. So I had to completely shut down the laptop and boot it up again, for Bluetooth to appear and work.

P.S.: Having a GPU crash issue during accelerated video playback