en-US/about_GPUInfo.help.txt

TOPIC
    about_GPUInfo
 
SHORT DESCRIPTION
    Discover Windows graphics adapters, dedicated memory, and codec references.
 
LONG DESCRIPTION
    GPUInfo runs in 64-bit Windows PowerShell 5.1. Get-GPU inventories the
    local computer. Get-KnownGPU searches the bundled reference tables and is
    useful even if the corresponding card is absent. Get-GPUAdapterRoute
    finds the current device indices for software that selects a GPU.
 
    An adapter's HWEncoding and HWDecoding flags describe different operations.
    Inspect CapabilitySource to see where the flags came from. Check the
    selected driver, software build, codec, bit depth, and pixel format before
    relying on a mode. GPUInfo does not run a media encode or decode.
 
CONSOLE VIEW
    PowerShell uses this table in the console. To select it explicitly, run
 
        $routes = @(Get-GPUAdapterRoute)
        $routes | Format-Table -View GPUInfo.AdapterRoute
 
    The table shows adapter names, vendors, PCI IDs, and Direct3D and CUDA
    indices. Pipe the output to Format-List * to see AdapterId and all fields.
 
    To read CUDA routes for use in a script, select their raw properties.
 
        $routes | Where-Object CudaIndex -ge 0 |
            Select-Object Name, AdapterId, CudaIndex
 
RELEASE HISTORY
    Open the English release changelog included with the module.
 
        Import-Module GPUInfo
        Get-Content -LiteralPath (Join-Path (Get-Module GPUInfo).ModuleBase 'CHANGELOG.md')
 
GPU REFERENCE UPDATES
    View PCI device and subsystem IDs with their normalized NVIDIA aliases.
 
        Get-NvidiaSubsystemData -AsTable | Select-Object -First 10 |
            Format-Table PciId, CardNames
 
    Fetch current NVIDIA, Intel and AMD references into the local Windows cache.
 
        GPUInfo\Update-GPUsData -Online -Verbose | Group-Object CapabilitySource
 
    Export the current catalog, including compatible cached updates, to CSV.
 
        Export-KnownGPU -LiteralPath .\IntelGpuCatalog.csv -Vendor Intel
 
    The online refresh adds PCI identities to the bundled data. Subsequent
    inventory and reference commands can use the cache offline. The adapter
    driver and FFmpeg still determine which hardware modes can run.
 
EXAMPLES
    EXAMPLE 1 - Inventory installed adapters
 
        Import-Module GPUInfo
        GPUInfo\Get-GPU | Format-Table Name, Vendor, DriverVersion, MemoryBytes
 
    MemoryBytes is dedicated memory in bytes. Integrated GPUs can also use
    shared system memory. Compare raw Windows entries with
    Get-GPUVideoController if a controller has no matched reference.
 
    EXAMPLE 2 - Find an NVIDIA PCI identity in the bundled reference
 
        Get-KnownGPU -Vendor NVIDIA | Where-Object DeviceID -eq '2684' |
            Select-Object Name, IDType, HWEncoding, HWDecoding, CapabilitySource
 
    A PCI identity is hexadecimal. Intel CPUModel references use decimal
    processor model IDs. More than one model can share a PCI device ID.
 
    EXAMPLE 3 - Choose a device route
 
        Get-GPUAdapterRoute | Format-Table Name, AdapterId, DxgiIndex, CudaIndex
 
    DxgiIndex refers to Direct3D enumeration. Use CudaIndex for CUDA only
    when it is nonnegative. A blank AdapterId is ambiguous. Resolve routing
    again after hardware or driver changes and leave an ambiguous selection
    to the backend default.
 
    EXAMPLE 4 - Create a model for a scripted test
 
        $adapter = GPUInfo\New-GPU
        $adapter.Name = 'Test adapter'
        $adapter.SetMemory(4GB)
        $adapter | Select-Object Name, MemoryBytes
 
TROUBLESHOOTING
    Use 64-bit Windows PowerShell if DXGI data is unavailable. A missing
    reference match can still produce an inventory record. Compare
    Get-GPUVideoController with Get-DxgiMemoryAdapters -IncludeRouting if
    a name, memory size, or route differs from the expected adapter.
 
    Put "using module GPUInfo" as the first statement of a script that
    refers to [GPUInfo] or [HWEncoding]. If both hardware modules are loaded,
    qualify shared command names with GPUInfo\ or HWInformation\.
 
SEE ALSO
    Get-Help GPUInfo\Get-GPU -Full
    Get-Help Get-KnownGPU -Examples
    Get-Help Get-GPUAdapterRoute -Full
    Docs\PowerShell-Commands.md
    Docs\Class-Manual.md