squash! feat(adrastea): bypass amd gpu entirely to vastly increase perf

This commit is contained in:
Youwen Wu 2024-10-06 01:15:36 -07:00
parent c674be8329
commit 765e467b1a
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3

View file

@ -6,6 +6,10 @@
"HDMI-A-1,2560x1440@144,0x0,1.0" "HDMI-A-1,2560x1440@144,0x0,1.0"
]; ];
# since we are using this as a "desktop" of sorts, we have no need to save
# power by using optimus. poor performance on external display, so we add
# this line to force hyprland to use the nvidia GPU only for rendering. can
# be removed if only using internal display
wayland.windowManager.hyprland.settings.env = [ wayland.windowManager.hyprland.settings.env = [
"AQ_DRM_DEVICES,/dev/dri/card1:/dev/dri/card0" "AQ_DRM_DEVICES,/dev/dri/card1:/dev/dri/card0"
]; ];