Files
hermes-agent/website/docs/reference
dskwe 78999579c8 fix(desktop): bound NVIDIA EGL fallback to confirmed-broken driver series (#123213)
* fix(desktop): bound NVIDIA EGL fallback to confirmed-broken driver series

The 580+ check was open-ended: every future NVIDIA series (615.x, #123203)
was forced onto CPU SwiftShader rendering even though only 580.x has
confirmed EGL probe reports (#40077: 580.159.03, 580.173.02) and 570.x is
the recommended downgrade. Replace the >= floor with a closed set of
known-broken series majors so healthy newer drivers keep GPU rendering.
HERMES_DESKTOP_NVIDIA_SWIFTSHADER still overrides both ways.

* docs(desktop): document the NVIDIA SwiftShader override and scope its force-on claim

- add HERMES_DESKTOP_NVIDIA_SWIFTSHADER to environment-variables.md (both
  directions, with the recovery-hatch framing the closed-set design leans on)
- correct the module header: force-on does not apply where an earlier gate
  already returned (remote display, WSLg, DISABLE_GPU=0)

Review follow-ups on PR #123213.

* test(desktop): pin NVIDIA EGL detection to set membership across a driver sweep

The closed-set test only checked that 580 is a member, so it still passed
if a neighbouring series was added to the set or the check drifted back
to a floor. Sweep majors 500-700 and require enable === set.has(major);
this fails against a '>= 580' floor. Also clears the prettier arrow-paren
diff that js-autofix would have reverted on merge.

---------

Co-authored-by: Austin Pickett <austinpickett@users.noreply.github.com>
2026-09-28 04:26:16 +00:00
..