Skip to content

Commit

Permalink
add sway bg
Browse files Browse the repository at this point in the history
  • Loading branch information
DorianRudolph committed Jan 24, 2022
1 parent fd82ef3 commit fcefab0
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -674,11 +674,33 @@ export GALLIUM_DRIVER=llvmpipe
export WLR_RENDERER_ALLOW_SOFTWARE=1
```
You can now start sway.
For that, you have to log in on the main screen using a keyboard (not over serial).
If the ghosting gets too bad, force refresh:
```sh
echo 1 | sudo tee /sys/module/rockchip_ebc/parameters/force_refresh
```
You can also change the LUT using
```sh
echo 7 | sudo tee /sys/module/rockchip_ebc/parameters/lut_type
```
7 is the default waveform GC16 (see `drivers/gpu/drm/rockchip/pvi_waveform.h`)
4 is GRAY2, which only seems to white to black changes, but very quickly.
Config:
```
mkdir .config/sway
cp ~/.config/sway/config
```
Change options:
```
output * bg #FFFFFF solid_color
```
(TODO)
### Test input
```sh
Expand Down

0 comments on commit fcefab0

Please sign in to comment.