View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0004953 | The Dark Mod | Coding | public | 09.01.2019 23:35 | 16.05.2019 16:58 |
| Reporter | HMart | Assigned To | stgatilov | ||
| Priority | normal | Severity | feature | Reproducibility | N/A |
| Status | resolved | Resolution | fixed | ||
| Product Version | TDM 2.07 | ||||
| Target Version | TDM 2.08 | Fixed in Version | TDM 2.08 | ||
| Summary | 0004953: Better GPU detection for Laptops | ||||
| Description | Include in the source the following: extern "c" { __declspec(dllexport) DWORD NvOptimusEnablement = 0x01; __declspec(dllexport) DWORD AmdPowerXpressRequestHighPerformance = 0x01; } Youtube video showing "handmade hero" developer including this: https://www.youtube.com/watch?v=iySIodVWS_s | ||||
| Tags | No tags attached. | ||||
| Attached Files | LaptopGPU.cpp (380 bytes)
#ifdef _WIN32
// #4953 Make TDM use discrete GPU by default
extern "C"
{
// https://docs.nvidia.com/gameworks/content/technologies/desktop/optimus.htm
_declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001;
// https://gpuopen.com/amdpowerxpressrequesthighperformance/
_declspec(dllexport) DWORD AmdPowerXpressRequestHighPerformance = 0x00000001;
}
#endif | ||||
| https://docs.nvidia.com/gameworks/content/technologies/desktop/optimus.htm | |
| https://gpuopen.com/amdpowerxpressrequesthighperformance/ | |
| https://gist.github.com/statico/6809850727c708f08458 | |
|
Should be as easy as adding the attached LatopGPU.cpp to ExtLibs and the MSCV project? |
|
| http://forums.thedarkmod.com/topic/19979-choose-gpu/ | |
|
Duzenko has added "optimus" symbol on Windows. I have extended to both NVIDIA and AMD. And added linux versions (in case that Bumblebee beast catches up). svn rev 8224. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 09.01.2019 23:35 | HMart | New Issue | |
| 10.01.2019 03:25 | nbohr1more | Note Added: 0011287 | |
| 10.01.2019 03:26 | nbohr1more | Note Added: 0011288 | |
| 10.01.2019 03:48 | nbohr1more | Note Added: 0011289 | |
| 10.01.2019 04:07 | nbohr1more | File Added: LaptopGPU.cpp | |
| 10.01.2019 04:08 | nbohr1more | Note Added: 0011290 | |
| 17.01.2019 11:13 | STiFU | Product Version | => TDM 2.07 |
| 17.01.2019 11:13 | STiFU | Target Version | => TDM 2.08 |
| 17.01.2019 11:22 | STiFU | Status | new => confirmed |
| 16.05.2019 03:44 | stgatilov | Note Added: 0011806 | |
| 16.05.2019 16:58 | stgatilov | Note Added: 0011808 | |
| 16.05.2019 16:58 | stgatilov | Assigned To | => stgatilov |
| 16.05.2019 16:58 | stgatilov | Status | confirmed => assigned |
| 16.05.2019 16:58 | stgatilov | Status | assigned => resolved |
| 16.05.2019 16:58 | stgatilov | Fixed in Version | => TDM 2.08 |
| 16.05.2019 16:58 | stgatilov | Resolution | open => fixed |