Skip to content
Browse files

load libXext.so.6 before loading libatiadlxx.so as the 11.12 drivers …

…seem to require this.
  • Loading branch information...
1 parent 9ebefa1 commit ef70187cfe0527e053a9fd59048833206a976033 @mjmvisser committed
Showing with 3 additions and 0 deletions.
  1. +3 −0 adl3/adl_api.py
View
3 adl3/adl_api.py
@@ -35,6 +35,9 @@
if _platform == "Linux":
from ctypes import RTLD_GLOBAL
+ # pre-load libXext (required by libatiadlxx.so in 11.12)
+ CDLL("libXext.so.6", mode=RTLD_GLOBAL)
+
# load the ADL 3.0 dso/dll
_libadl = CDLL("libatiadlxx.so", mode=RTLD_GLOBAL)

0 comments on commit ef70187

Please sign in to comment.
Something went wrong with that request. Please try again.