fix: for amd laptop quiet boot up
This commit is contained in:
parent
ce96b31683
commit
27d5718d16
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user