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

06:53 R0nd I'm getting "/usr/include/EGL/egl.h:251:45: error: 'EGLNativeDisplayType' was not declared in this scope" now, think I'm missing some egl libs?
07:14 Humpelstilzchen R0nd: Have you reinstalled the debian package libegl1-mesa-dev?
07:15 R0nd I have it installed, do I have to reinstall it?
07:17 Humpelstilzchen no the debian one is missing some imx6 stuff, it should match the one from your original image
09:32 ralix morning
09:32 jnettlet morning
09:34 ralix morning jnettlet :)
14:41 R0nd Humpelstilzchen: are you there? where can I find the platform-specific libegl files? couldn't find anything in the repo my image is built from
14:53 earthy R0nd: you may want to look into https://github.com/etnaviv/mesa/
14:53 earthy (not sure if it'll help, still trying to get this all to work, but I have too little time)
15:45 R0nd earthy: yay, that worked
15:54 wrexem Whoah, you were able to get mesa to compile? I must know how you did so. :)
15:55 wrexem Can you maybe post a list of commands or something somewhere? :)
15:56 wrexem the history of your bash commands would be perfect :D
15:57 R0nd actually I'm compiling xbmc
15:57 R0nd was just missing egl headers
16:00 wrexem "just" compiling xbmc.
16:00 wrexem Is it compiling?
16:00 R0nd not yet :)
16:01 wrexem If you get it to run without crashing, you should really consider posting a little how-to
16:01 wrexem I see like 5 people per day trying that.
16:01 R0nd now I'm missing fbGetDisplayByIndex, fbCreateWindow, fbDestroyDisplay, fbDestroyWindow
16:03 wrexem Some references to that function here: http://qt-project.org/forums/viewthread/36995
16:03 wrexem I found that the eglsfs libraries described in Clay D. Montgomery message in
16:03 wrexem https://groups.google.com/forum/#!topic/wandboard/PHv-yXyhEWM
16:03 wrexem satisfied the missing references.
16:03 wrexem Your mileage may vary
16:03 R0nd hmm, okay, g2g right now but I'll look at this once I'm home
16:03 R0nd thanks
16:52 glnds jnettlet : hello - concerning benchmarks
16:52 glnds what do u sugest?
17:05 glnds_ jnettlet: any ideas to improve the memory benchmarks?
17:09 wrexem I think rabeeh said you can OC the memory somehow
17:09 wrexem Maybe that's not what you mean though.
17:10 wrexem http://www.solid-run.com/community/topic1252.html
17:12 glnds_ yeah al the benchmarks make sense
17:12 glnds_ just the memory bandwith has hickups
17:12 glnds_ i had also noticed it
17:13 glnds_ if you want to run it yourself
17:14 glnds_ the mbw stuff is just on github
17:14 glnds_ https://github.com/raas/mbw
17:14 glnds_ i run it with 128 as block size
17:18 wrexem I don't have my HB in the room with me.
17:18 wrexem This sounds a bit like a kernel debugging issue yes?
17:19 wrexem When it hiccups, can you pause your program? Or take a core dumb from the kernel?
17:20 glnds_ have you seen the results?
17:20 glnds_ otherwise it share them here before i make it public
17:20 glnds_ i guess it is idd a kernel isse
17:23 glnds_ if you look to the results from running it with the debian img form the cubox site it looks ok for me
17:24 glnds_ the most awkward results are from the img base on wheezy with the 3.14.14 kernel from igor
17:26 wrexem Might be an OS issue then, something running in the back that is mangling your result.
17:26 wrexem How long does the test run?
17:28 wrexem (I can't duplicate your test myself, sorry - as I said I don't have my board on me atm)
17:40 wrexem I am so tempted to try CONFIG_PREEMPT_RT_FULL=y on a kernel build
17:41 wrexem glnds_, you might try that; and set your memory test with high priority
17:41 wrexem I have _no_ idea how that will behave.
17:41 wrexem https://rt.wiki.kernel.org/index.php/Frequently_Asked_Questions
18:10 Humpelstilzchen R0nd: still relevant?
18:10 R0nd Humpelstilzchen: yes
18:11 Humpelstilzchen R0nd: whats the md5sum of your current libgl?
18:12 Humpelstilzchen /usr/include/EGL/egl.h
18:12 R0nd c217461f2034c605864f83cf853f796e
18:13 Humpelstilzchen R0nd: dpkg -S /usr/include/EGL/egl.h
18:13 Humpelstilzchen should print the debian package this file is in
18:14 R0nd libegl1-mesa-dev
18:15 Humpelstilzchen R0nd: ok the problem is that both, debian and freescale have their own version of egl.h, now everytime you do a apt-get upgrade and a new libegl comes in you will loose the freescale specific changes
18:15 Humpelstilzchen therefore I'd reocmment not to install libegl1-mesa-dev
18:17 R0nd okay, can you point me to freescale specific headers?
18:17 Humpelstilzchen R0nd: I got them from here: http://boundarydevices.com/mx6-video-acceleration-raring-debian/
18:19 Humpelstilzchen R0nd: I fetched L3.0.35_4.1.0_130816_source.tar.gz, inside there is a gpu-viv-bin-mx6q-3.0.35-4.1.0.tar.gz, one should get everything from /usr
18:23 Humpelstilzchen R0nd: after this you will need to execute this: http://www.solid-run.com/community/post3265.html#p3265
18:23 Humpelstilzchen (the symlink mess)
18:27 Humpelstilzchen Maybe I should write everything down I did to compile and run xbmc on debian while its still fresh
19:13 R0nd I've successfully built xbmc using http://repository.timesys.com/buildsources/g/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q-3.10.9-1.0.0/gpu-viv-bin-mx6q-3.10.9-1.0.0.tar.gz
19:23 R0nd now I'm getting "symbol lookup error: /usr/local/lib/xbmc/xbmc.bin: undefined symbol: fbGetDisplayByIndex"
19:23 R0nd when starting xbmc
19:24 Humpelstilzchen R0nd: did you follow my link?
19:24 R0nd yes, I've done the symlink part
19:25 Humpelstilzchen it looks like you still have a bad libegl.so around
19:25 Humpelstilzchen can you pastebin ldconfig -v?
19:26 R0nd http://pastebin.com/X3wv2qzF
19:28 Humpelstilzchen R0nd: remove /usr/lib/arm-linux-gnueabihf/libEGL* out of the way
19:32 R0nd okay, that helped
19:32 R0nd now I'm missing libffi.so.6
19:33 Humpelstilzchen uuh did not have this one.
19:33 Humpelstilzchen Just in case did you execute ldconfig again?
19:33 R0nd nope
19:33 R0nd I have libffi.so.5.0.10 on my system
19:34 glnds_ ls
19:44 R0nd found a debian package with libffi6, now I'm getting "symbol lookup error: /usr/lib/libgc_wayland_protocol.so.0: undefined symbol: wl_registry_interface"
19:44 Humpelstilzchen R0nd: fix your symlinks
19:45 Humpelstilzchen the libEGL, libGAL and libVIVANTE ones
19:45 Humpelstilzchen one of them probably points to a wayland (wl) version
19:46 R0nd yaaay
19:46 R0nd I got a lot of colorful lines and a segfault
19:47 Humpelstilzchen lol
19:48 R0nd looks like x died too
19:48 Humpelstilzchen uhm you better execute xbmc without x
19:48 Humpelstilzchen I think... never tried both at the same time
19:49 R0nd I've run xbmc that comes in debian repo with x
19:49 R0nd but I think it used software rendering
19:50 Humpelstilzchen R0nd: but this one is compiled for usage without x
19:50 R0nd okay, got it
19:51 Humpelstilzchen I hope you disabled x and xrandr on ./configure. With them enabled it did also segfault for me
19:57 R0nd yes I did
19:57 R0nd I've stopped x now and xbmc throws "unable to open display"
19:58 Humpelstilzchen yeah dome FEH.py?
19:59 R0nd ?
19:59 Humpelstilzchen can you pastebing full output?
20:02 paulk-leonov I just installed Debian jessie on the cubox-i and I have to say, it's incredibly fast with only X using the framebuffer, no DDX and probably llvmpipe/softpipe/swrast for 3D
20:04 R0nd Humpelstilzchen: Error: unable to open display
20:04 R0nd XBMC needs hardware accelerated OpenGL rendering.
20:04 R0nd Install an appropriate graphics driver.
20:04 R0nd Please consult XBMC Wiki for supported hardware
20:04 R0nd http://wiki.xbmc.org/?title=Supported_hardware
20:04 Humpelstilzchen R0nd: you have mesa-utils installed?
20:05 R0nd yes
20:06 Humpelstilzchen remove it
20:06 paulk-leonov oh and I've no sound btw
20:06 Humpelstilzchen reminds me I wanted to fill a xbmc bug for it
20:07 Humpelstilzchen paulk-leonov: default is probably sp/dif
20:07 Humpelstilzchen S/PDIF
20:07 paulk-leonov indeed, but I moved to hdmi in xfce4-mixer
20:08 R0nd paulk-leonov: you might want to try setting up a proper alsa config
20:08 R0nd assuming you're using alsa
20:09 paulk-leonov well, I'm expecting vlc to use pulseaudio
20:10 paulk-leonov but I didn't configure pulseaudio in particulr, nor did I write any alsa config
20:13 R0nd Humpelstilzchen: removed mesa-utils, same error
20:14 Humpelstilzchen R0nd: x11-utils, we can reinstall that package later
20:14 Humpelstilzchen then it should throw an error with some FEH.py
20:15 R0nd sh: 1: glxinfo: not found
20:15 R0nd XBMC needs hardware accelerated OpenGL rendering.
20:15 R0nd Install an appropriate graphics driver.
20:16 Humpelstilzchen R0nd: uhm, it doesn't say anything about a FEH.py?
20:16 R0nd nope
20:16 Humpelstilzchen I wonder why
20:17 Humpelstilzchen anyway you should have the file /usr/local/share/xbmc/FEH.py
20:18 R0nd it's there
20:18 Humpelstilzchen remove the last 4 lines
20:18 Humpelstilzchen the ones thworing the error
20:19 Humpelstilzchen exit(0) should be the last line
20:20 R0nd done
20:20 Humpelstilzchen what does xbmc say now?
20:20 R0nd inspecting xbmc crash log :)
20:21 Humpelstilzchen its still crashing?
20:22 R0nd http://pastebin.com/gZTbMS7g
20:22 R0nd can't really see why
20:23 Humpelstilzchen neither are you root?
20:23 R0nd yes, I'm root
20:23 Humpelstilzchen hmm
20:40 Humpelstilzchen no clue :(
22:20 paulk-leonov any clue why hdmi audio doesn't produce any output.
22:20 paulk-leonov ?
22:20 paulk-leonov on debian jessi
22:20 paulk-leonov jessie*
22:20 iz is it muted?
22:20 paulk-leonov well, I don't have any controls actually
22:21 iz try alsamixer or amixer maybe?
22:22 paulk-leonov alsamixer doesn't show any controls
22:26 iz try hitting F6
22:26 iz and change to the HDMI device
22:27 paulk-leonov yeah I've done that...
22:27 paulk-leonov seems like the sdma firmware is not loading: imx-sdma 20ec000.sdma: firmware not found
22:27 paulk-leonov it's in place though
22:28 paulk-leonov (/lib/firmware/)
22:28 paulk-leonov unless systemd expects it somewhere else?
22:32 iz hmmm.. idk
22:39 earthy Humpelstilzchen: if you have any round tuits, do describe how you got xbmc to work
22:41 paulk-leonov looks like it's trying to load the firmware when rootfs is not mounted yet...