Skip to content

[BUG] Incorrectly detect refresh rate when variable refresh rate is enabled #1994

@Master-Hash

Description

@Master-Hash

Read the FAQ first

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

Description

I was trying to inspect my refresh rate, and get: Display (LGD077B): 2880x1920 @ 2x in 13", 60 Hz [Built-in]

But my setting is 120Hz, VRR enabled. When VRR is disabled, the output of fastfetch is correct 120Hz.

Version used

fastfetch 2.53.0 (aarch64)

Bug prevalence

Always

Regression

Not sure

Installation

Package manager

Package manager

msys2 clangarm64

Screenshots

No response

Configuration

System information

[
  {
    "type": "Title",
    "result": {
      "userName": "hash",
      "fullUserName": "REDACT",
      "hostName": "audrey",
      "homeDir": "C:/Users/hash/",
      "exePath": "C:/msys64/clangarm64/bin/fastfetch.exe",
      "userShell": ""
    },
    "stat": 0.010399997234344482
  },
  {
    "type": "Separator",
    "error": "Unsupported for JSON format",
    "stat": 0.004800021648406982
  },
  {
    "type": "OS",
    "result": {
      "buildID": "",
      "codename": "",
      "id": "Windows 11",
      "idLike": "Windows",
      "name": "Windows",
      "prettyName": "Windows 11 专业工作站版",
      "variant": "专业工作站版",
      "variantID": "",
      "version": "11",
      "versionID": ""
    },
    "stat": 0.9820999503135681
  },
  {
    "type": "Host",
    "result": {
      "family": "Surface",
      "name": "Microsoft Surface Pro, 11th Edition",
      "version": "124I:00117T:000M:0000000F:0B:08C:10M:01D:11U:09T:2R:21",
      "sku": "Surface_Pro_11th_Edition_2076",
      "vendor": "Microsoft Corporation",
      "serial": "0F3BJFT24373KV",
      "uuid": "9DE2F3C4-C2AB-B164-E6F8-BFB5CE1F14B8"
    },
    "stat": 0.046000003814697266
  },
  {
    "type": "Kernel",
    "result": {
      "architecture": "aarch64",
      "name": "WIN32_NT",
      "release": "10.0.26200.6584",
      "version": "26100.1.arm64fre.ge_release.240331-1435",
      "displayVersion": "25H2",
      "pageSize": 4096
    },
    "stat": 0.003000020980834961
  },
  {
    "type": "Uptime",
    "result": {
      "uptime": 474345625,
      "bootTime": "2025-09-28T09:16:20.118+0800"
    },
    "stat": 0.03630000352859497
  },
  {
    "type": "Packages",
    "error": "No packages from known package managers found",
    "stat": 0.0878000259399414
  },
  {
    "type": "Shell",
    "result": {
      "exe": "C:\\Program Files\\WindowsApps\\Microsoft.PowerShell_7.5.3.0_arm64__8wekyb3d8bbwe\\pwsh.exe",
      "exeName": "pwsh.exe",
      "exePath": "C:\\Program Files\\WindowsApps\\Microsoft.PowerShell_7.5.3.0_arm64__8wekyb3d8bbwe\\pwsh.exe",
      "pid": 7576,
      "ppid": 31700,
      "processName": "pwsh.exe",
      "prettyName": "PowerShell",
      "version": "7.5.3",
      "tty": null
    },
    "stat": 0.2702000141143799
  },
  {
    "type": "Display",
    "result": [
      {
        "id": 65537,
        "name": "LGD077B",
        "primary": true,
        "output": {
          "width": 2880,
          "height": 1920,
          "refreshRate": 60.0
        },
        "scaled": {
          "width": 1440,
          "height": 960
        },
        "preferred": {
          "width": 2880,
          "height": 1920,
          "refreshRate": 120.0
        },
        "physical": {
          "width": 270,
          "height": 180
        },
        "rotation": 0,
        "bitDepth": 10,
        "hdrStatus": "Supported",
        "type": "Builtin",
        "manufactureDate": {
          "year": 2023,
          "week": 0
        },
        "serial": 318775713,
        "platformApi": "GDI"
      }
    ],
    "stat": 1.2382000088691711
  },
  {
    "type": "DE",
    "result": {
      "processName": "",
      "prettyName": "Fluent",
      "version": ""
    },
    "stat": 0.004499971866607666
  },
  {
    "type": "WM",
    "result": {
      "processName": "dwm.exe",
      "prettyName": "Desktop Window Manager",
      "protocolName": "",
      "pluginName": "",
      "version": "10.0.26100.3624"
    },
    "stat": 0.47600001096725464
  },
  {
    "type": "WMTheme",
    "result": "Custom - Seafoam (System: Dark, Apps: Dark)",
    "stat": 0.03810000419616699
  },
  {
    "type": "Theme",
    "error": "Not supported on this platform",
    "stat": 0.0026999711990356445
  },
  {
    "type": "Icons",
    "result": {
      "icons1": "",
      "icons2": "Recycle Bin"
    },
    "stat": 0.022700011730194092
  },
  {
    "type": "Font",
    "result": {
      "display": "Microsoft YaHei UI (12pt) [Caption / Menu / Message / Status]",
      "fonts": [
        "Microsoft YaHei UI (12pt)",
        "Microsoft YaHei UI (12pt)",
        "Microsoft YaHei UI (12pt)",
        "Microsoft YaHei UI (12pt)"
      ]
    },
    "stat": 0.24549996852874756
  },
  {
    "type": "Cursor",
    "result": {
      "theme": "Windows 默认",
      "size": "32"
    },
    "stat": 0.0218999981880188
  },
  {
    "type": "Terminal",
    "result": {
      "processName": "WindowsTerminal.exe",
      "exe": "C:\\Program Files\\WindowsApps\\Microsoft.WindowsTerminal_1.23.12371.0_arm64__8wekyb3d8bbwe\\WindowsTerminal.exe",
      "exeName": "WindowsTerminal.exe",
      "exePath": "C:\\Program Files\\WindowsApps\\Microsoft.WindowsTerminal_1.23.12371.0_arm64__8wekyb3d8bbwe\\WindowsTerminal.exe",
      "pid": 31700,
      "ppid": 2052,
      "prettyName": "Windows Terminal",
      "version": "1.23.12371.0",
      "tty": ""
    },
    "stat": 0.22920000553131104
  },
  {
    "type": "TerminalFont",
    "result": {
      "font": {
        "name": "Cascadia Code, Symbols Nerd Font Mono",
        "size": "12",
        "styles": [],
        "pretty": "Cascadia Code, Symbols Nerd Font Mono (12pt)"
      },
      "fallback": {
        "name": "",
        "size": "",
        "styles": [],
        "pretty": ""
      }
    },
    "stat": 0.14600002765655518
  },
  {
    "type": "CPU",
    "result": {
      "cpu": "Snapdragon(R) X 10-core X1P64100",
      "vendor": "Qualcomm Technologies Inc",
      "packages": 1,
      "cores": {
        "physical": 10,
        "logical": 10,
        "online": 10
      },
      "frequency": {
        "base": 2976,
        "max": 3400
      },
      "coreTypes": [],
      "temperature": null,
      "march": "ARMv8.6-A"
    },
    "stat": 0.04000002145767212
  },
  {
    "type": "GPU",
    "result": [
      {
        "index": null,
        "coreCount": null,
        "coreUsage": null,
        "memory": {
          "dedicated": {
            "total": 134217728,
            "used": null
          },
          "shared": {
            "total": 8380100608,
            "used": null
          },
          "type": null
        },
        "driver": "31.0.112.0",
        "name": "Qualcomm(R) Adreno(TM) X1-85 GPU",
        "temperature": null,
        "type": "Integrated",
        "vendor": "Qualcomm Incorporated",
        "platformApi": "Direct3D 12.1",
        "frequency": 1250,
        "deviceId": 77285
      }
    ],
    "stat": 0.5080999732017517
  },
  {
    "type": "Memory",
    "result": {
      "total": 16760201216,
      "used": 14607384576
    },
    "stat": 0.0045999884605407715
  },
  {
    "type": "Swap",
    "result": [
      {
        "name": "C:\\pagefile.sys",
        "used": 1010065408,
        "total": 3758096384
      }
    ],
    "stat": 0.0055999755859375
  },
  {
    "type": "Disk",
    "result": [
      {
        "bytes": {
          "available": 80364179456,
          "free": 80364179456,
          "total": 254415990784,
          "used": 174051811328
        },
        "files": {
          "total": null,
          "used": null
        },
        "filesystem": "NTFS",
        "mountpoint": "C:\\",
        "mountFrom": "\\Device\\HarddiskVolume3",
        "name": "Local Disk",
        "volumeType": [
          "Regular"
        ],
        "createTime": "2024-04-01T16:42:00.921+0800"
      }
    ],
    "stat": 0.07829999923706055
  },
  {
    "type": "LocalIp",
    "result": [
      {
        "name": "WLAN",
        "defaultRoute": {
          "ipv4": true
        },
        "ipv4": "192.168.1.6/24"
      }
    ],
    "stat": 6.077000021934509
  },
  {
    "type": "Battery",
    "result": [
      {
        "capacity": 67.50440917107584,
        "manufacturer": "",
        "manufactureDate": "",
        "modelName": "",
        "status": "AC Connected, Charging",
        "technology": "",
        "serial": "",
        "temperature": null,
        "cycleCount": 0,
        "timeRemaining": null
      }
    ],
    "stat": 0.010999977588653564
  },
  {
    "type": "PowerAdapter",
    "error": "Not supported on this platform",
    "stat": 0.0029000043869018555
  },
  {
    "type": "Locale",
    "result": "zh-CN",
    "stat": 0.004400014877319336
  },
  {
    "type": "Break",
    "error": "Unsupported for JSON format",
    "stat": 0.001699984073638916
  },
  {
    "type": "Colors",
    "error": "Unsupported for JSON format",
    "stat": 0.000500023365020752
  }
]

Features built-in

threads
vulkan
imagemagick7
chafa
zlib
opencl

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions