Merge pull request #11690 from Yarlord/fix-hybrid-nvidia-vaapi
Only force NVIDIA VA-API/GLX env when NVIDIA drives the display
This commit is contained in:
4 files changed
+111
-88
No files matched your search
@@ -0,0 +1,8 @@
|
||||
echo "Apply the NVIDIA video driver fix on hybrid laptops"
|
||||
|
||||
if omarchy-hw-nvidia && ! omarchy-hw-nvidia-display; then
|
||||
# Hyprland applies env at startup. Reloading the updated defaults cannot
|
||||
# clear the old overrides inherited by the compositor and its applications.
|
||||
omarchy-state set reboot-required
|
||||
echo "Reboot to stop forcing NVIDIA VA-API/GLX drivers on the integrated GPU."
|
||||
fi
|
||||
Reference in new issue
Block a user