You need to disable Secure Boot in UEFI settings.
That was it. I missed that setting since itās in a different place than the rest of the BIOS Security setup (TPM etc). Thanks!
Hi,
I received my FW13 a few weeks ago, installed the latest BIOS (3.03 as of today) and NixOS on the machine. For the most part, it works without problem apart from issues with 3D graphics on Wayland (and X, actually, but I didnāt test it thoroughly yet) - but they might be the topic of another post.
From time to time, when Iām actively using it, the program Iām using crashes, and I canāt do anything on the machine: if I go to an already open shell (because sometimes I canāt open a new one), whatever I do triggers either an āI/O errorā or a āread-only filesystemā error. I canāt find anything clearly related to these failures in last bootās journald logs - if something would have been written, it couldnāt have because of the I/O failures.
So far, I ran SMART tests on my SSD (nothing remarkable), memtest86+ (a few complete cycles) didnāt show anything either. It might come from another piece of hardware failing, but I wouldnāt know how to test it. It looks like this issue.
I have no specific problem with suspend (it can happen either anytime before or after having suspended). The only thing Iām sure about is that this failure doesnāt trigger when Iām not actively using the computer. Sometimes it runs for hours (spread over days, using it actively), sometimes it fails 5 minutes after a reboot.
I use:
- NixOS (nixos-unstable, nixpkgs-unstable)
- Kernel 6.1.62, by means of nixos-hardware)
- sway (Wayland)
Is it an already known issue? What can I do to troubleshoot further? I can provide more information if needed.
6.1 is old and has known issues with the newish hardware in the fw13 - I donāt know how nixos handles kernels but if you can ideally get onto a 6.7 branch or 6.5 distro kernel (the one in fc39 is mostly ok) youāll be in a better place.
Based on you saying that you installed bios 3.03, I assume you have the AMD one, but that topic is from Intel, so probably not something AMD-specific.
Also, I have SN770 1Tb and Iām not experiencing anything like this. I also highly doubt that it is related to NixOS in anyway, so I would probably ask in some other thread, where others, not only NixOS users, will see it. Given your symptoms, though, it does sound like hardware, so, like, I donāt know, have you tried removing the SSD and plugging it again? If you can, borrow another SSD from a different laptop or a friend and try with it. After this, probably, the only thing left is contacting the support.
Thanks for the answers. I have the AMD board indeed - it was stated in the title of the post I created but disappeared on merging
I used kernel 6.6 for a while, but it didnāt make the problem disappear (though it seems that it happened less frequently). I installed 6.5 as mentioned, weāll see if it helps the problem go away - 6.7 is not easily available on NixOS yet. I also found some information mentioning bootargs for randomly disconnecting NVMe drives, like in this issue. That might be my problem though I canāt troubleshoot it as no logs are written anywhere (neither dmesg
not journald
work at this point, and after rebooting, journald -b -1
doesnāt have anything incriminating written in it). Iād like to try these bootargs out, do you have any more information about them and how they could be relevant?
If ever this is useful, my drive is a WD Blue SN550 1 TB. I just updated it to the last firmware, maybe the older firmware was part of the general problem.
FWIW, while 6.7 doesnāt even technically exist yet, on NixOS unstable you get 6.7-rc2 in linuxPackages_testing
. Of course, then youāre running an RC kernel, which is most of the time okay, but can cause a lot of damage in the unlikely case something goes wrong.
Just thought Iād say thanks to this thread. Up and running very easily just taking the SSD out of my old thinkpad, installing it into my shiny new AMD framework and after a brief spell on wired ethernet and importing the 7040-amd module most stuff seems to be working. Iām using sway on wayland, and expected a bit more of a fight to be honest.
13th gen intel motherboard upgrade may have been a mistake. Maybe the new AMD was the correct choiceā I think my screen tearing issues are entirely there, since a fresh ubuntu 23 default gnome install also had screen tearing.
I never had screen tearing once on the 11th gen motherboard.
Also, zulip, mattermost, and slack all have completely blank desktop apps now, across x (none+wm) or wayland (gnome) or kwin (plasma). (this I havenāt tested in the fresh ubuntu).
Thank you for the report I am waiting for my FW AMD 13 to ship soon.
Can you please post the module or link it here?
What happened?
See Framework NixOS (Linux) users self-help - #35 by jon for the community hardware setup.
On first boot my wifi wasnāt working. It would find the wifi AP but didnāt seem to connect. I plugged in a wired ethernet USB dongle to get everything else setup and rebooted. At this point I got around to looking at the problem but wifi was working and has continued to work, so Iām not sure what happened. It started working before Iād added <nixos-hardware/framework/13-inch/7040-amd>.
Thank you! I added the nixos-hardware
module in my flake config: feat(framework): framework 13 amd nixos-hardware by storopoli Ā· Pull Request #12 Ā· storopoli/flakes Ā· GitHub.
I bought my 12th Gen Framework last January and tried various distros until landing on NixOS a month ago. I am running the Cinnamon DE and have created a Specialisation that allows me to switch between laptop mode and connecting to my Sonnet EGPU/Radeon Rx 6650xt.
Running in laptop mode boots to the Intel graphics and the laptop performs as expected, wakes from hybrid sleep normally, etc. However, when using the EGPU, the laptop boots and runs normally, including excellent graphics, but fails approximately 60-90 seconds after waking from hybrid sleep. I can wake and keep working until the laptop crashes and reboots. This happens every time I wake from hybrid sleep.
I am using kernel 6.1.62 and am not sure if that is the source of the problem, or if Iāve missed something important in my configuration for the AMD GPU.
Iāve searched the Nix sites, Discord, and here, but not found much on NixOS and āsplit locksā. Perhaps Iām not using to correct terms. Any guidance would be appreciated.
@Andrew_Sorenson I wonder if being on a newer kernel would help? I know that more eGPU support was added there. You can do that with this option in your configuration.nix
boot.kernelPackages = pkgs.linuxPackages_latest;
Then rebuild and reboot:
sudo nixos-rebuild switch
I have the framework laptop 13 amd. I canāt seem to get the integrated microphone working with pipewire. I have included the working and broken config snippets below. Broken config
#audio
services.blueman.enable = true;
security.rtkit.enable = true;
#sound.enable = false;
#hardware.pulseaudio.enable = false;
services.pipewire = {
audio.enable = true;
alsa.enable = true;
pulse.enable = true;
wireplumber.enable = true;
};
Working config
hardware.pulseaudio = {
enable = true;
package = pkgs.pulseaudioFull;
};
I also have the nix hardware enabled
fwamd-nixos = nixpkgs.lib.nixosSystem {
specialArgs = {inherit nixpkgs-unstable inputs outputs;};
modules = [
./nixos/fw-configuration.nix
agenix.nixosModules.default
nixos-hardware.nixosModules.framework-13-7040-amd
lanzaboote.nixosModules.lanzaboote
];
};
Maybe this guy here you are missing:
Or you can even delegate all those shenanigans to nixos/nix-hardware
by doing:
{
description = "NixOS configuration with flakes";
inputs.nixos-hardware.url = "github:NixOS/nixos-hardware/master";
outputs = { self, nixpkgs, nixos-hardware }: {
# replace <your-hostname> with your actual hostname
nixosConfigurations.<your-hostname> = nixpkgs.lib.nixosSystem {
# ...
modules = [
# ...
# add your model from this list: https://github.com/NixOS/nixos-hardware/blob/master/flake.nix
nixos-hardware.nixosModules.framework.amd-7040
];
};
};
}
Like I do in here: https://github.com/storopoli/flakes/blob/main/flake.nix#L67-L68
@BountySpace perhaps this?:
Enable Pipewire
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
That worked for someone else.
Hi,
I got my new Framework laptop!! 13 inch AMD 7840.
I want to get into nixos, but struggle early in the installation. Each time, I try to boot from my usb stick, I get EFI USB Device boot failed.
Testing with Ubuntu, it worked easily.
I was using BelenaEtcher to install the nixos AMD Plasma image found here:
any tips?
Ive checked my bios version and its 3.03, the latest for amd I th
I had the exact same issue and it was due to not having disabled Secure Boot. Are you absolutely certain itās disabled?