fix: for amd laptop quiet boot up

This commit is contained in:
Klesh Wong 2021-09-15 23:08:44 +08:00
parent ce96b31683
commit 27d5718d16
3 changed files with 5 additions and 2 deletions

View File

@ -1,7 +1,7 @@
1. install vaapi vdpau package: 1. install vaapi vdpau package:
archlinux archlinux
```sh ```sh
sudo pacman -S libva-mesa-driver mesa-vdpau sudo pacman -S libva-mesa-driver mesa-vdpau xf86-video-ati
``` ```
2. enable following flags: 2. enable following flags:
- chrome://flags/#ignore-gpu-blocklist - chrome://flags/#ignore-gpu-blocklist

View File

@ -67,7 +67,7 @@ export DMENU_DEFAULT_OPTS='-i -c -fn monospace:13 -nb #222222 -nf #bbbbbb -sb #5
# auto startx # auto startx
[ -z "$DISPLAY" ] && [ -n "$XDG_VTNR" ] && [ "$XDG_VTNR" -eq "1" ] \ [ -z "$DISPLAY" ] && [ -n "$XDG_VTNR" ] && [ "$XDG_VTNR" -eq "1" ] \
&& startx && startx -- -keeptty >~/.xorg.log 2>&1
EOT EOT

View File

@ -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 RUN+="/bin/chmod g+w /sys/class/backlight/intel_backlight/brightness"
echo ``` 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