May dietpi save Pine64 ; watch youtube via chromium
#1
Video 
hi all .

i use pine64+ .
i watch youtube very smoothly Heart  and sound comes from TV . Heart


the smooth youtube example  is the right . --->    youtube  .

installing main story is

1)  dietpi-config
      advanced option ---> swap (1024M)


2) dietpi-software 
     ---> Software optimized 
     ---> lxde chromium
     ---> desktop
                ---> install

3) adduser pi
    cat .xinitrc -> startlxde 

all is done for youtube Tongue   .


( the others )
B
/etc/default/keyboard



dpkg-reconfigure tzdata
dpkg-reconfigure locales  ( do not remove en_GB.UTF-8 Angry )


E apt-get install aptitude
 

G japanese
aptitude install fonts-takao-gothic
aptitude install ibus-anthy im-config zenity


H aptitude install slim
      nano /etc/slim.conf 


I  aptitude install ffmpeg

in this stage , pine64 can show it's full power !
namely pine64 is a very good car but till now driver is poor .
now we hire cena F1 racer driver .


------
regards
  Reply
#2
Thanks for sharing. Do you think that it works better on dietpi than other Linux images ? Also, what resolution is the video playing at? Just asking out of curiosity.
You can find me on IRC, Discord and Twitter


  Reply
#3
i use pine64+ 1GB memory .

i try archlinux , but it cannot play youtube .

by debian , it play youtube by midori but it can not play youtube smoothly .
namely not a movie but a commic .

only android plays youtube smoothly but i do not like android .

the resolution is dependent of TV and redolution setting .
-----
regards
  Reply
#4
(12-08-2016, 06:12 PM)hatahata Wrote: i use pine64+ 1GB memory .

i try archlinux , but it cannot play youtube .

by debian , it play youtube by midori but it can not play youtube smoothly .
namely not a movie but a commic .

only android plays youtube smoothly but i do not like android .

the resolution is dependent of TV and redolution setting .
-----
regards


if you use longsleep archlinux image ,  end of supported , so you can't play youtube
If I am wrong please correct my content , thank !



1. Use Pine64 Running Ubuntu 16.04 Web Server ( LAMP )

2. Use Pine64 Running Official Android 6  for Media player
3. Use Pine64 Running Volumio Digital Audio Player





  Reply
#5
now i set swap as 16GB(USB hard disk ) .
youtube is smooth .
--------------------------
regards
  Reply
#6
Quote:hatahatanow i set swap as 16GB(USB hard disk ) .
youtube is smooth .
--------------------------
regards


I sure do want to watch youtubes like you.  I don't know why I only get stop-and-go response of the videos.  When I try to specify the amount of swap that you're using:



Code:
[email protected]:~# dphys-swapfile setup
want /mnt/8ccd4c9a-baa0-4717-83e3-ff582354a048/.swapfile=28000MByte, restricting to config limit: 2048MBytes, (etc...)

So apparently I have the maximum size swap file I am allowed at about 2Gb.  The stated valid range goes up to 2000Mb only. I am using a 32Gb USB Kingston flash drive (dedicated, with a formatted swap fs).  Running the mount command does NOT show my flash drive mounted, but the free, blkid, and cat /proc/swaps commands show:

Code:
[email protected]:~# free
             total       used       free     shared    buffers     cached
Mem:       2036460     262112    1774348      10356      18116     132948
-/+ buffers/cache:     111048    1925412
Swap:      2097148          0    2097148

[email protected]:~# blkid|grep sdb
/dev/sdb1: UUID="8ccd4c9a-baa0-4717-83e3-ff582354a048" TYPE="swap" PARTUUID="e35da128-01"

[email protected]:~# cat /proc/swaps
Filename                Type        Size    Used    Priority
/mnt/8ccd4c9a-baa0-4717-83e3-ff582354a048/.swapfile file        2097148    0    -1
The mount command shows NOTHING mounted relative to /dev/sdb1, my swap flash partition.

This is a new u-SD card, freshly imaged and installed with your options, except that I'm not using a pi user, just root.  Could that be my problem?  I wasn't really clear on your step of adding the pi user and changing (?) that rc init file.  That rc init file doesn't exist on my system.


Any ideas?  Thanks!
  Reply
#7
(03-08-2017, 06:52 PM)kenneth558 Wrote:
Code:
[email protected]:~# dphys-swapfile setup
want /mnt/8ccd4c9a-baa0-4717-83e3-ff582354a048/.swapfile=28000MByte, restricting to config limit: 2048MBytes, (etc...)

I'm not familiar with that command (used to just creating a swap partition and then enabling it), but since you've run the  dphys-swapfile setup command... have you run dphys-swapfile swapon to then actually enable the swapfile usage? It appears you need to run both commands?  Huh
  Reply
#8
(03-08-2017, 10:47 PM)pfeerick Wrote:
(03-08-2017, 06:52 PM)kenneth558 Wrote:
Code:
[email protected]:~# dphys-swapfile setup
want /mnt/8ccd4c9a-baa0-4717-83e3-ff582354a048/.swapfile=28000MByte, restricting to config limit: 2048MBytes, (etc...)

I'm not familiar with that command (used to just creating a swap partition and then enabling it), but since you've run the  dphys-swapfile setup command... have you run dphys-swapfile swapon to then actually enable the swapfile usage? It appears you need to run both commands?  Huh

Yes, I did but didn't think to include it because the swapon command produced no response.  My bad in not posting that info.  Thank you kindly for asking.  Did you enable swap via fstab instead?  

Come to think of it, that cat /proc/swaps command output must have gotten chopped off somehow.  It is actually:
Code:
[email protected]:~# cat /proc/swaps
Filename                                            Type        Size    Used    Priority
/mnt/8ccd4c9a-baa0-4717-83e3-ff582354a048/.swapfile file        2047996    0    -1
  Reply
#9
Can someone explain to me why you would A) need swap in the first palce and B) use non-standard tools to implement it?
Come have a chat in the Pine A64 IRC channel >>
  Reply
#10
(03-09-2017, 07:20 AM)kenneth558 Wrote:
(03-08-2017, 10:47 PM)pfeerick Wrote:
(03-08-2017, 06:52 PM)kenneth558 Wrote:
Code:
[email protected]:~# dphys-swapfile setup
want /mnt/8ccd4c9a-baa0-4717-83e3-ff582354a048/.swapfile=28000MByte, restricting to config limit: 2048MBytes, (etc...)

I'm not familiar with that command (used to just creating a swap partition and then enabling it), but since you've run the  dphys-swapfile setup command... have you run dphys-swapfile swapon to then actually enable the swapfile usage? It appears you need to run both commands?  Huh

Yes, I did but didn't think to include it because the swapon command produced no response.  My bad in not posting that info.  Thank you kindly for asking.  Did you enable swap via fstab instead?  

Come to think of it, that cat /proc/swaps command output must have gotten chopped off somehow.  It is actually:
Code:
[email protected]:~# cat /proc/swaps
Filename                                            Type        Size    Used    Priority
/mnt/8ccd4c9a-baa0-4717-83e3-ff582354a048/.swapfile file        2047996    0    -1

(03-09-2017, 10:29 AM)xalius Wrote: Can someone explain to me why you would A) need swap in the first palce and B) use non-standard tools to implement it?

A) Guessing that  I don't need swap (for youtubing, at least), and
B) I actually discovered that dphys-swapfile is a standard part of Ubuntu in the course of this.  I'm guessing that using a swap file instead of a swap partition is when you'd use use it. It is how the command-lining behind the whiptail GUI-like DietPi configurator tool handles swap.
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Emails from pine64 received as spam by gmail Matan 2 104 08-21-2019, 08:30 AM
Last Post: Leiaz
  PINE64 Installer - Simple Way to Image Your MicroSD pineadmin 100 28,516 08-05-2019, 01:24 AM
Last Post: pineadmin
  How to handle a Pine64 correctly gbjensen 6 5,171 03-28-2019, 11:43 PM
Last Post: InsideJob
  Dietpi marekf 1 143 03-22-2019, 01:49 PM
Last Post: Violette
Information Creating a NAS server in Pine64 javi_cala 4 1,909 01-21-2019, 02:03 AM
Last Post: bartes
  The 6 most common reasons why Pine64 won't boot Andrew2 109 64,528 10-11-2018, 11:35 PM
Last Post: Technolab88
  Pine64 installer way slow flashing Paraplegic Racehorse 2 378 01-10-2018, 04:05 PM
Last Post: dkryder
  Pine64 Ubuntu Mate No Sound adamjedgar 3 862 11-06-2017, 02:53 AM
Last Post: Luke
  Upgrading Memory on PINE64 + 2GB Osh818 2 1,163 04-24-2017, 10:12 PM
Last Post: Osh818
  Mini-Tutorial to get a linux Desktop GUI working on Pine64+ speedro86 15 6,534 04-05-2017, 01:45 PM
Last Post: speedro86

Forum Jump:


Users browsing this thread: 1 Guest(s)