ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.26k stars 175 forks source link

Provide env variable to choose between VAAPI and VDPAU #5236

Open z0id opened 7 years ago

z0id commented 7 years ago

Given that on Radeon systems both APIs are available and, depending on the card, one works better than the other, an env variable that would allow to choose between them would be usseful.

I'm running an old HD 3650 GPU and VAAPI does not work properly; however VDPAU does. The problem is that Steam doesn't seem to offer some mechanism to prefer one over the other and it defaults to VAAPI.

VAAPI has high CPU usage and the console gets flooded with

libva info: VA-API version 0.40.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib32/dri/r600_drv_video.so
libva info: Found init function __vaDriverInit_0_40
libva info: va_openDriver() returns 0
Installing breakpad exception handler for appid(streaming_client)/version(1.0)
libva info: VA-API version 0.40.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib32/dri/r600_drv_video.so
libva info: Found init function __vaDriverInit_0_40
libva info: va_openDriver() returns 0
z0id commented 7 years ago

Is there a way to achieve this using the Steam console?

jptuomi commented 6 years ago

I second this as with VDPAU this would be able to run on less powerful AMD APUs.