Skip to content

Fix Linux compatibility by skipping Windows-specific PDH library loading #12

Closed
yingfing wants to merge 5 commits into
Wueffi:mainfrom
yingfing:main
Closed

Fix Linux compatibility by skipping Windows-specific PDH library loading #12
yingfing wants to merge 5 commits into
Wueffi:mainfrom
yingfing:main

Conversation

@yingfing

@yingfing yingfing commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

Fix Linux compatibility by skipping Windows-specific PDH library loading

  • Introduce OS detection to avoid initializing Windows-only Pdh class on Linux
  • Add a dummy GpuEngineSampler implementation for non-Windows platforms
  • Prevents game crash caused by UnsatisfiedLinkError on Linux

Added support for Windows OS detection and GPU sampling.
@yingfing

yingfing commented Jul 4, 2026

Copy link
Copy Markdown
Contributor Author

becaues minecraft crash
crash-2026-07-04_07.44.42-client.txt

@Wueffi

Wueffi commented Jul 4, 2026

Copy link
Copy Markdown
Owner

merged with #13

@Wueffi Wueffi closed this Jul 4, 2026
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.

2 participants