I've a newer laptop that has intel hd4000 (nvidia gtx 660m) but atm have no interest in installing Ubuntu on it.
I can however test from a live session where vlc will use hardware decoding if enabled & supported.
You may want to install vainfo to check -
Code:
ubuntu@ubuntu:~$ vainfo
libva: VA-API version 0.32.0
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva: va_openDriver() returns 0
vainfo: VA-API version: 0.32 (libva 1.0.15)
vainfo: Driver version: Intel i965 driver - 1.0.17
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileH264Baseline : VAEntrypointVLD
VAProfileH264Baseline : VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
And then follow previous post (Gyokuro) , Ex.
Code:
vlc -vv /path/to/vid
clipped...
libva: VA-API version 0.32.0
libva: va_getDriverName() returns 0
[0x7f18640069c8] pulse audio output debug: using stereo channel map
libva: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva: va_openDriver() returns 0
[0x7f186cc02cc8] avcodec decoder: Using VA API version 0.32 for hardware decoding.