@5uie1 There is no Bluetooth support implemented for this laptop. I also retested it again to see what modules load and it still loads the incorrect one (ng_ubt). If I block it from loading and boot and try to load (ng_ubt_intel) directly, it still loads ng_ubt (and ng_hci, ng_bluetooth):
Nothing new is revealed when doing dmesg and I donāt see a ubt0 device (or any other) listed in /var/log/messages. Iām on stable/13-n252953-af3ccd7b6d4.
Hello everyone !
Has anyone tried to install FreeBSD on the AMD framework laptop 13 ?
The Installation media stuck at boot (see picture) and I was wondering what I can do as workaround in order to get FreeBSD installed on the machine.
Hey @RemiG I did some poking around & got it to work (at least boot) on mine. I am having a graphics issue with drivers I think (X wonāt connect) but it did go through the base install
Iām looking forward to putting FreeBSD on my 16 when I get it. I have a 1 TB nvme drive and a 1 TB expansion module.
I havenāt decided yet on whether Iāll install FreeBSD on the internal drive or the expansion module, with Fedora being on the other. Or partition the nvme for both and use the expansion to share data between them using zfs.
It depends on how well FreeBSD runs out of the box. I plan on documenting any issues and helping resolve them if I can, but if there are more than I care for on a new $2500 machine, I might spend more time in Fedora while those get worked out in FreeBSD. I already know the WiFi might be problematic, but thatās easy enough to work around with a USB adapter, or the new Wifibox setup. But most of the rest looks like it might work. Weāll see about the amdgpu video drivers as well on this new hardware.
Yeah, a 2230 is probably ideal. When I ordered the expansion card my thought process was actually to put Tails or Qubes on it and have a removable security oriented OS, like a live USB but faster. But for the cost, Iām not ready to drop money on a 2230 yet, so Iāll use the expansion card for more regular dual booting at first.
Has any run into installing FreeBSD 14 or 15 on AMD version of framework? When I run the installer its hangs after the install selection is pick and during loading the kernel
Itās been a while since Iāve made an update on FreeBSD on the Framework Laptop. I updated the whole page with new status and information. The good news is that FreeBSD works pretty much āperfectlyā on this machine. FreeBSD does have a limited 802.11 b/g stack which limits wifi performance, but the iwlwifi driver has significantly improved and so it doesnāt crash the system much anymore. Although resuming from sleep may still cause crashes or the network interface wonāt work anymore (you can try restarting the netif/routing services). If not, a reboot should fix it. FreeBSD also still has a limited XHCI/Thunderbolt driver which means that all of the Type C ports will be limited in some way, this can affect I/O performance. Besides these things, everything else is working and can now be a solid daily driver for most things.
The bad news was that all these years I had a faulty mainboard which caused me many years of issues with the USB ports (and possibly other parts of the system). I ordered a new mainboard from the Framework Marketplace, relatively easily replaced my old board, and I was back up and running with all of my ports working again. All of the USB devices lit back up with life, and all was good. I thought it was that FreeBSD just didnāt support that piece of hardware, but it was actually a hardware issue. Iām currently in contact with Framework debugging the older board, although since itās out of warranty, I may just donate the mainboard āin the name of framework scienceā. I believe the mission is still moving in the right direction and a successful one at that.
You can visit the blog for more info. Iāll paste here for easier access since this thread has gotten relatively long :).
I run FreeBSD 15 on my AMD framework 13 laptop, though admittedly I didnāt go through the installer so I donāt know if that would freeze. I installed FreeBSD by manually creating a zpool and the relevant ZFS dataset(s), temporarily mounting it at /mnt then:
# cat base.txz | tar --unlink -xpf - -C /mnt
# cat kernel.txz | tar --unlink -xpf - -C /mnt
then manually wrote /etc/rc.conf, /etc/sysctl.conf, /boot/loader.conf, /etc/fstab, /etc/wpa_supplicant.conf (all of these under /mnt).
Thing
Works?
Notes
Sway (wayland)
Vulkan backend for sway
Video-out to my usb type-c dock
touchpad
wifi (both ath9k and iwlwifi)
changing brightness with backlight
Sleep
hwpstate
dev.cpu.0.freq is always 3300 despite the hwpstate support being detected
Do you by any chance use (or have tested) apps such as Zoom, Dropbox and Discord?
I see youāve posted screenshots of i3 on the blog, do you by any chance know if Wayland works well on FreeBSD. I know Hikari is FreeBSD first for example.
Iāve become fairly used to BTRFS now. Is ZFS preferred over BTRFS in FreeBSD?
I donāt use any of those apps. I normally self host and I deleted my Discord account many years ago.
Yup Wayland works well on FreeBSD but Iāve only used it with sway. You can see some of my older screenshots on FreeBSD which includes some sway screenshots: Index of /freebsd/images
Iām a huge OpenZFS fan and have been using it since around 2012-2013, so Iām not the most unbiased person in this regard. I also use to be one of the OpenZFS maintainers on Gentoo Linux back when I used Linux, and the creator of the bliss-initramfs application which allowed people to boot their Linux rootfs from OpenZFS back in that 2012 period years before many other distros had proper support). Iāve left Linux a while ago for FreeBSD. Since FreeBSD isnāt Linux, we donāt have btrfs. However OpenZFS has about 20 years of development at this point and is rock solid so I would only recommend critical data to be stored on OpenZFS. Iām sure btrfs has gotten better over the years but yeahā¦ In addition, OpenZFS is merged directly into the FreeBSD kernel and there is close collaboration between some FreeBSD developers and OpenZFS developers IIRC.
I would need to give the Bluetooth stack in FreeBSD another try and see what happens. Iāll let you know whenever I get a chance for that.
For those who are trying to boot FreeBSD on Framework 13 AMD, here are some things Iāve found:
Freeze during boot
It was noted that the CPU reports incorrect information about UART hardware on R7840U, including Framework 13 and some other laptops from HP. It causes the kernel to initialize nonexistent UART devices, hanging the boot process. Disabling UART by device hint should bypass this:
# Boot loader prompt
set hint.uart.0.disabled=1
set hint.uart.1.disabled=1
RZ616 driver is not available
Basically, MediaTek wireless cards are not supported. The Ethernet expansion card seems to work, and you can also use USB tethering feature of you phone to access the internet, though. You can wait for the MediaTek support, or you can check out wifibox. Either way, you will have to sacrifice bluetooth.
Note that wifibox did not work very well for me, as bhyve couldnāt passthrough the wireless card somehow. Iām thinking of buying a brand new AX210 card and try again.
I have a couple questions for @fearedbliss, though.
How does power consumption look on your Intel Framework laptop right now?
Has the Wi-Fi driver improved in speed since the last time you posted?
My last attempt failed miserably as I needed a working laptop ASAP, and ended up reverting back to Void Linux. I will definitely try this again, though.
My laptop is usually plugged in and used more as a portable workstation. So electricity isnāt usually a concern. However, the battery will probably last 4-5 hours depending what Iām doing. I was able to use it for coding for basically an entire 4-6 hour flight.
If you leave the computer unplugged on idle, it will probably die in like 4-5 hours as well. Putting the computer to sleep helps but if you leave it sleeping for a full 24 hours, the battery should be dead (or almost dead). This is a problem on Linux as well even if you switch it to deep sleep state. There are also issues that can occur when resuming from sleep. Resume from sleep has improved in FreeBSD over the past two years but there is still room for improvement.
Wireless has also improved as well and I donāt really experience any crashes when resuming from sleep with the AX210. However performance is still an issue, and resuming from sleep with this driver enabled may yield a non working network connection. I would need to reboot to get the card working. Usually Iām plugged into Ethernet using the ethernet expansion card, and I keep the if_iwlwifi module blacklisted. Iāll manually load the driver and change my /etc/rc.conf information to use the wireless card instead (if I need to use the machine in a wireless state).
Remember this is Gen 1, Batch 6. So itās 11th gen Intel and basically the oldest framework laptop. This is one of the main reasons I also havenāt bought a new framework laptop, since I donāt want to regress in FreeBSD hardware support. For the first few years I was experiencing a lot of hardware issues and I thought it was lack of FreeBSD support, in reality I had a faulty mainboard. Unfortunately framework didnāt give me a refund or covered any cost for my replacement mainboard so I had to pay out of pocket. After I replaced the mainboard, most of my hardware started working again and FreeBSD had been pretty smooth. I have heard that the FreeBSD foundation and Framework are in communication. So hopefully if we get a FreeBSD framework laptop with more official hardware support, I would be open to upgrading to a newer generation. But until then Im staying on this model. I do want to say that the laptop has been really nice though despite the issues so thatās another reason why I havenāt moved off. The modularity and repairability characteristics are still there, and that says something.
Thanks for your detailed post. My laptop is also usually plugged in, but it is still part of my everyday carryā¦
I guess Iāll give FreeBSD a good year or so before starting fiddling with it again, considering my hardware is just so new (R7840U).
Definitely agreed. Now that I think about it, Iām super grateful that I can consider swapping wireless card to circumvent the issue in the first place. For other laptops, Iād be out of option from the start!
I wonder if they can be ported as a separate package just like some LinuxKPI drivers. By separating them into a separate package, I reckon you can contain the effect of GPL to that single package?