User:Tsester

From ArchWiki

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!

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

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..