diff --git a/doc/chromium.md b/doc/chromium.md index 3917ec3..4c2bbd1 100644 --- a/doc/chromium.md +++ b/doc/chromium.md @@ -1,7 +1,7 @@ 1. install vaapi vdpau package: archlinux ```sh - sudo pacman -S libva-mesa-driver mesa-vdpau + sudo pacman -S libva-mesa-driver mesa-vdpau xf86-video-ati ``` 2. enable following flags: - chrome://flags/#ignore-gpu-blocklist diff --git a/gui/suckless.sh b/gui/suckless.sh index bb53f95..d928c54 100755 --- a/gui/suckless.sh +++ b/gui/suckless.sh @@ -67,7 +67,7 @@ export DMENU_DEFAULT_OPTS='-i -c -fn monospace:13 -nb #222222 -nf #bbbbbb -sb #5 # auto startx [ -z "$DISPLAY" ] && [ -n "$XDG_VTNR" ] && [ "$XDG_VTNR" -eq "1" ] \ - && startx + && startx -- -keeptty >~/.xorg.log 2>&1 EOT diff --git a/gui/sysutils.sh b/gui/sysutils.sh index c939c1c..efd6596 100755 --- a/gui/sysutils.sh +++ b/gui/sysutils.sh @@ -91,3 +91,6 @@ echo RUN+="/bin/chgrp video /sys/class/backlight/intel_backlight/brightness" echo RUN+="/bin/chmod g+w /sys/class/backlight/intel_backlight/brightness" echo ``` +echo for amd ryzen laptop add "acpi_backlight=vendor" to /etc/default/grub and then run +echo sudo grub-mkconfig -o /boot/grub/grub.cfg +