After solving the relative path issue I now have better info:

(gdb) s
__vaDriverInit_1_17 (ctx=0x5555555702b0) at ../src/gallium/frontends/va/context.c:123
123        if (!ctx)
(gdb) n
126        drv = CALLOC(1, sizeof(vlVaDriver));
(gdb) n
127        if (!drv)
(gdb) n
130        switch (ctx->display_type) {
(gdb) n
142 drv->vscreen = vl_dri3_screen_create(ctx->native_dpy, ctx->x11_screen);
(gdb) n
143           if (!drv->vscreen)
(gdb) n
144 drv->vscreen = vl_dri2_screen_create(ctx->native_dpy, ctx->x11_screen);
(gdb) s
vl_dri2_screen_create (display=0x55555555d370, screen=0) at ../src/gallium/auxiliary/vl/vl_winsys_dri.c:375
375     {
(gdb) n
385        xcb_generic_error_t *error = NULL;
(gdb) n
394        scrn = CALLOC_STRUCT(vl_dri_screen);
(gdb) n
395        if (!scrn)
(gdb) n
398        scrn->conn = XGetXCBConnection(display);
(gdb) n
399        if (!scrn->conn)
(gdb) n
402        xcb_prefetch_extension_data(scrn->conn, &xcb_dri2_id);
(gdb) n
404        extension = xcb_get_extension_data(scrn->conn, &xcb_dri2_id);
(gdb) n
405        if (!(extension && extension->present))
(gdb) n
408        dri2_query_cookie = xcb_dri2_query_version (scrn->conn,
(gdb) n
411 dri2_query = xcb_dri2_query_version_reply (scrn->conn, dri2_query_cookie, &error);
(gdb) n
412 if (dri2_query == NULL || error != NULL || dri2_query->minor_version < 2)
(gdb) n
496        free(dri2_query);
(gdb) p dri2_query
$1 = (xcb_dri2_query_version_reply_t *) 0x5555555f26a0
(gdb) p dri2_query->minor_version
$2 = 0
(gdb) n
497        free(error);
(gdb) n
500        FREE(scrn);
(gdb) n
501        return NULL;
(gdb) n
__vaDriverInit_1_17 (ctx=0x5555555702b0) at ../src/gallium/frontends/va/context.c:145
145           if (!drv->vscreen)
(gdb) n
231        FREE(drv);
(gdb) n
232        return VA_STATUS_ERROR_ALLOCATION_FAILED;
(gdb) n
va_openDriver (dpy=dpy@entry=0x555555570140, driver_name=<optimized out>) at ./va/va.c:535
535                     if (VA_STATUS_SUCCESS == vaStatus) {
(gdb) n
583 va_errorMessage(dpy, "%s init failed\n", driver_path);
(gdb) n
libva error: /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so init failed
584                         dlclose(handle);

Reply via email to