IRC log of #cubox of Sun 28 Sep 2014. All times are in CEST < Back to index

10:17 R0nd so I've installed gpu-viv-x11-bin-mx6q-3.10.17-1.0.0.tar.gz and now I'm getting a segfault when starting xbmc http://pastebin.com/rTHWUTtG
10:28 Humpelstilzchen R0nd: remove the call to glxinfo
10:39 R0nd Humpelstilzchen: http://pastebin.com/5eR0pJxs
10:44 Humpelstilzchen R0nd: xbmc.log?
10:48 R0nd nope, there's no log
10:49 Humpelstilzchen in ~/.xbmc/temp?
10:50 R0nd no
10:51 R0nd nowhere at all for that matter
10:53 Humpelstilzchen uhm
10:53 Humpelstilzchen do you still have the calls to error() in FEH.py?
11:02 R0nd oh, right
11:02 R0nd removed them, now it's /usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
11:02 R0nd warnings.warn(str(e), _gtk.Warning)
11:03 Humpelstilzchen full error?
11:03 R0nd usr/local/lib/xbmc/xbmc.bin: symbol lookup error: /usr/local/lib/xbmc/xbmc.bin: undefined symbol: fbGetDisplayByIndex
11:03 Humpelstilzchen R0nd: fix your symlinks
11:03 Humpelstilzchen libEGL.so to libEGL-fb.so etc
11:04 Humpelstilzchen R0nd: http://www.solid-run.com/community/topic532.html
11:07 R0nd only one of the symlinks was out of order, fixed it, still getting the same error
11:08 Humpelstilzchen R0nd: pastebin ldconfig -v
11:10 R0nd Humpelstilzchen: http://pastebin.com/RBRRVKYP
11:10 Humpelstilzchen R0nd: you see that libEGL.so in /usr/lib/arm-linux-gnueabihf?
11:11 R0nd yeah
11:12 Humpelstilzchen this one is used instead which causes the failure
11:14 Humpelstilzchen R0nd: the libGL* also might do harm
11:16 Humpelstilzchen btw you should check the links again after running ldconfig
11:19 R0nd now I'm getting "xbmc.bin: error while loading shared libraries: libEGL.so.1: cannot open shared object file: No such file or directory"
11:20 Humpelstilzchen does ldconfig -v have it?
11:22 R0nd no
11:25 Humpelstilzchen but does /usr/lib/libEGL.so.1 exist and point to a file?
11:27 R0nd yes, it points to /usr/lib/libEGL-fb.so
11:29 Humpelstilzchen hmm
11:29 Humpelstilzchen where did you got that libEGL-fb.so from?
11:32 R0nd from that gpu-viv-bin-mx6q-3.0.35-4.0.0-sfp.tar.gz package
11:33 Humpelstilzchen thats -sfp
11:33 Humpelstilzchen are you on soft float abi?
11:34 R0nd oh, didn't notice the sfp before
11:41 R0nd alright, I've installed hfp libs and now xbmc crashed with a proper crashlog
11:44 R0nd but it's not too informative http://pastebin.com/7R5PNDky
11:45 Humpelstilzchen hmm
11:45 Humpelstilzchen whats your Distribution?
11:46 R0nd debian
11:47 Humpelstilzchen thats Igos Image?
11:47 R0nd yep
11:50 Humpelstilzchen R0nd: ok can you please check if you have done everything from here? http://www.solid-run.com/community/topic1719.html
11:55 Humpelstilzchen you might need to recompile xbmc after replacing gpu-viv-bin. Might be a header change or something
11:55 Exaga Artox: :>
11:56 R0nd Humpelstilzchen: do I also need to install gstreamer?
11:56 Humpelstilzchen R0nd: no
11:56 Arto 11:56 * Artox opens his logs to find out who Exaga was
11:56 Artox its slackware initrd
11:57 Artox good day to you too Exaga
11:57 Exaga ich habe ya 'ne Macke :P
11:57 Exaga morning Artox
11:57 Exaga i've almost ALMOST got it working :D
11:57 Humpelstilzchen morning? Its the middle of the day
11:57 Exaga i've got the filesystem loading but it still cannot find the init
11:58 Exaga hehe Humpelstilzchen it's almost 11:00 here
11:59 Exaga Artox: your settings have helped a great deal. thank you
11:59 Artox no problem
11:59 Artox but I dont know how you can debug the final part
11:59 Exaga it's ok. i will continue to work with it
12:00 Exaga can't be much i'm missing now apart from a few kernel params :>
15:28 R0nd Humpelstilzchen: I've removed libegl1-mesa-dev and libgl1-mesadev, and now xbmc won't compile because there's no SDL.h anymore
15:29 Humpelstilzchen R0nd: yeah you need libsdl1.2-dev
15:30 R0nd it depends on libgl1-mesa-swx11 libgl1-mesa-swx11-dev libglu1-mesa-dev libosmesa6, won't any of these packages break stuff?
15:31 Humpelstilzchen yes
15:31 Humpelstilzchen or
15:31 Humpelstilzchen uhm
15:31 Humpelstilzchen no
15:32 R0nd okay, I'll try that and report back
15:34 Humpelstilzchen afaik you also need one other SDL-header
15:42 R0nd yep, I've also installed libsdl-image1.2-dev now
15:59 R0nd same deal, it still segfaults
15:59 R0nd crash log looks the same
16:00 Humpelstilzchen hmm
16:03 joelbaby tomlohave ping
16:05 tomlohave yep
16:05 joelbaby tomlohave: files are missing from /lib/modules/3.14.14 directory in
16:05 joelbaby http://download.geexbox.org/snapshots/geexbox-xbmc-imx6-cuboxi/latest/binaries.cuboxi/packages/linux_imx_3.14.14_linaro-stable%2b4354226-1_armv7.opk
16:05 joelbaby modules.alias, modules.alias.bin, etc ..
16:06 tomlohave once the warning I suppose
16:06 tomlohave when you upgrade
16:06 joelbaby when you upgrade, those files are not in the package.
16:07 joelbaby so when you reboot, lsmod shows no modules are loaded.
16:07 tomlohave ok, will see what can I do
16:07 tomlohave lsmod shows no module ?
16:07 joelbaby correct
16:08 tomlohave it is working here
16:08 joelbaby see thread in imx-solid.run: http://www.solid-run.com/community/topic641-480.html
16:08 joelbaby if you do opkg upgrade, then you get the new kernel
16:09 joelbaby but because /lib/modules/3.14.14 is not complete in the package
16:09 joelbaby the modules do not load.
16:09 tomlohave hum
16:11 R0nd okay, I installed gdb and got this: "Program terminated with signal 11, Segmentation fault. #0 0x75798a3c in gcoOS_InitLocalDisplayInfo () from /usr/local/lib/libGAL.so"
16:12 R0nd ah damn, it points at the wrong lib again
16:12 Humpelstilzchen lol
16:13 Humpelstilzchen best is to remove the -x11 and -wl version from lib
16:15 R0nd I think xbmc is doing something, there's a 35% cpu load and a blank screen
16:16 R0nd also it switched the spdif on and off and made some hdd noise
16:17 Humpelstilzchen hmm it shouldn't take more then a few seconds to start
16:18 Humpelstilzchen anything in the xbmc.log?
16:19 R0nd "ERROR: Invalid GUI Shader selected - [guishader_frag_texture.glsl]" repeated a whole lot of times
16:20 Humpelstilzchen had that one
16:20 R0nd also some other errors regarding shaders
16:21 Humpelstilzchen aah any libEGL* or libGL* in /usr/lib/arm-linux-gnueabihf
16:21 R0nd yes, should I remove them?
16:22 Humpelstilzchen yes
16:23 Humpelstilzchen after that run ldconfig and after ldconfig check the symlinks (so dirty fragile system...)
16:34 R0nd xbmc has been running for a couple of minutes now, no errors in log yet
16:35 Humpelstilzchen R0nd: you see the gui?
16:35 R0nd nope
16:35 Humpelstilzchen damn
16:36 R0nd wait a second, it says "DEBUG: GOT ANNOUNCEMENT, type: 4, from xbmc, message OnS
16:36 R0nd creensaverActivated"
16:36 R0nd I think the display just went to sleep
16:48 R0nd it's working perfectly now
16:48 R0nd I started it from a remote session before, guess I can't do that
16:49 Humpelstilzchen hmm, worked fine for me over ssh. Good news anyway
16:49 Humpelstilzchen next question is if you play videos ;)
16:50 R0nd ERROR: VpuOpen - VPU load failed with error code 1
16:51 Humpelstilzchen firmware installed?
17:01 R0nd installed the firmware, now it's ERROR: Decode - VPU decode failed with error code 1.
17:06 R0nd okay, I can play SOME videos
17:06 R0nd so it must be a codec problem
17:07 Humpelstilzchen big bug bunny should play :)
17:08 R0nd yeah it does
17:09 Humpelstilzchen nice
17:09 R0nd also for some reason audio output device option is grayed out
17:10 R0nd and it uses spdif by default
18:19 Humpelstilzchen R0nd: thats easy fix
18:21 Humpelstilzchen R0nd: http://www.solid-run.com/community/topic1663.html
18:32 R0nd alright, I'm getting hdmi audio now
18:38 R0nd tried switching to software video decoding, still can't play some videos
19:25 Humpelstilzchen R0nd: have you tried if they play in geexbox?
19:26 Humpelstilzchen ..or openelec
19:27 R0nd nope, I looked for a quick way to boot geexbox or openelec without screwing up my current setup, but then I went back to compiling xbmc
19:37 Humpelstilzchen R0nd: you might want to test them with gstreamer or something like mplayer -identify
19:42 R0nd both videos are H264
19:42 R0nd if that makes any difference
19:48 R0nd mplayer is able to play them but there's no hw acceleration
19:49 Humpelstilzchen sure, but mplayer can display the codec/options used
19:49 R0nd it uses ffh264