Slackware - ARM This forum is for the discussion of Slackware ARM. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
08-28-2017, 03:04 PM
|
#16
|
Senior Member
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,512
|
subscribed (fwiw) 
|
|
|
08-29-2017, 11:48 AM
|
#17
|
Senior Member
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 1,634
|
@SCerovec
Are you interested in Kodi or just OMXPlayer?
I'm still waiting for a reply (contacted privately on E-Mail) from the original Slack x86 Kodi SlackBuild creator. If he's not curious about a collaboration, I might then just do some cosmetic work myself and publish my derived (and butchered) Kodi SlackBuild for ARM (Raspberry Pi). Obviously I'll start a new thread for that.
There is however a small issue with a Kodi dep package that I was not able to compile (someone might be more knowledgeable and do it) - create a tinyXML-2.6.2.so library:
http://www.grinninglizard.com/tinyxml/
https://sourceforge.net/projects/tinyxml/
I have it compiled for both armv6 SF and armv7 HF (extracted from some Debian packages) but I'll need to publish them somewhere for others to be able to download.
Last edited by abga; 08-29-2017 at 11:53 AM.
|
|
|
08-30-2017, 09:43 AM
|
#18
|
Senior Member
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,512
|
@abga,
I'm interested in all maters video acceleration on ARM platforms in the low budget niche:
Rpi
Bpi
Opi
... so far not much luck (Rpi isn't open source hardware, yet has most decent acceleration), but i hope mali/lima comes to mainline soon?
Until then I "throw nets" all over the place in high on hope for an break thru?
|
|
|
08-30-2017, 11:54 AM
|
#19
|
Senior Member
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 1,634
|
@SCerovec
Even if the Rpi VideoCore Broadcom internals are, as you say, closed source, you still can use all of the HW accelerated features with their so called "drivers" from /opt/vc.
http://elinux.org/Raspberry_Pi_VideoCore_APIs
The only issue with running another OS (not Raspbian) on the Pi is that you need to either statically link your multimedia programs to the /opt/vc libs or, do as I do, change the symlinks with the help of some scripts:
cat /kit/glx
#! /bin/sh
cd /usr/lib
rm libEGL.so
ln -s libEGL.so.1.0.0 libEGL.so
rm libGLESv2.so
ln -s libGLESv2.so.2.0.0 libGLESv2.so
cat /kit/glkodi
#! /bin/sh
cd /usr/lib
rm libEGL.so
ln -s /opt/vc/lib/libEGL.so libEGL.so
rm libGLESv2.so
ln -s /opt/vc/lib/libGLESv2.so libGLESv2.so
I do this for Kodi 17.x, because they choose to link it (build scripts) with /usr/lib
Will write a Kodi building HowTo once I'm done with the Slack ARM armv6 HF build.
|
|
|
08-30-2017, 04:32 PM
|
#20
|
Senior Member
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,512
|
True,
the compromise Raspberry foundation took, seem to have yielded the soonest solution to any acceleration at all?
It remains to be seen if lima makes it in time to the recent kernels? If I understand correctly, the c.h.i.p. seems to make 4.4.x kernels able to use mali.ko and the binary blob?
|
|
|
10-02-2017, 10:38 AM
|
#21
|
Senior Member
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,278
|
So, was trying to build omxplayer on the latest -current and I'm running into the following error:
Code:
gcc is unable to create an executable file.
If gcc is a cross-compiler, use the --enable-cross-compile option.
Only do this if you know what cross compiling means.
C compiler test failed.
If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solve the problem.
make[1]: *** [Makefile.ffmpeg:21: configure] Error 1
make[1]: Leaving directory '/tmp/SBo/omxplayer-git'
make: *** [Makefile:80: ffmpeg] Error 2
Any ideas? I'm still fairly a beginner when it comes to troubleshooting on the ARM platform.
|
|
|
10-02-2017, 11:09 AM
|
#22
|
Senior Member
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,278
|
Seems that it's the ffmpeg portion of the script that is failing:
Code:
gcc: error: missing argument to '-mfloat-abi='
C compiler test failed.
Trying to figure out where to insert the -mfloat-abi=hard in the SlackBuild to make it work.
|
|
|
10-02-2017, 01:51 PM
|
#23
|
Member
Registered: Oct 2012
Location: Germany
Distribution: Slackware, Salix, slarm64
Posts: 212
Original Poster
Rep:
|
@stormtracknole:
In the Slackbuild script, try changing the lines:
Code:
sed -e '/--enable-cross-compile/d;' \
-e '/--cross-prefix/d;' \
-e '/--extra-cflags/ s/-mfpu=vfp //g;' \
-i Makefile.ffmpeg
to
Code:
sed -e '/--enable-cross-compile/d;' \
-e '/--cross-prefix/d;' \
-e '/--extra-cflags/ s/-mfpu=vfp //g;' \
-e 's/-mfloat-abi=$(FLOAT)//g' \
-i Makefile.ffmpeg
|
|
2 members found this post helpful.
|
10-02-2017, 02:15 PM
|
#24
|
Senior Member
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,278
|
Quote:
Originally Posted by slacksam
@stormtracknole:
In the Slackbuild script, try changing the lines:
Code:
sed -e '/--enable-cross-compile/d;' \
-e '/--cross-prefix/d;' \
-e '/--extra-cflags/ s/-mfpu=vfp //g;' \
-i Makefile.ffmpeg
to
Code:
sed -e '/--enable-cross-compile/d;' \
-e '/--cross-prefix/d;' \
-e '/--extra-cflags/ s/-mfpu=vfp //g;' \
-e 's/-mfloat-abi=$(FLOAT)//g' \
-i Makefile.ffmpeg
|
PERFECT!! That cleared that issue. It's compiling now. Will report back once it's done. Thank you kindly!
|
|
|
10-02-2017, 03:00 PM
|
#25
|
Senior Member
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,278
|
Well, it got this far along now:
Code:
/usr/lib/gcc/arm-slackware-linux-gnueabi/7.1.0/../../../../arm-slackware-linux-gnueabi/bin/ld: warning: libwebpmux.so.3, needed by /usr/lib/libavcodec.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/arm-slackware-linux-gnueabi/7.1.0/../../../../arm-slackware-linux-gnueabi/bin/ld: warning: libwebp.so.7, needed by /usr/lib/libavcodec.so, not found (try using -rpath or -rpath-link)
/usr/lib/libavcodec.so: undefined reference to `WebPAnimEncoderNewInternal'
/usr/lib/libavcodec.so: undefined reference to `WebPMemoryWriterClear'
/usr/lib/libavcodec.so: undefined reference to `WebPAnimEncoderDelete'
/usr/lib/libavcodec.so: undefined reference to `WebPAnimEncoderOptionsInitInternal'
/usr/lib/libavcodec.so: undefined reference to `WebPEncode'
/usr/lib/libavcodec.so: undefined reference to `WebPAnimEncoderAssemble'
/usr/lib/libavcodec.so: undefined reference to `WebPCleanupTransparentArea'
/usr/lib/libavcodec.so: undefined reference to `WebPPictureInitInternal'
/usr/lib/libavcodec.so: undefined reference to `WebPAnimEncoderAdd'
/usr/lib/libavcodec.so: undefined reference to `WebPPictureFree'
/usr/lib/libavcodec.so: undefined reference to `WebPConfigInitInternal'
/usr/lib/libavcodec.so: undefined reference to `WebPValidateConfig'
/usr/lib/libavcodec.so: undefined reference to `WebPMemoryWrite'
/usr/lib/libavcodec.so: undefined reference to `WebPMemoryWriterInit'
Need to satisfy those dependencies (libwebpmux.so.3 and libwebp.so.7) first and see if I'm successful.
|
|
|
10-02-2017, 03:59 PM
|
#26
|
Member
Registered: Oct 2012
Location: Germany
Distribution: Slackware, Salix, slarm64
Posts: 212
Original Poster
Rep:
|
@stormtracknole
libwebp from SBo: https://slackbuilds.org/repository/1...aries/libwebp/
Looks like you found a required package I must have overseen.
|
|
|
10-02-2017, 04:49 PM
|
#27
|
Senior Member
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,278
|
Quote:
Originally Posted by slacksam
|
It did not like 0.5.2, so I'm using libweb-0.6.0. Will report back shortly.
|
|
1 members found this post helpful.
|
10-02-2017, 05:29 PM
|
#28
|
Senior Member
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,278
|
SUCCESS!! Using libwebp-0.6.0 and your suggested changes to the SBo script did the trick. Thanks again!
|
|
2 members found this post helpful.
|
11-14-2017, 12:47 PM
|
#29
|
Senior Member
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,278
|
Hi @slacksam! The latest omxplayer.SlackBuild fails to build with the following:
Code:
From https://github.com/popcornmix/omxplayer
* branch master -> FETCH_HEAD
Already up-to-date.
./omxplayer.SlackBuild: line 82: cd: too many arguments
This is a clean download from here. Just an FYI. I did satisfy all the dependencies.
|
|
1 members found this post helpful.
|
11-14-2017, 01:00 PM
|
#30
|
Member
Registered: Oct 2012
Location: Germany
Distribution: Slackware, Salix, slarm64
Posts: 212
Original Poster
Rep:
|
Thanks for reporting.
Now I pushed an update on Github. Please try again.
|
|
1 members found this post helpful.
|
All times are GMT -5. The time now is 04:30 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|