forge
Explore
Log in

Don't you dare go Hollow

wiki/FAQ: Describe hybrid GPU laptop external monitor lag

Browse files at this commit

4f0db78248ea8d7ba04113c5dbcc8533778c5cddIvan MolodetskikhParent: 3e250cd
docs/wiki/FAQ.mdmodified+14 -0
@@ -40,6 +40,20 @@ hotkey-overlay {
40 }40 }
41 ```41 ```
42 42
43+### How to fix lag on external monitors connected to a hybrid GPU laptop?
44+
45+Hybrid GPU laptops (which have both an integrated and a discrete GPU) generally connect the external monitor port to the discrete GPU.
46+Meanwhile, the built-in monitor is connected to the integrated GPU, and the integrated GPU is used for rendering by default.
47+
48+This is good and expected because the integrated GPU uses significantly less battery compared to the discrete GPU.
49+However, this means that niri has to render the external monitor contents on the integrated GPU, then copy them over to the discrete GPU for display.
50+On some laptops this can cause lag and stuttering (it gets worse with monitor resolution and refresh rate).
51+
52+If your laptop has a MUX switch—usually a GPU toggle in the UEFI settings—then you can switch it to use the discrete GPU, then niri will render on the discrete GPU, and the external monitor won't lag.
53+Otherwise, you can try configuring niri to render on the discrete GPU via the [`render-drm-device`](./Configuration:-Debug-Options.md#render-drm-device) debug option.
54+
55+Keep in mind that using the discrete GPU for rendering will make the laptop's battery deplete much faster.
56+
43 ### How to run X11 apps like Steam or Discord?57 ### How to run X11 apps like Steam or Discord?
44 58
45 To run X11 apps, you can use [xwayland-satellite](https://github.com/Supreeeme/xwayland-satellite).59 To run X11 apps, you can use [xwayland-satellite](https://github.com/Supreeeme/xwayland-satellite).