Skip to content

Commit 6d8a5fa

Browse files
Fix runtime evidence collection and improve DXVK diagnostics
- Expanded DXVK evidence patterns in `wine_capture.rs` to include `info: Game:`, `D3D11InternalCreateDevice`, and swapchain/Vulkan startup logs. - Implemented a retry mechanism with short delays in `pipeline.rs` to handle asynchronous Wine log flushing. - Improved diagnostics for empty logs by distinguishing between early scans of active processes and exited processes. - Refined WineD3D fallback detection to prevent false positives when DXVK/VKD3D are confirmed. - Added regression tests for symlink deployment and new evidence patterns. Co-authored-by: weter11 <14630689+weter11@users.noreply.github.com>
1 parent 781e43a commit 6d8a5fa

3 files changed

Lines changed: 179 additions & 109 deletions

File tree

src/infra/logging/wine_capture.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@ pub fn classify_graphics_evidence(log_line: &str) -> Option<String> {
22
let line_lower = log_line.to_lowercase();
33

44
// DXVK signatures
5-
if line_lower.contains("dxvk: v") {
5+
if line_lower.contains("dxvk: v") ||
6+
line_lower.contains("info: game:") ||
7+
line_lower.contains("d3d11internalcreatedevice") ||
8+
line_lower.contains("presenter: actual swapchain properties") ||
9+
(line_lower.contains("vulkan:") && line_lower.contains("found vkgetinstanceprocaddr")) {
610
return Some(format!("DXVK Detected: {}", log_line.trim()));
711
}
812

0 commit comments

Comments
 (0)