Eines de l'usuari

Eines del lloc


public:linux:pc:steam

Problema plaques integraes portàtils INTEL

Son molt comuns el INTEL amb plaques integrades HD3000 HD4000 que tenen deshabilitada la funció d'acceleració gràfica deshabilitada per defecte i fa que sigui molt lent el video flash i el jocs del steam.

As for your desktop micro-stuttering or lagging, that's likely due to the Intel hardware V-Sync being disabled by defualt on Linux, as well as Hardware acceleration in Firefox also being disabled by defualt (where as it is usually enabled by default on Windows).

How to enable hardware acceleration on Intel graphics cards using VDPAU driver
VDPAU is an open-source library and API allows to video programs to offload portions of the video decoding process and video post-processing to the GPU video-hardware. If VDPAU available, CPU usage can be significantly lower
sudo apt-get install libvdpau-va-gl1
sudo apt-get install i965-va-driver

To launch an application with the driver, for example, launch firefox:

VDPAU_DRIVER=va_gl firefox

To force Adobe Flash to use the hardware acceleration:

sudo mkdir -p /etc/adobe
echo "EnableLinuxHWVideoDecode=1" | sudo tee /etc/adobe/mms.cfg
echo "OverrideGPUValidation=1" | sudo tee -a /etc/adobe/mms.cfg

Podem veure la instal·lació del va

sudo apt-get install vainfo 
vainfo

Per al steam:

After much googling, the problem is that Steam on Ubuntu is bundled with its own libraries for VA-API. Unfortunately, it is bundled with old drivers that no longer work/are broken. The solution is to download the drivers from Ubuntu/your distros repo, remove Steams copy and ln (symlink) them to the host’s updated drivers.

Instal·lar:

apt install i965-va-driver:i386
apt install libva1:i386
apt install libva-x11-1:i386
apt install libva-glx1:i386

o el que es el mateix

 sudo apt-get install libva1:i386 libva-x11-1:i386 libva-glx1:i386

Borrar els que porta l'steam

rm ~/.steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libva*

i fer links al correctes:

ln -s /usr/lib/i386-linux-gnu/libva.so.1 /home/cr/.steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libva.so.1
ln -s /usr/lib/i386-linux-gnu/libva-x11.so.1 /home/cr/.steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libva-x11.so.1
ln -s /usr/lib/i386-linux-gnu/libva-glx.so.1 /home/cr/.steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libva-glx.so.1
ln -s /usr/lib/i386-linux-gnu/libva.so.1.3900.0 /home/cr/.steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libva.so.1.3900.0
ln -s /usr/lib/i386-linux-gnu/libva-x11.so.1.3900.0 /home/cr/.steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libva-x11.so.1.3900.0
ln -s /usr/lib/i386-linux-gnu/libva-glx.so.1.3900.0 /home/cr/.steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libva-glx.so.1.3900.0

En foros del ARCH posa:

sudo ln -s /usr/lib32/dri/i965_drv_video.so /usr/lib/i386-linux-gnu/dri/i965_drv_video.so
sudo ln -s /usr/lib32/libva-x11.so.1.3600.0 /usr/lib/i386-linux-gnu/libva-x11.so.1
sudo ln -s /usr/lib32/libva-glx.so.1.3600.0 /usr/lib/i386-linux-gnu/libva-glx.so.1
sudo ln -s /usr/lib32/libva.so.1.3600.0 /usr/lib/i386-linux-gnu/libva-so.1
ln -s /usr/lib32/vdpau ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/.
public/linux/pc/steam.txt · Darrera modificació: 2018/04/15 22:50 per crevert