Installing VS Code (& Chromium)
#11
pfeerick: you are correct, it is missing chromium install commit Smile
Homepage: https://ayufan.eu

Releases:
Rock/Pro 64/Pinebook Pro: LinuxChromium OS
So/Pine A64/Pinebook: LinuxAndroid 6.0Android 7.1

Buy me a Beer
  Reply
#12
These settings considerably improve chromium performance- please test them out and offer feedback.

In chromium searchbar type: Chrome://flags
Set the following:

Experimental canvas features - enable
Smooth Scrolling - disable
Number of raster threads - 4
Memory ablation experiment - enable (or 100mb - try both)

If this improves the performance for others, Prophesi would you please include these flags in your first post please ?
You can find me on IRC, Discord and Twitter


  Reply
#13
(05-13-2017, 07:53 AM)Luke Wrote: These settings considerably improve chromium performance- please test them out and offer feedback.

In chromium searchbar type: Chrome://flags
Set the following:

Experimental canvas features - enable
Smooth Scrolling - disable
Number of raster threads - 4
Memory ablation experiment - enable (or 100mb - try both)

If this improves the performance for others, Prophesi would you please include these flags in your first post please ?

I recommend the smooth scrolling be disabled by default if possible... smooth graphics is not a strong point of the pinebook... so any unnecessary screen updates we can get rid of the better. It looks like --disable-smooth-scrolling is the command line flag for that, so it could be added to the /etc/chromium-browser/defaults file as part of the image?

Hard to tell the impact of the other settings... it seems a bit quicker, but it could be mind over matter. I wasn't able to enable the memory ablation flag as it hasn't available in my build.

This will be handy reference to keep in mind when playing with the chromium flags: List of Chromium Command Line Switches
  Reply
#14
I suggest to use

Code:
cat > "/etc/chromium-browser/default" <<EOF
# Default settings for chromium-browser. This file is sourced by /bin/sh from
# /usr/bin/chromium-browser

# Options to pass to chromium-browser
CHROMIUM_FLAGS="\
--disable-smooth-scrolling \
--disable-low-res-tiling \
--enable-low-end-device-mode \
--num-raster-threads=4 \
--profiler-timing=0 \
--disable-composited-antialiasing \
"
EOF

Those settings have been added to the desktop installer in https://github.com/longsleep/build-pine6...d56135feef

Also useful is the "No MouseWheel Zoom" https://chrome.google.com/webstore/detai...pnnaekhlhd extension to get rid of the zoom when two finger scrolling.

Make sure to restart chromium after installing the extension of changing the commandline flags.
  Reply
#15
Thanks for the guide on installing VS Code! I love that text editor over the others.

However, I can't seem to get it to install even after the instructions. Running it via console, I get the following error.

/usr/share/code-oss/code-oss: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory

Doesn't seem like libgtk-x11 is in the common repositories. Any ideas?
[ PHP Developer | Pinebook 1G | About me ]
  Reply
#16
https://packages.ubuntu.com/search?searc...l&arch=any says it is in this package https://packages.ubuntu.com/xenial/libgtk2.0-0

Make sure to install the armhf version... apt install libgtk2.0-0:armhf
Come have a chat in the Pine A64 IRC channel >>
  Reply
#17
You might also want to do the following also if armhf architecture isn't already enabled... might help apt auto-switch on it's own if needed Wink

sudo dpkg --add-architecture armhf
sudo apt update
  Reply
#18
Thanks so much to Prophesi for these VS Code instructions.  Just what I was looking for!
 - Brent -
  Reply
#19
Not being the most knowledgable Linux user, is the recently (within past 2 months) released arm64 version -
code-oss_1.14.0-1497990006_arm64.deb available at https://packagecloud.io/headmelted/codebuilds not installable on Pinebook?

I've tried, but encounter the same error mentioned by Soupbowl above.
  Reply
#20
I didn't have the same errors, but I had a lot of errors down the road, like having to do a scary "apt-get -f update" at some point forcing me to manually write "Yes, do as I say." before it completely broke my system...
So any news on newest howtos?
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Installing software cmh2010 5 699 05-30-2019, 02:54 AM
Last Post: markcuban56
  Chromium OS? Devilotx 4 1,758 01-31-2019, 03:19 AM
Last Post: soupbowl
Music Problems using Spotify Web version because DRM (Firefox & Chromium) Ekkaia 6 1,619 09-07-2018, 02:23 AM
Last Post: JerrySmith1021
  Disable pinch-to-zoom in chromium angry_elf 15 3,498 08-31-2017, 06:00 AM
Last Post: combs
  Chromium for Q4OS q4osteam 0 603 06-21-2017, 08:09 AM
Last Post: q4osteam

Forum Jump:


Users browsing this thread: 1 Guest(s)