I solved the problem with modifiying /etc/environment https://bianbu.spacemit.com/en/development/r600/
sudo vim /etc/environment Modify the content as follows: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" COGL_DRIVER=gles2 GDK_GL=gles XWAYLAND_NO_GLAMOR=1 SDL_VIDEODRIVER=wayland #MESA_LOADER_DRIVER_OVERRIDE=pvr -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to gstreamer1.0 in Ubuntu. https://bugs.launchpad.net/bugs/2069516 Title: Totem won't play video files, OpenGL initialization error Status in gstreamer1.0 package in Ubuntu: Incomplete Bug description: I confirm this bug also occurs with totem and the vanilla Gnome in a Debian Sid install. When launching totem to play any format movie, it throws error "Could not initialise OpenGL support". It's confirmed OpenGL is working (glxgears) ProblemType: Bug DistroRelease: Ubuntu 24.04 Package: libgstreamer1.0-0 1.24.2-1 ProcVersionSignature: Ubuntu 6.8.0-35.35-generic 6.8.4 Uname: Linux 6.8.0-35-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.28.1-0ubuntu3 Architecture: amd64 CasperMD5CheckResult: pass CurrentDesktop: ubuntu:GNOME Date: Sat Jun 15 15:35:05 2024 InstallationDate: Installed on 2024-06-15 (0 days ago) InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240424) ProcEnviron: LANG=en_US.UTF-8 PATH=(custom, no user) SHELL=/bin/bash TERM=xterm-256color XDG_RUNTIME_DIR=<set> SourcePackage: gstreamer1.0 UpgradeStatus: No upgrade log present (probably fresh install) XorgLog: Error: [Errno 2] No such file or directory: '/var/log/Xorg.0.log' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gstreamer1.0/+bug/2069516/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp