This commit is contained in:
2026-09-01 16:18:21 +02:00
parent e508025859
commit aad9a6d273
4 changed files with 11 additions and 10 deletions
@@ -105,6 +105,10 @@ class DeviceMonitor:
fds_to_remove = []
for fd, event in events:
if event & (select.POLLERR | select.POLLHUP | select.POLLNVAL):
fds_to_remove.append(fd)
continue
if event & select.POLLIN:
try:
while True:
@@ -1,3 +0,0 @@
export __NV_PRIME_RENDER_OFFLOAD=1
export __GLX_VENDOR_LIBRARY_NAME=nvidia
export __VK_LAYER_NV_optimus=NVIDIA_only
@@ -1,4 +0,0 @@
# __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia __VK_LAYER_NV_optimus=NVIDIA_only
unset __NV_PRIME_RENDER_OFFLOAD
unset __GLX_VENDOR_LIBRARY_NAME
unset __VK_LAYER_NV_optimus