Mythfrontend won't display using Gnome and Wayland

For discussion of topics specific to MythTV on linux
Post Reply
knutsondc
Junior
Posts: 19
Joined: Tue Apr 21, 2015 5:19 pm
United States of America

Mythfrontend won't display using Gnome and Wayland

Post by knutsondc »

Hello all,

I have laptop and a desktop, both running Fedora 32 Workstation, Gnome 3.36 and mythfrontend version fixes/31. If I log in using Xorg, mythfrontend starts and runs as expected. Under Wayland, mythfrontend does not open its screen and the system remains at the Gnome desktop. Eventually the system tells me that mythfrontend is no responding and asks if I want to kill it. After starting mythfrontend, I cannot switch to or interact with the Gnome desktop or any open window using the mouse - the mouse pointer moves, but nothing reacts to it. The only way I can change focus away from the hidden mythfrontend process is to alt-tab my way through the running programs and select an open window of a different program. Mythfrontend's icon does show up as I alt-tab. Both the desktop and laptop use Intel integrated graphics.

Running mythfrontend from the command line on the desktop computer produces the following output that appears to be relevant to my problem:

Code: Select all

"Display: Requesting EGL for 'Mesa Project, 1.4'"
* * * *
2020-05-21 12:17:22.660037 C [13861/13861] thread_unknown mythcommandlineparser.cpp:2602:ConfigureLogging  mythfrontend version: fixes/31 [v31.0-v31.0] www.mythtv.org
2020-05-21 12:17:22.660047 C [13861/13861] thread_unknown mythcommandlineparser.cpp:2606:ConfigureLogging  Qt version: compile: 5.13.2, runtime: 5.13.2
2020-05-21 12:17:22.660083 I [13861/13861] thread_unknown mythcommandlineparser.cpp:2608:ConfigureLogging  Fedora 32 (Workstation Edition) (x86_64)
* * * *
020-05-21 12:17:26.352901 I [13861/13861] CoreContext mythdisplay.cpp:341:GetDesiredScreen  Display: Found screen 'HDMI-2'
2020-05-21 12:17:26.352934 I [13861/13861] CoreContext mythdisplay.cpp:476:DebugScreen  Display: Using screen 'HDMI-2' (Make: AOC Model: 2250W)
2020-05-21 12:17:26.352976 I [13861/13861] CoreContext mythdisplay.cpp:479:DebugScreen  Display: Geometry: 1920x1080+0+0 Size(Qt): 480mmx270mm
2020-05-21 12:17:26.354800 E [13861/13861] CoreContext platforms/mythdisplayx11.cpp:124:GetVideoModes  DisplayX11: Failed to find an output that matches 'HDMI-2'
2020-05-21 12:17:26.366396 N [13861/13861] CoreContext mythdisplay.cpp:505:Initialise  Display: Desktop video mode: 1920x1080 60.000Hz
* * * *
2020-05-21 12:17:26.650663 I [13861/13861] CoreContext screensaver-x11.cpp:82:ScreenSaverX11Private  ScreenSaverX11Private: DPMS is not supported.
* * * *
2020-05-21 12:17:31.166619 I [13861/13861] CoreContext mythmainwindow.cpp:1009:Init  Using Frameless Window
2020-05-21 12:17:31.166631 I [13861/13861] CoreContext mythmainwindow.cpp:1025:Init  Using Full Screen Window
2020-05-21 12:17:31.200944 I [13861/13861] CoreContext mythdisplay.cpp:227:SetWidget  Display: Have main widget
2020-05-21 12:17:31.200955 I [13861/13861] CoreContext mythdisplay.cpp:231:SetWidget  Display: Have main window
2020-05-21 12:17:31.212317 I [13861/13861] CoreContext mythdisplay.cpp:341:GetDesiredScreen  Display: Found screen 'HDMI-2'
2020-05-21 12:17:31.233575 I [13861/13861] CoreContext mythmainwindow.cpp:1057:Init  UI Screen Resolution: 1920 x 1080
2020-05-21 12:17:31.281993 I [13861/13861] CoreContext opengl/mythrenderopengl.cpp:421:DebugFeatures  OpenGL: OpenGL vendor        : Intel Open Source Technology Center
2020-05-21 12:17:31.282002 I [13861/13861] CoreContext opengl/mythrenderopengl.cpp:422:DebugFeatures  OpenGL: OpenGL renderer      : Mesa DRI Intel(R) G45/G43 (ELK)
2020-05-21 12:17:31.282007 I [13861/13861] CoreContext opengl/mythrenderopengl.cpp:423:DebugFeatures  OpenGL: OpenGL version       : 2.1 Mesa 20.0.7
2020-05-21 12:17:31.282017 I [13861/13861] CoreContext opengl/mythrenderopengl.cpp:424:DebugFeatures  OpenGL: Qt platform          : wayland
2020-05-21 12:17:31.282065 I [13861/13861] CoreContext opengl/mythrenderopengl.cpp:427:DebugFeatures  OpenGL: EGL display          : Yes
2020-05-21 12:17:31.282070 I [13861/13861] CoreContext opengl/mythrenderopengl.cpp:428:DebugFeatures  OpenGL: EGL images           : Yes
2020-05-21 12:17:31.282074 I [13861/13861] CoreContext opengl/mythrenderopengl.cpp:430:DebugFeatures  OpenGL: Qt OpenGL format     : OpenGL 2.1
2020-05-21 12:17:31.282079 I [13861/13861] CoreContext opengl/mythrenderopengl.cpp:431:DebugFeatures  OpenGL: Qt OpenGL surface    : RGBA: 8888 Depth: 0 Stencil: 0
2020-05-21 12:17:31.282092 I [13861/13861] CoreContext opengl/mythrenderopengl.cpp:432:DebugFeatures  OpenGL: Max texture size     : 8192
2020-05-21 12:17:31.282098 I [13861/13861] CoreContext opengl/mythrenderopengl.cpp:433:DebugFeatures  OpenGL: Max texture units    : 32
2020-05-21 12:17:31.282106 I [13861/13861] CoreContext opengl/mythrenderopengl.cpp:434:DebugFeatures  OpenGL: Shaders              : Yes
2020-05-21 12:17:31.282111 I [13861/13861] CoreContext opengl/mythrenderopengl.cpp:435:DebugFeatures  OpenGL: NPOT textures        : Yes
2020-05-21 12:17:31.282119 I [13861/13861] CoreContext opengl/mythrenderopengl.cpp:436:DebugFeatures  OpenGL: Multitexturing       : Yes
2020-05-21 12:17:31.282125 I [13861/13861] CoreContext opengl/mythrenderopengl.cpp:437:DebugFeatures  OpenGL: Rectangular textures : Yes
2020-05-21 12:17:31.282133 I [13861/13861] CoreContext opengl/mythrenderopengl.cpp:439:DebugFeatures  OpenGL: Buffer mapping       : Yes
2020-05-21 12:17:31.282138 I [13861/13861] CoreContext opengl/mythrenderopengl.cpp:440:DebugFeatures  OpenGL: Framebuffer objects  : Yes
2020-05-21 12:17:31.282145 I [13861/13861] CoreContext opengl/mythrenderopengl.cpp:441:DebugFeatures  OpenGL: 16bit framebuffers   : Yes
2020-05-21 12:17:31.282151 I [13861/13861] CoreContext opengl/mythrenderopengl.cpp:442:DebugFeatures  OpenGL: Unpack Subimage      : Yes
2020-05-21 12:17:31.282159 I [13861/13861] CoreContext opengl/mythrenderopengl.cpp:443:DebugFeatures  OpenGL: GL_RED/GL_R8         : Yes
2020-05-21 12:17:31.293172 I [13861/13861] CoreContext opengl/mythrenderopengl.cpp:398:Init  OpenGL: Initialised MythRenderOpenGL
2020-05-21 12:17:31.293180 I [13861/13861] CoreContext opengl/mythrenderopengl.cpp:399:Init  OpenGL: Using full range output
2020-05-21 12:17:31.317338 I [13861/13861] CoreContext mythuihelper.cpp:762:PruneCacheDir  MythUIHelper: Pruning cache directory: /home/dck/.mythtv/cache/remotecache
2020-05-21 12:17:31.318419 I [13861/13861] CoreContext mythuihelper.cpp:819:PruneCacheDir  MythUIHelper: Kept 102 files, deleted 0 files, stat error on 0 files
2020-05-21 12:17:31.318493 I [13861/13861] CoreContext mythuihelper.cpp:762:PruneCacheDir  MythUIHelper: Pruning cache directory: /home/dck/.mythtv/cache/thumbnails
2020-05-21 12:17:31.321587 I [13861/13861] CoreContext mythuihelper.cpp:819:PruneCacheDir  MythUIHelper: Kept 252 files, deleted 0 files, stat error on 0 files
libcec.so.4: cannot open shared object file: No such file or directory
2020-05-21 12:17:31.703418 I [13861/13905] SendMessage mythcorecontext.cpp:469:ConnectCommandSocket  MythCoreContext::ConnectCommandSocket(): Connecting to backend server: 192.168.86.26:6543 (try 1 of 1)
2020-05-21 12:17:31.714044 I [13861/13905] SendMessage mythcorecontext.cpp:1691:CheckProtoVersion  MythCoreContext::CheckProtoVersion(): Using protocol version 91 BuzzOff
2020-05-21 12:17:31.718638 E [13861/13861] CoreContext devices/mythcecadapter.cpp:173:Open  CECAdapter: Failed to load libcec.
2020-05-21 12:17:31.729070 E [13861/13861] CoreContext AirPlay/mythraopdevice.cpp:30:Create  RAOP Device: Aborting startup - no key found.
2020-05-21 12:17:31.738267 I [13861/13861] CoreContext AirPlay/mythairplayserver.cpp:387:Create  AirPlay: Created airplay objects.
2020-05-21 12:17:31.738593 I [13861/13911] thread_unknown serverpool.cpp:418:listen  Listening on TCP 0.0.0.0:5100
2020-05-21 12:17:31.738647 I [13861/13911] thread_unknown serverpool.cpp:418:listen  Listening on TCP [::]:5100
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
[AVHWDeviceContext @ 0x2021640] Failed to initialise VAAPI connection: -1 (unknown libva error).
Cannot load libcuda.so.1
2020-05-21 12:17:31.827084 I [13861/13861] CoreContext schemawizard.cpp:117:Compare  Current MythTV Schema Version (DBSchemaVer): 1361
2020-05-21 12:17:31.839571 I [13861/13861] CoreContext decoders/mythvdpauhelper.cpp:71:HaveVDPAU  VDPAUHelp: VDPAU is NOT available
2020-05-21 12:17:31.868810 I [13861/13861] CoreContext decoders/mythvaapicontext.cpp:483:HaveVAAPI  VAAPIDec: VAAPI functionality checked failed
2020-05-21 12:17:31.869342 I [13861/13861] CoreContext decoders/mythnvdeccontext.cpp:519:HaveNVDEC  NVDEC: No NVDEC decoders found
2020-05-21 12:17:31.870471 I [13861/13861] CoreContext decoders/mythv4l2m2mcontext.cpp:378:HaveV4L2Codecs  V4L2_M2M: No V4L2 decoders found
2020-05-21 12:17:32.751619 I [13861/13911] AirplayServer bonjourregister.cpp:115:BonjourCallback  Bonjour: Service registration complete: name 'MythTV on moloch.dknutson.net' type '_airplay._tcp.' domain: 'local.'
2020-05-21 12:17:34.501653 E [13861/13861] CoreContext platforms/mythdisplayx11.cpp:124:GetVideoModes  DisplayX11: Failed to find an output that matches 'HDMI-2'
2020-05-21 12:17:39.683416 N [13861/13861] CoreContext mythmainwindow.cpp:1897:RegisterMediaPlugin  Registering Internal as a media playback plugin.
* * * *
2020-05-21 12:17:41.601511 N [13861/13861] CoreContext main.cpp:1224:RunMenu  Found mainmenu.xml for theme 'MythCenter-wide'
2020-05-21 12:17:41.716853 I [13861/13861] CoreContext themechooser.cpp:1034:ThemeUpdateChecker  Checking for theme updates every hour
2020-05-21 12:17:41.717937 I [13861/13861] CoreContext housekeeper.cpp:663:RegisterTask  Registering HouseKeeperTask 'HardwareProfiler'.
2020-05-21 12:17:41.757710 I [13861/13861] CoreContext housekeeper.cpp:737:Start  Starting HouseKeeper.
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
Does anyone have an idea for how to get mythfrontend to work under Gnome/Wayland? I've searched the net for quite a while and haven't found anything useful. Thanks!

Darron
User avatar
mark_k
Developer
Posts: 61
Joined: Tue Jan 28, 2020 3:14 pm
Great Britain

Re: Mythfrontend won't display using Gnome and Wayland

Post by mark_k »

I thought this was fixed for v31.

Can you attach a full log from 'mythfrontend -v gpu --loglevel=debug' to the old ticket I've just re-opened:)

https://code.mythtv.org/trac/ticket/13483

Thanks and regards
Mark
knutsondc
Junior
Posts: 19
Joined: Tue Apr 21, 2015 5:19 pm
United States of America

Re: Mythfrontend won't display using Gnome and Wayland

Post by knutsondc »

Mark - I posted my log file. Thanks for looking at this again!

Darron
Post Reply