[Nouveau] [Bug 89969] New: vaDriverInit fails with gallium/nouveau driver

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Apr 9 08:14:13 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=89969

            Bug ID: 89969
           Summary: vaDriverInit fails with gallium/nouveau driver
           Product: Mesa
           Version: git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/DRI/nouveau
          Assignee: nouveau at lists.freedesktop.org
          Reporter: julien.isorce at gmail.com
        QA Contact: nouveau at lists.freedesktop.org

Created attachment 114987
  --> https://bugs.freedesktop.org/attachment.cgi?id=114987&action=edit
build: enable va with nouveau driver

When running vainfo:

libva info: VA-API version 0.37.1
libva info: va_getDriverName() returns 0
libva info: User requested driver 'gallium'
libva info: Trying to open /usr/local/lib/dri/gallium_drv_video.so
libva info: Found init function __vaDriverInit_0_37
libva error: /usr/local/lib/dri/gallium_drv_video.so init failed
libva info: va_openDriver() returns 2
vaInitialize failed with error code 2 (resource allocation failed),exit

"vl_screen_create" calls "dd_create_screen" which returns NULL because the
block

#if defined(GALLIUM_NOUVEAU)
   if (strcmp(driver_name, "nouveau") == 0)
      return pipe_nouveau_create_screen(fd);
   else
#endif

is not compiled for va target. Indeed GALLIUM_NOUVEAU is not defined at this
point. See following patch.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20150409/0deb9762/attachment.html>


More information about the Nouveau mailing list