Page 1 of 1

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

Posted: 10 Jul 2024 02:00
by CloisteredNeuron
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.

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

Posted: 10 Jul 2024 13:26
by Rémi Denis-Courmont
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.

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

Posted: 11 Jul 2024 02:53
by CloisteredNeuron
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.

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

Posted: 11 Jul 2024 08:08
by Rémi Denis-Courmont
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.

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

Posted: 24 Jul 2024 23:24
by CloisteredNeuron
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