FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

GPU: show the PCI device-id on the scan screen; detect it on macOS by Epic34-cyberdudder · Pull Request #69 · riftaway7-code/hackmate · GitHub

GPU: show the PCI device-id on the scan screen; detect it on macOS - #69

Closed
Epic34-cyberdudder wants to merge 1 commit into
riftaway7-code:mainfrom
Epic34-cyberdudder:fix/gpu-device-id
Closed

GPU: show the PCI device-id on the scan screen; detect it on macOS#69
Epic34-cyberdudder wants to merge 1 commit into
riftaway7-code:mainfrom
Epic34-cyberdudder:fix/gpu-device-id

Conversation

Copy link
Copy Markdown

What

  • Scan results screen now shows the GPU / dGPU PCI device-id next to the name — handy when deciding what to spoof.
  • macOS: _detect_gpu_macos() previously populated no device-id at all. It now parses Vendor ID / Device ID from system_profiler SPDisplaysDataType and attributes each to the correct GPU block (iGPU vs dGPU).
  • New helpers format_device_id() / pci_id_device_part() in hardware.py normalize the three shapes the per-OS detectors emit (8086:5917, 0x5917, 5917, 1002:73FF) so display and lookups agree.
  • config_editor.suggest_framebuffers() and the Windows iGPU→CPU-gen lookup now accept the vendor:device form too (previously silently missed on Linux's format).
  • python src/hardware.py debug dump prints the dGPU line + both device-ids.

Tests

Added device-id formatting + macOS SPDisplaysDataType parsing tests.

- hardware.py: new format_device_id() / pci_id_device_part() helpers that
  accept every shape the per-OS detectors emit (8086:5917 / 0x5917 / 5917 /
  1002:73FF)
- macOS: _detect_gpu_macos now parses "Vendor ID" / "Device ID" from
  SPDisplaysDataType and buckets them to the right GPU block (was not
  populating gpu_device_id / dgpu_device_id at all before)
- scan results screen (TUI + tkinter GUI): GPU / dGPU lines now show
  "device-id vvvv:dddd" when known
- config_editor.suggest_framebuffers() and the Windows iGPU->CPU-gen lookup
  now tolerate the vendor:device form
- hardware.py __main__ debug dump prints dGPU + device ids
- tests: device-id formatting + macOS SPDisplays parsing

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
(cherry picked from commit da6aa634d7619e72eb4290228756b952028516a6)
Epic34-cyberdudder closed this by deleting the head repository Aug 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL