diff --git a/video/out/x11_common.c b/video/out/x11_common.c index 4ceb7ba3d1..f041d594ec 100644 --- a/video/out/x11_common.c +++ b/video/out/x11_common.c @@ -420,9 +420,11 @@ static void xrandr_read(struct vo_x11_state *x11) bstr_lower(provider_name); int amd = bstr_find0(provider_name, "amd"); int intel = bstr_find0(provider_name, "intel"); + int nouveau = bstr_find0(provider_name, "nouveau"); int nvidia = bstr_find0(provider_name, "nvidia"); int radeon = bstr_find0(provider_name, "radeon"); - x11->has_mesa = x11->has_mesa || amd >= 0 || intel >= 0 || radeon >= 0; + x11->has_mesa = x11->has_mesa || amd >= 0 || intel >= 0 || + nouveau >= 0 || radeon >= 0; x11->has_nvidia = x11->has_nvidia || nvidia >= 0; } XRRFreeProviderResources(pr);