You are not logged in.
So steam has added support for intel hw decoding.
Does anyone knows how to activate this on Arch linux?
Ive installed libva-intel-driver and libva, but it keeps using software decoding.
Could it be because im running a 64 bit version? and steam runs on 32 bits?
This is my vainfo output.
libva info: VA-API version 0.35.1
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_35
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.35 (libva 1.3.1)
vainfo: Driver version: Intel i965 driver for Intel(R) Sandybridge Mobile - 1.3.2
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
Last edited by Magbed (2014-08-24 13:12:19)
Offline
I tried installing lib32-libva and lib32-libva-intel-driver from AUR, but they are out of date, steam requires libva-driver to be at least 1.3.2.
Offline
Solved it. I had to install the 32 bit versions but since the ones in the AUR are out of date i had to manually modify the PKGBUILD to point to the latest version.
After that it was just a matter of symlinking to where steam wants to find the library
sudo ln -s /usr/lib32/dri/i965_drv_video.so /usr/lib/i386-linux-gnu/dri/i965_drv_video.so
Offline
I was just about to post the same exact thing. Switching to vaapi decoding didn't seem to resolve any of my sound related issues with streaming though. <sigh>
Offline
See: Here
Apparently Intel graphics do not support the "GL_NV_vdpau_interop extension" that is required for hardware decoding on the client. I have done every single thing possible and I am still getting software decoding with an Ironlake Intel HD Graphics (first generation Core i5 650).
Enable -> Steam -> Settings -> In Home Streaming -> Advanced Client Options -> Display Performance Information.
When you launch a stream, press the option indicated in the bottom left of the screen to get detailed information and see if you really are being hardware accelerated or if it is just a placebo?
Offline
Adding some more information:
I updated the PKGBUILDs of both lib32-libva and lib32-libva-intel-driver and built and installed them successfully. I followed the: VDPAU page and configured it properly, including setting the environment variable that tells the system to use the Intel backend. I tried your symbolic link even though the same link is present in Steam's runtime within your ~/.local/Steam/.. folder. Steam streaming still uses software decoding. VDPAU is configured correctly on my system as other programs which use it work correctly with the above configuration I did. "vainfo" and "vdpauinfo" indicate that it is correctly configured.
Like I said, I am using a first-generation Core i5 650. That is "Intel HD Graphics" with no other suffix, otherwise known as "Ironlake" graphics. I am using the official xf86-video-intel in the main repos and not the devel version in AUR. The version of my Intel driver is "2.99.914-4".
Edit:
Output of "vainfo":
libva info: VA-API version 0.35.1
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_35
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.35 (libva 1.3.1)
vainfo: Driver version: Intel i965 driver for Intel(R) Ironlake Desktop - 1.3.2
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264Main : VAEntrypointVLD
VAProfileH264High : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
Output of "vdpauinfo":
display: :0.0 screen: 0
[VS] Software VDPAU backend library initialized
libva info: VA-API version 0.35.1
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_35
libva info: va_openDriver() returns 0
API version: 1
Information string: OpenGL/VAAPI/libswscale backend for VDPAU
Video surface:
name width height types
-------------------------------------------
420 1920 1080 NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8
422 1920 1080 NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8
444 1920 1080 NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8
Decoder capabilities:
name level macbs width height
-------------------------------------------
H264_BASELINE 51 16384 2048 2048
H264_MAIN 51 16384 2048 2048
H264_HIGH 51 16384 2048 2048
Output surface:
name width height nat types
----------------------------------------------------
B8G8R8A8 53 53 y
R8G8B8A8 1863013872 1863013872 y
R10G10B10A2 1863013872 1863013872 y
B10G10R10A2 1863013872 1863013872 y
A8 1863013872 1863013872 y
Bitmap surface:
name width height
------------------------------
B8G8R8A8 8192 8192
R8G8B8A8 8192 8192
R10G10B10A2 8192 8192
B10G10R10A2 8192 8192
A8 8192 8192
Video mixer:
feature name sup
------------------------------------
DEINTERLACE_TEMPORAL -
DEINTERLACE_TEMPORAL_SPATIAL -
INVERSE_TELECINE -
NOISE_REDUCTION -
SHARPNESS -
LUMA_KEY -
HIGH QUALITY SCALING - L1 -
HIGH QUALITY SCALING - L2 -
HIGH QUALITY SCALING - L3 -
HIGH QUALITY SCALING - L4 -
HIGH QUALITY SCALING - L5 -
HIGH QUALITY SCALING - L6 -
HIGH QUALITY SCALING - L7 -
HIGH QUALITY SCALING - L8 -
HIGH QUALITY SCALING - L9 -
parameter name sup min max
-----------------------------------------------------
VIDEO_SURFACE_WIDTH -
VIDEO_SURFACE_HEIGHT -
CHROMA_TYPE -
LAYERS -
attribute name sup min max
-----------------------------------------------------
BACKGROUND_COLOR -
CSC_MATRIX -
NOISE_REDUCTION_LEVEL -
SHARPNESS_LEVEL -
LUMA_KEY_MIN_LUMA -
LUMA_KEY_MAX_LUMA -
Last edited by headkase (2014-08-25 22:28:26)
Offline
I think you are a bit confused about VA-API and VDPAU they are 2 different things, afaik intel driver doesnt implement VDPAU. As the title of the post says ive got VA-API hw decoding working on steam, the debug overlay says so too, not VDPAU.
Offline
Thank you for the reply. This thread no longer applies for myself though, I popped in an Nvidia card in my machine so now I'm on a different path. Thanks again though!
Offline