Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Secure boot is not detected #1584

Closed
1 task done
schuelermine opened this issue Feb 24, 2025 · 1 comment
Closed
1 task done

[BUG] Secure boot is not detected #1584

schuelermine opened this issue Feb 24, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@schuelermine
Copy link

schuelermine commented Feb 24, 2025

Read the FAQ first

  • I have checked the FAQ but the issue is not covered

Description

fastfetch -c all.jsonc --format json prints, among other records:

{
  "type": "Bootmgr",
  "result": {
    "name": "EFI Hard Drive (23514Y806477-WD_BLACK SN850X 2000GB)",
    "firmware": "",
    "secureBoot": false
  }
}

This is incorrect. Several other tools correctly report secure boot is enabled:

~☭ sbctl status
Installed:	✓ sbctl is installed
Owner GUID:	8c38d9af-4ece-4223-91a4-0c1656c816ed
Setup Mode:	✓ Disabled
Secure Boot:	✓ Enabled
Vendor Keys:	none
~☭ sudo bootctl status | head -n 10
System:
      Firmware: UEFI 2.90 (INSYDE Corp. 0.773)
 Firmware Arch: x64
   Secure Boot: enabled (user)
  TPM2 Support: yes
  Measured UKI: yes
  Boot into FW: supported

Current Boot Loader:
      Product: systemd-boot 257.2
~☭ yes n | fwupdmgr security | rg -i "secure boot" | head -n 1
Idle…: 0%
✔ UEFI secure boot:              Enabled

Version used

fastfetch 2.36.1 (x86_64)

Bug prevalence

Always

Regression

Not sure

Installation

Package manager

Package manager

Nix

Screenshots

Image

Image

Configuration

System information

Click to expand
[
  {
    "type": "Title",
    "result": {
      "userName": "anselmschueler",
      "hostName": "postsupernova",
      "homeDir": "/home/anselmschueler/",
      "exePath": "/nix/store/1fapk16q1gi38yhkw5im878mylm2mfaf-fastfetch-2.36.1/bin/.fastfetch-wrapped",
      "userShell": "/run/current-system/sw/bin/fish"
    }
  },
  {
    "type": "Separator",
    "error": "Unsupported for JSON format"
  },
  {
    "type": "OS",
    "result": {
      "buildID": "25.05.20250213.2ff53fe",
      "codename": "warbler",
      "id": "nixos",
      "idLike": "",
      "name": "NixOS",
      "prettyName": "NixOS 25.05 (Warbler)",
      "variant": "",
      "variantID": "",
      "version": "25.05 (Warbler)",
      "versionID": "25.05"
    }
  },
  {
    "type": "Host",
    "result": {
      "family": "16in Laptop",
      "name": "Laptop 16 (AMD Ryzen 7040 Series)",
      "version": "AJ",
      "sku": "FRAGACCP0J",
      "vendor": "Framework",
      "serial": "",
      "uuid": ""
    }
  },
  {
    "type": "Bios",
    "result": {
      "date": "11/13/2024",
      "release": "3.5",
      "vendor": "INSYDE Corp.",
      "version": "03.05",
      "type": "UEFI"
    }
  },
  {
    "type": "Bootmgr",
    "result": {
      "name": "EFI Hard Drive (23514Y806477-WD_BLACK SN850X 2000GB)",
      "firmware": "",
      "secureBoot": false
    }
  },
  {
    "type": "Board",
    "result": {
      "name": "FRANMZCP09",
      "vendor": "Framework",
      "version": "A9",
      "serial": ""
    }
  },
  {
    "type": "Chassis",
    "result": {
      "type": "Notebook",
      "vendor": "Framework",
      "version": "AJ",
      "serial": ""
    }
  },
  {
    "type": "Kernel",
    "result": {
      "architecture": "x86_64",
      "name": "Linux",
      "release": "6.6.77",
      "version": "#1-NixOS SMP PREEMPT_DYNAMIC Tue Feb 11 08:37:33 UTC 2025",
      "displayVersion": "",
      "pageSize": 4096
    }
  },
  {
    "type": "InitSystem",
    "result": {
      "name": "systemd",
      "exe": "/nix/store/3x67153zchawpzm78wrxd96lni3nf3sj-systemd-257.2/lib/systemd/systemd",
      "version": "257.2",
      "pid": 1
    }
  },
  {
    "type": "Uptime",
    "result": {
      "uptime": 212421780,
      "bootTime": "2025-02-21T16:50:06.501+0100"
    }
  },
  {
    "type": "Loadavg",
    "result": [
      0.46,
      1.09,
      1.07
    ]
  },
  {
    "type": "Processes",
    "result": 499
  },
  {
    "type": "Packages",
    "result": {
      "all": 4532,
      "amSystem": 0,
      "amUser": 0,
      "apk": 0,
      "brew": 0,
      "brewCask": 0,
      "choco": 0,
      "dpkg": 0,
      "emerge": 0,
      "eopkg": 0,
      "flatpakSystem": 0,
      "flatpakUser": 0,
      "guixSystem": 0,
      "guixUser": 0,
      "guixHome": 0,
      "linglong": 0,
      "mport": 0,
      "nixDefault": 0,
      "nixSystem": 1792,
      "nixUser": 2740,
      "opkg": 0,
      "pacman": 0,
      "pacstall": 0,
      "paludis": 0,
      "pkg": 0,
      "pkgtool": 0,
      "pkgsrc": 0,
      "qi": 0,
      "macports": 0,
      "rpm": 0,
      "scoop": 0,
      "snap": 0,
      "sorcery": 0,
      "winget": 0,
      "xbps": 0,
      "pacmanBranch": ""
    }
  },
  {
    "type": "Shell",
    "result": {
      "exe": "/run/current-system/sw/bin/fish",
      "exeName": "fish",
      "exePath": "/nix/store/cpi7pkg80srlryk1p4pbpfjpm2g9xbw6-fish-3.7.1/bin/fish",
      "pid": 256484,
      "ppid": 256373,
      "processName": "fish",
      "prettyName": "fish",
      "version": "3.7.1",
      "tty": 2
    }
  },
  {
    "type": "Editor",
    "result": {
      "type": "Editor",
      "name": "nano",
      "path": "/nix/store/7xz74nyqpr07zq2dwxs824za64mpr5xm-nano-8.3/bin/nano",
      "exe": "nano",
      "version": "8.3"
    }
  },
  {
    "type": "Display",
    "result": [
      {
        "id": 215508599909,
        "name": "BOE0BC9",
        "primary": true,
        "output": {
          "width": 2560,
          "height": 1600,
          "refreshRate": 165.0
        },
        "scaled": {
          "width": 2560,
          "height": 1600
        },
        "preferred": {
          "width": 2560,
          "height": 1600,
          "refreshRate": 165.0
        },
        "physical": {
          "width": 340,
          "height": 220
        },
        "rotation": 0,
        "bitDepth": 0,
        "hdrStatus": "Unsupported",
        "type": "Builtin",
        "manufactureDate": {
          "year": 2022,
          "week": 48
        },
        "serial": null,
        "platformApi": "wayland-global"
      }
    ]
  },
  {
    "type": "Brightness",
    "result": [
      {
        "name": "BOE0BC9",
        "max": 255.0,
        "min": 0.0,
        "current": 255.0
      }
    ]
  },
  {
    "type": "Monitor",
    "error": "Monitor module is an alias of Display module"
  },
  {
    "type": "LM",
    "result": {
      "service": "gdm-fingerprint",
      "type": "Wayland",
      "version": ""
    }
  },
  {
    "type": "DE",
    "result": {
      "processName": "gnome-shell",
      "prettyName": "GNOME",
      "version": "47.3"
    }
  },
  {
    "type": "WM",
    "result": {
      "processName": "gnome-shell",
      "prettyName": "Mutter",
      "protocolName": "Wayland",
      "pluginName": "",
      "version": ""
    }
  },
  {
    "type": "WMTheme",
    "result": "Adwaita"
  },
  {
    "type": "Theme",
    "result": {
      "theme1": "",
      "theme2": "Adwaita [GTK2/3/4]"
    }
  },
  {
    "type": "Icons",
    "result": {
      "icons1": "",
      "icons2": "Adwaita [GTK2/3/4]"
    }
  },
  {
    "type": "Font",
    "result": {
      "display": "Cantarell (11pt) [GTK2/3/4]",
      "fonts": [
        "",
        "Cantarell (11pt)",
        "Cantarell (11pt)",
        "Cantarell (11pt)"
      ]
    }
  },
  {
    "type": "Cursor",
    "result": {
      "theme": "Adwaita",
      "size": "32"
    }
  },
  {
    "type": "Wallpaper",
    "result": "/run/current-system/sw/share/backgrounds/gnome/amber-l.jxl"
  },
  {
    "type": "Terminal",
    "result": {
      "processName": "kgx",
      "exe": "/nix/store/8iyp61ikcf8rvgydyrj2nkzlwz12bgg4-gnome-console-47.1/bin/kgx",
      "exeName": "kgx",
      "exePath": "/nix/store/8iyp61ikcf8rvgydyrj2nkzlwz12bgg4-gnome-console-47.1/bin/.kgx-wrapped",
      "pid": 256373,
      "ppid": 2178,
      "prettyName": "GNOME Console",
      "version": "47.1",
      "tty": ""
    }
  },
  {
    "type": "TerminalFont",
    "result": {
      "font": {
        "name": "Source Code Pro",
        "size": "15",
        "styles": [],
        "pretty": "Source Code Pro (15pt)"
      },
      "fallback": {
        "name": "",
        "size": "",
        "styles": [],
        "pretty": ""
      }
    }
  },
  {
    "type": "TerminalSize",
    "result": {
      "columns": 182,
      "rows": 50,
      "width": 2730,
      "height": 1600
    }
  },
  {
    "type": "TerminalTheme",
    "result": {
      "fg": {
        "r": 255,
        "g": 255,
        "b": 255,
        "dark": false
      },
      "bg": {
        "r": 30,
        "g": 30,
        "b": 30,
        "dark": true
      }
    }
  },
  {
    "type": "CPU",
    "result": {
      "cpu": "AMD Ryzen 9 7940HS",
      "vendor": "AuthenticAMD",
      "packages": 1,
      "cores": {
        "physical": 8,
        "logical": 16,
        "online": 16
      },
      "frequency": {
        "base": 3360,
        "max": 5263
      },
      "coreTypes": [
        {
          "count": 16,
          "freq": 5263
        }
      ],
      "temperature": 49.5
    }
  },
  {
    "type": "CPUCache",
    "result": {
      "l1": [
        {
          "size": 32768,
          "num": 8,
          "lineSize": 64,
          "type": "data"
        },
        {
          "size": 32768,
          "num": 8,
          "lineSize": 64,
          "type": "instruction"
        }
      ],
      "l2": [
        {
          "size": 1048576,
          "num": 8,
          "lineSize": 64,
          "type": "unified"
        }
      ],
      "l3": [
        {
          "size": 16777216,
          "num": 1,
          "lineSize": 64,
          "type": "unified"
        }
      ]
    }
  },
  {
    "type": "CPUUsage",
    "result": [
      0.0,
      0.0,
      0.0,
      0.0,
      0.0,
      0.0,
      10.0,
      0.0,
      0.0,
      0.0,
      0.0,
      5.0,
      0.0,
      0.0,
      9.523809523809524,
      0.0
    ]
  },
  {
    "type": "GPU",
    "result": [
      {
        "index": null,
        "coreCount": 32,
        "coreUsage": 97.0,
        "memory": {
          "dedicated": {
            "total": 8537591808,
            "used": 27181056
          },
          "shared": {
            "total": null,
            "used": null
          }
        },
        "driver": "amdgpu 3.54",
        "name": "AMD Radeon RX 7700S",
        "temperature": 38.0,
        "type": "Discrete",
        "vendor": "AMD",
        "platformApi": "DRM (card1)",
        "frequency": 2208,
        "deviceId": 3000
      },
      {
        "index": null,
        "coreCount": 12,
        "coreUsage": 2.0,
        "memory": {
          "dedicated": {
            "total": null,
            "used": null
          },
          "shared": {
            "total": 421892096,
            "used": 442773504
          }
        },
        "driver": "amdgpu 3.54",
        "name": "AMD Radeon 780M",
        "temperature": 44.0,
        "type": "Integrated",
        "vendor": "AMD",
        "platformApi": "DRM (card2)",
        "frequency": 2799,
        "deviceId": 196000
      }
    ]
  },
  {
    "type": "Memory",
    "result": {
      "total": 32925196288,
      "used": 17060892672
    }
  },
  {
    "type": "PhysicalMemory",
    "error": "Unsupported for JSON format"
  },
  {
    "type": "Swap",
    "result": {
      "total": 0,
      "used": 0
    }
  },
  {
    "type": "Disk",
    "result": [
      {
        "bytes": {
          "available": 1554484678656,
          "free": 1653983633408,
          "total": 1957262413824,
          "used": 303278780416
        },
        "files": {
          "total": 121438208,
          "used": 4511446
        },
        "filesystem": "ext4",
        "mountpoint": "/",
        "mountFrom": "/dev/mapper/root",
        "name": "",
        "volumeType": [
          "Regular"
        ],
        "createTime": "2025-01-05T17:36:01.000+0100"
      },
      {
        "bytes": {
          "available": 9594961920,
          "free": 9594961920,
          "total": 10726916096,
          "used": 1131954176
        },
        "files": {
          "total": null,
          "used": null
        },
        "filesystem": "vfat",
        "mountpoint": "/boot",
        "mountFrom": "/dev/nvme0n1p1",
        "name": "disk-nvme0n1-esp",
        "volumeType": [
          "Hidden"
        ],
        "createTime": null
      },
      {
        "bytes": {
          "available": 1554484678656,
          "free": 1653983633408,
          "total": 1957262413824,
          "used": 303278780416
        },
        "files": {
          "total": 121438208,
          "used": 4511446
        },
        "filesystem": "ext4",
        "mountpoint": "/nix/store",
        "mountFrom": "/dev/mapper/root",
        "name": "",
        "volumeType": [
          "Subvolume",
          "Read-only"
        ],
        "createTime": "2025-01-05T17:43:46.777+0100"
      }
    ]
  },
  {
    "type": "Btrfs",
    "result": [
      {
        "name": "default",
        "uuid": "0a5950a7-131b-4e11-b791-8ad631b8a96d",
        "devices": "loop0",
        "features": "free_space_tree,no_holes,skinny_metadata,extended_iref",
        "generation": 1197,
        "nodeSize": 16384,
        "sectorSize": 4096,
        "totalSize": 107374182400,
        "allocation": [
          {
            "type": "data",
            "dup": false,
            "used": 3510439936,
            "total": 5377097728
          },
          {
            "type": "metadata",
            "dup": true,
            "used": 98254848,
            "total": 1073741824
          },
          {
            "type": "system",
            "dup": true,
            "used": 16384,
            "total": 8388608
          }
        ]
      }
    ]
  },
  {
    "type": "Zpool",
    "error": "dlopen libzfs.so failed"
  },
  {
    "type": "Battery",
    "result": [
      {
        "capacity": 100.0,
        "manufacturer": "NVT",
        "manufactureDate": "",
        "modelName": "FRANDBA",
        "status": "AC Connected",
        "technology": "Li-ion",
        "serial": "007E",
        "temperature": null,
        "cycleCount": 13
      }
    ]
  },
  {
    "type": "PowerAdapter",
    "result": []
  },
  {
    "type": "Player",
    "error": "Player module is an alias of Media module"
  },
  {
    "type": "DNS",
    "result": [
      "127.0.0.53"
    ]
  },
  {
    "type": "DateTime",
    "result": "2025-02-24T03:50:30.663+0100"
  },
  {
    "type": "Locale",
    "result": "en_US.UTF-8"
  },
  {
    "type": "Vulkan",
    "result": {
      "apiVersion": "1.3.296",
      "conformanceVersion": "1.2.1",
      "driver": "radv [Mesa 24.3.4]",
      "gpus": [
        {
          "type": "Integrated",
          "vendor": "AMD",
          "name": "AMD Radeon 780M (RADV GFX1103_R1)",
          "driver": "Mesa 24.3.4",
          "platformApi": "Vulkan 1.3.296",
          "deviceId": 5567,
          "memory": {
            "dedicated": {
              "total": 0,
              "used": null
            },
            "shared": {
              "total": 16999469056,
              "used": null
            }
          },
          "deviceId": 5567
        },
        {
          "type": "Discrete",
          "vendor": "AMD",
          "name": "AMD Radeon RX 7700S (RADV NAVI33)",
          "driver": "Mesa 24.3.4",
          "platformApi": "Vulkan 1.3.296",
          "deviceId": 29824,
          "memory": {
            "dedicated": {
              "total": 8573157376,
              "used": null
            },
            "shared": {
              "total": 16462598144,
              "used": null
            }
          },
          "deviceId": 29824
        }
      ]
    }
  },
  {
    "type": "OpenGL",
    "result": {
      "version": "4.6 (Compatibility Profile) Mesa 24.3.4",
      "renderer": "AMD Radeon 780M (radeonsi, gfx1103_r1, LLVM 19.1.7, DRM 3.54, 6.6.77)",
      "vendor": "AMD",
      "slv": "4.60",
      "library": "EGL 1.5"
    }
  },
  {
    "type": "OpenCL",
    "error": "clGetPlatformIDs() failed: CL_PLATFORM_NOT_FOUND_KHR"
  },
  {
    "type": "Users",
    "result": [
      {
        "name": "anselmschueler",
        "hostName": "login screen",
        "sessionName": "seat0",
        "clientIp": "0.0.0.0",
        "loginTime": "2025-02-22T21:44:12.246+0100"
      }
    ]
  },
  {
    "type": "Bluetooth",
    "result": []
  },
  {
    "type": "Sound",
    "result": [
      {
        "active": true,
        "main": true,
        "volume": 39,
        "name": "Family 17h/19h/1ah HD Audio Controller Analog Stereo",
        "identifier": "alsa_output.pci-0000_c4_00.6.analog-stereo",
        "platformApi": "PipeWire 1.2.7"
      },
      {
        "active": false,
        "main": false,
        "volume": 100,
        "name": "Easy Effects Sink",
        "identifier": "easyeffects_sink",
        "platformApi": "PipeWire 1.2.7"
      }
    ]
  },
  {
    "type": "Camera",
    "result": [
      {
        "name": "Laptop Camera: Laptop Camera",
        "vendor": "",
        "colorSpace": "sRGB",
        "id": "usb-0000:c4:00.4-1",
        "width": 1920,
        "height": 1080
      }
    ]
  },
  {
    "type": "Gamepad",
    "result": []
  },
  {
    "type": "Weather",
    "result": "+2°C - Fog (Berlin, Germany)"
  },
  {
    "type": "NetIO",
    "result": [
      {
        "name": "wlp4s0",
        "defaultRoute": true,
        "txBytes": 2354,
        "rxBytes": 3004,
        "txPackets": 24,
        "rxPackets": 25,
        "rxErrors": 0,
        "txErrors": 0,
        "rxDrops": 3,
        "txDrops": 0
      }
    ]
  },
  {
    "type": "DiskIO",
    "result": [
      {
        "name": "WD_BLACK SN850X 2000GB",
        "devPath": "/dev/nvme0n1",
        "bytesRead": 0,
        "bytesWritten": 722944,
        "readCount": 0,
        "writeCount": 24
      }
    ]
  },
  {
    "type": "PhysicalDisk",
    "result": [
      {
        "name": "WD_BLACK SN850X 2000GB",
        "devPath": "/dev/nvme0n1",
        "interconnect": "NVMe",
        "kind": "SSD",
        "size": 2000398934016,
        "serial": "23514Y806477",
        "removable": false,
        "readOnly": false,
        "revision": "620361WD",
        "temperature": 41.85
      }
    ]
  },
  {
    "type": "TPM",
    "result": {
      "version": "2.0",
      "description": "TPM 2.0 Device"
    }
  },
  {
    "type": "Version",
    "result": {
      "projectName": "fastfetch",
      "sysName": "Linux",
      "architecture": "x86_64",
      "version": "2.36.1",
      "versionGit": "",
      "cmakeBuiltType": "Release",
      "compileTime": "Jan  1 1980, 00:00:00",
      "compiler": "gcc 14.2.1",
      "debugMode": false,
      "libc": "glibc 2.40"
    }
  },
  {
    "type": "Break",
    "error": "Unsupported for JSON format"
  },
  {
    "type": "Colors",
    "error": "Unsupported for JSON format"
  }
]

Features built-in

threads
vulkan
wayland
xcb-randr
xrandr
drm_amdgpu
gio
dconf
dbus
imagemagick7
chafa
zlib
xfconf
sqlite3
egl
glx
opencl
libpulse
libddcutil
libzfs
System yyjson
linux/videodev2
linux/wireless
@schuelermine schuelermine added the bug Something isn't working label Feb 24, 2025
@CarterLi
Copy link
Member

Please test the dev build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants