Playback of videos bigger than screen size

Hi, I am a new user and so far like mabox a lot. What I observed yesterday was that I could not playback full hd videos. I tried the default player and vlc, both start to load the video but then suddendly close and there is no playback. Since smaller videos work, I suspect that this happens if the video has a higher resolution than my screen (1440x800), but this is just a guess.
Maybe I am doing something wrong or I need to configure something?
Best Regards, Andreas

First thing you can do is to run those programs from terminal.
Probably you will get some information about what is going on.

mpv path/to/your/video_file
or 
vlc ...

Ok, good hint. This is the output:

datacine@datacineD620 ~/Downloads $ vlc am.mp4
VLC media player 3.0.18 Vetinari (revision 3.0.13-8-g41878ff4f2)
[000056357218d550] main libvlc: VLC wird mit dem Standard-Interface ausgeführt. Benutzen Sie 'cvlc', um VLC ohne Interface zu verwenden.
[00007f4e4000d500] gl gl: Initialized libplacebo v4.208.0 (API v208)
[0000563572262890] main video output error: video output creation failed
[00007f4e60c0e950] main decoder error: failed to create video output
[00007f4e540019e0] gl gl: Initialized libplacebo v4.208.0 (API v208)
[00007f4e540019e0] gl gl: Initialized libplacebo v4.208.0 (API v208)
Speicherzugriffsfehler (Speicherabzug geschrieben)
datacine@datacineD620 ~/Downloads $ 
datacine@datacineD620 ~/Downloads $ mpv am.mp4
 (+) Video --vid=1 (*) (h264 1920x1080 25.000fps)
 (+) Audio --aid=1 --alang=eng (*) (mp3 2ch 48000Hz)
AO: [pulse] 48000Hz stereo 2ch float
VO: [gpu] 1920x1080 yuv420p
Speicherzugriffsfehler (Speicherabzug geschrieben)

Do this in terminal to get vlc working :slight_smile:

sudo pacman -U https://archive.archlinux.org/repos/2023/01/02/extra/os/x86_64/libva-2.16.0-1-x86_64.pkg.tar.zst https://archive.archlinux.org/repos/2023/01/02/community/os/x86_64/libva-utils-2.16.0-1-x86_64.pkg.tar.zst

This will downgrade libva to a working version. Vlc should work with libva-2.16.

If it works then sudo su in terminal and enter theese commands and then update your system:

echo "setenv LIBVA_DRIVER_NAME nvidia" > /etc/profile.d/libva.csh
echo "export LIBVA_DRIVER_NAME=nvidia" > /etc/profile.d/libva.sh

Copy and paste this in terminal:

LIBVA_DRIVER_NAME=nvidia vainfo

Output should look like this:


Trying display: wayland
Trying display: x11
vainfo: VA-API version: 1.17 (libva 2.17.1)
vainfo: Driver version: Splitted-Desktop Systems VDPAU backend for VA-API - 0.7.4
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :	VAEntrypointVLD
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileMPEG4Simple            :	VAEntrypointVLD
      VAProfileMPEG4AdvancedSimple    :	VAEntrypointVLD
      <unknown profile>               :	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileVC1Simple              :	VAEntrypointVLD
      VAProfileVC1Main                :	VAEntrypointVLD
      VAProfileVC1Advanced            :	VAEntrypointVLD

Tell me if it works :+1:

In VLC settings try changing the video output from automatic to VDPAU.

Preferences-Video -Display-Output

See also:

Thank you both for the suggestions. I could get it to run, here the details:
First I did the lib downgrade.
There was no change unfortunately. And the terminal output looked strange:

datacine@datacineD620 ~/Downloads $ LIBVA_DRIVER_NAME=nvidia vainfo
Trying display: wayland
Trying display: x11
Gleitkomma-Ausnahme (Speicherabzug geschrieben)
datacine@datacineD620 ~/Downloads $ 

Then I looked into the VLC settings for video output, VDPAU was not successful, but VLC did not crash and I could hear the audio. So I started to test the other options for the video output and X11 (XCB) did work :slight_smile:
Still error messages, but I could see and hear the video!!

datacine@datacineD620 ~/Downloads $ vlc am.mp4
VLC media player 3.0.18 Vetinari (revision 3.0.13-8-g41878ff4f2)
[0000561b7a022550] main libvlc: VLC wird mit dem Standard-Interface ausgeführt. Benutzen Sie 'cvlc', um VLC ohne Interface zu verwenden.
[00007fc35017fb00] main filter error: Failed to create video converter
[h264 @ 0x7fc368df0a40] get_buffer() failed
[h264 @ 0x7fc368df0a40] thread_get_buffer() failed
[h264 @ 0x7fc368df0a40] decode_slice_header error
[h264 @ 0x7fc368df0a40] no frame!
datacine@datacineD620 ~/Downloads $
1 Like