diff --git a/crates/victory-gpu/src/streamline.rs b/crates/victory-gpu/src/streamline.rs index 1eef67a..5132426 100644 --- a/crates/victory-gpu/src/streamline.rs +++ b/crates/victory-gpu/src/streamline.rs @@ -470,6 +470,8 @@ fn notice_of(f: &Facts, dlss_live: bool, fsr_live: bool) -> Vec { if no_dlss_fg { lines.push(if f.files_missing { "DLSS FRAME GEN: NVIDIA DLSS FILES NOT FOUND" + } else if dlss_framegen_card(&f.adapter) { + "DLSS FRAME GEN: UNAVAILABLE (CHECK HAGS AND LOG)" } else { "DLSS FRAME GEN: NOT ON THIS CARD (RTX 40 AND UP)" }.into()); diff --git a/crates/victory-gpu/src/streamline/fsr.rs b/crates/victory-gpu/src/streamline/fsr.rs index 4cc7bdb..c466332 100644 --- a/crates/victory-gpu/src/streamline/fsr.rs +++ b/crates/victory-gpu/src/streamline/fsr.rs @@ -909,6 +909,16 @@ mod tests { rtx40.adapter = "NVIDIA GeForce RTX 4070".into(); let rtx40 = lines(rtx40, true, false); assert!(rtx40.contains("FRAME GEN: DLSS, SUPPORTED") && !rtx40.contains("MOD"), "{rtx40}"); + // A supported card can still be rejected for an OS or driver requirement (for + // example, HAGS being disabled); do not misreport that as incompatible hardware. + let mut rtx40_unavailable = facts(true, false, false, false); + rtx40_unavailable.adapter = "NVIDIA GeForce RTX 4080".into(); + let rtx40_unavailable = lines(rtx40_unavailable, false, false); + assert!( + rtx40_unavailable.contains("UNAVAILABLE (CHECK HAGS AND LOG)") + && !rtx40_unavailable.contains("NOT ON THIS CARD"), + "{rtx40_unavailable}" + ); // RTX 20/30 with DLSS frame generation running: a mod unlocked it (MFG Unlocker). let unlocked = lines(facts(true, true, true, false), true, false); assert!(unlocked.contains("UNLOCKED BY A MOD") && !unlocked.contains("SUPPORTED HERE"), "{unlocked}");