Author Topic: Falcon Player - Install Instructions - Beaglebones - dkulp image  (Read 819 times)

Offline dkulp

  • Sr. Member
  • ****
  • Join Date: Sep 2013
  • Location: Framingham, MA
  • Posts: 446
  • Kudos: 13
Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
« Reply #15 on: November 08, 2017, 05:20:33 PM »
I just pushed a change to the branch that may obsolete most of the instructions above for formatting the cards.   From the settings page, if you select an unmounted partition, it will now prompt if you want to reformat the partition with one of the supported filesystems.   It will then format it and set it properly.     Again, it's only for unmounted devices.  The best way to make sure of that is to boot without the card inserted, then insert the card, and then go to the settings page.


The part it doesn't do is the sfdisk stuff to wipe the card and create a single partition of the full size.   However, most cards only have a single partition of the full size anyway so this is likely not a huge deal.   


Anyway, if folks could give it a quick test, that would be great.  Thanks!
Dan Kulp

Offline JonB256

  • Supporting Member
  • ******
  • Join Date: Mar 2013
  • Location: Granbury, Texas
  • Posts: 3,863
  • Kudos: 81
    • Granbury Christmas Lights
Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
« Reply #16 on: November 08, 2017, 07:56:35 PM »
first attempt, now reading this in the list of mounts for my media. (last line)

/dev/mmcblk0p1 on /home/fpp/media type ext4 (rw,noatime,nodiratime,data=ordered)

Was reluctant to display the newly saved DNS name until a reboot. Said it was saving but just wouldn't display.
After the reboot, everything seems to be saving normally.
« Last Edit: November 08, 2017, 08:17:17 PM by JonB256 »

Offline JonB256

  • Supporting Member
  • ******
  • Join Date: Mar 2013
  • Location: Granbury, Texas
  • Posts: 3,863
  • Kudos: 81
    • Granbury Christmas Lights
Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
« Reply #17 on: November 08, 2017, 08:22:07 PM »
The ext4 format was NOT the problem - turns out the Edimax wifi dongle is the culprit

File save speed to the uSD using ext4 is HORRIBLY slow. Snails pace.

The BBG I set up yesterday using btrfs on uSD saves at normal speed

The BBG I set up tonight using ext4 is painfully slow
When I copied a file using Windows file explorer, it was slow, showing 305kb/s, then gave an error about having trouble. When I cleared the error, that file transferred very quickly and seems normal (size and date).
« Last Edit: November 09, 2017, 03:16:19 PM by JonB256 »

Offline JonB256

  • Supporting Member
  • ******
  • Join Date: Mar 2013
  • Location: Granbury, Texas
  • Posts: 3,863
  • Kudos: 81
    • Granbury Christmas Lights
Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
« Reply #18 on: November 08, 2017, 09:10:22 PM »
I enabled most logging and then started another download.

I didn't find anything (yet) in the logs but did try to download them using the Zip button.

On both the ext4 and btrfs configured BBGs, that crashed the browser session with an "unable to handle this request" message.
Hitting the back arrow took me back to the still working FPP interface.

Offline jnealand

  • Developer
  • ******
  • Join Date: Aug 2013
  • Location: Kennesaw, GA
  • Posts: 2,189
  • Kudos: 41
Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
« Reply #19 on: November 09, 2017, 11:19:34 AM »
I have several of them and they work great with the Pi FPP and they have been working with the June version.  Historically I know there were solutions posted on the Falcon Player section but I have not been able to find it.  Search seems to be abysmal on the forum.
Jim Nealand
Kennesaw, GA
Lynx, Falcon, XL, FPP

Offline dkulp

  • Sr. Member
  • ****
  • Join Date: Sep 2013
  • Location: Framingham, MA
  • Posts: 446
  • Kudos: 13
Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
« Reply #20 on: November 09, 2017, 12:22:24 PM »


I just did some scp copies of a 800MB fseq file from my local machine to a BBB with all three file systems and they ranged from 5.8MB/s to 6.1MB/s which is well within range of each other to say they were "close enough" to be the same.   




Offline JonB256

  • Supporting Member
  • ******
  • Join Date: Mar 2013
  • Location: Granbury, Texas
  • Posts: 3,863
  • Kudos: 81
    • Granbury Christmas Lights
Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
« Reply #21 on: November 09, 2017, 12:38:39 PM »


I just did some scp copies of a 800MB fseq file from my local machine to a BBB with all three file systems and they ranged from 5.8MB/s to 6.1MB/s which is well within range of each other to say they were "close enough" to be the same.
The BBB with uSD using ext4 that is so slow was created using your newest script method. I'll try it again and see what happens.

The btrfs setup is getting speeds like you listed.

Sent from my SM-G955U using Tapatalk


Offline JonB256

  • Supporting Member
  • ******
  • Join Date: Mar 2013
  • Location: Granbury, Texas
  • Posts: 3,863
  • Kudos: 81
    • Granbury Christmas Lights
Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
« Reply #22 on: November 09, 2017, 02:41:48 PM »
Ok, I never did get ext4 to work right so I went "scorched earth" and started over.

Connected via computer USB with no Cape and no Wireless
Held down S2 while powering up. uSD card had the Sep 20 image on it.
Waited until I had access via 192.168.7.2  (Windows computer)
Went to FPP Settings / Advanced
Reflash eMMC using the option at the bottom
It ran and ran and ran and finally powered down
Removed uSD with the image. Left slot empty
Powered back up. Still nothing installed but the USB power from my PC and Ethernet cable
Waited until I had access via 192.168.7.2
Let the BBG fully update to  v1.9-bbb-89-g400ff1b (bbb-stretch-v1.x branch
then I inserted a 32gb uSD that had been cleared with SD Formatter
Went to FPP Settings. Then I picked the uSD card from the list
It prompted me for my format choices. I picked ext4
waited until it finished.
Rebooted
Now, I tested my file transfer speeds. YAY !!  Back to normal.

I do not know why it was so slow. But, it is working now.


Offline JonB256

  • Supporting Member
  • ******
  • Join Date: Mar 2013
  • Location: Granbury, Texas
  • Posts: 3,863
  • Kudos: 81
    • Granbury Christmas Lights
Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
« Reply #23 on: November 09, 2017, 02:50:58 PM »
But wait - early celebration

I tested the file transfer using the 192.168.7.2 (USB) interface.
It was normal speeds

After setting up my Edimax dongle with a fixed IP address and removing the CAT5 (which was DHCP)
and then going to
192.168.0.66 (my static address)

File transfer is now slow again. Very slow.

The obvious next question is - what is the speed using that CAT5 DHCP connection (with no WiFi dongle)
The answer is - the speed is fast and normal.

So, my problem is with the WiFi, not with the formatting of the uSD card.

I'll try a different dongle

and, crap, it's the dongle. Swapped dongles with the previously fast "BTRFS" BBG. Now it is slow.
Stupid thing is brand new, too.
« Last Edit: November 09, 2017, 03:25:14 PM by JonB256 »

Offline dkulp

  • Sr. Member
  • ****
  • Join Date: Sep 2013
  • Location: Framingham, MA
  • Posts: 446
  • Kudos: 13
Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
« Reply #24 on: November 09, 2017, 04:59:44 PM »
I have several of them and they work great with the Pi FPP and they have been working with the June version.  Historically I know there were solutions posted on the Falcon Player section but I have not been able to find it.  Search seems to be abysmal on the forum.


Jim,


I think there are WIFI issues with the Kernel that was the latest kernel when I created the image.   Can you run a few things and see if the WIFI works.   If so, I'll create a new image with a new kernel.


Can you login to the command line do the following steps:


1) cd /opt/scripts/tools/
2) sudo ./update_kernel.sh
3) sudo reboot


Step2 will take a few minutes.   After the reboot, then (again from command line), run:


1) sudo apt-get install linux-headers-4.4.91-ti-r137
2) cd /opt/rtl8192cu-fixes
3) sudo dkms install 8192cu/1.10
4) reboot


Then let me know if the wifi works with the WiPi adapter.    ONE of my cheap wifi adapters didn't work with the image fresh installed, but once I did all that, it started working. 


John:  you might want to try that as well.   It might be the Wifi driver and not the adapter.     


That said, I'd recommend going with the 802.11n adapters that claim the 300MB/s speed instead of the 150.  They generally use the 8192cu driver which seems to work well.




Offline jnealand

  • Developer
  • ******
  • Join Date: Aug 2013
  • Location: Kennesaw, GA
  • Posts: 2,189
  • Kudos: 41
Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
« Reply #25 on: November 09, 2017, 07:21:01 PM »
I can try that tomorrow.  At the moment I have a purloined edimax in the unit and it is sealed up outside.  I can also try it with my BBG backup unit which is sitting on my workbench.  I currently have a bigger problem in that I can access the BBB, upload sequences, manage the configuration, run display testing, but can not play a sequence in test mode or via multisync.  The master can copy stuff to the BBB, I can copy stuff to the BBB, but I cannot play anything that is on the uSD card which I formatted in ext4.  I just switched the settings to go back to using the EMMC memory for data and need to see if that will let me play a seq.  If that works it is either a problem with the ext4 format when playing a seq or a bad uSD.  Since I can copy to the uSD and view all the files on it I'm leaning towards something wrong with ext4.  I have a Patriotic playlist I am hoping to run this weekend and that is my current focus for Friday during the day along hooking up a few more props that I tested today.  Today was the first fairly dry day all week.  yuk.

Offline jnealand

  • Developer
  • ******
  • Join Date: Aug 2013
  • Location: Kennesaw, GA
  • Posts: 2,189
  • Kudos: 41
Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
« Reply #26 on: November 09, 2017, 08:30:43 PM »
Tried your commands on my BBG, but I am getting an access error.  Here are two snips showing FPP version and the ssh window.  I used the USB cable and the 192.168.7.2 ip address to get into the system, then used the help system ssh access.  My DNS is pointing to my home router and to 8.8.8.8.   

I'm off to bed now.

Offline JonB256

  • Supporting Member
  • ******
  • Join Date: Mar 2013
  • Location: Granbury, Texas
  • Posts: 3,863
  • Kudos: 81
    • Granbury Christmas Lights
Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
« Reply #27 on: November 09, 2017, 08:37:27 PM »
I successfully ran all those updates but still, my Edimax dongle is just too slow for words. Something definitely wrong with it.

Also, Jim - I have a WiPi - tried it - no, it didn't come up for me.

Will be testing "remote" for btrfs and ext4 momentarily

Jim - both of my new Remotes are playing their files. One is ext4, the other is btrfs. 
Be sure you restarted FPPD after checking the boxes on the Master's Multisync page.
« Last Edit: November 09, 2017, 09:18:50 PM by JonB256 »

Offline JonB256

  • Supporting Member
  • ******
  • Join Date: Mar 2013
  • Location: Granbury, Texas
  • Posts: 3,863
  • Kudos: 81
    • Granbury Christmas Lights
Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
« Reply #28 on: November 09, 2017, 09:36:20 PM »
Dan, I am seeing HUGE compression rates on the btrfs volume. I have added several Gigabytes of FSEQ files but the storage size has barely changed.

You could probably use a 4gb uSD drive in place of a 16gb or 32gb.

Offline dkulp

  • Sr. Member
  • ****
  • Join Date: Sep 2013
  • Location: Framingham, MA
  • Posts: 446
  • Kudos: 13
Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
« Reply #29 on: November 10, 2017, 06:38:24 AM »
Dan, I am seeing HUGE compression rates on the btrfs volume. I have added several Gigabytes of FSEQ files but the storage size has barely changed.

You could probably use a 4gb uSD drive in place of a 16gb or 32gb.


Yea...   My 7GB of halloween sequences fit in about 800MB of space.  :)   The fseq files compress REALLY well.   The MP3's don't.   If you run "btrfs filesystem df /home/fpp/media" you can get an idea of total size vs used.     


For next year, I'm thinking of changing the flash to eMMC script to to create a small 128MB "boot" partition and then make the root partition a compressed btrfs.  Should allow using the eMMC for smaller shows.

 

Back to top