I’m a new Ubuntu desktop user, but have been using various server distros (including Ubuntu) for many years. As such, I’ve used mainly the command line and am not familiar with the graphics subsystem (which is relevant to my problem).
I’ve just installed 25.10 on a Lunar Lake laptop (Lenovo Yoga Slim 7i) and everything is working fine except for one problem: video playback is choppy and dropping frames. It’s visible in any video player, but to confirm I used VLC since it shows a count of dropped frames under Codec Information > Statistics. As suspected, there are a large number of dropped frames that keep increasing as the video plays. This is a 1080p 50fps video, nothing too demanding. The same video plays perfectly on the same PC with VLC under Windows 11 (dual boot), with 0 dropped frames.
I’m using the standard video drivers for Intel Arc integrated graphics provided with the Ubuntu installation. I didn’t do anything special with video drivers. Hardware acceleration is set to Automatic in VLC player, though I did try playing around with the other options (including no hardware acceleration) with no changes.
I’ve read that Snap packages can cause video performance issues due to sandboxing restrictions, so I tried uninstalling the VLC Snap package and installing the Debian package instead. It’s better (less choppy), but still has noticeable dropped frames.
Thank you! Here is the requested output. Also, I tried mpv and it works perfectly without any frame drops! So the issue seems to be with VLC and the other player I was using (Sushi space-bar file previewer actually). However, only the mpv Debian package works without frame loss; the Snap version shows frame loss as well.
Make sure you have one of these packages installed:
intel-media-va-driver-non-free or intel-media-va-driver
Then try vlc. If it’s still losing frames please start vlc from a terminal (command line), start a video and close vlc. Then copy/paste here the debug lines generated in the terminal where you started vlc.
OK, I installed the intel-media-va-driver-non-free package. This installed the missing /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so file that vainfo was complaining about. VLC is now working with almost zero frame drops; still a few, but only detectable by checking the stats (not visually). So this driver seems to have greatly improved the video playback! Thank you for the suggestion.
$ vlc VLC media player 3.0.21 Vetinari (revision 3.0.21-0-gdd8bfdbabe8) [00006334a1cb1590] main libvlc: Running vlc with the default interface. Use ‘cvlc’ to use vlc without interface. [00006334a1d48570] main playlist: playlist is empty libva info: VA-API version 1.22.0 libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so libva info: Found init function __vaDriverInit_1_22 libva info: va_openDriver() returns 0 [00007ad58cc0d890] avcodec decoder: Using Intel iHD driver for Intel(R) Gen Graphics - 25.2.3 () for hardware decoding