--- a/toolkit/xre/glxtest/glxtest.cpp
+++ b/toolkit/xre/glxtest/glxtest.cpp
@@ -946,7 +946,9 @@
   log("GLX_TEST: childgltest start\n");
 
   // Get a list of all GPUs from the PCI bus.
+#if !defined(__TERMUX__)
   get_pci_status();
+#endif
 
 #ifdef MOZ_WAYLAND
   if (aWayland) {
