diff --git a/include/compute_lib/compute_lib.c b/include/compute_lib/compute_lib.c index e5b6945..0ab2846 100644 --- a/include/compute_lib/compute_lib.c +++ b/include/compute_lib/compute_lib.c @@ -150,6 +150,11 @@ int compute_lib_init(compute_lib_instance_t* inst) inst->initialised = true; fprintf(stderr, "[ComputeLib]: Initialized.\n"); + fprintf(stderr, "[ComputeLib]: Display CLIENT_APIS: %s\n", eglQueryString(inst->dpy, EGL_CLIENT_APIS)); + fprintf(stderr, "[ComputeLib]: Display VENDOR: %s\n", eglQueryString(inst->dpy, EGL_VENDOR)); + fprintf(stderr, "[ComputeLib]: Display VERSION: %s\n", eglQueryString(inst->dpy, EGL_VERSION)); + fprintf(stderr, "[ComputeLib]: Display EXTENSIONS: %s\n", eglQueryString(inst->dpy, EGL_EXTENSIONS)); + return 0; } diff --git a/include/compute_lib/compute_lib.h b/include/compute_lib/compute_lib.h index 1eedab7..c00635b 100644 --- a/include/compute_lib/compute_lib.h +++ b/include/compute_lib/compute_lib.h @@ -105,7 +105,7 @@ typedef struct { #define COMPUTE_LIB_UNIFORM_NEW(name_) ((compute_lib_uniform_t) {.name = (name_), .location = 0, .size = 0, .type = 0, .index = 0}) -#define COMPUTE_LIB_GPU_DRI_PATH "/dev/dri/renderD128XXX" +#define COMPUTE_LIB_GPU_DRI_PATH "/dev/dri/renderD128" #define COMPUTE_LIB_GPU_DRI_BACKUP_PATH "/dev/dri/card0" #define COMPUTE_LIB_MAX_INFO_LOG_LEN 4096