mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-04-21 23:50:26 +00:00
Don't call dlsym() in our DRM master hooks
Not only is it faster to cache the function pointers, calling dlsym() inside open()/close() can lead to deadlocks when using Vulkan Video decoding on top of the Nvidia driver.
This commit is contained in:
@@ -327,7 +327,7 @@ libdrm {
|
||||
linux {
|
||||
message(Master hooks enabled)
|
||||
SOURCES += masterhook.c masterhook_internal.c
|
||||
LIBS += -ldl
|
||||
LIBS += -ldl -pthread
|
||||
}
|
||||
}
|
||||
cuda {
|
||||
|
||||
Reference in New Issue
Block a user