hardware acceleration on gt218 ion
#1
Hi,

Have installed ubuntu 16.04.1 and kodi 17 (nightly build) on an extremer ultra

kodi : system information / video shows it as gallium 0.4 nva8
ubuntu: system settings/software and updates/ additional drivers shows it as gt218 ion
- using x.org x server nouveau display driver from xserver-xorg-video-nouveau (open source)

When running vdpauinfo I get:

display: localhost:10.0 screen: 0
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
Error creating VDPAU device: 1

Tried vainfo (just in case) and got:

libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns -1
libva error: va_getDriverName() failed with unknown libva error,driver_name=(null)
vaInitialize failed with error code -1 (unknown libva error),exit

When playing a video (x264) and hitting o, it shows ff-h264(SW)

I was wondering if anyone could point me to how to get it to use hardware acceleration?

Tried several things from the web, but ended up having to install from scratch again, as it only produced a blank screen.

Any help appreciated

Thanks Derek
Reply
#2
You need to install the nvidia driver for VDPAU. For the gt218 ion, you'll need the 340.xx series legacy driver. Install them with:
Code:
sudo apt-get install nvidia-340
Reply
#3
Thanks Yasij

I ran the above and noticed these warnings:

update-alternatives: warning: skip creation of /usr/lib32/vdpau/libvdpau_nvidia.so.1 because associated file /usr/lib32/nvidia-340/vdpau/libvdpau_nvidia.so.1 (of link group i386-linux-gnu_gl_conf) doesn't exist
update-alternatives: warning: skip creation of /usr/lib32/libvdpau_nvidia.so because associated file /usr/lib32/nvidia-340/vdpau/libvdpau_nvidia.so (of link group i386-linux-gnu_gl_conf) doesn't exist

I tried to start kodi, but got the blank screen like my last attempt.

The kodi log shows:

07:34:54 T:2956232768 NOTICE: Checking resolution 16
07:34:55 T:2956232768 ERROR: Failed to determine egl config for visual info
07:34:55 T:2956232768 WARNING: Visual 0x2fc of the window is not suitable, looking for another one...
07:34:55 T:2956232768 NOTICE: Using visual 0x21
07:40:17 T:2956232768 NOTICE: Using visual 0x2fc
07:40:17 T:2956232768 ERROR: CWinSystemX11::XErrorHandler: BadValue (integer parameter out of range for operation), type:0, serial:126, error_code:2, request_code:155 minor_code:3
07:40:17 T:2956232768 ERROR: GLX Error: Could not create context

Then came back to the os window

Regards Derek
Reply
#4
Did you reboot after running that command to install the driver? It probably still has the nouveau driver loaded.
Reply
#5
I feel so foolish.

Thanks so much. After reboot it is working fine.
I guess I have to ensure that the driver does not upgrade.

Thanks Derek
Reply
#6
(2016-10-13, 02:13)glubbish Wrote: I guess I have to ensure that the driver does not upgrade.

You shouldn't have worry too much about that. On Ubuntu, nvidia-340 is the 340.xx series, and upgrade will stay in that series unless you try to manually install a higher driver series. The 340 series driver is still in maintenance through 2019: http://nvidia.custhelp.com/app/answers/detail/a_id/3142 .

There is a PPA with the latest drivers in each Nvidia series if you want their latest bug fix releases here: https://launchpad.net/~graphics-drivers/...ubuntu/ppa .
Reply
#7
Thanks again.
I am still learning linux, and am not aware of many of the processes and how it works
slowly learning different commands, so hope to get there one day.
Reply

Logout Mark Read Team Forum Stats Members Help
hardware acceleration on gt218 ion0