VLC on GNOME (wayland) – Title bar filled with unintelligible characters

*nix specific usage questions
CloisteredNeuron
New Cone
New Cone
Posts: 3
Joined: 10 Jul 2024 01:34

VLC on GNOME (wayland) – Title bar filled with unintelligible characters

Postby CloisteredNeuron » 10 Jul 2024 02:00

I’m running GNOME in wayland. I have a Debian stable 12.5 base on which I installed GNOME using tasksel running in a VirtualBox VM. After installing VLC I noticed the VLC title bar which should display the name of the currently playing content displays unintelligible characters shown here:

Image

I tried installing and running VLC in a Debian stable 12.5 base on which I installed kde-plasma-desktop and the video title was displayed properly. After rebooting and attempting to run VLC again, the system became unresponsive. This is also a VirtualBox VM. 4GB RAM/20GB Disk/2 Cores. I've seen more extensive garbling of text in Symantic.

A Debian forum member suggested I try using

Code: Select all

sudo journalctl -b 0 -g '(error|fail)'
to identify the problem.

When I opened VLC, I noticed the glamor0 errors using that command. I closed VLC and repeated the command five times as shown below. Then I opened VLC and ran that command again to capture the glamor0 errors:

Code: Select all

Jul 09 18:34:32 cloy sudo[2907]: cloy : TTY=pts/0 ; PWD=/home/cloy ; USER=root ; COMMAND=/usr/bin/journalctl -b 0 -g (error|fail) Jul 09 18:36:02 cloy sudo[2915]: cloy : TTY=pts/0 ; PWD=/home/cloy ; USER=root ; COMMAND=/usr/bin/journalctl -b 0 -g (error|fail) Jul 09 18:36:10 cloy sudo[2920]: cloy : TTY=pts/0 ; PWD=/home/cloy ; USER=root ; COMMAND=/usr/bin/journalctl -b 0 -g (error|fail) Jul 09 18:36:18 cloy sudo[2924]: cloy : TTY=pts/0 ; PWD=/home/cloy ; USER=root ; COMMAND=/usr/bin/journalctl -b 0 -g (error|fail) Jul 09 18:36:37 cloy sudo[2934]: cloy : TTY=pts/0 ; PWD=/home/cloy ; USER=root ; COMMAND=/usr/bin/journalctl -b 0 -g (error|fail) Jul 09 18:36:49 cloy kernel: [drm:vmw_msg_ioctl [vmwgfx]] *ERROR* Failed to open channel. Jul 09 18:36:49 cloy kernel: [drm:vmw_msg_ioctl [vmwgfx]] *ERROR* Failed to open channel. Jul 09 18:36:49 cloy gnome-shell[2466]: (EE) glamor0: GL error: GL_OUT_OF_MEMORY in glTexSubImage Jul 09 18:36:49 cloy gnome-shell[2466]: (EE) glamor0: GL error: GL_OUT_OF_MEMORY in glTexSubImage Jul 09 18:36:49 cloy gnome-shell[2466]: (EE) glamor0: GL error: GL_OUT_OF_MEMORY in glTexSubImage Jul 09 18:36:49 cloy gnome-shell[2466]: (EE) glamor0: GL error: GL_OUT_OF_MEMORY in glTexSubImage Jul 09 18:36:49 cloy gnome-shell[2466]: (EE) glamor0: GL error: GL_OUT_OF_MEMORY in glTexSubImage Jul 09 18:36:49 cloy gnome-shell[2466]: (EE) glamor0: GL error: GL_OUT_OF_MEMORY in glTexSubImage Jul 09 18:36:49 cloy gnome-shell[2466]: (EE) glamor0: GL error: GL_OUT_OF_MEMORY in glTexSubImage Jul 09 18:36:49 cloy gnome-shell[2466]: (EE) glamor0: GL error: GL_OUT_OF_MEMORY in glTexSubImage Jul 09 18:36:49 cloy gnome-shell[2466]: (EE) glamor0: GL error: GL_OUT_OF_MEMORY in glTexSubImage Jul 09 18:36:49 cloy gnome-shell[2466]: (EE) glamor0: GL error: GL_OUT_OF_MEMORY in glTexSubImage Jul 09 18:36:50 cloy gnome-shell[2466]: (EE) glamor0: GL error: GL_OUT_OF_MEMORY in glTexSubImage Jul 09 18:36:50 cloy gnome-shell[2466]: (EE) glamor0: GL error: GL_OUT_OF_MEMORY in glTexSubImage Jul 09 18:36:50 cloy gnome-shell[2466]: (EE) glamor0: GL error: GL_OUT_OF_MEMORY in glTexSubImage Jul 09 18:36:50 cloy gnome-shell[2466]: (EE) glamor0: GL error: GL_OUT_OF_MEMORY in glTexSubImage Jul 09 18:36:50 cloy gnome-shell[2466]: (EE) glamor0: GL error: GL_OUT_OF_MEMORY in glTexSubImage Jul 09 18:36:50 cloy gnome-shell[2466]: (EE) glamor0: GL error: GL_OUT_OF_MEMORY in glTexSubImage Jul 09 18:36:50 cloy gnome-shell[2466]: (EE) glamor0: GL error: GL_OUT_OF_MEMORY in glTexSubImage Jul 09 18:36:50 cloy gnome-shell[2466]: (EE) glamor0: GL error: GL_OUT_OF_MEMORY in glTexSubImage Jul 09 18:36:50 cloy gnome-shell[2466]: (EE) glamor0: GL error: GL_OUT_OF_MEMORY in glTexSubImage Jul 09 18:36:50 cloy gnome-shell[2466]: (EE) glamor0: GL error: GL_OUT_OF_MEMORY in glTexSubImage Jul 09 18:36:50 cloy gnome-shell[2466]: (EE) glamor0: GL error: GL_OUT_OF_MEMORY in glTexSubImage Jul 09 18:36:50 cloy gnome-shell[2466]: (EE) glamor0: GL error: GL_OUT_OF_MEMORY in glTexSubImage Jul 09 18:36:50 cloy gnome-shell[2466]: (EE) glamor0: GL error: GL_OUT_OF_MEMORY in glTexSubImage Jul 09 18:36:50 cloy gnome-shell[2466]: (EE) glamor0: GL error: GL_OUT_OF_MEMORY in glTexSubImage Jul 09 18:36:50 cloy gnome-shell[2466]: (EE) glamor0: GL error: GL_OUT_OF_MEMORY in glTexSubImage Jul 09 18:36:53 cloy sudo[2957]: cloy : TTY=pts/0 ; PWD=/home/cloy ; USER=root ; COMMAND=/usr/bin/journalctl -b 0 -g (error|fail)

I did find a reference to the "gnome-shell[2466]: (EE) glamor0: GL error: GL_OUT_OF_MEMORY in glTexSubImage" error:

Bug#943893: glamor0: GL error: GL_OUT_OF_MEMORY in glTexSubImage
https://lists.debian.org/debian-x/2019/10/msg00130.html

This dates back to 2019-10-31. Summary: "The root cause seems to be a memory leak in the nouveau drivers. While glamor can be made more robust against not being able to allocate/update OpenGL textures, at some point it won't be able to continue if no memory can be allocated, so it's better to address the leak."

I searched this forum but didn't find any references to "glamor0". VLC will play content on GNOME (wayland) without issue other than the garbled title bar.

It would be interesting to know if there is a work-around for this or if maybe it is limited to virtual machines.

Thanks.

Rémi Denis-Courmont
Developer
Developer
Posts: 15323
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC on GNOME (wayland) – Title bar filled with unintelligible characters

Postby Rémi Denis-Courmont » 10 Jul 2024 13:26

Did you force VLC to use XVideo or RENDER outputs? VLC uses OpenGL by default and that shouldn't involve Glamor.

That being said, it sounds like a bit of a stretch that this would affect the title bar rather than the video. This rather looks like a bug window decorations provided either by your distro versions of Qt or the GNOME shell.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

CloisteredNeuron
New Cone
New Cone
Posts: 3
Joined: 10 Jul 2024 01:34

Re: VLC on GNOME (wayland) – Title bar filled with unintelligible characters

Postby CloisteredNeuron » 11 Jul 2024 02:53

Hi Rémi :D

Thanks for taking a look at this. I installed VLC using

Code: Select all

sudo apt install vlc
. I have not modified the repositories so VLC should be pulled from Debian repositories. The log file is from a new VM on which have not yet copied over any video files so I haven't done anything with VLC other than start and stop it several times for the capturing the log.

Rémi Denis-Courmont
Developer
Developer
Posts: 15323
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC on GNOME (wayland) – Title bar filled with unintelligible characters

Postby Rémi Denis-Courmont » 11 Jul 2024 08:08

Yeah so what I already wrote: title is made either by Qt or the WM, not VLC.

Debian VLC works fine on KWin for me.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

CloisteredNeuron
New Cone
New Cone
Posts: 3
Joined: 10 Jul 2024 01:34

Re: VLC on GNOME (wayland) – Title bar filled with unintelligible characters

Postby CloisteredNeuron » 24 Jul 2024 23:24

While looking into a garbled text issue for Firefox, I changed a VirtualBox VM setting, “Enable 3D Acceleration.” Disabling 3D acceleration took care of not only the Firefox problems but also similar garbled character issues I have seen in other apps, including VLC. VLC is now running on my Debian 12.5 GNOME wayland VirtualBox VM.

https://i.postimg.cc/Fs1Lh8pK/VLC-No-Ga ... -Text1.gif

https://i.postimg.cc/fTmcQxyq/Virtual-B ... ation1.gif


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 37 guests