add prelim detect_gpu for linux (new deps)