Bug 33291 - Totem & parole cannot play videos on Wayland/nVidia GeForce RTX; gstreamer may be the reason
Summary: Totem & parole cannot play videos on Wayland/nVidia GeForce RTX; gstreamer ma...
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: All Packagers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-11 23:46 CEST by Juan Magallón
Modified: 2024-06-15 21:13 CEST (History)
0 users

See Also:
Source RPM: gstreamer, totem-43.0-4.mga10.src.rpm, parole
CVE:
Status comment:


Attachments

Description Juan Magallón 2024-06-11 23:46:19 CEST
Trying to play a video with totem just gives me an error on a gui window:

"An error occured"
"Could not initialise OpenGL support"

I happens since a long time, I had forgotten because I moved to using Celluloid, instead.

Note: I'm using Gnome-Wayland on top of nVidia hardware.
      It works fine on Gnome-Wayland over Intel hardware.

TIA
Juan Magallón 2024-06-11 23:46:59 CEST

Summary: Totem can't play videos => Totem can't play videos on Wayland/nVidia

Comment 1 Lewis Smith 2024-06-14 11:48:56 CEST
Sorry to have left you.
Can you please post the output of:
 $ inxi -MSGxx
to describe your system - especially the graphics. It is doubtful that this happens with all nVidia, it would have been noticed before.

(In reply to Juan Magallón from comment #0)
> Trying to play a video with totem just gives me an error on a gui window:
> I moved to using Celluloid, instead.
celluloid/mpv instead of Videos? With Gnome/Wayland?
Name        : mpv
Summary     : Movie player playing most video formats and DVDs
Name        : celluloid
Summary     : A simple GTK+ frontend for mpv

Did you ever try one of the other video players with your Gnome/Wayla

CC: (none) => lewyssmith

Comment 2 Lewis Smith 2024-06-14 11:50:21 CEST
Did you ever try one of the other video players with your Gnome/Wayland setup? It would be useful to know.
Comment 3 Juan Magallón 2024-06-14 17:26:13 CEST
Output from inxi info:

werewolf:~# inxi
CPU: 10-core (6-mt/4-st) 13th Gen Intel Core i5-13400F (-MST AMCP-)
speed/min/max: 1350/800/4600:3300 MHz Kernel: 6.6.33-desktop-1.mga10 x86_64
Up: 9h 12m Mem: 3.43/31.17 GiB (11.0%) Storage: 3.86 TiB (65.7% used)
Procs: 480 Shell: Bash inxi: 3.3.34
werewolf:~# inxi -MSGxx
System:
  Host: werewolf.home Kernel: 6.6.33-desktop-1.mga10 arch: x86_64 bits: 64
    compiler: gcc v: 14.1.0
  Console: pty pts/0 wm: gnome-shell DM: 1: GDM 2: LightDM note: stopped
    Distro: Mageia 10
Machine:
  Type: Desktop System: ASUS product: N/A v: N/A serial: N/A
  Mobo: ASUSTeK model: PRIME H670-PLUS D4 v: Rev 1.xx
    serial: 220910488401925 part-nu: SKU UEFI: American Megatrends v: 2801
    date: 09/08/2023
Graphics:
  Device-1: NVIDIA TU106 [GeForce RTX 2060 Rev. A] vendor: eVga.com.
    driver: nvidia v: 550.90.07 arch: Turing pcie: speed: 8 GT/s lanes: 16
    ports: active: none off: DP-1,DVI-D-1 empty: HDMI-A-1 bus-ID: 01:00.0
    chip-ID: 10de:1f08
  Device-2: NVIDIA TU104 [GeForce RTX 2060] driver: nvidia v: 550.90.07
    arch: Turing pcie: speed: 2.5 GT/s lanes: 4 ports: active: none empty: DP-2,
    DP-3, DP-4, HDMI-A-2 bus-ID: 08:00.0 chip-ID: 10de:1e89
  Device-3: Creative Live! Cam Sync 1080p V2 driver: snd-usb-audio,uvcvideo
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 1-13:10
    chip-ID: 041e:40a0
  Display: server: X.Org v: 23.2.6 with: Xwayland v: 23.2.6
    compositor: gnome-shell driver: X: loaded: nvidia,v4l
    gpu: nvidia,nvidia-nvswitch display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3286x1080 s-dpi: 96
  Monitor-1: DP-1 note: disabled pos: primary,top-left
    model: Gigabyte G24F 2 res: 1920x1080 dpi: 94 diag: 595mm (23.4")
  Monitor-2: DVI-D-1 note: disabled pos: bottom-r model: AOC 1950W
    res: 1366x768 dpi: 85 diag: 470mm (18.5")
  API: EGL v: 1.5 platforms: device: 0 drv: nvidia device: 1 drv: nvidia
    device: 4 drv: swrast gbm: drv: nvidia surfaceless: drv: nvidia x11:
    drv: zink inactive: wayland,device-2,device-3
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 550.90.07
    glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce RTX 2060/PCIe/SSE2
  API: Vulkan v: 1.3.231 surfaces: xcb,xlib device: 0 type: discrete-gpu
    driver: nvidia device-ID: 10de:1f08 device: 1 type: discrete-gpu
    driver: nvidia device-ID: 10de:1e89 device: 2 type: cpu
    driver: mesa llvmpipe device-ID: 10005:0000
Comment 4 Juan Magallón 2024-06-14 17:28:47 CEST
BTW, it happens on my home box, with a couple 2060's, and on my work box, that has a couple 1060's.

And... it also happens on Fedora 40, on a box with two 960's. Same version of totem, 43.0.
Comment 5 Juan Magallón 2024-06-14 17:37:25 CEST
WRT other video players, here goes a quick test:

- gst-play-1.0 - works
- mplayer - works
- totem (gstreamer based) - error message
- parole (gstreamer based) - black screen, only sound
- mpv (mplayer based) - works
- celluloid (mpv/mplayer based) - works
- vlc - works
Comment 6 Lewis Smith 2024-06-15 21:11:30 CEST
(In reply to Juan Magallón from comment #4)
> BTW, it happens on my home box, with a couple 2060's, and on my work box,
> that has a couple 1060's.
> And... it also happens on Fedora 40, on a box with two 960's. Same version
> of totem, 43.0.
I presume these numbers are GeForce RTX xxxx.

Thank you for the tests with other video players, and the clever idea about gstreamer. The other players that do work do not use it. Except...
Finding 'gst-play' (which did work for you; but how to control it?) was not evident:
/usr/bin/gst-play-1.0
 $ gst-play-1.0 [video]
is part of pkg 'gstreamer1.0-plugins-base'! So must use gstreamer...

Gstreamer was updated recently; totem a few weeks ago; parole a few months ago.

Too many variables, assigning globally.

Source RPM: totem-43.0-4.mga10.src.rpm => gstreamer, totem-43.0-4.mga10.src.rpm, parole
CC: lewyssmith => (none)
Summary: Totem can't play videos on Wayland/nVidia => Totem & parole cannot play videos on Wayland/nVidia GeForce RTX; gstreamer may be the reason
Assignee: bugsquad => pkg-bugs

Comment 7 Lewis Smith 2024-06-15 21:13:52 CEST
For info:
NAME
       gst-play-1.0 - Simple command line playback testing tool
SYNOPSIS
       gst-play-1.0 FILE|DIRECTORY|URI [FILE2|DIRECTORY2|URI2]
DESCRIPTION
       gst-play-1.0  is  a  command  line  tool that can be used to test basic
       playback using the playbin element. You can pass it  individual  files,
       URIs  or  whole directories (in which case it will recurse into sub-di‐
       rectories as well).

Note You need to log in before you can comment on or make changes to this bug.