pop-os / nvidia-graphics-drivers

Pop!_OS NVIDIA Graphics Drivers
134 stars 7 forks source link

510.60.02 #144

Closed jackpot51 closed 2 years ago

jackpot51 commented 2 years ago

https://www.nvidia.com/Download/driverResults.aspx/187162/en-us

XV-02 commented 2 years ago

When attempting to update through pop_shop from 470, 510.60.02 throws up a dependence error for the previous 510 driver iteration, and provides no way through pop-shop to do the intermediary update.

jackpot51 commented 2 years ago

@XV-02 can you provide a screenshot?

XV-02 commented 2 years ago

The Screenshot: Screenshot from 2022-03-31 14-52-44

Text from the error: ErrorOutput.txt

It does install via apt, after purging other nvidia drivers, I should note, though it will not install in parallel with 470.

linuxgnuru commented 2 years ago

@XV-02 Which Pop version are you running?

XV-02 commented 2 years ago

Which Pop version are you running?

I'm using 20.04. I suspect that the issue would persist regardless. Currently the 20.04 iso ships with 470.

XV-02 commented 2 years ago

Steam will not correctly launch with this driver update in 20.04.

It will install, and it can launch in Nvidia, Integrated, and Hybrid modes with 470. With 510.60, it can launch only in modes where the integrated graphics are available. Installing Steam with 470 installed, and then upgrading to 510.60 didn't work either.

jackpot51 commented 2 years ago

@XV-02 I hope the latest changes fix those issues. If not, it may be worth it to just release this on 22.04

jackpot51 commented 2 years ago

I pushed this to master_jammy to unblock https://github.com/pop-os/beta/issues/372. I need help diagnosing the 20.04 packaging issues (cc: @13r0ck) since I don't have an NVIDIA system I can wipe with 20.04 right now.

n3m0-22 commented 2 years ago

I'll do a fresh install of 20.04 right now, and try it again.

n3m0-22 commented 2 years ago

The problem is still there in 20.04.

  1. clean install of 20.04
  2. sudo apt update && sudo apt upgrade
  3. reboot
  4. ./pop/scripts/apt add nvidia-510.60.02
  5. sudo apt update
  6. nvidia 510 disappears from pop-shop
  7. reboot
  8. nvidia 510 still not showing in pop-shop
  9. sudo apt update
  10. nvidia 510 now shows in pop-shop
  11. click install and the following error shows
The following packages have unmet dependencies:
  nvidia-driver-510: Depends: libnvidia-gl-510 (= 510.60.02-1pop0~1649099333~20.04~aedf526) but it is not going to be installed
                     Depends: nvidia-dkms-510 (>= 510.60.02)
                     Depends: nvidia-kernel-common-510 (>= 510.60.02) but it is not going to be installed
                     Depends: nvidia-kernel-source-510 (= 510.60.02-1pop0~1649099333~20.04~aedf526) but it is not going to be installed
                     Depends: libnvidia-extra-510 (= 510.60.02-1pop0~1649099333~20.04~aedf526) but it is not going to be installed
                     Depends: libnvidia-decode-510 (= 510.60.02-1pop0~1649099333~20.04~aedf526) but it is not going to be installed
                     Depends: libnvidia-encode-510 (= 510.60.02-1pop0~1649099333~20.04~aedf526) but it is not going to be installed
                     Depends: xserver-xorg-video-nvidia-510 (= 510.60.02-1pop0~1649099333~20.04~aedf526) but it is not going to be installed
                     Depends: libnvidia-cfg1-510 (= 510.60.02-1pop0~1649099333~20.04~aedf526) but it is not going to be installed
                     Depends: libnvidia-fbc1-510 (= 510.60.02-1pop0~1649099333~20.04~aedf526) but it is not going to be installed
                     Recommends: libnvidia-compute-510:i386 (= 510.60.02-1pop0~1649099333~20.04~aedf526)
                     Recommends: libnvidia-decode-510:i386 (= 510.60.02-1pop0~1649099333~20.04~aedf526)
                     Recommends: libnvidia-encode-510:i386 (= 510.60.02-1pop0~1649099333~20.04~aedf526)
                     Recommends: libnvidia-fbc1-510:i386 (= 510.60.02-1pop0~1649099333~20.04~aedf526)
                     Recommends: libnvidia-gl-510:i386 (= 510.60.02-1pop0~1649099333~20.04~aedf526)
jackpot51 commented 2 years ago

Try adding each of those packages listed as missing Depends one by one to the apt install line and see if you get a more sensible error

n3m0-22 commented 2 years ago

After installing the first one sudo apt install libnvidia-gl-510 it completely removes 470 and does a full install of 510.

n3m0-22 commented 2 years ago

I tried the following

  1. sudo apt purge nvidia-*
  2. sudo apt autoremove
  3. reboot
  4. sudo apt install nvidia-driver-470
  5. reboot
  6. 510 does not show up in pop-shop
  7. upgrading from the terminal with sudo apt install nvidia-driver-510 no longer shows issues
n3m0-22 commented 2 years ago

Correction : After running sudo apt update 510 is back in pop-shop and installs with no problems

jackpot51 commented 2 years ago

Obsolete, see #147