Page MenuHomeFeedback Tracker

getVideoOptions missing GPUName property
Closed, ResolvedPublic

Description

getVideoOptions specifies "vramInfo and monitorResolution keys presence is not guaranteed." but it looks like GPUName is also not included.

Arma version info:
Type: Public
Build: Stable
Version: 2.12.150301

Return value:

[
    ["texQualityName", "VeryHigh"],
    ["ppSSAOQualityName", "HBAOPlusStrong"],
    ["refreshRate", 144],
    ["guiScale", 0.55],
    ["guiScaleName", "Small"],
    ["brightness", 1],
    ["ppRotationBlur", 0],
    ["ppSharpenFilter", 0.5],
    ["ppPPAAQualityName", "SMAAHigh"],
    ["overallPresetName", "Custom"],
    ["shadowVisibility", 50],
    ["dynLightsQualityName", "VeryHigh"],
    ["pipQualityName", "High"],
    ["waterReflectionQualityName", "Disabled"],
    ["ppSaturation", 1],
    ["particleQualityName", "High"],
    ["ppBloom", 0],
    ["gamma", 1],
    ["terrainQuality", 3.125],
    ["displayModeName", "FullScreenWindow"],
    ["vsync", false],
    ["samplingPercentage", 100],
    ["terrainQualityName", "VeryHigh"],
    ["shadowQualityName", "VeryHigh"],
    ["cloudQualityName", "VeryHigh"],
    ["hdrQuality", 16],
    ["vramInfo", ["7.8 GiB", "16 GiB", "0 B", "2.9 GiB", "7.6 GiB"]],
    ["pipQuality", 1024],
    ["aspectRatioName", "Custom"],
    ["ppCausticsQualityName", ""],
    ["overallVisibility", 12000],
    ["ppColorPresetName", "Default"],
    ["ppContrast", 1],
    ["objQualityName", "VeryHigh"],
    ["ppDOF", 0],
    ["hdrQualityName", "Normal"],
    ["dynLightsCount", 32],
    ["objectVisibility", 1720.75],
    ["pipVisibility", 100],
    ["ppRadialBlur", 0],
    ["ppBrightness", 1],
    ["ppFSAA", 8]
]

Details

Severity
Trivial
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Operating System Version
10.0.19044 Build 19044
Category
Scripting
Steps To Reproduce

Use debug console to execute getVideoOptions. Look for GPUName key

private _occurrences = 0;
for "_i" from 0 to 10000 do {
  private _gpu = getVideoOptions get "GPUName";
  if !(isNil "_gpu") then {
    _occurrences = _occurrences + 1;
  };
};

_occurrences; // 0

Event Timeline

dedmen closed this task as Resolved.Jun 19 2023, 10:53 AM
dedmen claimed this task.
dedmen added a subscriber: dedmen.

GPUName was removed due to privacy concerns.

Also no need to execute 10 thousand times, the values that are present don't change.