- AMD Device Library eXtra v1.5
-
Programming with ADLX
- Programming with ADLX
-
ADLX Programming Guide
-
ADLX Samples
- ADLX Samples
-
C Samples
- C Samples
-
Display
- Display
- Display3DLUT
- DisplayBlanking
- DisplayColorDepth
- DisplayConnectivityExperience
- DisplayCustomColor
- DisplayCustomResolution
- DisplayDynamicRefreshRateControl
- DisplayEvents
- DisplayFreeSync
- DisplayFreeSyncColorAccuracy
- DisplayGamma
- DisplayGamut
- DisplayGPUScaling
- DisplayHDCP
- DisplayInfo
- DisplayIntegerScaling
- DisplayPixelFormat
- DisplayScalingMode
- DisplayVariBright
- DisplayVSR
-
Performance Monitoring
-
Receiving Events Notifications
-
C++ Samples
- C++ Samples
-
Display
- Display
- Display3DLUT
- DisplayBlanking
- DisplayColorDepth
- DisplayConnectivityExperience
- DisplayCustomColor
- DisplayCustomResolution
- DisplayDynamicRefreshRateControl
- DisplayEvents
- DisplayFreeSync
- DisplayFreeSyncColorAccuracy
- DisplayGamma
- DisplayGamut
- DisplayGPUScaling
- DisplayHDCP
- DisplayInfo
- DisplayIntegerScaling
- DisplayPixelFormat
- DisplayScalingMode
- DisplayVariBright
- DisplayVSR
-
Performance Monitoring
-
Receiving Events Notifications
-
ADLX SDK References
- ADLX SDK References
-
ADLX Helpers
-
ADLX Interfaces
- ADLX Interfaces
-
3D Graphics
- 3D Graphics
-
IADLX3DAnisotropicFiltering
-
IADLX3DAntiAliasing
-
IADLX3DFidelityFXFrameGenUpgrade
-
IADLX3DFidelityFXFrameGenUpgradeRatioOptionList
-
IADLX3DFrameRateTargetControl
-
IADLX3DImageSharpening
-
IADLX3DRadeonSuperResolution
-
IADLX3DSettingsChangedEvent
- IADLX3DSettingsChangedEvent
- GetGPU
- IsAnisotropicFilteringChanged
- IsAntiAliasingChanged
- IsAntiLagChanged
- IsBoostChanged
- IsChillChanged
- IsEnhancedSyncChanged
- IsFrameRateTargetControlChanged
- IsImageSharpeningChanged
- IsMorphologicalAntiAliasingChanged
- IsRadeonSuperResolutionChanged
- IsResetShaderCache
- IsTessellationModeChanged
- IsWaitForVerticalRefreshChanged
-
IADLX3DSettingsChangedEvent3
-
IADLX3DSettingsChangedHandling
-
IADLX3DSettingsServices
-
IADLX3DSettingsServices3
-
Display
- Display
-
IADLXDisplay3DLUT
- IADLXDisplay3DLUT
- ClearUser3DLUT
- GetAllUser3DLUT
- GetHDRUser3DLUT
- GetSCEDynamicContrast
- GetSCEDynamicContrastRange
- GetSDRUser3DLUT
- GetUser3DLUTIndex
- IsCurrentSCEDisabled
- IsCurrentSCEDynamicContrast
- IsCurrentSCEVividGaming
- IsSupportedSCE
- IsSupportedSCEDynamicContrast
- IsSupportedSCEVividGaming
- IsSupportedUser3DLUT
- SetAllUser3DLUT
- SetHDRUser3DLUT
- SetSCEDisabled
- SetSCEDynamicContrast
- SetSCEVividGaming
- SetSDRUser3DLUT
-
IADLXDisplay3DLUTChangedEvent
-
IADLXDisplayBlanking
-
IADLXDisplayChangedHandling
- IADLXDisplayChangedHandling
- AddDisplay3DLUTEventListener
- AddDisplayGammaEventListener
- AddDisplayGamutEventListener
- AddDisplayListEventListener
- AddDisplaySettingsEventListener
- RemoveDisplay3DLUTEventListener
- RemoveDisplayGammaEventListener
- RemoveDisplayGamutEventListener
- RemoveDisplayListEventListener
- RemoveDisplaySettingsEventListener
-
IADLXDisplayConnectivityExperience
- IADLXDisplayConnectivityExperience
- GetDPLinkRate
- GetNumberOfActiveLanes
- GetNumberOfTotalLanes
- GetRelativePreEmphasis
- GetRelativeVoltageSwing
- IsEnabledHDMIQualityDetection
- IsEnabledLinkProtection
- IsSupportedDPLink
- IsSupportedHDMIQualityDetection
- SetEnabledHDMIQualityDetection
- SetRelativePreEmphasis
- SetRelativeVoltageSwing
-
IADLXDisplayCustomColor
- IADLXDisplayCustomColor
- GetBrightness
- GetBrightnessRange
- GetContrast
- GetContrastRange
- GetHue
- GetHueRange
- GetSaturation
- GetSaturationRange
- GetTemperature
- GetTemperatureRange
- IsBrightnessSupported
- IsContrastSupported
- IsHueSupported
- IsSaturationSupported
- IsTemperatureSupported
- SetBrightness
- SetContrast
- SetHue
- SetSaturation
- SetTemperature
-
IADLXDisplayCustomResolution
-
IADLXDisplayDynamicRefreshRateControl
-
IADLXDisplayFreeSyncColorAccuracy
-
IADLXDisplayGamma
- IADLXDisplayGamma
- GetGammaCoefficient
- GetGammaRamp
- IsCurrentDeGammaRamp
- IsCurrentReGamma36
- IsCurrentReGammaBT709
- IsCurrentRegammaCoefficient
- IsCurrentReGammaPQ
- IsCurrentReGammaPQ2084Interim
- IsCurrentReGammaRamp
- IsCurrentReGammaSRGB
- IsSupportedReGamma36
- IsSupportedReGammaBT709
- IsSupportedReGammaPQ
- IsSupportedReGammaPQ2084Interim
- IsSupportedReGammaSRGB
- ResetGammaRamp
- SetDeGammaRamp
- SetReGamma36
- SetReGammaBT709
- SetReGammaCoefficient
- SetReGammaPQ
- SetReGammaPQ2084Interim
- SetReGammaRamp
- SetReGammaSRGB
-
IADLXDisplayGammaChangedEvent
-
IADLXDisplayGamut
- IADLXDisplayGamut
- GetGamutColorSpace
- GetWhitePoint
- IsCurrent5000kWhitePoint
- IsCurrent6500kWhitePoint
- IsCurrent7500kWhitePoint
- IsCurrent9300kWhitePoint
- IsCurrentAdobeRgbColorSpace
- IsCurrentCCIR2020ColorSpace
- IsCurrentCCIR601ColorSpace
- IsCurrentCCIR709ColorSpace
- IsCurrentCIERgbColorSpace
- IsCurrentCustomColorSpace
- IsCurrentCustomWhitePoint
- IsSupported5000kWhitePoint
- IsSupported6500kWhitePoint
- IsSupported7500kWhitePoint
- IsSupported9300kWhitePoint
- IsSupportedAdobeRgbColorSpace
- IsSupportedCCIR2020ColorSpace
- IsSupportedCCIR601ColorSpace
- IsSupportedCCIR709ColorSpace
- IsSupportedCIERgbColorSpace
- IsSupportedCustomColorSpace
- IsSupportedCustomWhitePoint
- SetGamut
-
IADLXDisplayGamutChangedEvent
-
IADLXDisplaySettingsChangedEvent
- IADLXDisplaySettingsChangedEvent
- GetDisplay
- IsColorDepthChanged
- IsCustomColorBrightnessChanged
- IsCustomColorContrastChanged
- IsCustomColorHueChanged
- IsCustomColorSaturationChanged
- IsCustomColorTemperatureChanged
- IsCustomResolutionChanged
- IsFreeSyncChanged
- IsGPUScalingChanged
- IsHDCPChanged
- IsIntegerScalingChanged
- IsPixelFormatChanged
- IsScalingModeChanged
- IsVariBrightChanged
- IsVSRChanged
-
IADLXDisplaySettingsChangedEvent3
-
IADLXDisplayVariBright1
- IADLXDisplayVariBright1
- IsBacklightAdaptiveEnabled
- IsBacklightAdaptiveSupported
- IsBatteryLifeEnabled
- IsBatteryLifeSupported
- IsFullScreenVideoEnabled
- IsFullScreenVideoSupported
- IsWindowsPowerModeEnabled
- IsWindowsPowerModeSupported
- SetBacklightAdaptiveEnabled
- SetBatteryLifeEnabled
- SetFullScreenVideoEnabled
- SetWindowsPowerModeEnabled
-
GPU Tuning
- GPU Tuning
-
IADLXGPUAutoTuningCompleteEvent
-
IADLXGPUTuningChangedEvent1
-
IADLXGPUTuningChangedHandling
-
IADLXGPUTuningServices
- IADLXGPUTuningServices
- GetAutoTuning
- GetGPUTuningChangedHandling
- GetManualFanTuning
- GetManualGFXTuning
- GetManualPowerTuning
- GetManualVRAMTuning
- GetPresetTuning
- IsAtFactory
- IsSupportedAutoTuning
- IsSupportedManualFanTuning
- IsSupportedManualGFXTuning
- IsSupportedManualPowerTuning
- IsSupportedManualVRAMTuning
- IsSupportedPresetTuning
- ResetToFactory
-
IADLXManualFanTuning
- IADLXManualFanTuning
- GetEmptyFanTuningStates
- GetFanTuningRanges
- GetFanTuningStates
- GetMinAcousticLimit
- GetMinAcousticLimitRange
- GetMinFanSpeed
- GetMinFanSpeedRange
- GetTargetFanSpeed
- GetTargetFanSpeedRange
- GetZeroRPMState
- IsSupportedMinAcousticLimit
- IsSupportedMinFanSpeed
- IsSupportedTargetFanSpeed
- IsSupportedZeroRPM
- IsValidFanTuningStates
- SetFanTuningStates
- SetMinAcousticLimit
- SetMinFanSpeed
- SetTargetFanSpeed
- SetZeroRPMState
-
IADLXManualFanTuningState
-
IADLXManualGraphicsTuning1
-
IADLXManualGraphicsTuning2_1
-
Miscellaneous
-
Multimedia
- Multimedia
-
IADLXMultimediaChangedEvent
-
IADLXMultimediaChangedHandling
-
IADLXMultimediaServices
-
IADLXVideoUpscale
-
Performance Monitoring
- Performance Monitoring
-
IADLXGPUMetricsSupport
- IADLXGPUMetricsSupport
- GetGPUClockSpeedRange
- GetGPUFanSpeedRange
- GetGPUHotspotTemperatureRange
- GetGPUIntakeTemperatureRange
- GetGPUPowerRange
- GetGPUTemperatureRange
- GetGPUTotalBoardPowerRange
- GetGPUUsageRange
- GetGPUVoltageRange
- GetGPUVRAMClockSpeedRange
- GetGPUVRAMRange
- IsSupportedGPUClockSpeed
- IsSupportedGPUFanSpeed
- IsSupportedGPUHotspotTemperature
- IsSupportedGPUIntakeTemperature
- IsSupportedGPUPower
- IsSupportedGPUTemperature
- IsSupportedGPUTotalBoardPower
- IsSupportedGPUUsage
- IsSupportedGPUVoltage
- IsSupportedGPUVRAM
- IsSupportedGPUVRAMClockSpeed
-
IADLXPerformanceMonitoringServices
- IADLXPerformanceMonitoringServices
- ClearPerformanceMetricsHistory
- GetAllMetricsHistory
- GetCurrentAllMetrics
- GetCurrentFPS
- GetCurrentGPUMetrics
- GetCurrentPerformanceMetricsHistorySize
- GetCurrentSystemMetrics
- GetFPSHistory
- GetGPUMetricsHistory
- GetMaxPerformanceMetricsHistorySize
- GetMaxPerformanceMetricsHistorySizeRange
- GetSamplingInterval
- GetSamplingIntervalRange
- GetSupportedGPUMetrics
- GetSupportedSystemMetrics
- GetSystemMetricsHistory
- SetMaxPerformanceMetricsHistorySize
- SetSamplingInterval
- StartPerformanceMetricsTracking
- StopPerformanceMetricsTracking
-
Power Tuning
- Power Tuning
-
IADLXGPUConnectChangedEvent
-
IADLXPowerTuningChangedHandling
-
IADLXPowerTuningServices1
-
IADLXSmartShiftMax
-
Legal Information and Compliance/Disclaimers
Using ADLX in a Windows system service application
Navigation: Programming with ADLX → ADLX Programming Guide → Advanced Configurations
ADLX v1.4 and above can be used directly in a Windows system service application, providing access to limited ADLX functionality.
To use ADLX directly in a Windows system services application, a user must be logged to the local computer.
When the user logs off, ADLX is no longer functional in the system service application.
Any ADLX functions and methods called after the user log off will return ADLX_ORPHAN_OBJECTS. Any interface obtained from ADLX must be discarded and ADLX must be terminated. After a user logs on again, ADLX must be re-initialized.
For more information on using ADLX directly into a Windows system service application, see GPUServiceDirect C++ sample and GPUServiceDirect C sample.
Note: When running in Session 0, ADLX cannot be initialized with an ADL context.
See Using ADLX in an ADL application for more information for initializing ADLX with an ADL context.
Refer to ADLX v1.3 and below if the Windows system service application requires ADLX functionality that is not available when ADLX runs in Session 0.
ADLX v1.5 and above
When ADLX v1.5 and above runs in a Windows system service application, the following functionality is available:
- the functionality available in a Windows system service application with ADLX v1.4 and above
- Desktop functionality
- Display functionality
- I2C functionality
- Power Tuning functionality
- System functionality
ADLX v1.4 and above
When ADLX v1.4 and above runs in a Windows system service application, the following functionality is available:
- ADLX Helpers
- IADLXSystem
- GPU information
- GPU Tuning functionality
- Performance Monitoring functionality
ADLX v1.3 and below
ADLX v1.3 and below cannot be used directly in a Windows system service application. However, ADLX functionality can be accessed in a system service application through a user mode process.
The functions are provided through a communication mechanism between the user mode process and the system service (such as shared memory).
To use ADLX v1.3 and below in a system service application,
-
Create a system service application.
-
For more information on how to create a system service application in C++, see ServiceCall C++ sample.
-
For more information on how to create a system service application in C, see ServiceCall C sample.
-
In the system service application, start a thread to complete the service work, such as
ServiceWorkerThread. -
On the
ServiceWorkerThread, get the token of the current process to create a user process usingCreateProcessAsUserW. -
For more information on how to create a user process into a service application in C++, see UserProcess C++ sample.
-
For more information on how to create a user process into a service application in C, see UserProcess C sample.
-
In the user mode process, load ADLX and implement the desired functionality.
-
In the user mode process, implement a communication mechanism suitable for communicating with the system service (such as shared memory) and tie the ADLX data with the communication mechanism.
-
Run the user mode process and the service application.
For more information, see GPUServiceCall C++ samples and GPUServiceCall C samples.
Related Pages
API Reference
This page references: