Dynamic GPU Switching via Display Buffer Intermediary
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current methods for switching between integrated and discrete graphics processing units in computing systems are either manually intensive, time-consuming, or require rebooting, disrupting running applications and not allowing seamless transitions without changing display connections.
Innovation Solution
A method that involves capturing a screenshot of the current display and storing it in a DGPU display buffer within the IGPU's local memory, using the IGPU DAC to display the image, and enabling the DGPU while inserting rendered data from the DGPU into the IGPU memory for display, allowing seamless switching between GPUs without rebooting or changing display connections.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If manual disconnection and reconnection of display device is used to switch GPUs, then GPU switching is achieved, but the process is manually intensive and time consuming
Solution Approach 1:
The patent introduces an intermediary mechanism (display buffer and driver software) that mediates between the display device and GPUs. The display buffer stores image data, allowing the system to switch between IGPU and DGPU without physically moving the display device, thus automating the switching process and reducing both manual effort and time required.
Solution Approach 2:
The system performs preliminary actions by pre-rendering or caching display data in a buffer before switching is needed. This allows the display to continue showing content during the GPU transition, making the switching process faster and less noticeable to the user.
2Ease of operation
If manual switch and reboot are used to select between DGPU and IGPU, then GPU selection is achieved, but running applications terminate and time is lost
Solution Approach 1:
The display buffer acts as an intermediary that maintains the display output during GPU transitions. This allows applications to continue running on one GPU while the system switches to another GPU for rendering, preventing application termination and maintaining system stability throughout the switching process.
Solution Approach 2:
The system prepares the display buffer in advance with current display data before initiating a GPU switch. This preliminary preparation ensures that the display continues to function normally during the transition, allowing applications to run uninterrupted without requiring a system reboot.
3Adaptability or versatility
If display connection is changed to switch between IGPU and DGPU, then GPU switching is achieved, but display connection must be physically altered
Solution Approach 1:
The patent uses a display buffer as an intermediary layer between the display device and the GPUs. This buffer allows the display connection to remain static while the system switches between IGPU and DGPU by changing which GPU renders to the buffer, thereby achieving GPU switching capability without requiring physical connection changes or increasing device complexity.
4Power
If DGPU is used for high performance graphics, then graphics performance is improved, but power consumption increases
Solution Approach 1:
The system dynamically switches between IGPU and DGPU based on the current workload requirements. For power-intensive high-performance graphics tasks, the DGPU is activated. For routine tasks, the power-efficient IGPU is used. This dynamic adaptation allows the system to optimize the balance between graphics performance and power consumption in real-time.
Solution Approach 2:
The system changes the operational parameters by switching which GPU is active based on performance needs. When high graphics performance is required, the DGPU parameter is selected; when power saving is prioritized, the IGPU parameter is selected. This parameter change approach enables flexible control over the power-performance trade-off.
Data Source
AI summary
One embodiment of the present invention sets forth a technique for dynamically switching between a power-saving integrated graphics processing unit (IGPU) and a higher-performance discrete graphics processing unit (DGPU). This technique uses a single graphics driver and a single digital-to-analog converter (DAC) and leverages the GPU switching capability of the operating system to ensure a seamless transition. When additional graphics performance is desired, the system enters a hybrid graphics mode. In this mode, the DGPU is powered-up, and the graphics driver maintains the current display, while the operating system switches applications running on the IGPU to the DGPU. While in the hybrid graphics mode, the DGPU performs the graphics processing, and the graphics driver transmits the rendered images from the DGPU to the IGPU local memory and, then, to the IGPU DAC. This image transmission allows applications to fully exploit the processing capabilities of the DGPU, while using the display device connected to the IGPU.


