Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 23 Nov 2014, 16:29
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
FatdogArm Beta1 and Beta2 - 1 Oct 2014
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 3 of 8 [114 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8 Next
Author Message
mories

Joined: 21 Dec 2009
Posts: 43

PostPosted: Tue 01 Apr 2014, 09:05    Post subject: Obconf problem  

Fatdog running quite well in ODROID-u3. Very good job.

Obconf failed to find obconf.ui.
I think it's problem of change in source of gladedir by resourcedir.
Copying obconf.ui in the current directory works correctly.
Back to top
View user's profile Send private message 
jamesbond

Joined: 26 Feb 2007
Posts: 2230
Location: The Blue Marble

PostPosted: Tue 01 Apr 2014, 12:36    Post subject:  

Thanks mories, fixed. You re-install obconf from the repo.
Still working on that pkeys thing, though.

_________________
Fatdog64, Slacko and Puppeee user. Puppy user since 2.13.
Contributed Fatdog64 packages thread
Back to top
View user's profile Send private message 
ally


Joined: 19 May 2012
Posts: 862
Location: lincoln

PostPosted: Wed 02 Apr 2014, 10:26    Post subject:  

hey guys

awesome work!

couple of Qs please

1. the image to tv through hdmi is over-scanning by about half an icon all round, how do I adjust?

2. sound, no sound out via hdmi - is this to b expected?

regards

Smile
Back to top
View user's profile Send private message Visit poster's website 
jamesbond

Joined: 26 Feb 2007
Posts: 2230
Location: The Blue Marble

PostPosted: Wed 02 Apr 2014, 10:35    Post subject: Re: minor problem with pkeys  

mories wrote:
The pkeys parameter does not work properly. In rc.sysinit is used
Code:
ls /lib/keymaps/${pkeys}*

what do not exist.


Fixed. Patch:
Code:
--- fatdog-scripts/etc/rc.d/rc.sysinit
+++ fatdog-scripts/etc/rc.d/rc.sysinit
@@ -128,14 +128,15 @@
 
 # load keymaps and console fonts - rc.country no longer used
 # modified from original keymap loading code (c) Barry K
 [ -z "$pkeys" ] && [ -e /etc/keymap ] && read pkeys < /etc/keymap
 if [ "$pkeys" ]; then
-       pkeys=$(ls /lib/keymaps/${pkeys}* | sed -ne '1 {s|^.*/||; p}')
+       pkeys_path="$(find /lib/keymaps/ -name "${pkeys}*" | head -n 1)"
+       pkeys=${pkeys_path##*/}
        if [ "$pkeys" ]; then
                echo ${pkeys%%.*} > /etc/keymap
-               zcat /lib/keymaps/$pkeys | loadkmap
+               zcat $pkeys_path | loadkmap
                case $pkeys in
                        de*|be*|br*|dk*|es*|fi*|fr*|it*|no*|se*|pt*)
                                modprobe nls_cp850
                                zcat /lib/consolefonts/lat1-12.psfu.gz | loadfont
                                echo lat1-12.psfu > /etc/fontmap

_________________
Fatdog64, Slacko and Puppeee user. Puppy user since 2.13.
Contributed Fatdog64 packages thread
Back to top
View user's profile Send private message 
jamesbond

Joined: 26 Feb 2007
Posts: 2230
Location: The Blue Marble

PostPosted: Wed 02 Apr 2014, 10:39    Post subject:  

ally wrote:
hey guys

awesome work!

Thanks.

Quote:

1. the image to tv through hdmi is over-scanning by about half an icon all round, how do I adjust?
Try to adjust your TV for "Just Scan". If there is no such thing, try to adjust to zoom factor on your TV. If you're using HDMI-to-VGA or HDMI-to-DVI, then I don't know ... don't have the hardware.

Quote:
2. sound, no sound out via hdmi - is this to b expected?
There is sound. Open terminal and type "speaker-test -t wav -c 2" and you should hear something. If you mean sound from web-browser, launch "fatdog soundcard wizard" from control panel, choose the first entry (output, I think) and from there choose "fix rate at 44100". You should hear sound from web too.

Good luck.

_________________
Fatdog64, Slacko and Puppeee user. Puppy user since 2.13.
Contributed Fatdog64 packages thread
Back to top
View user's profile Send private message 
ally


Joined: 19 May 2012
Posts: 862
Location: lincoln

PostPosted: Wed 02 Apr 2014, 11:09    Post subject:  

thanks jb

both settings issues with the tv - my bad

I was hoping to stream from thedarewall.com but seamonkey is having difficulties, not sure if it's a flash issue (media files not playing on bbc.news website either) but package manager shows flash installed and youtube works ok?

pushing my luck but would a chrome be available in the future?

Smile

edit: could the odroid be used as dlna server using the scripts from shinobar or do they have to be compiled for the arm?

edit2: I've just noticed that the bbc news website is transferring to the mobile (http://m.bbc.co.uk...) presumably because the chipset is from the galaxy s3, this may be why the streaming is proving difficult, can the browser be 'forced' in some way?

pps - sorry for lots of Qs! Smile
Back to top
View user's profile Send private message Visit poster's website 
mories

Joined: 21 Dec 2009
Posts: 43

PostPosted: Wed 02 Apr 2014, 11:38    Post subject: obconf and pkeys  

Thanks jb.

The new obconf working properly. Just a little extra detail: when called from fatdog-control-panel (with obconf %f) an error "unable to extract the file% f" occurs.
I think the solution is to modify obconf.desktop removing the% f.

Regarding pkeys parameter (in my case pkeys=es) finds an appropriate map, but then loadkmap gives an error "not a valid binary keymap".
Back to top
View user's profile Send private message 
jamesbond

Joined: 26 Feb 2007
Posts: 2230
Location: The Blue Marble

PostPosted: Wed 02 Apr 2014, 12:22    Post subject:  

ally wrote:
both settings issues with the tv - my bad

No worries. Glad you can make it work.

Quote:
I was hoping to stream from thedarewall.com but seamonkey is having difficulties, not sure if it's a flash issue (media files not playing on bbc.news website either) but package manager shows flash installed and youtube works ok?

Ok this is something I had to put in BIG CAPITAL letter in the first post (in fact I'm going to edit the post after this reply). I'm sorry if this is going to ruin your world. In the ARM world, with very rare exception, there is NO FLASH. Why? Flash performance on generic ARM cpu is *so bad* that it embarassed Adobe who decided to stop distributing ARM version of Flash for generic ARM a few years ago. Adobe still makes Flash for ARM of course, but:
a) only for Android devices that pay them license
b) only for select Linux manufacturers that pay them license
c) and those Flash player uses some kind of acceleration (either GPU or VPU), so it is very hardware/platform-specific (you can't get a Flash player from Cubieboard2 to run on Odroid, for example).

In FatdogArm, the only platform that has Flash player is OLPC XO-4. Not even OLPC XO-1.75 has it. Why? Because OLPC has paid blanket licensing for Flash player on OLPC XO-4, so you have it. Other platforms don't have it. Sorry Sad

Quote:
pushing my luck but would a chrome be available in the future? Smile

No. I'm not aware of official ARM version of Chrome built by Google. The best we can do is Chromium - but beware that Chromium doesn't come with Flash either ...

On another note, somebody managed to fish Android's Flashplayer and run it under Linux using tricks similar to ndiswrapper (remember that?), using a special library (pepperflash or something) which tricks the Flash player to think that it is running on Android. I'll see if I can get this done, but firstly I need to find Flash player for Odroid if this is going to happen.

EDIT:
Alternatively, Mozilla is trying to break free from Flash: http://mozilla.github.io/shumway/ is a flash player built entirely on Javascript. It works, but it's still in early days and not usable for viewing youtube.

Quote:
edit: could the odroid be used as dlna server using the scripts from shinobar or do they have to be compiled for the arm?

I haven't seen shinobar's scripts. If it is pure scripts (no binaries) then it should work; if it contains binaries (=compiled programs) then they all have to be recompiled for ARM. Note that the kernel may need some settings to be enabled too, I'm not too sure about it. Point me to the right link, I may look at it.

Quote:
edit2: I've just noticed that the bbc news website is transferring to the mobile (http://m.bbc.co.uk...) presumably because the chipset is from the galaxy s3, this may be why the streaming is proving difficult, can the browser be 'forced' in some way?
You can use the usual add-ons to change user agents; but more often than not, mobile websites provide options to switch back to "desktop" views.

mories wrote:
Thanks jb.

The new obconf working properly. Just a little extra detail: when called from fatdog-control-panel (with obconf %f) an error "unable to extract the file% f" occurs. I think the solution is to modify obconf.desktop removing the% f.

Of course. I will clean it. I think there are many more of them that slipped my notice.

Quote:
Regarding pkeys parameter (in my case pkeys=es) finds an appropriate map, but then loadkmap gives an error "not a valid binary keymap".

This is after the patch, I presume? I need a way to test it that I can revert back to US keymap ... but I'll get back to you.

_________________
Fatdog64, Slacko and Puppeee user. Puppy user since 2.13.
Contributed Fatdog64 packages thread

Last edited by jamesbond on Wed 02 Apr 2014, 12:27; edited 2 times in total
Back to top
View user's profile Send private message 
ally


Joined: 19 May 2012
Posts: 862
Location: lincoln

PostPosted: Wed 02 Apr 2014, 12:25    Post subject:  

minidlna link:

http://murga-linux.com/puppy/viewtopic.php?t=56546

thanks

Smile
Back to top
View user's profile Send private message Visit poster's website 
jamesbond

Joined: 26 Feb 2007
Posts: 2230
Location: The Blue Marble

PostPosted: Wed 02 Apr 2014, 12:52    Post subject:  

ally wrote:
minidlna link:
http://murga-linux.com/puppy/viewtopic.php?t=56546


Re-compilation on ARM required. Source?

_________________
Fatdog64, Slacko and Puppeee user. Puppy user since 2.13.
Contributed Fatdog64 packages thread
Back to top
View user's profile Send private message 
ally


Joined: 19 May 2012
Posts: 862
Location: lincoln

PostPosted: Wed 02 Apr 2014, 12:58    Post subject:  

found this: http://sourceforge.net/projects/minidlna/ and

this:https://www.google.co.uk/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0CDIQFjAA&url=http%3A%2F%2Fwww.slackware.com%2F~alien%2Fslackbuilds%2Fminidlna%2Fbuild%2Fminidlna.SlackBuild&ei=4kU8U_Yn6JvUBZ7pgEA&usg=AFQjCNHjrV25wYNxOz2vQ2QbFDhgYz9J-g&sig2=I05tN3HX_Y0hzlglFrvvsg

which I hope is useful

Smile
Back to top
View user's profile Send private message Visit poster's website 
mavrothal


Joined: 24 Aug 2009
Posts: 1794

PostPosted: Wed 02 Apr 2014, 13:23    Post subject:  

jamesbond wrote:

Alternatively, Mozilla is trying to break free from Flash: http://mozilla.github.io/shumway/ is a flash player built entirely on Javascript. It works, but it's still in early days and not usable for viewing youtube.

Most youtube videos are html5 too, so you do not really need flash.
For other sites the ViewTube script for Greasemonkey is pretty effective.
For other (than video) flash content though, you are out of luck.

_________________
Kids all over the world go around with an XO laptop. They deserve one puppy (or many) too Very Happy
Back to top
View user's profile Send private message 
ally


Joined: 19 May 2012
Posts: 862
Location: lincoln

PostPosted: Wed 02 Apr 2014, 15:12    Post subject:  

thanks marv

seen that before, needs to be able to stream thedarewall....

jb - I have have just given a ubuntu mix a spin (http://oph.mdrjr.net/robroyhall/images/ubuntu/u2/Ubuntu-12.11_FullyLoaded-U2-HDMI.20140101.img.xz) and can confirm that streaming works via chromium in that build

I'm not competent enough to find details of the flash (or alternative) that is responsible for the streaming (sorry)

unfortunately too choppy to watch even when fully buffered which was a surprise given the chipset specs

Smile
Back to top
View user's profile Send private message Visit poster's website 
jamesbond

Joined: 26 Feb 2007
Posts: 2230
Location: The Blue Marble

PostPosted: Thu 03 Apr 2014, 05:53    Post subject:  

ally wrote:
seen that before, needs to be able to stream thedarewall....

I never visited thedarewall before, now I just did Smile
It does use (and only use) flash - flowplayer to be exact; and refuse to display when flash isn't there.

But all is not lost. Thedarewall doesn't produce its own content, it only re-hashes somebody else's (the two videos I watched both came from youtube). They aren't even trying to hide it - go to the site, do "view source", then look at "og:video"; and you'll see what I mean. It's trivial to write a simple html scraper to collect the youtube url, and pass this to ViewTube script from mavrothal.

Quote:
jb - I have have just given a ubuntu mix a spin (http://oph.mdrjr.net/robroyhall/images/ubuntu/u2/Ubuntu-12.11_FullyLoaded-U2-HDMI.20140101.img.xz) and can confirm that streaming works via chromium in that build


That's good to know. The question is where they got the Flash player. Really. Unlike the traditional Flash (which you can download from Adobe's site), Pepper Flash isn't distributed by Adobe, it is distributed by Google in their Chrome browser (no separate download) - and is actually internally maintained by Google (instead of Adobe). So you can only get Pepper Flash when you get Chrome. But (as far as I know) there isn't Chrome for ARM (perhaps bundled together with ChromeOS/Chromebooks, but I can't find a separate download page). So where did they get the Pepper Flash player?

I found this http://forum.odroid.com/viewtopic.php?f=8&t=2374. Note that the guys in the forum can't confirm the authenticity of the files. I've downloaded them and keep them (for the time I'm motivated enough to build Chromium) - and a simple "ldd" testing seems to confirm that all the library dependencies are satisfied, which means it *should* work on FatdogArm. But beware, this is unofficial sources, no updates, etc.

Quote:
I'm not competent enough to find details of the flash (or alternative) that is responsible for the streaming (sorry)
No worries, see my reply above. It is trivial for someone to write a script to pull the stream off thedarewall.

Quote:
unfortunately too choppy to watch even when fully buffered which was a surprise given the chipset specs


I haven't run Ubuntu on Odroid for a significant of time; but according to Mick, he found that Ubuntu is slow. Plus I did say that Flash (without acceleration) is slow Smile (As of today, Pepper Flash on Linux doesn't use any acceleration).

I'll look into that minidlna stuff.

@All
By the way - the "bison" and "flex" packages in devx is built wrongly. I have corrected them. If you need to build something that uses either of them, please re-install the packages from the repo.

_________________
Fatdog64, Slacko and Puppeee user. Puppy user since 2.13.
Contributed Fatdog64 packages thread
Back to top
View user's profile Send private message 
ally


Joined: 19 May 2012
Posts: 862
Location: lincoln

PostPosted: Thu 03 Apr 2014, 06:57    Post subject:  

thank you

not many streams come from youtube, popular ones are putlocker (firedrive?), allmyvideos and ishared

I did find a hack a while ago (can't find it now) that ran putlocker through a media player (think it was vlc) but only putlocker as they showed the stream url in the source code

thanks for your efforts!

Smile
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 3 of 8 [114 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1078s ][ Queries: 11 (0.0046s) ][ GZIP on ]