WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: qt-5.x-opengl.tcz missing dep. - libqxcb.so needs libQt5XcbQpa.so.5  (Read 2834 times)

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Tiny Core 7.1 x86.
I compiled the latest version of SMPlayer. No errors during compiling but SMPlayer won't start.

Code: [Select]
tc@box:/tmp/smplayer/usr/local/bin/$> QT_DEBUG_PLUGINS=1 ./smplayer

*snip*

QFactoryLoader::QFactoryLoader() looking at "/usr/local/lib/qt5/plugins/platforms/libqxcb.so"
Found metadata in lib /usr/local/lib/qt5/plugins/platforms/libqxcb.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "xcb"
        ]
    },
    "className": "QXcbIntegrationPlugin",
    "debug": false,
    "version": 329216
}


Got keys from plugin meta data ("xcb")
QFactoryLoader::QFactoryLoader() checking directory path "/tmp/smplayer/usr/local/bin/platforms" ...
loaded library "/usr/local/lib/qt5/plugins/platforms/libqxcb.so"
QLibraryPrivate::loadPlugin failed on "/usr/local/lib/qt5/plugins/platforms/libqxcb.so" : "Cannot load library /usr/local/lib/qt5/plugins/platforms/libqxcb.so: (libQt5XcbQpa.so.5: cannot open shared object file: No such file or directory)"
This application failed to start because it could not find or load the Qt platform plugin "xcb"
in "".

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, xcb.

Reinstalling the application may fix this problem.
Aborted

Code: [Select]
tc@box:/tmp/smplayer/usr/local/bin/$> ldd /usr/local/lib/qt5/plugins/platforms/libqxcb.so | grep not
libQt5XcbQpa.so.5 => not found

Code: [Select]
tc@box:/tmp/smplayer/usr/local/bin/$> tce-status -i | grep -i qt-5
qt-5.x-base
qt-5.x-bin
qt-5.x-dbus
qt-5.x-dev
qt-5.x-extended
qt-5.x-opengl
qt-5.x-script
qt-5.x-sql
qt-5.x-xml

Thanks.
Download a copy and keep it handy: Core book ;)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14790
Re: qt-5.x-opengl.tcz missing dep. - libqxcb.so needs libQt5XcbQpa.so.5
« Reply #1 on: June 14, 2016, 03:20:26 AM »
updated qt-5.x-opengl posted

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: qt-5.x-opengl.tcz missing dep. - libqxcb.so needs libQt5XcbQpa.so.5
« Reply #2 on: June 14, 2016, 06:08:47 AM »
That did it. Thank you!
Download a copy and keep it handy: Core book ;)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14790
Re: qt-5.x-opengl.tcz missing dep. - libqxcb.so needs libQt5XcbQpa.so.5
« Reply #3 on: June 14, 2016, 06:20:35 AM »
'looking forwards to the smplayer extension  ;)

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: qt-5.x-opengl.tcz missing dep. - libqxcb.so needs libQt5XcbQpa.so.5
« Reply #4 on: June 14, 2016, 01:05:41 PM »
Hmm...

SMPlayer doesn't seem to like the current MPlayer build.

What I found so far is that MPlayer crashes if the  -noflip-hebrew  option is used, which SMPlayer ships over to MPlayer.
Don't know how to change that from SMPlayer.

Error log gathered from SMPlayer after attempting to open a file:
Code: [Select]
/tmp/mplayer-old/usr/local/bin/mplayer -noquiet -slave -identify -nofs -lavdopts threads=2 -sub-fuzziness 1 -vo xv, -ao alsa, -framedrop -nodr -double -nomouseinput -input nodefault-bindings:conf=/dev/null -nokeepaspect -wid 73400335 -monitorpixelaspect 1 -subfont-osd-scale 2 -ass -embeddedfonts -ass-line-spacing 0 -ass-font-scale 1 -noflip-hebrew -ass-styles /home/tc/.config/smplayer/styles.ass -subcp ISO-8859-1 -subpos 100 -volume 100 -osdlevel 0 -vf-add pp=l5 -vf-add eq2 -vf-add hue -vf-add screenshot=/tmp/shot -noslices -channels 2 -af-add scaletempo -softvol -softvol-max 110 /some/video.avi

MPlayer was compiled without FriBiDi support.
MPlayer 1.1-4.9.1 (C) 2000-2012 MPlayer Team
MMX supported but disabled
MMX2 supported but disabled
SSE supported but disabled
SSE2 supported but disabled
ID_EXIT=NONE

IIRC, fribidi could actually be the reason I rebuilt MPlayer in order to make it work with SMPlayer (or to make -noflip-hebrew work).

Though, my personal build of MPlayer (v1.3.0 - 16MB) is quite bloated compared to the current build in the repo (v1.1.1 - 7.7MB).

However, with the current version, high resolution videos perform poorly. Only few video output drivers available to play with. MMX/SSE disabled.
I'm not sure if the low file size justifies the lack of performance.

Currently in repo:
Code: [Select]
tc@box:~/$> /tmp/mplayer-old/usr/local/bin/mplayer -vo help
  CPLAYER: MPlayer 1.1-4.9.1 (C) 2000-2012 MPlayer Team
CPUDETECT: MMX supported but disabled
CPUDETECT: MMX2 supported but disabled
CPUDETECT: SSE supported but disabled
CPUDETECT: SSE2 supported but disabled
  CPLAYER: Available video output drivers:
   GLOBAL: x11 X11 ( XImage/Shm )
   GLOBAL: xover General X11 driver for overlay capable video output drivers
   GLOBAL: dga DGA ( Direct Graphic Access V2.0 )
   GLOBAL: fbdev Framebuffer Device
   GLOBAL: fbdev2 Framebuffer Device
   GLOBAL: v4l2 V4L2 MPEG Video Decoder Output
   GLOBAL: xvidix X11 (VIDIX)
   GLOBAL: cvidix console VIDIX
   GLOBAL: null Null video output
   GLOBAL: mpegpes MPEG-PES to DVB card
   GLOBAL: yuv4mpeg yuv4mpeg output for mjpegtools
   GLOBAL: png PNG file
   GLOBAL: jpeg JPEG file
   GLOBAL: tga Targa output
   GLOBAL: pnm PPM/PGM/PGMYUV file
   GLOBAL: md5sum md5sum of each frame
   GLOBAL:
My personal build:
Code: [Select]
tc@box:~/$> mplayer -vo help
  CPLAYER: MPlayer 1.3.0-5.2.0 (C) 2000-2016 MPlayer Team
  CPLAYER: Available video output drivers:
   GLOBAL: vdpau VDPAU with X11
   GLOBAL: xv X11/Xv
   GLOBAL: gl_nosw OpenGL no software rendering
   GLOBAL: x11 X11 ( XImage/Shm )
   GLOBAL: xover General X11 driver for overlay capable video output drivers
   GLOBAL: sdl SDL YUV/RGB/BGR renderer (SDL v1.1.7+ only!)
   GLOBAL: gl OpenGL
   GLOBAL: gl_tiled X11 (OpenGL) - multiple textures version
   GLOBAL: dga DGA ( Direct Graphic Access V2.0 )
   GLOBAL: fbdev Framebuffer Device
   GLOBAL: fbdev2 Framebuffer Device
   GLOBAL: matrixview MatrixView (OpenGL)
   GLOBAL: v4l2 V4L2 MPEG Video Decoder Output
   GLOBAL: xvidix X11 (VIDIX)
   GLOBAL: cvidix console VIDIX
   GLOBAL: null Null video output
   GLOBAL: mpegpes MPEG-PES to DVB card
   GLOBAL: yuv4mpeg yuv4mpeg output for mjpegtools
   GLOBAL: png PNG file
   GLOBAL: jpeg JPEG file
   GLOBAL: gif89a animated GIF output
   GLOBAL: tga Targa output
   GLOBAL: pnm PPM/PGM/PGMYUV file
   GLOBAL: md5sum md5sum of each frame
   GLOBAL:

If only MPlayer wouldn't take that much time to compile on my box, I would have experimented further already.

I think I used this when I built MPlayer:
Code: [Select]
./configure --extra-cflags="-march=i486 -mtune=i686 -O2 -pipe -fomit-frame-pointer" --extra-ldflags="-Wl,-O1"  --prefix=/usr/local --enable-runtime-cpudetection --disable-apple-ir --disable-xvid --disable-libschroedinger-lavc --enable-menu
Download a copy and keep it handy: Core book ;)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14790
Re: qt-5.x-opengl.tcz missing dep. - libqxcb.so needs libQt5XcbQpa.so.5
« Reply #5 on: June 14, 2016, 01:11:46 PM »
Please feel free to submit an updated mplayer extension to replace the current one