drivers – Installing CUDA 11.1 on Ubuntu 20.04 for NVIDIA GeForce 1650 Ti (notebook)

I purged everything related to cuda/nvidia and installed the nvidia driver for 1650 Ti (notebook) from scratch from NVIDIA Website and again it installed cuda 11.2 for me while I do need CUDA 11.1 for PyTorch 1.8 GPU version. How can I install CUDA 11.1 in Ubuntu 20.04 for NVIDIA GeForce 1650 Ti (notebook) GPU?

$ sudo apt-get –purge remove “cublas” “cuda*” “nsight*”

$ sudo apt-get --purge remove "*nvidia*"
$ sudo rm -rf /usr/local/cuda*
$ sudo apt-get autoclean
$ sudo apt-get autoremove
$ sudo apt-get purge nvidia*

Downloaded the CUDA 11.1 from NVIDIA Website:

$ wget https://developer.download.nvidia.com/compute/cuda/11.1.0/local_installers/cuda_11.1.0_455.23.05_linux.run

Downloaded the NVIDIA driver for 1650 Ti (notebook) for Linux 64 bit from NVIDIA Website and:

$ sudo init 3

then installed the nvidia driver

$ ./NVIDIA-Linux-x86_64-460.56.run

$ reboot

then in ubuntu gui terminal

mona@goku:~$ sudo sh cuda_11.1.0_455.23.05_linux.run
(sudo) password for mona:
Installation failed. See log at /var/log/cuda-installer.log for details.
The log in vi /var/log/nvidia-installer.log reads as:
ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.

After the nvidia-driver is installed, even without installing CUDA 11.1 that I downloaded I see that version 11.2 for cuda is installed

$ nvidia-smi
Fri Mar 5 20:16:41 2021
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 460.56 Driver Version: 460.56 CUDA Version: 11.2 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 GeForce GTX 165... Off | 00000000:01:00.0 Off | N/A |
| N/A 39C P8 3W / N/A | 10MiB / 3911MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 1173 G /usr/lib/xorg/Xorg 4MiB |
| 0 N/A N/A 1703 G /usr/lib/xorg/Xorg 4MiB |
+-----------------------------------------------------------------------------+

The log is:

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Fri Mar  5 20:30:23 2021
installer version: 455.23.05

PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin

nvidia-installer command line:
    ./nvidia-installer
    --ui=none
    --no-questions
    --accept-license
    --disable-nouveau
    --no-cc-version-check
    --install-libglvnd

Using built-in stream user interface
-> Detected 12 CPUs online; setting concurrency level to 12.
ERROR: An NVIDIA kernel module 'nvidia-drm' appears to already be loaded in your kernel.  This may be because it is in use (for example, by an X server, a CUDA program, or the NVIDIA Persistence Daemon), but this may also happen if your kernel was configured without support for module unloading.  Please be sure to exit any programs that may be using the GPU(s) before attempting to upgrade your driver.  If no GPU-based programs are running, you know that your kernel supports module unloading, and you still receive this message, then an error may have occured that has corrupted an NVIDIA kernel module's usage count, for which the simplest remedy is to reboot your computer.
ERROR: Installation has failed.  Please see the file '/var/log/nvidia-installer.log' for details.  You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.

drivers – Ethernet Cable Not Being Recognized

Brand new to Ubuntu, got it installed today. It does not recognize my ethernet cable. I am trying to install the drivers from realtek, but having a really hard time. All kinds of errors and searching all the responses, they seem to need commands that I do not have an cannot update. Any help much appreciated, this is very frustrating.

I’m using 20.04 LTS

virtual machine – Installing NVIDIA GPU drivers on Azure N-Series VM

I provisioned an NV8as_v4 virtual machine in my Azure subscription. The application I plan on running requires OpenGL 2.0 or greater support so I’m looking at Azure’s N-series VMs for their GPU support. However, I’m running into issues getting NVIDIA drivers installed on this machine. Here is what I’ve tried and the result of each so far:

  • Provisioned the VM and attempted to install drivers manually according to instructions here: https://docs.microsoft.com/en-us/azure/virtual-machines/windows/n-series-driver-setup. Running the executable driver file indicates that no supported video card was found. See Screenshot #1.
  • Provisioned the VM and attempted to install the NVIDIA GPU Driver Extension via the Azure portal (VM > Extensions > Add). The result of the extension installation was Provisioning Failed and the server ended up in an infinite reboot cycle (I could log in if I did it quickly enough, but received a warning that a reboot was imminent with a reboot initiated within seconds). I was able to pull up Device Manager before the reboot. No NVIDIA drivers detected (see Screenshot #2).
  • Deleted the prior VM and provisioned another, this time installing the NVIDIA GPU Driver Extension as part of the VM provisioning (using the Advanced tab on VM setup). The result of the extension installation was Provisioning Succeeded but I experienced the same reboot behavior as above and Device Manager did not detect the NVIDIA drivers (See Screenshot #2).

I have to be missing something simple as this seems like basic functionality for an N-Series VM. Any thoughts on how I can get this N-Series VM to install the proper drivers?

SCREENSHOT #1

VM can't locate compatible hardware

SCREENSHOT #2

Device manager doesn't show NVIDIA drivers installed

centos – How can I best get the mpt2 drivers back in to Centos8 [for maas images and openstack ironic/image builder]

I need the mpt2sas drivers to get Centos8 to work with my servers. Thanks to them using the rhel nutered kernel the device id’s have been removed and wont load with out using a dd disk. I have both maas and openstack ironic/image service for openstack. In order to get those drivers back on the images that those 2 systems build/upload as far as I can tell I need either a custom vanilla rpm with the proper drivers or to find a way to get those build systems to pull the dd disk in during build time.

I am not sure which option would be more realistic to accomplish. maas has the ks boot dd option which i was not able to get to work when using packer-maas I haven’t had much experience with packer or ks so it may be something I did wrong.

The other option I had no issues making the kernel but am at a loss on how to build the rpm of it as all the instructions I have found were from the 2.6 kernel era. I was expecting to have to use a local rpm repo to mirror the centos8 repo and make my vanilla kernel be listed as the latest of the kernel series.

Any suggestions on how to make this work would be greatly appreciated.

how to install drivers or software for startek fm 220 u finger print scanner in ubuntu 20.04.2?

if there is a ppa or something, please let me know.

Do I need to install wine and then install the windows drivers?

drivers – VL805 PCIe USB card fails

I just added a VL805 PCIe card to my 20.04 system, and while it’s found, and a driver (xhci_hcd) is allocated to it, it is not working.

This is the output from lspci -k:

28:00.0 USB controller: VIA Technologies, Inc. VL805 USB 3.0 Host Controller (rev 01)
        Subsystem: VIA Technologies, Inc. VL805 USB 3.0 Host Controller
        Kernel driver in use: xhci_hcd

The symptom that I have found so far is that in dmesg, there are several entries reporting that this device is found, and is being configured, but then later on, there is this entry:

(  117.733492) xhci_hcd 0000:28:00.0: WARNING: Host System Error
(  117.733534) xhci_hcd 0000:28:00.0: AMD-Vi: Event logged (IO_PAGE_FAULT domain=0x0012 address=0xd245d000 flags=0x0000)
(  117.749501) xhci_hcd 0000:28:00.0: Host halt failed, -110
(  128.779019) xhci_hcd 0000:28:00.0: xHCI host not responding to stop endpoint command.
(  128.795030) xhci_hcd 0000:28:00.0: Host halt failed, -110
(  128.795031) xhci_hcd 0000:28:00.0: xHCI host controller not responding, assume dead
(  128.795054) xhci_hcd 0000:28:00.0: HC died; cleaning up
(  128.795084) usb 3-1: USB disconnect, device number 2

Is there any hope for this, or do I need to return the card and try another?

TIA
Toby

drivers – What does it mean the given behavior on my laptop?

After updating my system and before, I got this issue but I don’t understand why that happens sometimes.
By the way, The screen is not broken and the laptop is Acer aspire E5-527G-39m5
Maybe are not installed drivers for the Nvidia video card or the Intel driver working not correctly??
enter image description here

apt – Nvidia drivers: Errors were encountered while processing: libglx-mesa0:i386

I am trying to install nvidia driver 460 on my Ubuntu 20.04 laptop, but I am getting the error below.

Could anybody help me with troubleshooting it? I purged the drivers and tried different versions but I am always ending up with this error (I need at least version 418 because it’s the minimum requirement for handbrake’s GPU support).

user@pc:~$ sudo apt install nvidia-driver-460
(sudo) password for pc: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
nvidia-driver-460 is already the newest version (460.39-0ubuntu0.20.04.1).
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
6 not fully installed or removed.
Need to get 0 B/10.6 MB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? (Y/n) 
dpkg: dependency problems prevent configuration of libglx-mesa0:i386:
 libglx-mesa0:i386 depends on libgl1-mesa-dri; however:
  Package libgl1-mesa-dri:i386 is not installed.

dpkg: error processing package libglx-mesa0:i386 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libglx0:i386:
 libglx0:i386 depends on libglx-mesa0; however:
  Package libglx-mesa0:i386 is not configured yet.

dpkg: error processing package libglx0:i386 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgl1:i386:
 libgl1:i386 depends on libglx0 (= 1.3.2-1~ubuntu0.20.04.1); however:
  Package libglx0:i386 is not configured yet.

No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          No apport report written because the error message indicates its a followup er
ror from a previous failure.
                            No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                                                      No apport report written because MaxReports is rea
ched already
            dpkg: error processing package libgl1:i386 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libnvidia-ifr1-460:i386:
 libnvidia-ifr1-460:i386 depends on libgl1; however:
  Package libgl1:i386 is not configured yet.

dpkg: error processing package libnvidia-ifr1-460:i386 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libnvidia-fbc1-460:i386:
 libnvidia-fbc1-460:i386 depends on libgl1; however:
  Package libgl1:i386 is not configured yet.

dpkg: error processing package libnvidia-fbc1-460:i386 (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              Errors were encountered while processing:
 libglx-mesa0:i386
 libglx0:i386
 libgl1:i386
 libnvidia-ifr1-460:i386
 libnvidia-fbc1-460:i386
E: Sub-process /usr/bin/dpkg returned an error code (1)

Any help is greatly appreciated.

amd graphics – Ubuntu 18.04 AMD GPU drivers

I have 18.04.5 LTS installed (server version).

I need opencl support. I tried installing AMD GPU driver, version 20.40, which is designated to work with this version of Ubuntu:

https://www.amd.com/en/support/kb/release-notes/rn-amdgpu-unified-linux-20-40

./amdgpu-pro-install --headless --opencl=pal,legacy

I always get the same result:

Building initial module for 4.15.0-135-generic
ERROR: Cannot create report: (Errno 17) File exists: '/var/crash/amdgpu-dkms.0.crash'
Error! Bad return status for module build on kernel: 4.15.0-135-generic (x86_64)

From the make.log file:

  LD (M)  /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdkcl/amdkcl.o
  CC (M)  /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_xgmi.o
  CC (M)  /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_csa.o
/var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_bios.c: In function ‘amdgpu_read_platform_bios’:
/var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_bios.c:200:9: error: implicit declaration of function ‘pci_platform_rom’; did you mean ‘pci_map_rom’? (-Werror=implicit-function-declaration)
  bios = pci_platform_rom(adev->pdev, &size);
         ^~~~~~~~~~~~~~~~
         pci_map_rom

Was anyone successful in installing these drivers?
Does anyone know how to solve this error?

kernel – How do I install drivers for AMD grpahics card?

So I’ve just downloaded Ubuntu(using it as a dual-boot) on my machine – a 6800 graphics card and 5900x processor. Although the install was successful, the screen is very laggy/unresponsive, like its using integrated graphics. I’ve heard you don’t need to install proprietary drivers, but it just feels like I’m running on integrated graphics and that its somehow not picking up my GPU. I’ve tried installing the amd-gpu-pro drivers but keep getting this same error. I’ve also noticed that it won’t let me change my resolution or refresh rate in settings. Any help would be appreciated.

trying to install amdgpu-pro