fix(core): set LIBVA_DRIVER_NAME and __GLX_VENDOR_LIBRARY_NAME to radeonsi/mesa for NVIDIA eGPU compatibility
This commit is contained in:
1 parent
c58bd142cb
commit
f1cc109b5d
1 file changed
+11
@@ -25,6 +25,17 @@ require("hypr.autostart")
|
|||||||
-- Toggle config flags dynamically.
|
-- Toggle config flags dynamically.
|
||||||
require("default.hypr.toggles")
|
require("default.hypr.toggles")
|
||||||
|
|
||||||
|
-- Omarchy's default/hypr/nvidia.lua sees the RTX 5060 Ti and points VA-API
|
||||||
|
-- and GLX at the NVIDIA driver, as if it drove the display. It is a
|
||||||
|
-- Thunderbolt eGPU for CUDA only (see uwsm/env-hyprland for the EGL, Vulkan
|
||||||
|
-- and KMS side). With LIBVA_DRIVER_NAME=nvidia every Chromium/Electron GPU process
|
||||||
|
-- opens the first render node (the eGPU, renderD128) and nvidia-vaapi-driver
|
||||||
|
-- brings up a CUDA context + NVDEC on it before the window even appears;
|
||||||
|
-- launching LM Studio took the whole machine down with it. Last env wins,
|
||||||
|
-- so this must come after the Omarchy defaults above.
|
||||||
|
hl.env("LIBVA_DRIVER_NAME", "radeonsi")
|
||||||
|
hl.env("__GLX_VENDOR_LIBRARY_NAME", "mesa")
|
||||||
|
|
||||||
-- Add any other personal Hyprland configuration below.
|
-- Add any other personal Hyprland configuration below.
|
||||||
-- o.window("qemu", { workspace = "5" })
|
-- o.window("qemu", { workspace = "5" })
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user