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
Summary: Totem can't play videos => Totem can't play videos on Wayland/nVidia
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
Did you ever try one of the other video players with your Gnome/Wayland setup? It would be useful to know.
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
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.
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
(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, paroleCC: 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 reasonAssignee: bugsquad => pkg-bugs
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).