add arch gpus
This commit is contained in:
parent
027614541c
commit
28a5f03a60
49
distros/arch/gpu.md
Normal file
49
distros/arch/gpu.md
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
---
|
||||||
|
title: "fonts"
|
||||||
|
tags: [ "Documentation", "distros" ]
|
||||||
|
---
|
||||||
|
# Step 1: Multilib
|
||||||
|
|
||||||
|
Enable multilib (32-bit) support in `/etc/pacman.d/mirrorlist`:
|
||||||
|
|
||||||
|
```
|
||||||
|
[multilib]
|
||||||
|
Include = /etc/pacman.d/mirrorlist
|
||||||
|
```
|
||||||
|
|
||||||
|
And update:
|
||||||
|
|
||||||
|
> sudo pacman -Syu
|
||||||
|
|
||||||
|
# Step 2: Check Card Manufacturer
|
||||||
|
|
||||||
|
Check your graphics card type:
|
||||||
|
|
||||||
|
> lspci | grep VGA
|
||||||
|
|
||||||
|
# Step 3: Install Drivers
|
||||||
|
|
||||||
|
## Step 3A
|
||||||
|
|
||||||
|
If you see `Nvidia`, then install the intel drivers:
|
||||||
|
|
||||||
|
> sudo pacman -S --needed lib32-mesa vulkan-intel lib32-vulkan-intel vulkan-icd-loader lib32-vulkan-icd-loader
|
||||||
|
|
||||||
|
## Step 3B
|
||||||
|
|
||||||
|
If you see `Intel`, then install the intel drivers:
|
||||||
|
|
||||||
|
> sudo pacman -S --needed lib32-mesa vulkan-intel lib32-vulkan-intel vulkan-icd-loader lib32-vulkan-icd-loader xf86-video-intel
|
||||||
|
|
||||||
|
## Step 3C
|
||||||
|
|
||||||
|
If you see `AMD`, then check your card support `vulkan`:
|
||||||
|
|
||||||
|
> yay -S gpu-viewer
|
||||||
|
|
||||||
|
> vulkaninfo | grep 'VkPhysicalDeviceVulkanMemoryModelFeatures' -A 3
|
||||||
|
|
||||||
|
You should see 'true' here.
|
||||||
|
|
||||||
|
> sudo pacman -S --needed lib32-mesa vulkan-radeon lib32-vulkan-radeon vulkan-icd-loader lib32-vulkan-icd-loader xf86-video-amdgpu
|
||||||
|
|
@ -32,6 +32,13 @@ Regular expressions (``regex'') looks for patterns and is used with find and gre
|
|||||||
|
|
||||||
If the shell is set to find file ``a*b.txt'' then it will pass this first to regex, and hit items like `aab.txt' and `abb.txt'. If it finds nothing, it'll then use globbing, and interpret `a*b.txt' literally.
|
If the shell is set to find file ``a*b.txt'' then it will pass this first to regex, and hit items like `aab.txt' and `abb.txt'. If it finds nothing, it'll then use globbing, and interpret `a*b.txt' literally.
|
||||||
|
|
||||||
|
# Alias Expansion
|
||||||
|
|
||||||
|
> echo '"\C- ": shell-expand-line' >> ~/.inputrc
|
||||||
|
|
||||||
|
Reload bash, and you can use Ctrl+Space to expand an alias.
|
||||||
|
Type in `ll` (or any alias), then Ctrl+Space.
|
||||||
|
|
||||||
# Automatic Renaming
|
# Automatic Renaming
|
||||||
|
|
||||||
There are a bunch of files:
|
There are a bunch of files:
|
||||||
|
Loading…
Reference in New Issue
Block a user