Just like many other League addicts, ever since the Vanguard incident, TFT has been a no-go....
except it isn't, since the Android version works just as fine, after some tweaks!
While I was trying to setup my cosmic session I wanted to use Cosmic Greeter as my Display manager because I wanted to test it out and give my own feedback/report any bugs I could find.
However I didn't find any guide on how to do it plus there's little to no clue on how to set it up and it took me 2 days to figure it out.
That's why I write this quick guide.
Cosmic greeter by itself doesn't work it needs a Compositor (in this case Cosmic-Comp (obviously)) to actually run.
| opkg update | |
| opkg install dnsproxy | |
| # Ensure, that the NTP server can work without DNS | |
| uci del system.ntp.server | |
| uci add_list system.ntp.server='194.177.4.1' # 0.openwrt.pool.ntp.org | |
| uci add_list system.ntp.server='213.222.217.11' # 1.openwrt.pool.ntp.org | |
| uci add_list system.ntp.server='80.50.102.114' # 2.openwrt.pool.ntp.org | |
| uci add_list system.ntp.server='193.219.28.60' # 3.openwrt.pool.ntp.org | |
| uci commit system |
| #!/bin/sh | |
| # Set kernel parameters in /etc/sysctl.conf | |
| cat << EOF > /etc/sysctl.conf | |
| # Increase maximum number of open file descriptors | |
| fs.file-max = 1000000 | |
| # Increase maximum number of inotify instances per user | |
| fs.inotify.max_user_instances = 8192 |
Oh boi, here I give you the solution for that. This document is based on these links:
My solution seems to be deprecated, there are other solution from the comment on this Gist, that actually works. So, please use that instead, it's way much simpler, and it works.
Enable GPU accelerated content decoding and DOM compositor rendering on Linux. For more details refer to docs.
Properties can be set by navigating to about:config.
gfx.webrender.all=true
layers.mlgpu.enabled=true