Comment 154 for bug 1068404

Revision history for this message
Marco Vuano (vuanomarco) wrote :

In the 13.2 beta 6 drivers (2:12.100-0ubuntu1) the situation is more or less the same as that with the beta 3 drivers, the periodic crashes of the Xserver when using the iGPU are there as well.
However, I noted that with the 13.2 beta drivers (both version 3 and 6) XvBA seems to be broken:
when using XvBA for VA API (adding LIBVA_DRIVER_NAME=xvba in /etc/environment) vainfo makes the X server crash and restart with the following message:

libva: VA-API version 0.32.0
libva: User requested driver 'xvba'
libva: Trying to open /usr/lib/x86_64-linux-gnu/dri/xvba_drv_video.so
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
      after 11 requests (11 known processed) with 0 events remaining.

Of course also trying to play a video with hardware acceleration makes the X server crash and restart.
If the LIBVA_DRIVER_NAME environment variable is removed from /etc/environment, vainfo works again and it is possible to play videos even when using VA API for video acceleration (independently of the GPU selected). The vainfo output is:

libva: VA-API version 0.32.0
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva: va_openDriver() returns 0
vainfo: VA-API version: 0.32 (libva 1.0.15)
vainfo: Driver version: Intel i965 driver - 1.0.17
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

Still, this is a minor issue compared to the main bug treated here.