![]() |
May dietpi save Pine64 ; watch youtube via chromium - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: General (https://forum.pine64.org/forumdisplay.php?fid=1) +--- Forum: Getting Started (https://forum.pine64.org/forumdisplay.php?fid=21) +--- Thread: May dietpi save Pine64 ; watch youtube via chromium (/showthread.php?tid=2921) Pages:
1
2
|
May dietpi save Pine64 ; watch youtube via chromium - hatahata - 12-08-2016 hi all . i use pine64+ . i watch youtube very smoothly ![]() ![]() 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 ![]() ( the others ) B /etc/default/keyboard C dpkg-reconfigure tzdata dpkg-reconfigure locales ( do not remove en_GB.UTF-8 ![]() 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 RE: dietpi is great; watch youtube via chromium - Luke - 12-08-2016 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. RE: dietpi is great; watch youtube via chromium - hatahata - 12-08-2016 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 RE: dietpi is great; watch youtube via chromium - joe - 12-08-2016 (12-08-2016, 06:12 PM)hatahata Wrote: i use pine64+ 1GB memory . if you use longsleep archlinux image , end of supported , so you can't play youtube RE: May dietpi save Pine64 ; watch youtube via chromium - hatahata - 02-06-2017 now i set swap as 16GB(USB hard disk ) . youtube is smooth . -------------------------- regards RE: May dietpi save Pine64 ; watch youtube via chromium - kenneth558 - 03-08-2017 Quote:hatahatanow i set swap as 16GB(USB hard disk ) . 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: root@DietPi:~# dphys-swapfile setup 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: root@DietPi:~# free 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! RE: May dietpi save Pine64 ; watch youtube via chromium - pfeerick - 03-08-2017 (03-08-2017, 06:52 PM)kenneth558 Wrote: 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? ![]() RE: May dietpi save Pine64 ; watch youtube via chromium - kenneth558 - 03-09-2017 (03-08-2017, 10:47 PM)pfeerick Wrote:(03-08-2017, 06:52 PM)kenneth558 Wrote: 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: root@DietPi:~# cat /proc/swaps RE: May dietpi save Pine64 ; watch youtube via chromium - xalius - 03-09-2017 Can someone explain to me why you would A) need swap in the first palce and B) use non-standard tools to implement it? RE: May dietpi save Pine64 ; watch youtube via chromium - kenneth558 - 03-09-2017 (03-09-2017, 07:20 AM)kenneth558 Wrote:(03-08-2017, 10:47 PM)pfeerick Wrote:(03-08-2017, 06:52 PM)kenneth558 Wrote: (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. |