Ubuntu/Fedora Steam In Home Streaming, Fix slow decode(32&64bit in description)

Channel:
Subscribers:
50
Published on ● Video Link: https://www.youtube.com/watch?v=vieqUOuvmW0



Dead Cells
Game:
Dead Cells (2018)
Duration: 1:28
538 views
4


A quick guide on getting hardware decoding to work on Ubuntu(Fedora 26 guide at end of description).
This should help with Slow Decode on lower power machines with hardware decoders.
And native Linux Games should perform better as well, using the native libs from your OS, and not Steam's outdated runtime.
In this video: Steam Native + Stream Hardware Decoding + Radeon HD 3000 VAAPI (HD 3450 256MB in video)
This video isn't only for Radeon HD 3000.

Performance is much better than in the video(and even better if you have a stronger GPU). OBS isn't hardware accelerated so it hits the CPU and GPU hard.

Make sure to have VDPAU and/or VAAPI drivers installed. And check your acceleration support with vdpauinfo and/or vainfo.

You may or may not have to install more packages to finish off the necessary libs for running Steam native.

Ubuntu 32-bit in video.

Update: It works on 64-bit but I didn't record the process. I added a list of depends needed for 64-bit Ubuntu though.

[----
Drivers(32-bit):
[ sudo apt-get install mesa-vdpau-drivers vdpauinfo vainfo ]

Drivers(64-bit): [ sudo apt-get install i965-va-driver:i386 libva-drm1:i386 libva-wayland1:i386 libva-x11-1:i386 libva1:i386 libvdpau1:i386 libwayland-client0:i386 mesa-vdpau-drivers:i386 va-driver-all:i386 vdpau-driver-all:i386 vdpau-va-driver:i386 ]

On AMD hardware, if you want to use VDPAU instead [ sudo apt-get remove libva-x11-1:i386 libva-glx1:i386 ]

Check depends(be sure to do this):
cd .steam/ubuntu12_32
LD_LIBRARY_PATH=".:${LD_LIBRARY_PATH}" ldd $(file *|sed '/ELF/!d;s/:.*//g')|grep 'not found'|sort|uniq

Install depends(32-bit):
[ sudo apt-get install libudev1 libopenal1 ]

Install depends(64-bit):
[ sudo apt-get install libasound2:i386 libusb-1.0-0:i386 libxi6:i386 libxtst6:i386 libxss1:i386 libxrandr2:i386 libopenal1:i386 libsm6:i386 libxcomposite1:i386 libxcursor1:i386 libnss3:i386 libnm-glib4:i386 libgtk2.0-0:i386 libgconf2-4:i386 ]

Set symlink:
cd /lib/i386-linux-gnu
[ sudo ln -sf libudev.so.1 libudev.so.0]

In a terminal, Run Steam with local libs:
STEAM_RUNTIME=0 steam

If the video decode is still slow, try reducing the resolution in the client's settings and/or reduce the bitrate.
----]

NEW: Not in video: Fedora 26 x64

Similar process as Ubuntu.

Install Free and Nonfree: https://rpmfusion.org/Configuration

[ sudo dnf updateinfo ]
[ sudo dnf upgrade ]
[ sudo dnf install steam ]

Run Steam before installing the necessary dependencies and running Steam in Native mode.

cd .steam/steam/ubuntu12_32

LD_LIBRARY_PATH=".:${LD_LIBRARY_PATH}" ldd $(file *|sed '/ELF/!d;s/:.*//g')|grep 'not found'|sort|uniq

[ sudo dnf install libnm-gtk.i686 ]
[ sudo dnf install openal-soft.i686 ]
cd /lib
[ sudo ln -sf libudev.so.1 libudev.so.0 ]

Please Like and Share this video. And click the subscribe button if you want more quick guides.
I'll also take in suggestions.







Tags:
enable
hardware
decode
steam
inhome
streaming
amd
radeon
r5
r3
r7
vaapi
vdpau
ubuntu
axxonm
faster steam
native
fedora
26
fedora 26
smooth
smooth steam
better performance
better
performance
higher fps
high fps
intel
nvidia
fix slow decode



Other Statistics

Dead Cells Statistics For Ben

There are 538 views in 1 video for Dead Cells. His channel published less than an hour of Dead Cells content, less than 0.80% of the total video content that Ben has uploaded to YouTube.