[mythtv-users] MythTV Raspberry Pi2 frontend testers
Lawrence Rust
lvr at softsystem.co.uk
Tue Dec 8 08:45:27 UTC 2015
On Mon, 2015-12-07 at 15:52 +0000, Thomas Mashos wrote:
[snip]
> Just a quick update, I was able to build fine it appears but I'm having
> trouble running this on Ubuntu Mate for the Pi2 in both xcb and eglfs
> modes. xcb mode just hangs after mythfrontend prints 'QT_QPA_PLATFORM=xcb"
> while eglfs mode throws the following error.
>
> 2015-12-07 07:50:03.414068 I Binding to UDP 192.168.0.255:6948
> EGL Error : Could not create the egl surface: error = 0x300b
>
> 2015-12-07 07:50:03.734615 I Using Frameless Window
> 2015-12-07 07:50:03.734649 I Using Full Screen Window
> Handling Aborted
> ./launch.sh: line 3: 3346 Aborted (core dumped)
> QT_QPA_EGLFS_FORCE888=1 QT_QPA_PLATFORM=eglfs
> QT_PLUGIN_PATH=/usr/lib/arm-linux-gnueabihf/qt5/plugins/platforms
> LD_LIBRARY_PATH=/usr/lib /usr/bin/mythfrontend.real
>
>
> I also tried the egl test in pi3d, which failed with
>
> For ref
> EGL_FALSE=0x0000
> EGL_BAD_DISPLAY=0x3008
> EGL_BAD_ATTRIBUTE=0x3004
> EGL_NOT_INITIALIZED=0x3001
> EGL_BAD_PARAMETER=0x300C
> EGL_WINDOW_BIT=0x0004
>
> Traceback (most recent call last):
> File "test_egl.py", line 60, in <module>
> d3dcompiler = ctypes.WinDLL(os.path.join(path, "d3dcompiler_47.dll"))
> AttributeError: 'module' object has no attribute 'WinDLL'
>
>
> So obviously EGLFS isn't working/installed right, but I'm not sure why the
> xcb mode just appears to hang.
I suspect the xcb problem could be related to the setuid call in
mythfrontend/main.cpp. I would suggest increasing the log output to
maximum first. If no other log output occurs then I would try removing
the setuid call.
The eglfs problem looks like a Qt/EGL problem when creating the main
window - confirmed by your pi3d test. I have no experience of Ubuntu
Mate with RPi so I would minimise the unknowns and test with Raspbian
first. If that is still problematic then I would suspect the Qt build.
In that case I would suggest using the Qt5 libs and plugins from my
archive - just point LD_LIBRARY_PATH and QT_PLUGIN_PATH to the relevant
places.
-- Lawrence Rust
More information about the mythtv-users
mailing list