Launchpad has imported 1 comments from the remote bug at
https://bugs.freedesktop.org/show_bug.cgi?id=51353.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2012-06-23T02:33:36+00:00 Patricknicolas wrote:

If I run the command
LIBVA_DRIVER_NAME=i965 vainfo
vainfo fails with the following error:
vainfo: intel_driver.c:58: intel_driver_init: Assertion 
`dri_state->driConnectedFlag == VA_DRI2 || dri_state->driConnectedFlag == 
VA_DRI1' failed.

It appears that the environment variable will skip va_DRI2GetDriverName
call, which in turn calls isDRI2Connected and VA_DRI2Connect functions.

vainfo alone works and outputs
libva: VA-API version 0.33.0
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib64/va/drivers/i965_drv_video.so
libva: Found init function __vaDriverInit_0_33
libva: va_openDriver() returns 0
vainfo: VA-API version: 0.33 (libva 1.1.0)
vainfo: Driver version: Intel i965 driver - 1.0.18
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileH264Baseline           : VAEntrypointVLD
      VAProfileH264Baseline           : VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointEncSlice
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointEncSlice
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD

Reply at: https://bugs.launchpad.net/ubuntu/+source/intel-vaapi-
driver/+bug/1171440/comments/0


** Changed in: libva
       Status: Unknown => Confirmed

** Changed in: libva
   Importance: Unknown => Low

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1171440

Title:
  Getting error from vainfo

To manage notifications about this bug go to:
https://bugs.launchpad.net/libva/+bug/1171440/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to