Bug 31528 - Totem will not play multimedia files when in a Wayland sesssion
Summary: Totem will not play multimedia files when in a Wayland sesssion
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: GNOME maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-09 06:37 CET by Ben McMonagle
Modified: 2024-05-06 08:52 CEST (History)
2 users (show)

See Also:
Source RPM: totem-43.0-1.mga9
CVE:
Status comment:


Attachments
error as displayed in Wayland session (18.79 KB, image/png)
2023-02-09 06:49 CET, Ben McMonagle
Details
image from same video playing, X11 session (875.77 KB, image/png)
2023-02-09 07:00 CET, Ben McMonagle
Details

Description Ben McMonagle 2023-02-09 06:37:31 CET
Description of problem: in a Gnome wayland session (from Mageia-9-beta1-x86_64.iso
DATE.txt: Mon Feb  6 06:56:08 PM CET 2023), attempting to play files of type: .m4v, .m4a, .mp3, .mp4, .wav, .webm, .mkv, ,wma  results in :

an error occurred: Could not initialise OpenGL support.

logout and choose X11 session and log back in.
all of the above file types play ok.

note: this issue appears to be hardware specific, as an install onto different hardware does not exhibit issue


Version-Release number of selected component (if applicable):

Mageia-9-beta1-x86_64.iso
DATE.txt: Mon Feb  6 06:56:08 PM CET 2023


How reproducible: every time on this hardware - inxi and lspcidrake below 


Steps to Reproduce:
1.install Gnome only DE from above .iso
2.attempt to play any of above file types.
3.
Comment 1 Ben McMonagle 2023-02-09 06:38:58 CET
inxi -Fxxxz
System:
  Kernel: 6.1.10-desktop-1.mga9 arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
    Desktop: GNOME v: 43.1 tk: GTK v: 3.24.36 wm: gnome-shell dm: GDM v: 43.0
    Distro: Mageia 9
Machine:
  Type: Laptop System: ASUSTeK product: U31F v: 1.0
    serial: <superuser required>
  Mobo: ASUSTeK model: U31F v: 1.0 serial: <superuser required>
    BIOS: American Megatrends v: U31F.207 date: 02/23/2011
Battery:
  ID-1: BAT0 charge: 71.7 Wh (100.0%) condition: 71.7/81.2 Wh (88.3%)
    volts: 16.5 min: 14.4 model: ASUSTek U31-58 type: Li-ion serial: N/A
    status: full
CPU:
  Info: dual core model: Intel Core i5 M 480 bits: 64 type: MT MCP
    smt: enabled arch: Westmere rev: 5 cache: L1: 128 KiB L2: 512 KiB L3: 3 MiB
  Speed (MHz): avg: 1086 high: 1199 min/max: 1199/2667 boost: enabled cores:
    1: 1049 2: 1199 3: 898 4: 1199 bogomips: 15958
  Flags: ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel Core Processor Integrated Graphics vendor: ASUSTeK
    driver: i915 v: kernel arch: Gen-5.75 ports: active: LVDS-1
    empty: DP-1,HDMI-A-1,VGA-1 bus-ID: 00:02.0 chip-ID: 8086:0046
    class-ID: 0300
  Device-2: Chicony Asus Integrated Webcam type: USB driver: uvcvideo
    bus-ID: 1-1.2:4 chip-ID: 04f2:b1b9 class-ID: 0e02
  Display: wayland server: X.org v: 1.21.1.6 with: Xwayland v: 22.1.7
    compositor: gnome-shell driver: X: loaded: intel,v4l dri: i965 gpu: i915
    display-ID: 0
  Monitor-1: LVDS-1 model: Chi Mei Opto 0x1333 res: 1366x768 dpi: 118
    size: 293x164mm (11.54x6.46") diag: 336mm (13.2") modes: 1366x768
  API: OpenGL v: 2.1 Mesa 23.0.0-rc4 renderer: Mesa Intel HD Graphics (ILK)
    direct render: Yes
Audio:
  Device-1: Intel 5 Series/3400 Series High Definition Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:3b56
    class-ID: 0403
  Sound API: ALSA v: k6.1.10-desktop-1.mga9 running: yes
  Sound Server-1: JACK v: 1.9.21 running: no
  Sound Server-2: PulseAudio v: 16.1 running: yes
  Sound Server-3: PipeWire v: 0.3.65 running: no
Network:
  Device-1: Qualcomm Atheros AR9462 Wireless Network Adapter vendor: Foxconn
    driver: ath9k v: kernel pcie: speed: 2.5 GT/s lanes: 1 bus-ID: 02:00.0
    chip-ID: 168c:0034 class-ID: 0280
  IF: wls1 state: up mac: <filter>
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: ASUSTeK U6V/U31J laptop driver: r8169 v: kernel pcie:
    speed: 2.5 GT/s lanes: 1 port: b000 bus-ID: 03:00.0 chip-ID: 10ec:8168
    class-ID: 0200
  IF: ens5 state: down mac: <filter>
Bluetooth:
  Device-1: Foxconn / Hon Hai type: USB driver: btusb v: 0.8 bus-ID: 1-1.1:6
    chip-ID: 0489:e04e class-ID: e001
  Report: hciconfig ID: hci0 rfk-id: 2 state: up address: <filter> bt-v: 2.0
    lmp-v: 3.0 sub-v: 4203 hci-v: 3.0 rev: 1c1
  Report: hciconfig ID: hci1 rfk-id: 4 state: up address: <filter> bt-v: 2.1
    lmp-v: 4.0 sub-v: 1 hci-v: 4.1 rev: 1102
  Device-2: ASUSTek BT-270 Bluetooth Adapter type: USB driver: btusb v: 0.8
    bus-ID: 1-1.5:5 chip-ID: 0b05:1788 class-ID: fe01 serial: <filter>
Drives:
  Local Storage: total: 305.56 GiB used: 21.74 GiB (7.1%)
  ID-1: /dev/sda vendor: Seagate model: ST320LT012-1DG14C size: 298.09 GiB
    speed: 3.0 Gb/s type: HDD rpm: 5400 serial: <filter> rev: LVM1 scheme: MBR
  ID-2: /dev/sdb type: USB vendor: Lexar model: USB Flash Drive
    size: 7.47 GiB type: SSD serial: <filter> rev: 8.07 scheme: MBR
Partition:
  ID-1: / size: 19.05 GiB used: 4.54 GiB (23.8%) fs: ext4 dev: /dev/sda5
  ID-2: /home size: 9.51 GiB used: 86.8 MiB (0.9%) fs: ext4 dev: /dev/sda7
Swap:
  ID-1: swap-1 type: partition size: 3.9 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/sda6
Sensors:
  System Temperatures: cpu: 54.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 225 Uptime: 30m wakeups: 1 Memory: 3.64 GiB used: 1.7 GiB (46.7%)
  Init: systemd v: 252 target: graphical (5) default: runlevel5 Compilers:
  gcc: N/A Packages: pm: rpm pkgs: N/A note: see --rpm Shell: Bash v: 5.2.15
Comment 2 Ben McMonagle 2023-02-09 06:40:01 CET
lspcidrake -v
Card:Intel 810 and later: Intel Corporation|Core Processor Integrated Graphics Controller [DISPLAY_VGA] (vendor:8086 device:0046 subv:1043 subd:1552) (rev: 18)
unknown         : Intel Corporation|Core Processor QuickPath Architecture System Address Decoder [BRIDGE_HOST] (vendor:8086 device:2d01 subv:8086 subd:8086) (rev: 05)
intel_ips       : Intel Corporation|5 Series/3400 Series Chipset Thermal Subsystem [SIGNAL_OTHER] (vendor:8086 device:3b32 subv:1043 subd:1197) (rev: 06)
unknown         : Intel Corporation|Core Processor QPI Link 0 [BRIDGE_HOST] (vendor:8086 device:2d10 subv:8086 subd:8086) (rev: 05)
ehci_pci        : Intel Corporation|5 Series/3400 Series Chipset USB2 Enhanced Host Controller [SERIAL_USB] (vendor:8086 device:3b34 subv:1043 subd:1197) (rev: 06)
unknown         : Intel Corporation|1st Generation Core i3/5/7 Processor Reserved [BRIDGE_HOST] (vendor:8086 device:2d12 subv:8086 subd:8086) (rev: 05)
ehci_pci        : Intel Corporation|5 Series/3400 Series Chipset USB2 Enhanced Host Controller [SERIAL_USB] (vendor:8086 device:3b3c subv:1043 subd:1197) (rev: 06)
unknown         : Intel Corporation|5 Series/3400 Series Chipset PCI Express Root Port 2 [BRIDGE_PCI] (vendor:8086 device:3b44) (rev: 06)
unknown         : Intel Corporation|Core Processor DRAM Controller [BRIDGE_HOST] (vendor:8086 device:0044 subv:1043 subd:1197) (rev: 18)
unknown         : Intel Corporation|82801 Mobile PCI Bridge [BRIDGE_PCI] (vendor:8086 device:2448) (rev: a6)
unknown         : Intel Corporation|Core Processor QuickPath Architecture Generic Non-core Registers [BRIDGE_HOST] (vendor:8086 device:2c62 subv:8086 subd:8086) (rev: 05)
snd_hda_intel   : Intel Corporation|5 Series/3400 Series Chipset High Definition Audio [MULTIMEDIA_AUDIO_DEV] (vendor:8086 device:3b56 subv:1043 subd:10c3) (rev: 06)
mei_me          : Intel Corporation|5 Series/3400 Series Chipset HECI Controller [COMMUNICATION_OTHER] (vendor:8086 device:3b64 subv:1043 subd:1197) (rev: 06)
unknown         : Intel Corporation|5 Series/3400 Series Chipset PCI Express Root Port 6 [BRIDGE_PCI] (vendor:8086 device:3b4c) (rev: 06)
unknown         : Intel Corporation|1st Generation Core i3/5/7 Processor QPI Physical 0 [BRIDGE_HOST] (vendor:8086 device:2d11 subv:8086 subd:8086) (rev: 05)
ath9k           : Qualcomm Atheros|AR9462 Wireless Network Adapter [NETWORK_OTHER] (vendor:168c device:0034 subv:105b subd:e052) (rev: 01)
unknown         : Intel Corporation|1st Generation Core i3/5/7 Processor Reserved [BRIDGE_HOST] (vendor:8086 device:2d13 subv:8086 subd:8086) (rev: 05)
lpc_ich         : Intel Corporation|HM55 Chipset LPC Interface Controller [BRIDGE_ISA] (vendor:8086 device:3b09 subv:1043 subd:1197) (rev: 06)
unknown         : Intel Corporation|5 Series/3400 Series Chipset PCI Express Root Port 1 [BRIDGE_PCI] (vendor:8086 device:3b42) (rev: 06)
unknown         : Intel Corporation|5 Series/3400 Series Chipset 4 port SATA AHCI Controller [STORAGE_SATA] (vendor:8086 device:3b29 subv:1043 subd:1197) (rev: 06)
r8169           : Realtek Semiconductor Co., Ltd.|RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [NETWORK_ETHERNET] (vendor:10ec device:8168 subv:1043 subd:16d5) (rev: 06)
hub             : Linux 6.1.10-desktop-1.mga9 ehci_hcd|EHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0002)
hub             : Intel Corp.|Integrated Rate Matching Hub [Hub|Unused|Full speed (or root) hub] (vendor:8087 device:0020)
btusb           : Foxconn / Hon Hai|Unknown [Wireless|Radio Frequency|Bluetooth] (vendor:0489 device:e04e)
uvcvideo        : Chicony Electronics Co., Ltd.|USB2.0 0.3M UVC WebCam [Video|Video Control] (vendor:04f2 device:b1b9)
btusb           : Broadcom Corp|BT-270 [Wireless|Radio Frequency|Bluetooth] (vendor:0b05 device:1788)
hub             : Linux 6.1.10-desktop-1.mga9 ehci_hcd|EHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0002)
hub             : Intel Corp.|Integrated Rate Matching Hub [Hub|Unused|Full speed (or root) hub] (vendor:8087 device:0020)
Comment 3 Ben McMonagle 2023-02-09 06:41:25 CET
terminal output in Wayland session:

$ totem  'Caminandes - Gran Dillama.webm'

(totem:6926): Grilo-WARNING **: 17:49:46.930: [registry] ../src/grl-registry.c:1523: Plugin 'grl-local-metadata' not available

(totem:6926): Totem-WARNING **: 17:49:46.930: Failed to load grl-local-metadata plugin: Plugin “grl-local-metadata” not available

(totem:6926): Grilo-CRITICAL **: 17:49:52.200: grl_log_valist: assertion 'domain' failed
Comment 4 Ben McMonagle 2023-02-09 06:47:22 CET
terminal output X11 session:

$ totem  'Caminandes - Gran Dillama.webm'

(totem:8435): Grilo-WARNING **: 17:53:36.260: [registry] ../src/grl-registry.c:1523: Plugin 'grl-local-metadata' not available

(totem:8435): Totem-WARNING **: 17:53:36.261: Failed to load grl-local-metadata 

note: 

(totem:8435): Grilo-CRITICAL **: 17:55:37.763: grl_log_valist: assertion 'domain

appears after closing Videos / totem window
Comment 5 Ben McMonagle 2023-02-09 06:49:31 CET
Created attachment 13686 [details]
error as displayed in Wayland session
Comment 6 Ben McMonagle 2023-02-09 07:00:15 CET
Created attachment 13687 [details]
image from same video playing, X11 session
Comment 7 Marja Van Waes 2023-02-09 21:09:33 CET
Assigning to our GNOME maintainers

CC: (none) => marja11
Source RPM: (none) => totem-43.0-1.mga9
Assignee: bugsquad => gnome

Comment 8 Giuseppe Ghibò 2023-02-10 13:23:45 CET
A few notes.

AFAIK current totem uses OpenGL level 3.3 as default playback driver. You have only OpenGL level 2.1 (you might check with inxi -Gxx).

Note also that:

virtualbox running on native mga8 hosts exposes:

- OpenGL level 2.1 when acceleration is enabled (driver vmwgfx|svga3d)
- OepnGL level 4.5 when acceleration is disabled (driver llvmpipe)

virtualbox running on native mga9 hosts exposes

- OpenGL level 3.3 when acceleration is enabled
- OpenGL level 4.5 when acceleration is disabled

So you might get different results according the guest of cauldron/mga9 is running either on a native mga8 or or a native mga9.

Furthermore when the video acceleration flag is enabled in the VMSVGA driver in virtualbox it exposes the memory choosen in the Settings/Display. This can arrive at a maximum of 128MB when choosen from the GUI. Sometimes this value might not be sufficient for textures. In this case you might increase to a maximum of 256MB using

VBoxManage modifyvm "yourvmname" --vram "<size_in_mb>"

e.g.

VBoxManage modifyvm mageia9 --vram 256

Is not possible to set video memory size beyond 256MB in vbox. There is no such limit for llvmpipe.

Finally you might try using:

GDK_GL=gles totem "<multimediafile>"

to try to override the opengl 2.1 limitation. But sometimes it might render the playback with false colors, like people with blue skin, like if they were in the Avatar movie :-)

CC: (none) => ghibomgx

Comment 9 Ben McMonagle 2023-02-16 09:45:26 CET
this a bare metal install.

will look at 

GDK_GL=gles totem "<multimediafile>"

next time I install
Comment 10 katnatek 2024-05-06 01:35:59 CEST
Is this still valid?
Comment 11 Ben McMonagle 2024-05-06 08:52:06 CEST
no

fixed in one of many updates

Status: NEW => RESOLVED
Resolution: (none) => FIXED


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