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
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
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.
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.
| ~/Downloads/ffmpeg-4.1.5 $ ./configure --help | |
| Usage: configure [options] | |
| Options: [defaults in brackets after descriptions] | |
| Help options: | |
| --help print this message | |
| --quiet Suppress showing informative output | |
| --list-decoders show all available decoders | |
| --list-encoders show all available encoders | |
| --list-hwaccels show all available hardware accelerators |
| #!/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 |
| # IPv6 Configuration | |
| # -> note that I have disabled ip6 for our internet-connection (wan/eth0) because | |
| # -> my upstream/ISP (still) does not do IPv6. The rest, even localhost, does ip6 stuff. | |
| net.ipv6.conf.all.disable_ipv6 = 0 | |
| net.ipv6.conf.default.disable_ipv6 = 0 | |
| net.ipv6.conf.lo.disable_ipv6 = 0 | |
| net.ipv6.conf.eth0.disable_ipv6 = 1 | |
| net.ipv6.conf.wan.disable_ipv6 = 1 | |
| # Packet Forwarding |
Displays contents of /proc/net files. It works with the Linux Network Subsystem, it will tell you what the status of ports are ie. open, closed, waiting, masquerade connections. It will also display various other things. It has many different options. Netstat (Network Statistic) command display connection info, routing table information etc. To displays routing table information use option as -r.
Sample output:
Proto Recv-Q Send-Q Local Address Foreign Address (state)
tcp4 0 0 127.0.0.1.62132 127.0.0.1.http ESTABLISHED