User:Tsester

From ArchWiki
Jump to: navigation, search

mpv hardware accel

Best results

vo=vaapi
hwdec not set

had problems with other set ups because hardware accel was not being enabled on \[ANE\]\ Bakemonogatari\ -\ Ep03\ \[BDRip\ 1080p\ x264\ FLAC\].mkv . bbb_sunflower_2160p_60fps_normal.mp4 plays fine on this setup (Big Buck Bunny 4K)

why set hwdec to no, needs more investigation..
bbb needs hwdec vaapi!

nsupdate.info

this is a backup from an old revision of ..? ddclient i think (or ddns?) wiki here

nsupdate.info is a free and open source dynamic DNS service. One can use inadyn-forkAUR to update the ip. Example inadyn.conf:
background
verbose        5
period         300
cache-dir      /mnt/ddns
startup-delay  60
syslog

#logfile /var/log/ddns.log
#pidfile /var/run/ddns.pid

system ipv4@nsupdate.info
	ssl
	username your_host_name.nsupdate.info
	password PassWoRd_given_on_site
	alias your_host_name.nsupdate.info

You should then Start inadyn.service and enable it to automatically start on boot.

Success Stories

Whistleblower (Humble Indie Bundle)

Apparently if you copy CookedLinuxDLC folder from a Steam Outlast + Whistleblower installation to outlast-hib AUR installation it plays just fine :)

The Last Door (Humble Indie Bundle)

as this wiki suggests for running Air (Adobe) applications, go to games folder (TLDEPC/share) and run the following

/opt/adobe-air-sdk/bin/adl -nodebug $PWD/META-INF/AIR/application.xml $PWD/

SandBox

some notes with hopes of being added to the wiki after refinement..

persistent Linux on USB

referring to bios systems, one can have the boot partition on fat filesystem and install a regular linux on the rest. grub worked well all those years, storage is permanent, it's a regular installation after all, speed limits to ~ 5MB/s though

Arduino

Serial Communication

1. stty -F /dev/ttyACM0 cs8 115200 ignbrk -brkint -imaxbel -opost -onlcr -isig -icanon -iexten -echo -echoe -echok -echoctl -echoke noflsh -ixon -crtscts min 1 icrnl

  • cat /dev/ttyACM0
  • echo "sth" > /dev/ttyACM0

2. minicom -D /dev/ttyACM0 -b 115200

  • quit: <Ctrl>+<A> <X> <Enter>

3. cu -l /dev/ttyACM0 -s 115200

  • exit:: ~... wait

4. picocom --baud 115200 /dev/ttyACM0 with --omap igncr,ignlf for not sending the <Enter> (same as echo -n "..")

  • exit:: <Ctrl>+<A> <Ctrl>+<X>
  • --echo

Ntopng

HTTPS Disabled: missing SSL certificate /usr/share/ntopng/httpdocs/ssl/ntopng-cert.pem

  • added openssl req -x509 -nodes -days 7300 -newkey rsa:2048 -sha256 -keyout ntopng-cert.pem -out ntopng-cert.pem taken from lighttpd

-w|--http-port <[:]http_port>

  • "Sets the HTTP port of the embedded web server. If set to 0, the http server will be disabled."

systemd autologin

ok i wanted to have the following::

  • tty1,2,3 -> auto root
  • tty4,5,6 -> auto me
  • tty7 -> none
  • tty8,9,10 -> system getty
  • tty11 -> none
  • tty12 -> journalctl
  • tty13 -> system getty

the important thing is to "mask" manually getty@tty{7,11}.service in getty.target.wants/ and not system/ getty@tty11.service -> /dev/null

as for the rest, create in system/ folders named getty@tty1.service.d.. with a .conf file with contents::

$ cat autologin.conf 
[Service]
ExecStart=
ExecStart=-/usr/bin/agetty --autologin root --noclear %I 38400 linux

or similar.. Regarding logind.conf, NAutoVTs=24 and ReserveVT=0 is necessary as for how to change to tty13+ we can use

loadkeys defkeymap

we wouldn't want it default though so.. in vconsole.conf ::

KEYMAP_TOGGLE=gr       # your language here
KEYMAP=defkeymap

although it may be crude..

Intel (TearFree)

Section "Device"
	Identifier  "My Graphics Card"
	Driver	"intel"
	Option	"DRI"	"2"
	Option	"TearFree"	"true"
#	Option	"SwapbuffersWait"	"true"
# 	Option      "AccelMethod"  "sna"
EndSection

#Section "Extensions"
#   Option  "Composite"     "Disable"
#EndSection