Using an External Monitor with a Laptop without a Dedicated GPU
Have you recently purchased a new monitor to use with your laptop, only to notice that your laptop is using the Nvidia GPU instead of the integrated graphics? You're not mistaken, and you're probably wondering why this is happening. In this article, we'll explore the concept of using an external monitor with a laptop without a dedicated GPU, covering key concepts and providing detailed context on the topic.
Understanding GPU Selection
When you connect an external monitor to your laptop, the operating system has to decide which GPU to use to render the display. This decision is typically made based on the power management settings of your laptop. If your laptop is plugged in and running on AC power, it may use the more powerful dedicated GPU to drive the display. However, if your laptop is running on battery power, it may switch to the integrated graphics to conserve power.
#!/bin/bash
# This is a Bash script that sets the GPU mode to "integrated"
echo "integrated" > /sys/class/drm/card0/device/power_dpm_force_performance_level
Changing the GPU Selection
If you want to force your laptop to use the integrated graphics when using an external monitor, you can do so by changing the GPU selection in your laptop's power management settings. The exact steps to do this will vary depending on your laptop's make and model, but generally, you can follow these steps:
- Open the power management settings on your laptop.
- Find the option for GPU selection or switchable graphics.
- Select the integrated graphics as the preferred GPU for your external monitor.
Performance Considerations
It's important to note that using the integrated graphics instead of the dedicated GPU may result in lower performance, especially when running graphics-intensive applications. If you're planning to use your external monitor for gaming or other graphics-intensive tasks, you may want to consider using the dedicated GPU instead.
References
-
Book: Linux System Programming: Talking Directly to the Kernel and C Library by Robert Love
-
Online Resource: How to Switch Between Discrete and Integrated Graphics on Your Dell System
In summary, using an external monitor with a laptop without a dedicated GPU can be a bit tricky, as the operating system may automatically select the more powerful GPU to drive the display. However, by changing the GPU selection in your laptop's power management settings, you can force your laptop to use the integrated graphics instead. Just keep in mind that using the integrated graphics may result in lower performance, especially when running graphics-intensive applications.