Ainda não consigo instalar o driver da Nvidia no Ubuntu 16.04

2

Eu insiro o comando "sudo service lightdm stop", eu ainda não consigo instalar o driver da NVIDIA NVIDIA-Linux-x86_64-367.27.run. A informação do erro é que eu preciso parar o servidor X. Como posso instalar o driver?

    
por lixiang 16.07.2016 / 13:47

2 respostas

2

Você pode tentar adicionar ppa ppa: graphics-drivers / ppa como descrito aqui e instale-o com apt-get ou" Drivers adicionais ".

    
por iuuuuan 16.07.2016 / 14:48
0

Driver nvidia pronto para Vulkan: (NVIDIA-Linux-x86_64-367.27.run) funciona muito bem no Ubuntu 16.04, desde que sua placa gráfica apareça nesta lista: link

Quando eu instalei o driver fazendo o download diretamente da nvidia, ele bloqueou a minha máquina, então tentei o que funcionou:

remova todos os pacotes nvidia existentes:

        dpkg -l|grep nvidia

        sudo apt-get remove --purge nvidia*

        dpkg -l|grep nvidia

adicione este repo

sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt update
sudo apt-get upgrade

reinicie e você estará no nouveau, mas entre em Configurações- > Software & amp; Atualizações- > Drivers adicionais ... escolha Nvidia 367.35 (o maior número) ... reinicie novamente e você pode confirmar que está pronto para executar o Vulkan no Ubuntu 16.04

dpkg -l|grep nvidia
ii  nvidia-367                                  367.35-0ubuntu0~gpu16.04.1                                  amd64        NVIDIA binary driver - version 367.35
ii  nvidia-opencl-icd-367                       367.35-0ubuntu0~gpu16.04.1                                  amd64        NVIDIA OpenCL ICD
ii  nvidia-prime                                0.8.2                                                       amd64        Tools to enable NVIDIA's Prime
ii  nvidia-settings                             367.35-0ubuntu0~gpu16.04.1                                  amd64        Tool for configuring the NVIDIA graphics driver

Agora você pode instalar o Vulkan ... depois disso, isso confirma OK

vulkaninfo
===========
VULKAN INFO
===========

Vulkan API Version: 1.0.21

INFO: [loader] Code 0 : Found manifest file /home/stens/other_src/VulkanSDK/1.0.21.1/x86_64/etc/explicit_layer.d/VkLayer_threading.json, version "1.0.0"
INFO: [loader] Code 0 : Found manifest file /home/stens/other_src/VulkanSDK/1.0.21.1/x86_64/etc/explicit_layer.d/VkLayer_core_validation.json, version "1.0.0"
INFO: [loader] Code 0 : Found manifest file /home/stens/other_src/VulkanSDK/1.0.21.1/x86_64/etc/explicit_layer.d/VkLayer_object_tracker.json, version "1.0.0"
INFO: [loader] Code 0 : Found manifest file /home/stens/other_src/VulkanSDK/1.0.21.1/x86_64/etc/explicit_layer.d/VkLayer_image.json, version "1.0.0"
INFO: [loader] Code 0 : Found manifest file /home/stens/other_src/VulkanSDK/1.0.21.1/x86_64/etc/explicit_layer.d/VkLayer_api_dump.json, version "1.0.0"
INFO: [loader] Code 0 : Found manifest file /home/stens/other_src/VulkanSDK/1.0.21.1/x86_64/etc/explicit_layer.d/VkLayer_swapchain.json, version "1.0.0"
INFO: [loader] Code 0 : Found manifest file /home/stens/other_src/VulkanSDK/1.0.21.1/x86_64/etc/explicit_layer.d/VkLayer_unique_objects.json, version "1.0.0"
INFO: [loader] Code 0 : Found manifest file /home/stens/other_src/VulkanSDK/1.0.21.1/x86_64/etc/explicit_layer.d/VkLayer_vktrace_layer.json, version "1.0.0"
INFO: [loader] Code 0 : Found manifest file /home/stens/other_src/VulkanSDK/1.0.21.1/x86_64/etc/explicit_layer.d/VkLayer_parameter_validation.json, version "1.0.0"
INFO: [loader] Code 0 : Found manifest file /home/stens/other_src/VulkanSDK/1.0.21.1/x86_64/etc/explicit_layer.d/VkLayer_screenshot.json, version "1.0.0"
INFO: [loader] Code 0 : Found manifest file /home/stens/.local/share/vulkan/implicit_layer.d/steamoverlay_i386.json, version "1.0.0"
INFO: [loader] Code 0 : Found manifest file /home/stens/.local/share/vulkan/implicit_layer.d/steamoverlay_x86_64.json, version "1.0.0"
INFO: [loader] Code 0 : Found manifest file /usr/share/vulkan/icd.d/nvidia_icd.json, version "1.0.0"

Instance Extensions:
====================
Instance Extensions count = 4
    VK_KHR_surface                      : extension revision 25
    VK_KHR_xcb_surface                  : extension revision  6
    VK_KHR_xlib_surface                 : extension revision  6
    VK_EXT_debug_report                 : extension revision  2


Layers: count = 13
=======
VK_LAYER_GOOGLE_threading (Google Validation Layer) Vulkan version 1.0.21, layer version 1
...
...
...
    
por Scott Stensland 01.08.2016 / 05:19