Mythtv on Ubuntu 22.04 with Wayland
Mythtv on Ubuntu 22.04 with Wayland
Does Mythtv 32 work well with Wayland?
Re: Mythtv on Ubuntu 22.04 with Wayland
I experienced issues with v31 with Wayland. But, v32 has been fine with Wayland for me.
Ted | My blog
-
white_haired_uncle
- Senior
- Posts: 666
- Joined: Thu Feb 23, 2023 8:55 pm
- Location: Safe outside my gilded cage

Re: Mythtv on Ubuntu 22.04 with Wayland
I'm compiling v33/fixes for a completely unrelated reason, and I noticed this.
It looks like Wayland extras is enabled by default, but depends on Qt private headers, so it wasn't enabled for me. This is as far as I looked into it. I don't know the implications, I just saw this and thought of your thread and figured you might want to be aware of this if you end up rolling your own.
Code: Select all
# Misc Features
Frontend yes
Backend yes
Qt private headers no
Wayland extras no
Re: Mythtv on Ubuntu 22.04 with Wayland
What can happen is that you get GUI and video issues. Here I have seen incorrect repainting of the GUI, no more keyboard focus after alt-tab back and forth, and, on 4k screens, the video covering only the left/top corner of the screen.
This can happen when the so-called "Qt platform" is wayland instead of xcb and wayland is the default when wayland is used instead of xorg.
All these issues are fixed by adding the mythfrontend command line option "-platform xcb" and then mythtfrontend runs OK on wayland.
You can verify in the log of mythfrontend if you can find a line like this:and this should then show xcb.
This can happen when the so-called "Qt platform" is wayland instead of xcb and wayland is the default when wayland is used instead of xorg.
All these issues are fixed by adding the mythfrontend command line option "-platform xcb" and then mythtfrontend runs OK on wayland.
You can verify in the log of mythfrontend if you can find a line like this:
Code: Select all
2023-08-18 19:01:00.280571 I [70171/70171] CoreContext mythrenderopengl.cpp:422:DebugFeatures OpenGL: Qt platform : xcb
Re: Mythtv on Ubuntu 22.04 with Wayland
Thanks for this workaround - this bug hit me this week and I was getting desperate!! This is v34/fixes on fedora and a self-compiled version on voidlinux


