# Ubuntu
# ++++++
# Set default C++ compiler
sudo update-alternatives --install /usr/bin/cc cc /usr/bin/clang-6.0 102
sudo update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang++-6.0 102
or
sudo update-alternatives --config cc
sudo update-alternatives --config c++
# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY="true"
# To reload environment variables
source ~/.bash_profile
sudo nano /etc/default/grub
Find out this line:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
Change it to:
GRUB_CMDLINE_LINUX_DEFAULT="text"
GRUB_SAVEDEFAULT=true
GRUB_DEFAULT=saved
Update Grub:
sudo update-grub
# To change timezone
sudo dpkg-reconfigure tzdata
# get info of deb file
dpkg-deb -I cuda-repo-ubuntu1804_10.0.130-1_amd64.deb
# remove or uninstall deb package
dpkg -r cuda-repo-ubuntu1804
# extract a debian
ar x package.deb
$ cat /usr/local/bin/sudo-gdb
#!/bin/sh
sudo gdb $1 $2 $3 $4 $5 $6 $7 $8 $9
sudo vi /etc/sudoers.d/gowtham-gdb
gowtham ALL=(root) NOPASSWD: /usr/bin/gdb
To list object files in an archive:
ar tf lib.a
Packaging
pbuilder-dist trusty login --save-after-login
sudo apt-get install software-properties-common python-software-properties
sudo apt-add-repository ppa:satyagowtham-k-gmail/ferryfair.ppa
To rescan partitions after partitioning
sudo partprobe /dev/sdc
sudo stop lightdm
sudo vi /etc/bind/db.ferryfair.com
;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA ferryfair.com. root.ferryfair.com. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS ferryfair.com.
@ IN A 192.168.137.1
@ IN AAAA ::1
www IN A 192.168.137.2
fairplay IN A 192.168.137.2
sturdycat IN A 192.168.137.1
VBUbu IN A 192.168.137.2
deb IN A 192.168.137.2
sudo vi /etc/bind/named.conf.options
forwarders {
8.8.8.8;
};
dnssec-validation no;
sudo vi /etc/bind/named.conf.default-zones
zone "ferryfair.com" {
type master;
file "/etc/bind/db.ferryfair.com"
};
sudo vi /etc/apache2/sites-available/deb.conf
ServerAdmin admin@ferryfair.com
ServerName deb.ferryfair.com
DocumentRoot /home/gowtham/www/deb/
Options FollowSymLinks
AllowOverride None
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
Require all granted
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
AllowOverride None
Options ExecCGI -MultiViews SymLinksIfOwnerMatch
Order allow,deny
Allow from all
ErrorLog ${APACHE_LOG_DIR}/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/access.log combined
Install linux headers for current linux image
sudo apt-get install linux-headers-$(uname -r)
Remove linux kernel
sudo apt-get remove linux-image-3.16.0-armv7-lpae-x2 --purge
sudo apt-get install bash-completion
#install debug symbols
sudo apt install libhsa-runtime64-1-dbgsym
## freeup disk space
apt autoremove #uninstalls dangling packages
apt autoclean #deletes not currently not installed packages from cache
apt clean #deletes entiler package cache
# remove system logs that are more than 3days old
sudo journalctl --vacuum-time=3d
Screen
======
$ screen -L sudo dist/Debug/GNU-Linux-x86/ferrymediaserver -s normal sudopassword Ctrl a? Ctrl ad Open another terminal
ctrl+ah - dumps to log
$ screen -ls
$ screen -D -R
sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
sudo systemctl unmask sleep.target suspend.target hibernate.target hybrid-sleep.target
$ sudo vi /etc/fstab
=====================
UUID=CA009B90009B825D /media/Mammoth ntfs rw,nosuid,nodev,noatime,allow_other 0 0
$ blkid
gives UUID
$ ifconfig eth0 hw ether 00:80:48:45:34:d4
Configuring Transmission daemon
sudo usermod -a -G debian-transmission pi
Sound or audio divices list
$ lsmod | grep snd
$ aplay -l
/etc/X11/xorg.conf containing:
Section "Device"
Identifier "Configured Video Device"
EndSection
Section "Monitor"
Identifier "Configured Monitor"
HorizSync 30.0-62.0
VertRefresh 50.0-70.0
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024x768" "800x600"
EndSubSection
EndSection
VMWare tools
sudo apt-get install open-vm-tools open-vm-tools-desktop
after login, run
vmware-user-suid-wrapper --name=vmuser
sudo vmware-toolbox-cmd disk shrink /
Process listening on a port
$ lsof -i :8000
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
squid3 1289 proxy 15u IPv6 14810490 0t0 TCP *:8000 (LISTEN)
$ ps -fp 1289
UID PID PPID C STIME TTY TIME CMD
proxy 1289 1 0 09:48 ? 00:00:00 /usr/sbin/squid3 -N -f /etc/squid-deb-proxy/squid-deb-proxy.conf
C_INCLUDE_PATH (for C header files) or CPLUS_INCLUDE_PATH (for C++ header files)
To find release name
lsb_release -a
# Add new ppa
sudo apt-add-repository ppa:satyagowtham-k-gmail/ferryfair.ppa
sudo apt-get update
sudo apt-add-repository remove ppa:satyagowtham-k-gmail/ferryfair.ppa
# or remove ppa
sudo ppa-purge ppa:satyagowtham-k-gmail/ferryfair.ppa
Mount network samba share
sudo apt-get install cifs-utils
sudo mkdir -p /mnt/windows/share-name && sudo mount -t cifs //machine-name/share-name /mnt/windows/share-name -o username=your-username,password=your-password,domain=your-domain,rw,uid=$UID,gid=$GID,vers=1.0
Install a font
cp -Rp ../Droid_Sans /usr/local/share/fonts/truetype/
p - create directory if not present; p for parent.
# Search for a package containing the file
dpkg -S /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
apt-file find libcrypto.so.1.0.0
# find package versions
apt-cache madison ffmpeg
## list files in a package
dpkg-query -L libc++1-14
## dpkg install with dependencies
- after failed `dpkg -i` do `apt install -f`
# mark a package as automatically installed if marked manually
# if a package is marked automatic then `apt autoremove` will remove it
apt-mark auto libnvinfer8
echo "deb http://ppa.launchpad.net/satyagowtham-k-gmail/ferryfair.ppa/ubuntu xenial main" > /etc/apt/sources.list.d/satyagowtham-k-gmail-ubuntu-ferryfair_ppa-xenial.list
echo "# deb-src http://ppa.launchpad.net/satyagowtham-k-gmail/ferryfair.ppa/ubuntu xenial main" >> /etc/apt/sources.list.d/satyagowtham-k-gmail-ubuntu-ferryfair_ppa-xenial.list
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 80FAE6FBB99215FA
copy files into multiple directories
echo dir1 dir2 dir3 | xargs -n 1 cp file1
http://chris-reilly.org/blog/ubuntu-macbook-trackpad/
Install grub to different disc
sudo mount /dev/sda3 /mnt
sudo grub-install --root-directory=/mnt /dev/sdb
# ssl certs
sudo letsencrypt certonly --standalone -d ferryfair.com -d FerryFair.com -d www.ferryfair.com -d WWW.FerryFair.com -d rosy.ferryfair.com -d Rosy.FerryFair.com -d mail.ferryfair.com -d mail.FerryFair.com -d roundcube.ferryfair.com -d RoundCube.FerryFair.com -d fairplay.ferryfair.com -d FairPlay.FerryFair.com -d ferry.ferryfair.com -d Ferry.FerryFair.com -d mysqlclient.ferryfair.com -d squirrelmail.ferryfair.com -d vpn.ferryfair.com -d RPi1B2.ferryfair.com -d RPi3B.ferryfair.com -d RT-N18U.ferryfair.com -d Deepthi-PC.ferryfair.com RPi3BP.ferryfair.com
certbot renew
# LC_ALL
sudo vi /etc/default/locale
LC_ALL = "en_US.UTF-8"
LC_CTYPE = "en_US.UTF-8"
LANG = "en_US.UTF-8"
LANGUAGE = "en_US.UTF-8"
# Setup strongswan IKEV2 vpn server
sudo apt-get install strongswan strongswan-plugin-eap-mschapv2 moreutils iptables-persistent
mkdir vpn-certs
cd vpn-certs
ipsec pki --gen --type rsa --size 4096 --outform pem > ferryfair.com.key
chmod 600 ferryfair.com.key
ipsec pki --self --ca --lifetime 3650 \
--in ferryfair.com.key \
--type rsa --dn "C=US, O=VPN Server, CN=VPN Server Root CA" \
--outform pem > ferryfair.com.crt
ipsec pki --gen --type rsa --size 4096 --outform pem > pi.ferryfair.com.key
ipsec pki --pub --in pi.ferryfair.com.key \
--type rsa | ipsec pki --issue --lifetime 1825 \
--cacert ferryfair.com.crt \
--cakey ferryfair.com.key \
--dn "C=US, O=VPN Server, CN=pi.ferryfair.com" \
--san pi.ferryfair.com \
--flag serverAuth --flag ikeIntermediate \
--outform pem > pi.ferryfair.com.crt
ipsec pki --pub --in twinklemoss.ferryfair.com.key \
--type rsa | ipsec pki --issue --lifetime 1825 \
--cacert ferryfair.com.crt \
--cakey ferryfair.com.key \
--dn "C=US, O=VPN Server, CN=twinklemoss.ferryfair.com" \
--san twinklemoss.ferryfair.com \
--flag serverAuth --flag ikeIntermediate \
--outform pem > twinklemoss.ferryfair.com.crt
sudo cp ./pi.ferryfair.com.crt /etc/ipsec.d/certs/pi.ferryfair.com.crt
sudo cp ./pi.ferryfair.com.key /etc/ipsec.d/private/pi.ferryfair.com.key
sudo chown root /etc/ipsec.d/private/pi.ferryfair.com.key
sudo chgrp root /etc/ipsec.d/private/pi.ferryfair.com.key
sudo chmod 600 /etc/ipsec.d/private/pi.ferryfair.com.key
sudo cp /etc/ipsec.conf /etc/ipsec.conf.original
echo '' | sudo tee /etc/ipsec.conf
sudo nano /etc/ipsec.conf
config setup
charondebug="lib 4, ike 1, knl 1, cfg 0"
uniqueids=no
conn ikev2-vpn
auto=add
compress=no
type=tunnel
keyexchange=ikev2
fragmentation=yes
forceencaps=yes
ike=aes256-sha1-modp1024,3des-sha1-modp1024!
esp=aes256-sha1,3des-sha1!
dpdaction=clear
dpddelay=300s
rekey=no
left=%any
leftid=@pi.ferryfair.com
leftcert=/etc/ipsec.d/certs/pi.ferryfair.com.crt
leftsendcert=always
leftsubnet=0.0.0.0/0
right=%any
rightid=%any
rightauth=eap-mschapv2
rightsourceip=10.10.10.0/24
rightdns=8.8.8.8,8.8.4.4
rightsendcert=never
eap_identity=%identity
conn ferryfair
keyexchange=ike
dpdaction=clear
dpddelay=300s
eap_identity=gowtham
leftauth=eap-mschapv2
left=%defaultroute
leftsourceip=%config
right=vpn.ferryfair.com
rightauth=pubkey
rightsubnet=0.0.0.0/0
rightid=%any
type=tunnel
#hide-nl
auto=add
sudo nano /etc/ipsec.secrets
server_name_or_ip : RSA "/etc/ipsec.d/private/pi.ferryfair.com.key"
gowtham %any% : EAP "tornshoes"
sudo ipsec reload
sudo ufw disable
sudo iptables -P INPUT ACCEPT
sudo iptables -P FORWARD ACCEPT
sudo iptables -F
sudo iptables -Z
sudo iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
sudo iptables -A INPUT -p tcp --dport 22 -j ACCEPT
sudo iptables -A INPUT -i lo -j ACCEPT
sudo iptables -A INPUT -p udp --dport 500 -j ACCEPT
sudo iptables -A INPUT -p udp --dport 4500 -j ACCEPT
sudo iptables -A FORWARD --match policy --pol ipsec --dir in --proto esp -s 10.10.1.1/24 -j ACCEPT
sudo iptables -A FORWARD --match policy --pol ipsec --dir out --proto esp -d 10.10.1.1/24 -j ACCEPT
sudo iptables -t nat -A POSTROUTING -s 10.10.1.1/24 -o enxb827eb03ac31 -m policy --pol ipsec --dir out -j ACCEPT
sudo iptables -t nat -A POSTROUTING -s 120.10.10.1/24 -o enxb827eb03ac31 -j MASQUERADE
sudo iptables -t mangle -A FORWARD --match policy --pol ipsec --dir in -s 10.10.1.1/24 -o enxb827eb03ac31 -p tcp -m tcp --tcp-flags SYN,RST SYN -m tcpmss --mss 1361:1536 -j TCPMSS --set-mss 1360
sudo iptables -A INPUT -j DROP
sudo iptables -A FORWARD -j DROP
sudo netfilter-persistent save
sudo netfilter-persistent reload
sudo nano /etc/sysctl.conf
# Uncomment the next line to enable packet forwarding for IPv4
net.ipv4.ip_forward=1
. . .
# Do not accept ICMP redirects (prevent MITM attacks)
net.ipv4.conf.all.accept_redirects = 0
# Do not send ICMP redirects (we are not a router)
net.ipv4.conf.all.send_redirects = 0
. . .
net.ipv4.ip_no_pmtu_disc = 1
sudo reboot
# strongswan vpn client
sudo apt install libcharon-extra-plugins libstrongswan-extra-plugins
sudo vi /etc/ipsec.conf
conn ferryfair
keyexchange=ike
dpdaction=clear
dpddelay=300s
eap_identity=gowtham
leftauth=eap-mschapv2
left=%defaultroute
leftsourceip=%config
right=vpn.ferryfair.com
rightauth=pubkey
rightsubnet=0.0.0.0/0
rightid=%any
type=tunnel
#hide-nl
auto=add
# shairport airplay
cd
sudo apt install autoconf automake avahi-daemon build-essential git libasound2-dev libavahi-client-dev libconfig-dev libdaemon-dev libpopt-dev libssl-dev libtool xmltoman
mkdir workspace
git clone https://github.com/mikebrady/shairport-sync.git
cd shairport-sync
autoreconf -i -f
./configure --with-alsa --with-avahi --with-ssl=openssl --with-systemd --with-metadata
make
sudo make install
sudo systemctl enable shairport-sync
sudo service shairport-sync start
#usb audio
sudo nano /lib/modprobe.d/aliases.conf
#options snd-usb-audio index=-2
# Fetch best mirrors
deb mirror://mirrors.ubuntu.com/mirrors.txt bionic main restricted universe multiverse
deb mirror://mirrors.ubuntu.com/mirrors.txt bionic-updates main restricted universe multiverse
deb mirror://mirrors.ubuntu.com/mirrors.txt bionic-backports main restricted universe multiverse
deb mirror://mirrors.ubuntu.com/mirrors.txt bionic-security main restricted universe multiverse
# Roundcube
# Roundcube mysql password
# roundcube
https://help.ubuntu.com/community/EOLUpgrades
# Setup Postfix, Dovecot, Roundcube
## Pitfalls
### Google cloud needs a RelayHost
### Many ISPs block port 25
### /etc/postfix/main.cf should contain
relayhost = [smtp.sendgrid.net]:2525
### Install postfix-pcre
sudo apt install postfix-pcre
# Nvidia
## CUDA install unmet dependencies: cuda : Depends: cuda-10-0 (>= 10.0.130) but it is not going to be installed
apt clean; apt update; apt purge cuda; apt purge nvidia-*; apt autoremove; apt install cuda
# Twinklemoss
$ glmark2
=======================================================
glmark2 2014.03+git20150611.fa71af2d
=======================================================
OpenGL Information
GL_VENDOR: Intel Open Source Technology Center
GL_RENDERER: Mesa DRI Intel(R) Iris 6100 (Broadwell GT3)
GL_VERSION: 3.0 Mesa 11.2.0
=======================================================
[build] use-vbo=false: FPS: 2067 FrameTime: 0.484 ms
[build] use-vbo=true: FPS: 2393 FrameTime: 0.418 ms
[texture] texture-filter=nearest: FPS: 2066 FrameTime: 0.484 ms
[texture] texture-filter=linear: FPS: 2083 FrameTime: 0.480 ms
[texture] texture-filter=mipmap: FPS: 1844 FrameTime: 0.542 ms
[shading] shading=gouraud: FPS: 1496 FrameTime: 0.668 ms
[shading] shading=blinn-phong-inf: FPS: 1004 FrameTime: 0.996 ms
[shading] shading=phong: FPS: 853 FrameTime: 1.172 ms
[shading] shading=cel: FPS: 886 FrameTime: 1.129 ms
[bump] bump-render=high-poly: FPS: 768 FrameTime: 1.302 ms
[bump] bump-render=normals: FPS: 997 FrameTime: 1.003 ms
[bump] bump-render=height: FPS: 938 FrameTime: 1.066 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 877 FrameTime: 1.140 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 721 FrameTime: 1.387 ms
[pulsar] light=false:quads=5:texture=false: FPS: 863 FrameTime: 1.159 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 470 FrameTime: 2.128 ms
[desktop] effect=shadow:windows=4: FPS: 486 FrameTime: 2.058 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 163 FrameTime: 6.135 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 679 FrameTime: 1.473 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 712 FrameTime: 1.404 ms
[ideas] speed=duration: FPS: 1658 FrameTime: 0.603 ms
[jellyfish] : FPS: 1435 FrameTime: 0.697 ms
[terrain] : FPS: 194 FrameTime: 5.155 ms
[shadow] : FPS: 588 FrameTime: 1.701 ms
[refract] : FPS: 178 FrameTime: 5.618 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 950 FrameTime: 1.053 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 993 FrameTime: 1.007 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 781 FrameTime: 1.280 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 2190 FrameTime: 0.457 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 1857 FrameTime: 0.539 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 2063 FrameTime: 0.485 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 1724 FrameTime: 0.580 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 1461 FrameTime: 0.684 ms
=======================================================
glmark2 Score: 1164
=======================================================
# VM on Twinklemoss
$ glmark2
=======================================================
glmark2 2014.03+git20150611.fa71af2d
=======================================================
OpenGL Information
GL_VENDOR: VMware, Inc.
GL_RENDERER: Gallium 0.4 on SVGA3D; build: RELEASE; LLVM;
GL_VERSION: 3.0 Mesa 12.0.3
=======================================================
[build] use-vbo=false: FPS: 566 FrameTime: 1.767 ms
[build] use-vbo=true: FPS: 1116 FrameTime: 0.896 ms
[texture] texture-filter=nearest: FPS: 994 FrameTime: 1.006 ms
[texture] texture-filter=linear: FPS: 806 FrameTime: 1.241 ms
[texture] texture-filter=mipmap: FPS: 967 FrameTime: 1.034 ms
[shading] shading=gouraud: FPS: 945 FrameTime: 1.058 ms
[shading] shading=blinn-phong-inf: FPS: 939 FrameTime: 1.065 ms
[shading] shading=phong: FPS: 955 FrameTime: 1.047 ms
[shading] shading=cel: FPS: 940 FrameTime: 1.064 ms
[bump] bump-render=high-poly: FPS: 850 FrameTime: 1.176 ms
[bump] bump-render=normals: FPS: 957 FrameTime: 1.045 ms
[bump] bump-render=height: FPS: 940 FrameTime: 1.064 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 825 FrameTime: 1.212 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 724 FrameTime: 1.381 ms
[pulsar] light=false:quads=5:texture=false: FPS: 847 FrameTime: 1.181 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 428 FrameTime: 2.336 ms
[desktop] effect=shadow:windows=4: FPS: 501 FrameTime: 1.996 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 323 FrameTime: 3.096 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 319 FrameTime: 3.135 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 341 FrameTime: 2.933 ms
[ideas] speed=duration: FPS: 502 FrameTime: 1.992 ms
[jellyfish] : FPS: 685 FrameTime: 1.460 ms
[terrain] : FPS: 144 FrameTime: 6.944 ms
[shadow] : FPS: 290 FrameTime: 3.448 ms
[refract] : FPS: 151 FrameTime: 6.623 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 975 FrameTime: 1.026 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 920 FrameTime: 1.087 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 963 FrameTime: 1.038 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 994 FrameTime: 1.006 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 986 FrameTime: 1.014 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 584 FrameTime: 1.712 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 896 FrameTime: 1.116 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 727 FrameTime: 1.376 ms
=======================================================
glmark2 Score: 730
=======================================================
# Deepthi-PC
glmark2
=======================================================
glmark2 2014.03+git20150611.fa71af2d
=======================================================
OpenGL Information
GL_VENDOR: Intel Open Source Technology Center
GL_RENDERER: Mesa DRI Intel(R) Sandybridge Mobile
GL_VERSION: 3.0 Mesa 18.0.0-rc5
=======================================================
[build] use-vbo=false: FPS: 1611 FrameTime: 0.621 ms
[build] use-vbo=true: FPS: 1764 FrameTime: 0.567 ms
[texture] texture-filter=nearest: FPS: 1603 FrameTime: 0.624 ms
[texture] texture-filter=linear: FPS: 1580 FrameTime: 0.633 ms
[texture] texture-filter=mipmap: FPS: 1590 FrameTime: 0.629 ms
[shading] shading=gouraud: FPS: 1413 FrameTime: 0.708 ms
[shading] shading=blinn-phong-inf: FPS: 1367 FrameTime: 0.732 ms
[shading] shading=phong: FPS: 1207 FrameTime: 0.829 ms
[shading] shading=cel: FPS: 1146 FrameTime: 0.873 ms
[bump] bump-render=high-poly: FPS: 775 FrameTime: 1.290 ms
[bump] bump-render=normals: FPS: 1619 FrameTime: 0.618 ms
[bump] bump-render=height: FPS: 1466 FrameTime: 0.682 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 750 FrameTime: 1.333 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 323 FrameTime: 3.096 ms
[pulsar] light=false:quads=5:texture=false: FPS: 1397 FrameTime: 0.716 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 355 FrameTime: 2.817 ms
[desktop] effect=shadow:windows=4: FPS: 705 FrameTime: 1.418 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 499 FrameTime: 2.004 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 486 FrameTime: 2.058 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 529 FrameTime: 1.890 ms
[ideas] speed=duration: FPS: 870 FrameTime: 1.149 ms
[jellyfish] : FPS: 700 FrameTime: 1.429 ms
[terrain] : FPS: 77 FrameTime: 12.987 ms
[shadow] : FPS: 633 FrameTime: 1.580 ms
[refract] : FPS: 204 FrameTime: 4.902 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 1406 FrameTime: 0.711 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 1307 FrameTime: 0.765 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 1389 FrameTime: 0.720 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 1383 FrameTime: 0.723 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 1307 FrameTime: 0.765 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 1374 FrameTime: 0.728 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 1375 FrameTime: 0.727 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 1286 FrameTime: 0.778 ms
=======================================================
glmark2 Score: 1075
=======================================================
## lxqt
`sudo apt install lxqt`
- nomachine not working
# Ubuntu Touch
- to usb tether `usb_moded_util -c rndis`
- to enable server `sudo service ssh start; sudo systemctl enable ssh`