zram-swap-config
Replacement for broken zram-config-0.5 package (by StuartIanNaylor)
rpi_ws281x
Userspace Raspberry Pi PWM library for WS281X LEDs (by jgarff)
zram-swap-config | rpi_ws281x | |
---|---|---|
8 | 15 | |
126 | 1,796 | |
- | - | |
0.0 | 3.9 | |
almost 3 years ago | about 2 months ago | |
Shell | C | |
GNU General Public License v3.0 only | BSD 2-clause "Simplified" License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
zram-swap-config
Posts with mentions or reviews of zram-swap-config.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-10-14.
-
Any way to auto execute .sh script on startup with root privileges on ubuntu?
crontab, /etc/rc.local or create a simple systemctl service are all prob the easiest and most secure ways to allow on boot. /etc/rc.local I think happens after all services think `@reboot` with crontab is the same but you would have to google to be sure. or copy and hack the service from https://github.com/StuartIanNaylor/zram-swap-config as really they are also quite simple to create
-
We're moving away from swap partitions on our Linux servers
I still have https://github.com/StuartIanNaylor/zram-swap-config but doesn't do much more than https://github.com/systemd/zram-generator#readme but I passed control of https://github.com/ecdye/zram-config as maintenance aint my strong point and it was just a protest of hey guys get this sorted.
-
2021 Nov 15 Stickied ππππππππ thread - Boot problems? Power supply problems? Display problems? Networking problems? Need ideas? Get help with these and other questions! π³πΆπΆπ² π―π¬πΉπ¬ ππ°πΉπΊπ»
I read in a few articles that the default sram-config package has some sizing/erro handling issues. Two configuration scripts seem to be recommended: this one and this other one.
-
Memory caching and swap usage?
zram can help as create a swap that the majority of time will be used also mounting a small zram zstd (great text compression) for var/log will practically bring writes to pretty much nothing. Armbian have a util that does that. You are using 62.2m 9very small) of 872m main memory Swap virtual memory you are using 40.8m of 100m because dphys-swap is set to only 100m by default but is just disk space. Its prob pushed 40.8m there because its idle so its pushed it out of main memory and will pull back if ever needed. I use my util https://github.com/StuartIanNaylor/zram-swap-config and another one I did is now maintained by openhab. Dunno if systemd/zram-generator is in raspberry might actually a great zram util.
-
Simple Web kiosk display project -- works on 3B+ but not on Zero 2 W?
zram when your confined with 512mb as sd card swap sucks. https://github.com/StuartIanNaylor/zram-swap-config zram isn't perfect as you will get apps that pass already compressed uncompressible data, but luckily is the exception not the rule and web based is usually highly compressable.
-
Raspberry Pi Zero 2 and the raspberry os 64 bit image
https://github.com/StuartIanNaylor/zram-swap-config just install and reboot
-
Settings to turn off to expand the sd cards lifespan
Remember to finish the installation and install zram-swap-config for global zram.
rpi_ws281x
Posts with mentions or reviews of rpi_ws281x.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-29.
-
A 1536 LED Game Computer
Connect the led strip data pin to an available Io pin on the pi, connect the strips and to pi gnd pin and to a 5V power supply gnd pin, and connect the strips + to the 5V power supply.
Then use a library on the pi, for example this: https://github.com/jgarff/rpi_ws281x
-
Needing advice on creating short delays mostly in C
I'm sorry, but bit banging WS2812 on that hardware is stupid. Find some peripheral that you can use to output WS2812 bitstreams, and use that. For example, for the Raspberry Pi there is a library at https://github.com/jgarff/rpi_ws281x that can use either PWM, PCM or SPI to do this. I know you're dealing with a different CPU, but this should give you ideas about how you can use its peripherals. The data sheet is available: https://github.com/milkv-duo/duo-files/blob/main/hardware/CV1800B/CV1800B-CV1801B-Preliminary-Datasheet-full-en.pdf
-
WS2815 led strip with a raspberry pi
E.g.: https://github.com/jgarff/rpi_ws281x
-
Controlling LEDs via ws281x with SPI
The library it's based on specifically notes SPI usage in the readme, and details on how to use (that's where I got the steps that I double-checked in the OP)
-
How to setup the NEOPIXEL RING - 16 X 5050 RGBW LEDS on a rpi 4b?
Regarding the error though, it sounds like there are a bunch of slight cpu variations that arenβt all clearly defined. I canβt reproduce it myself (guess I have an older board). But thereβs a solution suggested by the maintainer on a GitHub issue here https://github.com/jgarff/rpi_ws281x/issues/483 so Iβd suggest trying that out first.
-
What's an extremely cheap setup for proof of concept?
You can run them direct off gpio but if xlights is your βend gameβ the falcon pi cap is more inline with the ecosystem of xlights, falcon player and a overall Christmas light display end game where gpio pins is more of a βelectronics projectβ https://github.com/jgarff/rpi_ws281x
- Which GPIO pins for Neopixels, and why?
-
Using an LED Ring with Raveberry
The LEDs are controlled via the SPI interface of the Raspberry Pi. The rpi_ws281x library is used to manage the ring from python code. The library also provides the possibility to control LEDs via PWM or PCM, however this either disables either analog or digital audio output, which is quite disadvantageous for a music server. On a Raspberry Pi 4, there is one thing to look out for: SPI requires a stable clock, and the Pi 4 throttles itself by default. This can be avoided by adding core_freq_min=500 to /boot/config.txt. Raveberry takes care of this during install if you enable LED visualization.
-
2021 Nov 15 Stickied ππππππππ thread - Boot problems? Power supply problems? Display problems? Networking problems? Need ideas? Get help with these and other questions! π³πΆπΆπ² π―π¬πΉπ¬ ππ°πΉπΊπ»
I have one too, when I plug it in the lights just stay white, unless its losing power in which they flash red. I wanted program them with python and I found a module to use but it wasn't really working. There was a script the came with the module that made them change color, but I haven't been able to write any scripts with the module myself. the module is called rpi_ws281x. You can install it using pip for python and I saw more about other programming languages too. for the button I was able to get that working as power button with this tutorial. Hope this helps.
-
Raspberry pie for controlling addressable LED strips, whats the best way?
[2] https://github.com/jgarff/rpi_ws281x
What are some alternatives?
When comparing zram-swap-config and rpi_ws281x you can also consider the following projects:
wifi-connect - Easy WiFi setup for Linux devices from your mobile phone or laptop
raveberry - A multi-user music server with a focus on participation