Fresh Installation - Video Playback Problems

Hi All,

Just got my new system and got Manjaro installed easy enough. I am pulling all my files and folders from my NextCloud install (downloading/sync). I noticed this morning that none of my mp4s (just my personal videos taken with my phone) will play. VLC pops up briefly and shows the time of the video but then immediately closes. Any thoughts ? I can provide logs or so additional tests, just not sure what tests to do.

Thank you.

Look at the optional dependencies. Usually some of them are needed for specific files.

pamac info vlc

No luck. I think the problem is related to my GPU. The system is brand new. Has an Nvidia GeForce RTX 4060 in it. Kodi also isn’t working.

In the event that that this helps:

VLC media player 3.0.20 Vetinari (revision 3.0.20-0-g6f0d0ab126b)
[000055f703d50550] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[000055f703de6570] main playlist: playlist is empty
kf.kio.core: Invalid URL: QUrl("/home/joel")
kf.jobwidgets: Cannot register a job with KUiServerV2JobTracker without QGuiApplication::desktopFileName
uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu
uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu
uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu
[00007f1548005c20] gl gl: Initialized libplacebo v5.264.1 (API v264)
libva error: /usr/lib/dri/i965_drv_video.so init failed
[00007f1548005c20] glconv_vaapi_x11 gl error: vaInitialize: unknown libva error
libva error: /usr/lib/dri/i965_drv_video.so init failed
[00007f1548005c20] glconv_vaapi_drm gl error: vaInitialize: unknown libva error
zsh: segmentation fault (core dumped)  vlc

Its trying to load intel gfx.
Please provide

inxi -Fazy

And

mhwd -li -l

It tries to load intel driver for hardware video acceleration, since it detected a Intel GPU. But segvault because it’s not there and it is forced to use it.

Check again the optional dependencies or change the options.

I think I’m fine for optional dependencies…

Optional Dependencies : avahi: service discovery using bonjour protocol [Installed]
                        aom: AOM AV1 codec [Installed]
                        gst-plugins-base-libs: for libgst plugins [Installed]
                        dav1d: dav1d AV1 decoder [Installed]
                        libdvdcss: decoding encrypted DVDs [Installed]
                        libavc1394: devices using the 1394ta AV/C [Installed]
                        libdc1394: IEEE 1394 access plugin [Installed]
                        kwallet: kwallet keystore
                        libva-vdpau-driver: vdpau backend nvidia [Installed]
                        libva-intel-driver: video backend intel [Installed]
                        libbluray: Blu-Ray video input [Installed]
                        flac: Free Lossless Audio Codec plugin [Installed]
                        twolame: TwoLAME mpeg2 encoder plugin [Installed]
                        libgme: Game Music Emu plugin [Installed]
                        vcdimager: navigate VCD with libvcdinfo
                        libmtp: MTP devices discovery [Installed]
                        systemd-libs: udev services discovery [Installed]
                        smbclient: SMB access plugin [Installed]
                        libcdio: audio CD playback [Installed]
                        gnu-free-fonts: subtitle font 
                        ttf-dejavu: subtitle font [Installed]
                        libssh2: sftp access [Installed]
                        libnfs: NFS access [Installed]
                        mpg123: mpg123 codec [Installed]
                        protobuf: chromecast streaming [Installed]
                        libmicrodns: mDNS services discovery (chromecast etc) [Installed]
                        lua-socket: http interface
                        libdvdread: DVD input module [Installed]
                        libdvdnav: DVD with navigation input module [Installed]
                        libogg: Ogg and OggSpots codec [Installed]
                        libshout: shoutcast/icecast output plugin [Installed]
                        libmodplug: MOD output plugin [Installed]
                        libvpx: VP8 and VP9 codec [Installed]
                        libvorbis: Vorbis decoder/encoder [Installed]
                        speex: Speex codec [Installed]
                        opus: opus codec [Installed]
                        libtheora: theora codec [Installed]
                        libpng: PNG support [Installed]
                        libjpeg-turbo: JPEG support [Installed]
                        librsvg: SVG plugin [Installed]
                        x264: H264 encoding [Installed]
                        x265: HEVC/H.265 encoder [Installed]
                        zvbi: VBI/Teletext/webcam/v4l2 capture/decoding [Installed]
                        libass: Subtitle support [Installed]
                        libkate: Kate codec [Installed]
                        libtiger: Tiger rendering for Kate streams
                        sdl_image: SDL image support
                        srt: SRT input/output plugin [Installed]
                        aalib: ASCII art video output [Installed]
                        libcaca: colored ASCII art video output [Installed]
                        libpulse: PulseAudio audio output [Installed]
                        alsa-lib: ALSA audio output [Installed]
                        jack: jack audio server [Installed]
                        libsamplerate: audio Resampler [Installed]
                        libsoxr: SoX audio Resampler [Installed]
                        lirc: lirc control [Installed]
                        libgoom2: Goom visualization
                        projectm: ProjectM visualisation
                        ncurses: ncurses interface [Installed]
                        libnotify: notification plugin [Installed]
                        gtk3: notification plugin [Installed]
                        aribb25: aribcam support
                        pcsclite: aribcam support [Installed]
                        live-media: streaming over RTSP

And what about the output of the 2 commands? :point_up:

You’d think 20 years of Linux I’d be better at answering questions fully. Below:

inxi -Fazy                                                                                                                                                                                                        SEGV ✘  12s  
System:
  Kernel: 6.6.7-4-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc available: acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.6-x86_64
    root=UUID=29221945-aeb0-4217-8b21-a05dc798e023 rw quiet splash
    udev.log_priority=3
  Desktop: KDE Plasma v: 5.27.10 tk: Qt v: 5.15.11 wm: kwin_x11 vt: 2
    dm: SDDM Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: Dell product: XPS 15 9530 v: N/A
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: Dell model: 0GY0F9 v: A00 serial: <superuser required> UEFI: Dell
    v: 1.9.0 date: 11/13/2023
Battery:
  ID-1: BAT0 charge: 84.3 Wh (100.0%) condition: 84.3/84.3 Wh (100.0%)
    volts: 12.9 min: 11.4 model: BYD DELL M59JH39 type: Li-poly serial: <filter>
    status: not charging cycles: 2
CPU:
  Info: model: 13th Gen Intel Core i9-13900H bits: 64 type: MST AMCP
    arch: Raptor Lake gen: core 13 level: v3 note: check built: 2022+
    process: Intel 7 (10nm) family: 6 model-id: 0xBA (186) stepping: 2
    microcode: 0x411C
  Topology: cpus: 1x cores: 14 mt: 6 tpc: 2 st: 8 threads: 20 smt: enabled
    cache: L1: 1.2 MiB desc: d-8x32 KiB, 6x48 KiB; i-6x32 KiB, 8x64 KiB
    L2: 11.5 MiB desc: 6x1.2 MiB, 2x2 MiB L3: 24 MiB desc: 1x24 MiB
  Speed (MHz): avg: 428 high: 970 min/max: 400/5200:5400:4100 scaling:
    driver: intel_pstate governor: powersave cores: 1: 400 2: 400 3: 400 4: 400
    5: 400 6: 970 7: 400 8: 400 9: 400 10: 400 11: 400 12: 400 13: 400 14: 400
    15: 400 16: 400 17: 400 18: 400 19: 400 20: 400 bogomips: 119840
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Enhanced / Automatic IBRS, IBPB: conditional,
    RSB filling, PBRSB-eIBRS: SW sequence
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel Raptor Lake-P [Iris Xe Graphics] vendor: Dell driver: i915
    v: kernel arch: Gen-13 process: Intel 7 (10nm) built: 2022+ ports:
    active: eDP-1 empty: DP-1, DP-2, DP-3, DP-4, HDMI-A-1 bus-ID: 00:02.0
    chip-ID: 8086:a7a0 class-ID: 0300
  Device-2: NVIDIA AD107M [GeForce RTX 4060 Max-Q / Mobile] vendor: Dell
    driver: nvidia v: 545.29.06 alternate: nouveau,nvidia_drm non-free: 545.xx+
    status: current (as of 2023-11) arch: Lovelace code: AD1xx
    process: TSMC n4 (5nm) built: 2022+ pcie: gen: 1 speed: 2.5 GT/s lanes: 8
    link-max: gen: 4 speed: 16 GT/s bus-ID: 01:00.0 chip-ID: 10de:28a0
    class-ID: 0302
  Device-3: Microdia Integrated_Webcam_HD driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-6:2 chip-ID: 0c45:6748
    class-ID: fe01 serial: <filter>
  Display: x11 server: X.Org v: 21.1.10 with: Xwayland v: 23.2.3
    compositor: kwin_x11 driver: X: loaded: modesetting,nvidia
    alternate: fbdev,nouveau,nv,vesa dri: iris gpu: i915 display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 3456x2160 s-dpi: 96 s-size: 914x571mm (35.98x22.48")
    s-diag: 1078mm (42.43") monitors: <missing: xrandr>
  Monitor-1: eDP-1 model: Samsung 0x414d built: 2020 res: 3456x2160 dpi: 261
    gamma: 1.2 size: 336x210mm (13.23x8.27") diag: 396mm (15.6") ratio: 16:10
    modes: 3456x2160
  API: EGL v: 1.5 hw: drv: intel iris drv: nvidia platforms: device: 0
    drv: nvidia device: 1 drv: iris device: 3 drv: swrast gbm: drv: nvidia
    surfaceless: drv: nvidia x11: drv: iris inactive: wayland,device-2
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: intel mesa v: 23.1.9-manjaro1.1
    glx-v: 1.4 direct-render: yes renderer: Mesa Intel Graphics (RPL-P)
    device-ID: 8086:a7a0 memory: 30.3 GiB unified: yes
  API: Vulkan v: 1.3.269 layers: 1 device: 0 type: discrete-gpu name: NVIDIA
    GeForce RTX 4060 Laptop GPU driver: nvidia v: 545.29.06
    device-ID: 10de:28a0 surfaces: xcb,xlib
Audio:
  Device-1: Intel Raptor Lake-P/U/H cAVS vendor: Dell
    driver: sof-audio-pci-intel-tgl
    alternate: snd_hda_intel,snd_sof_pci_intel_tgl bus-ID: 00:1f.3
    chip-ID: 8086:51ca class-ID: 0401
  API: ALSA v: k6.6.7-4-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: JACK v: 1.9.22 status: off tools: N/A
  Server-3: PipeWire v: 1.0.0 status: off with: pipewire-media-session
    status: active tools: pw-cli
  Server-4: PulseAudio v: 16.1 status: active with: pulseaudio-alsa
    type: plugin tools: pacat,pactl
Network:
  Device-1: Intel Raptor Lake PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:51f1 class-ID: 0280
  IF: wlp0s20f3 state: up mac: <filter>
Bluetooth:
  Device-1: Intel AX211 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 3-10:4 chip-ID: 8087:0033
    class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Drives:
  Local Storage: total: 953.87 GiB used: 388.34 GiB (40.7%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: SK Hynix model: PC801 NVMe 1TB
    size: 953.87 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: 51003141 temp: 38.9 C
    scheme: GPT
Partition:
  ID-1: / raw-size: 29.3 GiB size: 28.67 GiB (97.86%) used: 14.67 GiB (51.2%)
    fs: ext4 dev: /dev/nvme0n1p8 maj-min: 259:8
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 332 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p7 maj-min: 259:7
  ID-3: /home raw-size: 29.3 GiB size: 28.67 GiB (97.86%)
    used: 3.15 GiB (11.0%) fs: ext4 dev: /dev/nvme0n1p9 maj-min: 259:9
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) zswap: yes
    compressor: zstd max-pool: 20%
  ID-1: swap-1 type: partition size: 7.91 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/nvme0n1p11 maj-min: 259:11
Sensors:
  System Temperatures: cpu: 49.0 C mobo: 39.0 C sodimm: SODIMM C
  Fan Speeds (rpm): cpu: 2808
Info:
  Processes: 397 Uptime: 4h 47m wakeups: 0 Memory: total: 32 GiB note: est.
  available: 31.02 GiB used: 8.77 GiB (28.3%) Init: systemd v: 254
  default: graphical tool: systemctl Compilers: gcc: 13.2.1 clang: 16.0.6
  Packages: pm: pacman pkgs: 1231 libs: 347 tools: pamac pm: flatpak pkgs: 0
  Shell: Zsh v: 5.9 default: Bash v: 5.2.21 running-in: konsole inxi: 3.3.31

mhwd -li -l                                                                                                                                                                                                                         ✔ 
> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
     video-modesetting            2020.01.13                true            PCI
video-hybrid-intel-nvidia-prime            2023.03.23               false            PCI


Warning: No installed USB configs!
> 0000:01:00.0 (0302:10de:28a0) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-prime            2023.03.23               false            PCI
          video-nvidia            2023.03.23               false            PCI
           video-linux            2018.05.04                true            PCI


> 0000:00:02.0 (0300:8086:a7a0) Display controller Intel Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-prime            2023.03.23               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI

So a hybrid system (iGPU+dGPU).

Lets test thats working;

glxinfo | grep 'renderer string'
prime-run glxinfo | grep 'renderer string'

Now to VLC … its picky with its backends and ‘automatic’ has been kinda trash for years.

Check Video > Output and Input/Codecs > Hardware-accelerated decoding options.

Or take my advice and switch to mpv and a frontend like smplayer.

glxinfo | grep 'renderer string'                                                                                                                                                                                                    ✔ 
OpenGL renderer string: Mesa Intel(R) Graphics (RPL-P)
prime-run glxinfo | grep 'renderer string'                                                                                                                                                                                          ✔ 
OpenGL renderer string: NVIDIA GeForce RTX 4060 Laptop GPU/PCIe/SSE2

As far as checking hardware-accelerated decoding options - I have these options:

1. Automatic
2. VA-API Video Decoder
3. VDPAU Video Decoder
4. VA-API Video Decoder via DRM
5. Disabled

I tried each of the above, no change.

For intel choose vaapi, but it should also be in conjunction with one of the options in “Output”.
(Maybe “OpenGL”? Maybe also try manually setting Open GL/GLES hardware converter to vaapi [must enable ‘All’ settings])

I set the following (for future reference):

Video → Output modules → OpenGL → Open GL/GLES hardware converter = VA-APIOpenGL surface converter for X11

Thank you cscs for so much assistance. This is the highest end laptop I’ve owned and I’m seeing that things aren’t working quite just “out of the box” but glad I learned something and your patience was incredibly appreciated.

1 Like

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.