Skip to content
This repository has been archived by the owner on May 12, 2020. It is now read-only.

Instalando o driver de vídeo da nvidia(GTX 820M) no ArchLinux

Notifications You must be signed in to change notification settings

RuiGuilherme/Install_nvidia_arch_linux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 

Repository files navigation

Nvidia GTX820M Arch Linux

Primeiramente gostaria agradecer o felipefacundes pelas suas 24 horas de apoio e suporte nesta instalação longa e cheias de supresas.

Telegram: @FeFacundes

Neofetch

                   -`                    ArchLinux@ArchLinux 
                  .o+`                   ---------------------- 
                 `ooo/                   OS: Arch Linux x86_64 
                `+oooo:                  Host: Aspire E5-571G V1.26 
               `+oooooo:                 Kernel: 5.3.7-arch1-1-ARCH 
               -+oooooo+:                Uptime: 19 mins 
             `/:-:++oooo+:               Packages: 1324 (pacman) 
            `/++++/+++++++:              Shell: bash 5.0.11 
           `/++++++++++++++:             Resolution: 1366x768 
          `/+++ooooooooooooo/`           WM: sway 
         ./ooosssso++osssssso+`          Theme: Breeze [GTK2/3] 
        .oossssso-````/ossssss+`         Icons: candy-icons [GTK2/3] 
       -osssssso.      :ssssssso.        Terminal: termite 
      :osssssss/        osssso+++.       Terminal Font: Hack Nerd Font 12 
     /ossssssss/        +ssssooo/-       CPU: Intel i7-5500U (4) @ 3.000GHz 
   `/ossssso+/:-        -:/+osssso+-     GPU: Intel HD Graphics 5500 
  `+sso+:-`                 `.-/+oso:    GPU: NVIDIA GeForce 610M/710M/810M/820M / GT 620M/625M/630M/720M 
 `++:.                           `-/+/   Memory: 1774MiB / 7883MiB 
 .`                                 `/

Instalação

Primeiro passo é instalar as dependências básicas do sistema, tanto da Intel quanto da Nvidia

Habilite o Multilib em /etc/pacman.conf

Retire a hashtag antes das duas linhas: [multilib] e Include = /etc/pacman.d/mirrorlist

Nvidia

pacman -Syy linux-headers dkms lib32-libvdpau lib32-libglvnd libglvnd libvdpau xsettingsd xsettings-client ffnvcodec-headers libxnvctrl xf86-video-nouveau nccl nvidia-cg-toolkit

Intel

pacman -Syy lib32-vulkan-intel lib32-mesa lib32-libva1-intel-driver lib32-libva-intel-driver libva1-intel-driver libva-utils intel-opencl-clang intel-media-driver intel-graphics-compiler lib32-libglvnd libglvnd linux-headers dkms intel-gpu-tools intel-gmmlib intel-compute-runtime i810-dri xf86-video-intel vulkan-intel mesa libva-intel-driver iucode-tool intel-ucode intel-tbb

Créditos: Instalação Arch, por Felipe Facundes

Observações:
  • Irei usar a SDDM como DM
  • Irei usar o KDE Plasma Xorg como DE
  • Irei usar o driver dkms
  • GeFoce GT 820M é uma placa Fermi, então só tem suporte no driver legacy 390xx, pode ser consultado aqui: Link
  • Irei usar o optimus-manager para controlar e alternar entre os gráficos.

Vamos instalar o driver e o controlador:

yay -S nvidia-390xx-dkms nvidia-390xx-settings opencl-nvidia-390xx lib32-nvidia-390xx-utils lib32-opencl-nvidia-390xx nvidia-390xx-utils optimus-manager

reboot

Quando a maquina voltar

optimus-manager --switch nvidia ou optimus-manager --switch hybrid Mais detalhes

Ele vai fazer logout, para checar qual driver está rodando basta executar glxinfo -B

A saída deve ser algo assim:
[ArchLinux@ArchLinux ~]$ glxinfo -B
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 2048 MB
    Total available memory: 2048 MB
    Currently available dedicated video memory: 1964 MB
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce 820M/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 390.129
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6.0 NVIDIA 390.129
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)

OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 390.129
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

About

Instalando o driver de vídeo da nvidia(GTX 820M) no ArchLinux

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published