|
@@ -77,7 +77,7 @@ int game_mode_initialise_gpu(GameModeConfig *config, GameModeGPUInfo **info)
|
|
|
/* verify device ID */
|
|
|
if (new_info->device == -1) {
|
|
|
LOG_ERROR(
|
|
|
- "ERROR: Invalid gpu_device value set in configuration, will not apply "
|
|
|
+ "Invalid gpu_device value set in configuration, will not apply "
|
|
|
"optimisations!\n");
|
|
|
free(new_info);
|
|
|
return -1;
|
|
@@ -86,7 +86,7 @@ int game_mode_initialise_gpu(GameModeConfig *config, GameModeGPUInfo **info)
|
|
|
/* verify GPU vendor */
|
|
|
if (!GPUVendorValid(new_info->vendor)) {
|
|
|
LOG_ERROR(
|
|
|
- "ERROR: Invalid gpu_vendor value (0x%04x) set in configuration, will not apply "
|
|
|
+ "Invalid gpu_vendor value (0x%04x) set in configuration, will not apply "
|
|
|
"optimisations!\n",
|
|
|
(unsigned int)new_info->vendor);
|
|
|
LOG_ERROR("Possible values are: 0x%04x (NVIDIA) 0x%04x (AMD) 0x%04x (Intel)\n",
|
|
@@ -110,7 +110,7 @@ int game_mode_initialise_gpu(GameModeConfig *config, GameModeGPUInfo **info)
|
|
|
const int nv_mem_hard_limit = 2000;
|
|
|
if (new_info->core > nv_core_hard_limit || new_info->mem > nv_mem_hard_limit) {
|
|
|
LOG_ERROR(
|
|
|
- "ERROR: NVIDIA Overclock value above safety levels of +%d (core) +%d (mem), will "
|
|
|
+ "NVIDIA Overclock value above safety levels of +%d (core) +%d (mem), will "
|
|
|
"not overclock!\n",
|
|
|
nv_core_hard_limit,
|
|
|
nv_mem_hard_limit);
|
|
@@ -125,7 +125,7 @@ int game_mode_initialise_gpu(GameModeConfig *config, GameModeGPUInfo **info)
|
|
|
config_get_nv_perf_level(config, &new_info->nv_perf_level);
|
|
|
if (new_info->nv_perf_level < 0 || new_info->nv_perf_level > 16) {
|
|
|
LOG_ERROR(
|
|
|
- "ERROR: NVIDIA Performance level value likely invalid (%ld), will not apply "
|
|
|
+ "NVIDIA Performance level value likely invalid (%ld), will not apply "
|
|
|
"optimisations!\n",
|
|
|
new_info->nv_perf_level);
|
|
|
free(new_info);
|
|
@@ -143,9 +143,8 @@ int game_mode_initialise_gpu(GameModeConfig *config, GameModeGPUInfo **info)
|
|
|
*/
|
|
|
const int amd_hard_limit = 20;
|
|
|
if (new_info->core > amd_hard_limit || new_info->mem > amd_hard_limit) {
|
|
|
- LOG_ERROR(
|
|
|
- "ERROR: AMD Overclock value above safety level of %d%%, will not overclock!\n",
|
|
|
- amd_hard_limit);
|
|
|
+ LOG_ERROR("AMD Overclock value above safety level of %d%%, will not overclock!\n",
|
|
|
+ amd_hard_limit);
|
|
|
LOG_ERROR("amd_core_clock_percentage:%ld amd_mem_clock_percentage:%ld\n",
|
|
|
new_info->core,
|
|
|
new_info->mem);
|