update
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user