File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change 3
3
4
4
5
5
echo " "
6
- echo " Install Nvidia driver on Archlinux"
6
+ echo " Install Nvidia driver and gpu chrome accelleration on Archlinux"
7
7
echo " "
8
8
9
- sudo pacman -S nvidia
9
+ sudo pacman -S nvidia libva-mesa-driver nvidia-settings libva-vdpau-driver libva-utils
10
+
10
11
sudo mkdir -p /etc/pacman.d/hooks
11
12
sudo cp -r nvidia.hook /etc/pacman.d/
12
13
sudo cp -r blacklist-nvidia-nouveau.conf /etc/modprobe.d/
13
14
sudo cp -r 20-nvidia.conf /etc/X11/xorg.conf.d/
14
15
sudo cp -r mkinitcpio.conf /etc
16
+
15
17
sudo mkinitcpio -P linux
16
- cp -r .xinitrc ~ /
18
+
19
+ echo " --enable-features=VaapiVideoDecoder,VaapiVideoEncoder
20
+ --enable-zero-copy
21
+ --disable-features=UseChromeOSDirectVideoDecoder" > ~ /.config/chrome-flags.conf
22
+
23
+
17
24
18
25
19
26
echo " "
24
31
25
32
26
33
34
+
You can’t perform that action at this time.
0 commit comments