tk321 wrote:Thanks for the deb package, it works perfectly for me (but can't test audio). If you get an error like "failed to open vchiq instance" you'll need to "chmod a+rw /dev/vchiq". My compile is binary compatible with your deb (md5sum: 52cbf438b0c3f51828b79d8358ef68cc omxplayer.bin) which is a good sign.
Is not permission problems because I'm running as root my tests currently, when I finish my tests with RPi I will go from scratch and install Raspbian, but anyway I have a rule.d for vchiq permission.
It start playing, I can hear the audio output without problems but no video, neither X nor pure console.
tk321 wrote:Btw, do you think we should try and merge the forks back into the main branch or at least let the main author know?
I think we should notify the author because he may be interested on it but first I'm going to do some more Makefile cleanup and I thougth about adding options for compiling softfp and hard and making .deb for the compiled arch. (maybe something like make hard-deb, make soft-deb wich will invoke first make soft or make hard).
As for the memory usage by the gpu, I don't know any internals of omxplayer nor the gpu, but from what has been said the gpu requires at least 64MB for video playback, see wikipedia
or this thread
224 MB is for Linux only, with just a 1080p framebuffer; likely to fail for any video or 3D.
Yeah, I know about it, thats why I'm working always with 192/64 and I tried with 128/128
shirro wrote:Probably the best way to do it is grab the head of the omxplayer repo and do a series of patches against it and have the debian package apply them when it is built. That way there is a clear separation between what has been added to get it running on Raspbian and the upstream source.
In fact that's the way that Debian works, they took the source code, make some patches and then apply them and make .deb package. Also they make the src.deb that contains original source code plus debian patchset.
I have not enough knowledge to go this way but I think that hard and softfp should be in the original source, for example implementing it like I said before in this post.
shirro wrote:Some of the issues people have such as wrong permissions on vchiq and having to set LD_LIBRAY_PATH should be dealt with by a debian videocore library package which should be a prerequisite to install things like omxplayer. For the moment people will have to use rpi-update or do things by hand I guess.
Debian's package system allows to notify user in the apt-get install process about things he should do, also if there are things like vchiq permissions it can be added to the configure script so when omxplayer get installed the package will automatically run "chmod a+rw /dev/vchiq".