-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Maxwell GM107/GM108 support #227
Changes from all commits
3f2c78d
d03fbd0
9ad5619
2027809
bbbfcb1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -236,6 +236,7 @@ extern "C" { | |
pGraphicsCaps->minorSMVersion = 0; | ||
break; | ||
case NV_GPU_ARCHITECTURE_GM200: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Accoording to https://en.wikipedia.org/wiki/Maxwell_(microarchitecture) we should correct this and report sm52 for Maxwell Gen2 and sm50 for Maxwell Gen2. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. See info about There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Well, All contains info about |
||
case NV_GPU_ARCHITECTURE_GM000: | ||
pGraphicsCaps->majorSMVersion = 5; | ||
pGraphicsCaps->minorSMVersion = 0; | ||
break; | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -184,6 +184,7 @@ namespace dxvk::env { | |
if (overrideStr == #arch) \ | ||
override = NV_GPU_ARCHITECTURE_##arch; | ||
CHECK_ARCH(GK100) | ||
CHECK_ARCH(GM000) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We should also add this to the readme at https://github.com/jp7677/dxvk-nvapi/blob/master/README.md#tweaks-debugging-and-troubleshooting |
||
CHECK_ARCH(GM200) | ||
CHECK_ARCH(GP100) | ||
CHECK_ARCH(GV100) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is also the case for NVK (https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/src/nouveau/vulkan/nvk_physical_device.c?ref_type=heads#L244) which is nice!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the soure ;) so no double check.
As double check I filtered all devices by this thing on vulkan.gpuinfo.org with additional finter for NV -- only gen1 maxwells and some weird setups was lowest.