CUDA & Nvidia Installation Unsuccessful and nvidia-smi ErrorNo Plymouth splash screen after upgrade from 12.04 to 12.10How Do I Install Drivers For GeForce 8800 GTS 512?Can't install nvidia drivers on a 2 card laptop for xubuntu 14.04nvidia on schenker laptop (again)How do I configure an Nvidia RTX 2080 Ti with Ubuntu?nvidia modules are missing after each kernel upgrade in 18.04Mok Manager/NVIDIA Driver Issue After CUDA Install

Sanitise a high score table to remove offensive terms / usernames

Disrespectful employee going above my head and telling me what to do. I am his manager

A Society Built Around Theft?

A demigod among men

Can a successful economy exist without renting stuff?

Slow coworker receiving compliments while I receive complaints

Does Windows 10 Fast Startup feature drain battery while laptop is turned off?

Are there any privately owned large commercial airports?

What can I do to avoid potential charges for bribery?

Can I use I2C over 2m cables?

Can you decide not to sneak into a room after seeing your roll?

SQL server backup message

Why is coffee provided during big chess events when it contains a banned substance?

Is this an error...?

Applying rules on rules

Why are seats at the rear of a plane sometimes unavailable even though many other seats are available in the plane?

How to linearize a constraint with max

Paper accepted at a probably predatory conference, how shall I proceed?

What powers an aircraft prior to the APU being switched on?

From Plate to State

Numbering like equations for regular text

How to not lose focus after each disruption in flow

A variant of the Shortest Path Problem

Print the sequence



CUDA & Nvidia Installation Unsuccessful and nvidia-smi Error


No Plymouth splash screen after upgrade from 12.04 to 12.10How Do I Install Drivers For GeForce 8800 GTS 512?Can't install nvidia drivers on a 2 card laptop for xubuntu 14.04nvidia on schenker laptop (again)How do I configure an Nvidia RTX 2080 Ti with Ubuntu?nvidia modules are missing after each kernel upgrade in 18.04Mok Manager/NVIDIA Driver Issue After CUDA Install






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









2

















I want to install CUDA toolkit and NVIDIA drivers on Ubuntu.I am starter in linux,so I have no experience.I've had worked on this for three days but problem still exists.



Firstly, I disabled Secure Boot in BIOS.After that, In grub menu, I set nomodeset quiet splash
installed CUDA Toolkit 10.1 from there.And to install Nvidia drivers I applied steps given below:



$ sudo add-apt-repository ppa:graphics-drivers/ppa 
$ sudo apt update
$sudo apt install nvidia-driver-418
reboot


,



when nvidia-smi is entered the output is:



"NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running."



How can I solve this, thanks friends.



~$ uname -a

Linux denisa 4.18.0-17-generic #18-Ubuntu SMP Wed Mar 13 14:34:40 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux


,



~$ uname -i



x86_64


,



~$ cat /etc/os-release

NAME="Ubuntu"
VERSION="18.10 (Cosmic Cuttlefish)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.10"
VERSION_ID="18.10"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=cosmic
UBUNTU_CODENAME=cosmic


̣,



~$ sudo ubuntu-drivers devices

== /sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0 ==
modalias : pci:v000010DEd0000134Dsv00001043sd00001490bc03sc02i00
vendor : NVIDIA Corporation
model : GM108M [GeForce 940MX]
driver : nvidia-driver-410 - third-party free
driver : nvidia-driver-418 - third-party free recommended
driver : nvidia-driver-396 - third-party free
driver : nvidia-driver-415 - third-party free
driver : nvidia-driver-390 - distro non-free
driver : xserver-xorg-video-nouveau - distro free builtin


and



~$ sudo lshw -numeric -C display

*-display UNCLAIMED
description: VGA compatible controller
**product: HD Graphics 620 [8086:5916]
vendor: Intel Corporation [8086]**
physical id: 2
bus info: pci@0000:00:02.0
version: 02
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list
configuration: latency=0
resources: memory:ed000000-edffffff memory:c0000000-cfffffff ioport:f000(size=64) memory:c0000-dffff
*-display
description: 3D controller
**product: GM108M [GeForce 940MX] [10DE:134D]**
vendor: NVIDIA Corporation [10DE]
physical id: 0
bus info: pci@0000:01:00.0
version: a2
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list rom
configuration: driver=nvidiafb latency=0
resources: irq:16 memory:ee000000-eeffffff memory:d0000000-dfffffff memory:e0000000-e1ffffff ioport:e000(size=128) memory:ef000000-ef07ffff


,
Edited-V-1:



~$ mokutil --sb-state
SecureBoot disabled


,



~$ ls /sys/firmware/efi/
config_table esrt fw_vendor runtime-map vars
efivars fw_platform_size runtime systab


,




 ~$ sudo lshw -c video


[sudo] password for denisa:
*-display UNCLAIMED
description: VGA compatible controller
product: HD Graphics 620
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 02
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list
configuration: latency=0
resources: memory:ed000000-edffffff memory:c0000000-cfffffff ioport:f000(size=64) memory:c0000-dffff
*-display
description: 3D controller
product: GM108M [GeForce 940MX]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a2
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list rom
configuration: driver=nvidiafb latency=0
resources: irq:16 memory:ee000000-eeffffff memory:d0000000-dfffffff memory:e0000000-e1ffffff ioport:e000(size=128) memory:ef000000-ef07ffff



,



 ~$ dkms status 

nvidia, 418.56, 4.18.0-17-generic, x86_64: installed


,



~$ lsmod | grep nvidia

nvidiafb 49152 0
vgastate 20480 1 nvidiafb
fb_ddc 16384 1 nvidiafb
i2c_algo_bit 16384 2 nvidiafb,i915


,



~$ echo $XDG_SESSION_TYPE

x11


,



~$ nvcc -V

nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Fri_Feb__8_19:08:17_PST_2019
Cuda compilation tools, release 10.1, V10.1.105


,



Edited-V-2:



~$ sudo mv /etc/modprobe.conf /etc/modprobe.conf.bak

[sudo] password for denisa:
mv: cannot stat '/etc/modprobe.conf': No such file or directory

~$ echo "blacklist nvidiafb" | sudo tee -a /etc/modprobe.d/nvidiafb.conf

blacklist nvidiafb

~$ sudo depmod -ae

depmod: WARNING: -e needs -E or -F



~$ sudo update-initramfs -u

update-initramfs: Generating /boot/initrd.img-4.18.0-17-generic


Any help will be appreciated.Thanks friends.










share|improve this question




























  • Please edit your question and post output of the following commands: 1. mokutil --sb-state 2. ls /sys/firmware/efi/ 3. sudo lshw -c video 4. dkms status 5. lsmod | grep nvidia and 6. echo $XDG_SESSION_TYPE

    – Marmayogi
    Apr 18 at 19:16











  • I ve edited the outputs above, @Marmayogi thanks. for your help. What should be done friends

    – Denisa
    Apr 18 at 21:02












  • Do you have any line "blacklist nvidiafb" in any file in /etc/modprobe.d ? Should be on in blacklist-framebuffer.conf. If not, something went wrong with the install, you may add it, but maybe other things are missing too.

    – ubfan1
    Apr 18 at 21:54











  • Yes, @ubfan1 blacklist nvidiafb exists in the file /etc/modprobe.d/blacklist-framebuffer.conf and it is uncommented.Also in the same path, there exists a file that contains following codelines: blacklist nouveau options nouveau modeset=0 #alias nouveau off #alias lbm-nouveau off

    – Denisa
    Apr 18 at 22:28












  • You tried to install nvidia-418 instead nvidiafb (framebuffer) is in the kernel. Please issue commands: 1. sudo mv /etc/modprobe.conf /etc/modprobe.conf.bak 2. echo "blacklist nvidiafb" | sudo tee -a /etc/modprobe.d/nvidiafb.conf 3. sudo depmod -ae and 4. sudo update-initramfs -u. Now install Nvidia driver 1. sudo apt-get purge nvidia*, 2. sudo add-apt-repository ppa:graphics-drivers/ppa, 3. sudo apt update, 4. sudo apt install nvidia-418 and 5. finally Reboot.

    – Marmayogi
    Apr 19 at 2:19


















2

















I want to install CUDA toolkit and NVIDIA drivers on Ubuntu.I am starter in linux,so I have no experience.I've had worked on this for three days but problem still exists.



Firstly, I disabled Secure Boot in BIOS.After that, In grub menu, I set nomodeset quiet splash
installed CUDA Toolkit 10.1 from there.And to install Nvidia drivers I applied steps given below:



$ sudo add-apt-repository ppa:graphics-drivers/ppa 
$ sudo apt update
$sudo apt install nvidia-driver-418
reboot


,



when nvidia-smi is entered the output is:



"NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running."



How can I solve this, thanks friends.



~$ uname -a

Linux denisa 4.18.0-17-generic #18-Ubuntu SMP Wed Mar 13 14:34:40 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux


,



~$ uname -i



x86_64


,



~$ cat /etc/os-release

NAME="Ubuntu"
VERSION="18.10 (Cosmic Cuttlefish)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.10"
VERSION_ID="18.10"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=cosmic
UBUNTU_CODENAME=cosmic


̣,



~$ sudo ubuntu-drivers devices

== /sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0 ==
modalias : pci:v000010DEd0000134Dsv00001043sd00001490bc03sc02i00
vendor : NVIDIA Corporation
model : GM108M [GeForce 940MX]
driver : nvidia-driver-410 - third-party free
driver : nvidia-driver-418 - third-party free recommended
driver : nvidia-driver-396 - third-party free
driver : nvidia-driver-415 - third-party free
driver : nvidia-driver-390 - distro non-free
driver : xserver-xorg-video-nouveau - distro free builtin


and



~$ sudo lshw -numeric -C display

*-display UNCLAIMED
description: VGA compatible controller
**product: HD Graphics 620 [8086:5916]
vendor: Intel Corporation [8086]**
physical id: 2
bus info: pci@0000:00:02.0
version: 02
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list
configuration: latency=0
resources: memory:ed000000-edffffff memory:c0000000-cfffffff ioport:f000(size=64) memory:c0000-dffff
*-display
description: 3D controller
**product: GM108M [GeForce 940MX] [10DE:134D]**
vendor: NVIDIA Corporation [10DE]
physical id: 0
bus info: pci@0000:01:00.0
version: a2
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list rom
configuration: driver=nvidiafb latency=0
resources: irq:16 memory:ee000000-eeffffff memory:d0000000-dfffffff memory:e0000000-e1ffffff ioport:e000(size=128) memory:ef000000-ef07ffff


,
Edited-V-1:



~$ mokutil --sb-state
SecureBoot disabled


,



~$ ls /sys/firmware/efi/
config_table esrt fw_vendor runtime-map vars
efivars fw_platform_size runtime systab


,




 ~$ sudo lshw -c video


[sudo] password for denisa:
*-display UNCLAIMED
description: VGA compatible controller
product: HD Graphics 620
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 02
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list
configuration: latency=0
resources: memory:ed000000-edffffff memory:c0000000-cfffffff ioport:f000(size=64) memory:c0000-dffff
*-display
description: 3D controller
product: GM108M [GeForce 940MX]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a2
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list rom
configuration: driver=nvidiafb latency=0
resources: irq:16 memory:ee000000-eeffffff memory:d0000000-dfffffff memory:e0000000-e1ffffff ioport:e000(size=128) memory:ef000000-ef07ffff



,



 ~$ dkms status 

nvidia, 418.56, 4.18.0-17-generic, x86_64: installed


,



~$ lsmod | grep nvidia

nvidiafb 49152 0
vgastate 20480 1 nvidiafb
fb_ddc 16384 1 nvidiafb
i2c_algo_bit 16384 2 nvidiafb,i915


,



~$ echo $XDG_SESSION_TYPE

x11


,



~$ nvcc -V

nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Fri_Feb__8_19:08:17_PST_2019
Cuda compilation tools, release 10.1, V10.1.105


,



Edited-V-2:



~$ sudo mv /etc/modprobe.conf /etc/modprobe.conf.bak

[sudo] password for denisa:
mv: cannot stat '/etc/modprobe.conf': No such file or directory

~$ echo "blacklist nvidiafb" | sudo tee -a /etc/modprobe.d/nvidiafb.conf

blacklist nvidiafb

~$ sudo depmod -ae

depmod: WARNING: -e needs -E or -F



~$ sudo update-initramfs -u

update-initramfs: Generating /boot/initrd.img-4.18.0-17-generic


Any help will be appreciated.Thanks friends.










share|improve this question




























  • Please edit your question and post output of the following commands: 1. mokutil --sb-state 2. ls /sys/firmware/efi/ 3. sudo lshw -c video 4. dkms status 5. lsmod | grep nvidia and 6. echo $XDG_SESSION_TYPE

    – Marmayogi
    Apr 18 at 19:16











  • I ve edited the outputs above, @Marmayogi thanks. for your help. What should be done friends

    – Denisa
    Apr 18 at 21:02












  • Do you have any line "blacklist nvidiafb" in any file in /etc/modprobe.d ? Should be on in blacklist-framebuffer.conf. If not, something went wrong with the install, you may add it, but maybe other things are missing too.

    – ubfan1
    Apr 18 at 21:54











  • Yes, @ubfan1 blacklist nvidiafb exists in the file /etc/modprobe.d/blacklist-framebuffer.conf and it is uncommented.Also in the same path, there exists a file that contains following codelines: blacklist nouveau options nouveau modeset=0 #alias nouveau off #alias lbm-nouveau off

    – Denisa
    Apr 18 at 22:28












  • You tried to install nvidia-418 instead nvidiafb (framebuffer) is in the kernel. Please issue commands: 1. sudo mv /etc/modprobe.conf /etc/modprobe.conf.bak 2. echo "blacklist nvidiafb" | sudo tee -a /etc/modprobe.d/nvidiafb.conf 3. sudo depmod -ae and 4. sudo update-initramfs -u. Now install Nvidia driver 1. sudo apt-get purge nvidia*, 2. sudo add-apt-repository ppa:graphics-drivers/ppa, 3. sudo apt update, 4. sudo apt install nvidia-418 and 5. finally Reboot.

    – Marmayogi
    Apr 19 at 2:19














2












2








2


0






I want to install CUDA toolkit and NVIDIA drivers on Ubuntu.I am starter in linux,so I have no experience.I've had worked on this for three days but problem still exists.



Firstly, I disabled Secure Boot in BIOS.After that, In grub menu, I set nomodeset quiet splash
installed CUDA Toolkit 10.1 from there.And to install Nvidia drivers I applied steps given below:



$ sudo add-apt-repository ppa:graphics-drivers/ppa 
$ sudo apt update
$sudo apt install nvidia-driver-418
reboot


,



when nvidia-smi is entered the output is:



"NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running."



How can I solve this, thanks friends.



~$ uname -a

Linux denisa 4.18.0-17-generic #18-Ubuntu SMP Wed Mar 13 14:34:40 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux


,



~$ uname -i



x86_64


,



~$ cat /etc/os-release

NAME="Ubuntu"
VERSION="18.10 (Cosmic Cuttlefish)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.10"
VERSION_ID="18.10"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=cosmic
UBUNTU_CODENAME=cosmic


̣,



~$ sudo ubuntu-drivers devices

== /sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0 ==
modalias : pci:v000010DEd0000134Dsv00001043sd00001490bc03sc02i00
vendor : NVIDIA Corporation
model : GM108M [GeForce 940MX]
driver : nvidia-driver-410 - third-party free
driver : nvidia-driver-418 - third-party free recommended
driver : nvidia-driver-396 - third-party free
driver : nvidia-driver-415 - third-party free
driver : nvidia-driver-390 - distro non-free
driver : xserver-xorg-video-nouveau - distro free builtin


and



~$ sudo lshw -numeric -C display

*-display UNCLAIMED
description: VGA compatible controller
**product: HD Graphics 620 [8086:5916]
vendor: Intel Corporation [8086]**
physical id: 2
bus info: pci@0000:00:02.0
version: 02
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list
configuration: latency=0
resources: memory:ed000000-edffffff memory:c0000000-cfffffff ioport:f000(size=64) memory:c0000-dffff
*-display
description: 3D controller
**product: GM108M [GeForce 940MX] [10DE:134D]**
vendor: NVIDIA Corporation [10DE]
physical id: 0
bus info: pci@0000:01:00.0
version: a2
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list rom
configuration: driver=nvidiafb latency=0
resources: irq:16 memory:ee000000-eeffffff memory:d0000000-dfffffff memory:e0000000-e1ffffff ioport:e000(size=128) memory:ef000000-ef07ffff


,
Edited-V-1:



~$ mokutil --sb-state
SecureBoot disabled


,



~$ ls /sys/firmware/efi/
config_table esrt fw_vendor runtime-map vars
efivars fw_platform_size runtime systab


,




 ~$ sudo lshw -c video


[sudo] password for denisa:
*-display UNCLAIMED
description: VGA compatible controller
product: HD Graphics 620
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 02
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list
configuration: latency=0
resources: memory:ed000000-edffffff memory:c0000000-cfffffff ioport:f000(size=64) memory:c0000-dffff
*-display
description: 3D controller
product: GM108M [GeForce 940MX]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a2
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list rom
configuration: driver=nvidiafb latency=0
resources: irq:16 memory:ee000000-eeffffff memory:d0000000-dfffffff memory:e0000000-e1ffffff ioport:e000(size=128) memory:ef000000-ef07ffff



,



 ~$ dkms status 

nvidia, 418.56, 4.18.0-17-generic, x86_64: installed


,



~$ lsmod | grep nvidia

nvidiafb 49152 0
vgastate 20480 1 nvidiafb
fb_ddc 16384 1 nvidiafb
i2c_algo_bit 16384 2 nvidiafb,i915


,



~$ echo $XDG_SESSION_TYPE

x11


,



~$ nvcc -V

nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Fri_Feb__8_19:08:17_PST_2019
Cuda compilation tools, release 10.1, V10.1.105


,



Edited-V-2:



~$ sudo mv /etc/modprobe.conf /etc/modprobe.conf.bak

[sudo] password for denisa:
mv: cannot stat '/etc/modprobe.conf': No such file or directory

~$ echo "blacklist nvidiafb" | sudo tee -a /etc/modprobe.d/nvidiafb.conf

blacklist nvidiafb

~$ sudo depmod -ae

depmod: WARNING: -e needs -E or -F



~$ sudo update-initramfs -u

update-initramfs: Generating /boot/initrd.img-4.18.0-17-generic


Any help will be appreciated.Thanks friends.










share|improve this question
















I want to install CUDA toolkit and NVIDIA drivers on Ubuntu.I am starter in linux,so I have no experience.I've had worked on this for three days but problem still exists.



Firstly, I disabled Secure Boot in BIOS.After that, In grub menu, I set nomodeset quiet splash
installed CUDA Toolkit 10.1 from there.And to install Nvidia drivers I applied steps given below:



$ sudo add-apt-repository ppa:graphics-drivers/ppa 
$ sudo apt update
$sudo apt install nvidia-driver-418
reboot


,



when nvidia-smi is entered the output is:



"NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running."



How can I solve this, thanks friends.



~$ uname -a

Linux denisa 4.18.0-17-generic #18-Ubuntu SMP Wed Mar 13 14:34:40 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux


,



~$ uname -i



x86_64


,



~$ cat /etc/os-release

NAME="Ubuntu"
VERSION="18.10 (Cosmic Cuttlefish)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.10"
VERSION_ID="18.10"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=cosmic
UBUNTU_CODENAME=cosmic


̣,



~$ sudo ubuntu-drivers devices

== /sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0 ==
modalias : pci:v000010DEd0000134Dsv00001043sd00001490bc03sc02i00
vendor : NVIDIA Corporation
model : GM108M [GeForce 940MX]
driver : nvidia-driver-410 - third-party free
driver : nvidia-driver-418 - third-party free recommended
driver : nvidia-driver-396 - third-party free
driver : nvidia-driver-415 - third-party free
driver : nvidia-driver-390 - distro non-free
driver : xserver-xorg-video-nouveau - distro free builtin


and



~$ sudo lshw -numeric -C display

*-display UNCLAIMED
description: VGA compatible controller
**product: HD Graphics 620 [8086:5916]
vendor: Intel Corporation [8086]**
physical id: 2
bus info: pci@0000:00:02.0
version: 02
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list
configuration: latency=0
resources: memory:ed000000-edffffff memory:c0000000-cfffffff ioport:f000(size=64) memory:c0000-dffff
*-display
description: 3D controller
**product: GM108M [GeForce 940MX] [10DE:134D]**
vendor: NVIDIA Corporation [10DE]
physical id: 0
bus info: pci@0000:01:00.0
version: a2
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list rom
configuration: driver=nvidiafb latency=0
resources: irq:16 memory:ee000000-eeffffff memory:d0000000-dfffffff memory:e0000000-e1ffffff ioport:e000(size=128) memory:ef000000-ef07ffff


,
Edited-V-1:



~$ mokutil --sb-state
SecureBoot disabled


,



~$ ls /sys/firmware/efi/
config_table esrt fw_vendor runtime-map vars
efivars fw_platform_size runtime systab


,




 ~$ sudo lshw -c video


[sudo] password for denisa:
*-display UNCLAIMED
description: VGA compatible controller
product: HD Graphics 620
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 02
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list
configuration: latency=0
resources: memory:ed000000-edffffff memory:c0000000-cfffffff ioport:f000(size=64) memory:c0000-dffff
*-display
description: 3D controller
product: GM108M [GeForce 940MX]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a2
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list rom
configuration: driver=nvidiafb latency=0
resources: irq:16 memory:ee000000-eeffffff memory:d0000000-dfffffff memory:e0000000-e1ffffff ioport:e000(size=128) memory:ef000000-ef07ffff



,



 ~$ dkms status 

nvidia, 418.56, 4.18.0-17-generic, x86_64: installed


,



~$ lsmod | grep nvidia

nvidiafb 49152 0
vgastate 20480 1 nvidiafb
fb_ddc 16384 1 nvidiafb
i2c_algo_bit 16384 2 nvidiafb,i915


,



~$ echo $XDG_SESSION_TYPE

x11


,



~$ nvcc -V

nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Fri_Feb__8_19:08:17_PST_2019
Cuda compilation tools, release 10.1, V10.1.105


,



Edited-V-2:



~$ sudo mv /etc/modprobe.conf /etc/modprobe.conf.bak

[sudo] password for denisa:
mv: cannot stat '/etc/modprobe.conf': No such file or directory

~$ echo "blacklist nvidiafb" | sudo tee -a /etc/modprobe.d/nvidiafb.conf

blacklist nvidiafb

~$ sudo depmod -ae

depmod: WARNING: -e needs -E or -F



~$ sudo update-initramfs -u

update-initramfs: Generating /boot/initrd.img-4.18.0-17-generic


Any help will be appreciated.Thanks friends.







nvidia cuda






share|improve this question















share|improve this question













share|improve this question




share|improve this question



share|improve this question








edited Apr 20 at 22:05







Denisa

















asked Apr 18 at 18:44









DenisaDenisa

112 bronze badges




112 bronze badges















  • Please edit your question and post output of the following commands: 1. mokutil --sb-state 2. ls /sys/firmware/efi/ 3. sudo lshw -c video 4. dkms status 5. lsmod | grep nvidia and 6. echo $XDG_SESSION_TYPE

    – Marmayogi
    Apr 18 at 19:16











  • I ve edited the outputs above, @Marmayogi thanks. for your help. What should be done friends

    – Denisa
    Apr 18 at 21:02












  • Do you have any line "blacklist nvidiafb" in any file in /etc/modprobe.d ? Should be on in blacklist-framebuffer.conf. If not, something went wrong with the install, you may add it, but maybe other things are missing too.

    – ubfan1
    Apr 18 at 21:54











  • Yes, @ubfan1 blacklist nvidiafb exists in the file /etc/modprobe.d/blacklist-framebuffer.conf and it is uncommented.Also in the same path, there exists a file that contains following codelines: blacklist nouveau options nouveau modeset=0 #alias nouveau off #alias lbm-nouveau off

    – Denisa
    Apr 18 at 22:28












  • You tried to install nvidia-418 instead nvidiafb (framebuffer) is in the kernel. Please issue commands: 1. sudo mv /etc/modprobe.conf /etc/modprobe.conf.bak 2. echo "blacklist nvidiafb" | sudo tee -a /etc/modprobe.d/nvidiafb.conf 3. sudo depmod -ae and 4. sudo update-initramfs -u. Now install Nvidia driver 1. sudo apt-get purge nvidia*, 2. sudo add-apt-repository ppa:graphics-drivers/ppa, 3. sudo apt update, 4. sudo apt install nvidia-418 and 5. finally Reboot.

    – Marmayogi
    Apr 19 at 2:19


















  • Please edit your question and post output of the following commands: 1. mokutil --sb-state 2. ls /sys/firmware/efi/ 3. sudo lshw -c video 4. dkms status 5. lsmod | grep nvidia and 6. echo $XDG_SESSION_TYPE

    – Marmayogi
    Apr 18 at 19:16











  • I ve edited the outputs above, @Marmayogi thanks. for your help. What should be done friends

    – Denisa
    Apr 18 at 21:02












  • Do you have any line "blacklist nvidiafb" in any file in /etc/modprobe.d ? Should be on in blacklist-framebuffer.conf. If not, something went wrong with the install, you may add it, but maybe other things are missing too.

    – ubfan1
    Apr 18 at 21:54











  • Yes, @ubfan1 blacklist nvidiafb exists in the file /etc/modprobe.d/blacklist-framebuffer.conf and it is uncommented.Also in the same path, there exists a file that contains following codelines: blacklist nouveau options nouveau modeset=0 #alias nouveau off #alias lbm-nouveau off

    – Denisa
    Apr 18 at 22:28












  • You tried to install nvidia-418 instead nvidiafb (framebuffer) is in the kernel. Please issue commands: 1. sudo mv /etc/modprobe.conf /etc/modprobe.conf.bak 2. echo "blacklist nvidiafb" | sudo tee -a /etc/modprobe.d/nvidiafb.conf 3. sudo depmod -ae and 4. sudo update-initramfs -u. Now install Nvidia driver 1. sudo apt-get purge nvidia*, 2. sudo add-apt-repository ppa:graphics-drivers/ppa, 3. sudo apt update, 4. sudo apt install nvidia-418 and 5. finally Reboot.

    – Marmayogi
    Apr 19 at 2:19

















Please edit your question and post output of the following commands: 1. mokutil --sb-state 2. ls /sys/firmware/efi/ 3. sudo lshw -c video 4. dkms status 5. lsmod | grep nvidia and 6. echo $XDG_SESSION_TYPE

– Marmayogi
Apr 18 at 19:16





Please edit your question and post output of the following commands: 1. mokutil --sb-state 2. ls /sys/firmware/efi/ 3. sudo lshw -c video 4. dkms status 5. lsmod | grep nvidia and 6. echo $XDG_SESSION_TYPE

– Marmayogi
Apr 18 at 19:16













I ve edited the outputs above, @Marmayogi thanks. for your help. What should be done friends

– Denisa
Apr 18 at 21:02






I ve edited the outputs above, @Marmayogi thanks. for your help. What should be done friends

– Denisa
Apr 18 at 21:02














Do you have any line "blacklist nvidiafb" in any file in /etc/modprobe.d ? Should be on in blacklist-framebuffer.conf. If not, something went wrong with the install, you may add it, but maybe other things are missing too.

– ubfan1
Apr 18 at 21:54





Do you have any line "blacklist nvidiafb" in any file in /etc/modprobe.d ? Should be on in blacklist-framebuffer.conf. If not, something went wrong with the install, you may add it, but maybe other things are missing too.

– ubfan1
Apr 18 at 21:54













Yes, @ubfan1 blacklist nvidiafb exists in the file /etc/modprobe.d/blacklist-framebuffer.conf and it is uncommented.Also in the same path, there exists a file that contains following codelines: blacklist nouveau options nouveau modeset=0 #alias nouveau off #alias lbm-nouveau off

– Denisa
Apr 18 at 22:28






Yes, @ubfan1 blacklist nvidiafb exists in the file /etc/modprobe.d/blacklist-framebuffer.conf and it is uncommented.Also in the same path, there exists a file that contains following codelines: blacklist nouveau options nouveau modeset=0 #alias nouveau off #alias lbm-nouveau off

– Denisa
Apr 18 at 22:28














You tried to install nvidia-418 instead nvidiafb (framebuffer) is in the kernel. Please issue commands: 1. sudo mv /etc/modprobe.conf /etc/modprobe.conf.bak 2. echo "blacklist nvidiafb" | sudo tee -a /etc/modprobe.d/nvidiafb.conf 3. sudo depmod -ae and 4. sudo update-initramfs -u. Now install Nvidia driver 1. sudo apt-get purge nvidia*, 2. sudo add-apt-repository ppa:graphics-drivers/ppa, 3. sudo apt update, 4. sudo apt install nvidia-418 and 5. finally Reboot.

– Marmayogi
Apr 19 at 2:19






You tried to install nvidia-418 instead nvidiafb (framebuffer) is in the kernel. Please issue commands: 1. sudo mv /etc/modprobe.conf /etc/modprobe.conf.bak 2. echo "blacklist nvidiafb" | sudo tee -a /etc/modprobe.d/nvidiafb.conf 3. sudo depmod -ae and 4. sudo update-initramfs -u. Now install Nvidia driver 1. sudo apt-get purge nvidia*, 2. sudo add-apt-repository ppa:graphics-drivers/ppa, 3. sudo apt update, 4. sudo apt install nvidia-418 and 5. finally Reboot.

– Marmayogi
Apr 19 at 2:19











0






active

oldest

votes













Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);














draft saved

draft discarded
















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1135018%2fcuda-nvidia-installation-unsuccessful-and-nvidia-smi-error%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown


























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1135018%2fcuda-nvidia-installation-unsuccessful-and-nvidia-smi-error%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown









Popular posts from this blog

Distance measures on a map of a game The 2019 Stack Overflow Developer Survey Results Are Inmin distance in a graphShortest distance path on contour plotHow to plot a tilted map?Finding points outside of a diskDelaunay link distanceAnnulus from GeoDisks: drawing a ring on a mapNegative Correlation DistanceFind distance along a path (GPS coordinates)Finding position at given distance in a GeoPathMathematics behind distance estimation using camera

How to get a smooth, uniform ParametricPlot of a 2D Region?How to plot a complicated Region?How to exclude a region from ParametricPlotHow discretize a region placing vertices on a specific non-uniform gridHow to transform a Plot or a ParametricPlot into a RegionHow can I get a smooth plot of a bounded region?Smooth ParametricPlot3D with RegionFunction?Smooth border of a region ParametricPlotSmooth region boundarySmooth region plot from list of pointsGet minimum y of a certain x in a region

Genealogie vun de Merowenger Vum Merowech bis zum Chilperich I. | Navigatiounsmenü