Can't install GeForce GTX 1650 TI on Pop_OS! 21.04

Hello,

I am having a lot of trouble installing my GTX 1650 TI under Pop_OS! 21.04.
I’ve tried everything I could find scattered around this forum and on google as well, but to no avail.

I’ll drop some info about my current system:

neofetch:
///////////////////// ----------
///////767//////////////// OS: Pop!_OS 21.04 x86_64
//////7676767676
////////////// Host: HP Pavilion Gaming Laptop 15-ec
/////76767//7676767////////////// Kernel: 5.8.0-7642-generic
/////767676///76767/////////////// Uptime: 15 mins
///////767676///76767.///7676
/////// Packages: 2448 (dpkg), 45 (flatpak)
/////////767676//76767///767676//////// Shell: bash 5.1.4
//////////76767676767////76767///////// Resolution: 1920x1080
///////////76767676//////7676////////// DE: GNOME
////////////,7676,///////767/////////// WM: Mutter
/////////////*7676///////76//////////// WM Theme: Pop
///////////////7676//////////////////// Theme: Pop-dark [GTK2/3]
///////////////7676///767//////////// Icons: Pop [GTK2/3]
//////////////////////’//////////// Terminal: gnome-terminal
//////.7676767676767676767,////// CPU: AMD Ryzen 5 4600H with Radeon Gr
/////767676767676767676767///// GPU: AMD ATI 05:00.0 Renoir
/////////////////////////// Memory: 2155MiB / 31532MiB
/////////////////////
/////////////

GPU only shows AMD ATI Renoir (onboard graphics), missing GeForce GTX 1650 TI.

nvidia-smi:
NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

lspci | grep VGA:
05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Renoir (rev c7)

I’ve tried installing the driver per system76 recommendation,
sudo apt install system76-driver-nvidia
… errors while processing:
system76-io-dkms
system76-driver
system76-acpi-dkms
system76-dkms
nvidia-dkms-470
nvidia-driver-470
system76-driver-nvidia
nvidia-driver-460

and also installing the driver downloaded from Nvidia website,
sudo ./NVIDIA-Linux-x86_64-430.09.run

and I get a message stating:
*WARNING: You do not appear to have an NVIDIA GPU supported by the 430.09 NVIDIA Linux graphics driver installed in this system. For further details, please see the appendix SUPPORTED *

  •       NVIDIA GRAPHICS CHIPS in the README available on the Linux driver download page at www.nvidia.com.*
    

I am desperate trying to find a solution to this, as my discrete graphics card is not working.
I have secure boot disabled under the BIOS.

Can anyone please advise?

Thanks in advance

Sounds like the nvidia gpu isn’t detected at all. In case this is a notebook, please check whether it’s diabled in bios.
Please run nvidia-bug-report.sh as root and attach the resulting nvidia-bug-report.log.gz file to your post.

Hello,

Thanks for your reply.

Please find attached the request file with the report.

By the way, I forgot to mention two things. This is a dual boot machine, with windows 10 on the other side, and the graphic card works under windows, every time. The other thing is that the graphic card worked in the past under linux. I could switch between Integrated graphics, Intel graphics, Hybrid graphics or Compute graphics. I cannot find anything in the BIOS that enables or disables the graphic card.

Can you advise further?

nvidia-bug-report.log.gz (159.8 KB)

Looks like some package installed a broken udev rule which removes the gpu from the bus.
Please post the output of
grep 10de /lib/udev/rules.d/*

Furthermore, it seems the blacklist files for nvidiafb and nouveau are gone. Please create
/etc/modprobe.d/blacklist-nouveau-nvidiafb.conf

blacklist nouveau
blacklist nvidiafb

and run
sudo update-initramfs -u
afterwards.

Here is the output of grep:

/lib/udev/rules.d/71-nvidia.rules:SUBSYSTEM==“pci”, ATTRS{vendor}==“0x10de”, DRIVERS==“nvidia”, TAG+=“seat”, TAG+=“master-of-seat”
/lib/udev/rules.d/71-nvidia.rules:#ACTION==“add”, SUBSYSTEM==“pci”, ATTR{vendor}==“0x10de”, ATTR{class}==“0x03[0-9]*”, TEST==“power/control”, ATTR{power/control}=“auto”
/lib/udev/rules.d/71-nvidia.rules:ACTION==“add”, SUBSYSTEM==“pci”, ATTR{vendor}==“0x10de”, ATTR{class}==“0x040300”, TEST==“power/control”, ATTR{power/control}=“auto”
/lib/udev/rules.d/71-nvidia.rules:ACTION==“add”, SUBSYSTEM==“pci”, ATTR{vendor}==“0x10de”, ATTR{class}==“0x0c0330”, TEST==“power/control”, ATTR{power/control}=“auto”
/lib/udev/rules.d/71-nvidia.rules:ACTION==“add”, SUBSYSTEM==“pci”, ATTR{vendor}==“0x10de”, ATTR{class}==“0x0c8000”, TEST==“power/control”, ATTR{power/control}=“auto”

Created file blacklist-nouveau-nvidiafb.conf and added both lines.

Output of update-initramfs -u:
update-initramfs: Generating /boot/initrd.img-5.15.5-76051505-generic
W: Possible missing firmware /lib/firmware/amdgpu/yellow_carp_gpu_info.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vangogh_gpu_info.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/aldebaran_ta.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/aldebaran_sos.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/aldebaran_rlc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/aldebaran_mec2.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/aldebaran_mec.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/cyan_skillfish2_rlc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/cyan_skillfish2_mec2.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/cyan_skillfish2_mec.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/cyan_skillfish2_me.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/cyan_skillfish2_pfp.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/cyan_skillfish2_ce.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/cyan_skillfish_rlc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/cyan_skillfish_mec2.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/cyan_skillfish_mec.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/cyan_skillfish_me.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/cyan_skillfish_pfp.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/cyan_skillfish_ce.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/aldebaran_sdma.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/cyan_skillfish2_sdma1.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/cyan_skillfish2_sdma.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/cyan_skillfish_sdma1.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/cyan_skillfish_sdma.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/sienna_cichlid_mes.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi10_mes.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/aldebaran_vcn.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/aldebaran_smc.bin for module amdgpu
kernelstub.Config : INFO Looking for configuration…
kernelstub : INFO System information:

OS:..................Pop!_OS 21.04
Root partition:....../dev/nvme0n1p7
Root FS UUID:........e3ae3024-597a-4a5c-9f31-a0f1fe79ed34
ESP Path:............/boot/efi
ESP Partition:......./dev/nvme0n1p1
ESP Partition #:.....1
NVRAM entry #:.......-1
Boot Variable #:.....0000
Kernel Boot Options:.loglevel=0 splash systemd.show_status=false quiet mem_sleep_default=deep
Kernel Image Path:.../boot/vmlinuz-5.15.5-76051505-generic
Initrd Image Path:.../boot/initrd.img-5.15.5-76051505-generic
Force-overwrite:.....False

kernelstub.Installer : INFO Copying Kernel into ESP
kernelstub.Installer : INFO Copying initrd.img into ESP
kernelstub.Installer : INFO Setting up loader.conf configuration
kernelstub.Installer : INFO Making entry file for Pop!_OS
kernelstub.Installer : INFO Backing up old kernel
kernelstub.Installer : INFO Making entry file for Pop!_OS

The rules are fine. Since the gpu is only removed 6s after boot

[ 6.037578] pci 0000:01:00.0: Removing from iommu group 9
[ 6.037962] pci 0000:01:00.1: Removing from iommu group 9

This must be some service started by systemd. Do you have something like supergfxd or the like installed?

Could not find supergfxd. But here is the list of running services from service --status-all:

[ + ] acpid
[ - ] alsa-utils
[ - ] apache-htcacheclean
[ + ] apache2
[ + ] apparmor
[ + ] apport
[ + ] atd
[ + ] atop
[ + ] atopacct
[ + ] avahi-daemon
[ + ] bluetooth
[ - ] console-setup.sh
[ + ] cron
[ - ] cryptdisks
[ - ] cryptdisks-early
[ + ] cups
[ + ] cups-browsed
[ + ] dbus
[ + ] gdm3
[ + ] grub-common
[ + ] hddtemp
[ - ] hwclock.sh
[ + ] irqbalance
[ - ] keyboard-setup.sh
[ + ] kmod
[ + ] lm-sensors
[ - ] lvm2
[ - ] lvm2-lvmpolld
[ + ] mariadb
[ + ] mysql
[ + ] networking
[ + ] openvpn
[ - ] plymouth
[ + ] plymouth-log
[ + ] postfix
[ - ] pppd-dns
[ + ] procps
[ - ] pulseaudio-enable-autospawn
[ + ] resilio-sync
[ + ] resolvconf
[ - ] rsync
[ + ] rsyslog
[ - ] saned
[ - ] speech-dispatcher
[ + ] udev
[ + ] ufw
[ - ] uuidd
[ - ] x11-common

And also systemctl list-units --type=service:

UNIT                                           LOAD   ACTIVE SUB     DESCRIPTION
  accounts-daemon.service                        loaded active running Accounts Service
  acpid.service                                  loaded active running ACPI event daemon
  alsa-restore.service                           loaded active exited  Save/Restore Sound Card State
  anydesk.service                                loaded active running AnyDesk
  apache2.service                                loaded active running The Apache HTTP Server
  apparmor.service                               loaded active exited  Load AppArmor profiles
  apport.service                                 loaded active exited  LSB: automatic crash report generation
  atd.service                                    loaded active running Deferred execution scheduler
  atop.service                                   loaded active running Atop advanced performance monitor
  atopacct.service                               loaded active running Atop process accounting daemon
  avahi-daemon.service                           loaded active running Avahi mDNS/DNS-SD Stack
  blk-availability.service                       loaded active exited  Availability of block devices
  bluetooth.service                              loaded active running Bluetooth service
  colord.service                                 loaded active running Manage, Install and Generate Color Profiles
  console-setup.service                          loaded active exited  Set console font and keymap
  cron.service                                   loaded active running Regular background program processing daemon
  cups-browsed.service                           loaded active running Make remote CUPS printers available locally
  cups.service                                   loaded active running CUPS Scheduler
  dbus.service                                   loaded active running D-Bus System Message Bus
  finalrd.service                                loaded active exited  Create final runtime dir for shutdown pivot root
  fwupd.service                                  loaded active running Firmware update daemon
  gdm.service                                    loaded active running GNOME Display Manager
  geoclue.service                                loaded active running Location Lookup Service
  grub-common.service                            loaded active exited  Record successful boot for GRUB
  hddtemp.service                                loaded active exited  LSB: disk temperature monitoring daemon
  ifupdown-pre.service                           loaded active exited  Helper to synchronize boot up for ifupdown
  irqbalance.service                             loaded active running irqbalance daemon
  keyboard-setup.service                         loaded active exited  Set the console keyboard layout
  kmod-static-nodes.service                      loaded active exited  Create list of static device nodes for the current kernel
  lm-sensors.service                             loaded active exited  Initialize hardware monitoring sensors
  lvm2-monitor.service                           loaded active exited  Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling
  mariadb.service                                loaded active running MariaDB 10.5.12 database server
  ModemManager.service                           loaded active running Modem Manager
  networkd-dispatcher.service                    loaded active running Dispatcher daemon for systemd-networkd
  networking.service                             loaded active exited  Raise network interfaces
  NetworkManager-wait-online.service             loaded active exited  Network Manager Wait Online
  NetworkManager.service                         loaded active running Network Manager
  openvpn.service                                loaded active exited  OpenVPN service
  packagekit.service                             loaded active running PackageKit Daemon
  plymouth-quit-wait.service                     loaded active exited  Hold until boot process finishes up
  plymouth-read-write.service                    loaded active exited  Tell Plymouth To Write Out Runtime Data
  plymouth-start.service                         loaded active exited  Show Plymouth Boot Screen
  polkit.service                                 loaded active running Authorization Manager
  pop-upgrade.service                            loaded active running Pop Upgrade Daemon
  postfix.service                                loaded active exited  Postfix Mail Transport Agent
  postfix@-.service                              loaded active running Postfix Mail Transport Agent (instance -)
  resilio-sync.service                           loaded active running Resilio Sync service
  resolvconf.service                             loaded active exited  Nameserver information manager
  rsyslog.service                                loaded active running System Logging Service
  rtkit-daemon.service                           loaded active running RealtimeKit Scheduling Policy Service
  setvtrgb.service                               loaded active exited  Set console scheme
  switcheroo-control.service                     loaded active running Switcheroo Control Proxy service
  system76-firmware-daemon.service               loaded active running System76 Firmware Daemon
  system76-power.service                         loaded active running System76 Power Daemon
  systemd-backlight@backlight:amdgpu_bl0.service loaded active exited  Load/Save Screen Backlight Brightness of backlight:amdgpu_bl0
  systemd-journal-flush.service                  loaded active exited  Flush Journal to Persistent Storage
  systemd-journald.service                       loaded active running Journal Service
  systemd-logind.service                         loaded active running User Login Management
  systemd-modules-load.service                   loaded active exited  Load Kernel Modules
  systemd-random-seed.service                    loaded active exited  Load/Save Random Seed
  systemd-remount-fs.service                     loaded active exited  Remount Root and Kernel File Systems
  systemd-resolved.service                       loaded active running Network Name Resolution
  systemd-sysctl.service                         loaded active exited  Apply Kernel Variables
  systemd-sysusers.service                       loaded active exited  Create System Users
  systemd-timesyncd.service                      loaded active running Network Time Synchronization
  systemd-tmpfiles-setup-dev.service             loaded active exited  Create Static Device Nodes in /dev
  systemd-tmpfiles-setup.service                 loaded active exited  Create Volatile Files and Directories
  systemd-udev-trigger.service                   loaded active exited  Coldplug All udev Devices
  systemd-udevd.service                          loaded active running Rule-based Manager for Device Events and Files
  systemd-update-utmp.service                    loaded active exited  Update UTMP about System Boot/Shutdown
  systemd-user-sessions.service                  loaded active exited  Permit User Sessions
  touchegg.service                               loaded active running Touchégg Daemon
  udisks2.service                                loaded active running Disk Manager
  ufw.service                                    loaded active exited  Uncomplicated firewall
  upower.service                                 loaded active running Daemon for power management
  user-runtime-dir@1000.service                  loaded active exited  User Runtime Directory /run/user/1000
  user@1000.service                              loaded active running User Manager for UID 1000
  wpa_supplicant.service                         loaded active running WPA supplicant

Nothing suspicious there. Please check journalctl -b0 if there’s some corresponding message when the gpu gets removed.

OK. The output is kind of confusing… at least to me.

I found lines like:

dez 02 11:39:01 pavy kernel: [drm] Detected VRAM RAM=512M, BAR=512M
dez 02 11:39:01 pavy kernel: [drm] RAM width 128bits DDR4
dez 02 11:39:01 pavy kernel: [drm] amdgpu: 512M of VRAM memory ready
dez 02 11:39:01 pavy kernel: [drm] amdgpu: 3072M of GTT memory ready.

and:

dez 02 11:39:02 pavy system76-power[753]: [INFO] 0000:01:00.0: NVIDIA graphics
dez 02 11:39:02 pavy system76-power[753]: [INFO] 0000:01:00.0: Function for 0000:01:00.0
dez 02 11:39:02 pavy system76-power[753]: [INFO] 0000:01:00.1: Function for 0000:01:00.0

and also:

dez 02 11:39:03 pavy optimus.desktop[1399]: Could not find provider with name NVIDIA-0
dez 02 11:39:10 pavy nvidia-settings-autostart.desktop[3727]: ERROR: NVIDIA driver is not loaded
dez 02 11:39:10 pavy nvidia-settings-autostart.desktop[3727]: ERROR: Unable to load info from any available system

So I guess something is failing, but I don’t know exactly what, because in a way I am also not sure what to look for in this output. Could you guys please help me further?

I’ll leave the full output in a file here, just in case.
journalctlb0.txt (421.7 KB)

Thanks for your effort

It’s this:

system76-power[753]: [INFO] 0000:01:00.0: Removing

The system76 power daemon is removing the gpu. Please check its config.

I have the same problem using a similar configuration:
(neofetch)
///////767//////////////// OS: Pop!_OS 21.04 x86_64
//////7676767676
////////////// Host: Nitro AN515-44 V1.01
/////76767//7676767////////////// Kernel: 5.15.5-76051505-generic
/////767676///76767/////////////// Uptime: 2 hours, 11 mins
///////767676///76767.///7676
/////// Packages: 2694 (dpkg), 30 (flatpak), 9 (snap)
/////////767676//76767///767676//////// Shell: bash 5.1.4
//////////76767676767////76767///////// Resolution: 1920x1080
///////////76767676//////7676////////// DE: GNOME 3.38.4
////////////,7676,///////767/////////// WM: Mutter
/////////////*7676///////76//////////// WM Theme: Pop
///////////////7676//////////////////// Theme: Pop [GTK2/3]
///////////////7676///767//////////// Icons: Pop [GTK2/3]
//////////////////////’//////////// Terminal: x-terminal-emul
//////.7676767676767676767,////// CPU: AMD Ryzen 7 4800H with Radeon Graphics (16) @ 2.900GHz
/////767676767676767676767///// GPU: AMD ATI 05:00.0 Renoir
/////////////////////////// Memory: 7156MiB / 31533MiB
Video: also GeForce GTX 1650 TI
I have hunted some fw files but cannot get the following ones.

$sudo update-initramfs -u -k all
update-initramfs: Generating /boot/initrd.img-5.15.5-76051505-generic
cryptsetup: WARNING: Resume target cryptswap uses a key file
W: Possible missing firmware /lib/firmware/amdgpu/yellow_carp_gpu_info.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/cyan_skillfish_rlc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/cyan_skillfish_mec2.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/cyan_skillfish_mec.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/cyan_skillfish_me.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/cyan_skillfish_pfp.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/cyan_skillfish_ce.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/cyan_skillfish_sdma1.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/cyan_skillfish_sdma.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi10_mes.bin for module amdgpu
kernelstub.Config    : INFO     Looking for configuration...
kernelstub           : INFO     System information: 

    OS:..................Pop!_OS 21.04
    Root partition:....../dev/dm-1
    Root FS UUID:........cbf51df0-0f8e-4291-af15-7a2cbdbf1ea0
    ESP Path:............/boot/efi
    ESP Partition:......./dev/nvme0n1p1
    ESP Partition #:.....1
    NVRAM entry #:.......-1
    Boot Variable #:.....0000
    Kernel Boot Options:.quiet loglevel=0 systemd.show_status=false splash
    Kernel Image Path:.../boot/vmlinuz-5.15.5-76051505-generic
    Initrd Image Path:.../boot/initrd.img-5.15.5-76051505-generic
    Force-overwrite:.....False

kernelstub.Installer : INFO     Copying Kernel into ESP
kernelstub.Installer : INFO     Copying initrd.img into ESP
kernelstub.Installer : INFO     Setting up loader.conf configuration
kernelstub.Installer : INFO     Making entry file for Pop!_OS
kernelstub.Installer : INFO     Backing up old kernel
kernelstub.Installer : INFO     Making entry file for Pop!_OS

Please open an issue here:
https://github.com/pop-os/system76-power

Generix,
I would like to thank you for your time and patience in helping me solving this issue. You already helped me a lot.
I’ve just opened an issue where you suggested and I hope they eventually give me a solution for this problem.

If I ever find out the solution, I will also post it here for future readers.

Thanks once again.
Kind regards,
Pedro