Hacker GitHub

← All repos

gnif/vendor-reset

View on GitHub ↗ ★ 978 C

Linux kernel vendor specific hardware reset module for sequences that are too complex/complicated to land in pci_quirks.c

6 mentions on Hacker News by 4 people: 0 stories, 6 comments · first 2021-04-09 · latest 2025-12-18

Mentions per year 6 mentions · busiest year 2025 (3)
20082026
  1. …apparently duplicate a lot of the in-kernel driver code but ultimately only twiddle some bits. [3]: https://github.com/gnif/vendor-reset
  2. …nvidia handles this flawlessly [0] https://gitlab.freedesktop.org/drm/amd/-/issues/3911 [1] https://github.com/gnif/vendor-reset [2] https://github.com/inga-lovinde/RadeonResetBugFix
    comment by MegaDeKay · 2025-07-05 · in Nvidia won, we all lost
  3. …up with a workaround for some older cards but the problem persists even in their current cards. https://github.com/gnif/vendor-reset
  4. …and the reset bugs with amd gpus, then for the rx580 vendor-reset should typically work: https://github.com/gnif/vendor-reset Does not work with the lower 6000 (below 6800) and 7000 series that can also have reset issues.
  5. …slightly less disruptive dance with system power states. For vega and 5000 series gpu’s, there’s https://github.com/gnif/vendor-reset Incidentally, nvidia gpus are so good at resetting, they’ve probably done so without you noticing. If the…
  6. …with others. Eg. for Radeon Pro W5500 there's no known card reset method that works (no method from https://github.com/gnif/vendor-reset works) so I had to do S3 suspend before running a VM with systemctl suspend or with rtcwake -m mem -s…