Hacker News new | ask | show | jobs
by danhor 345 days ago
It seems like this is already deployed in Arch, as I've hit it yesterday. I was surprised at first, but it was quite useful.
1 comments

It's easy to check (unless the kernel was compiled without config in procfs, which it probably wasn't):

  $ zgrep CONFIG_DRM_PANIC_SCREEN_QR_CODE /proc/config.gz
  CONFIG_DRM_PANIC_SCREEN_QR_CODE=y
There are mainstream distros that don't have config.gz. Fedora is one of them. But it keeps a copy of it's config next to the kernel. If you don't have /proc/config.gz try this:

grep CONFIG_DRM_PANIC_SCREEN_QR_CODE /boot/config-$(uname -r)

(Fedora is enabling the DRM panic screen QR code)

Thanks, also seems enabled by default in NixOS.