Trying to install drivers for GTX 660M GPU in my laptop

I’ve been trying since i got this laptop to get my gpu working.
I accidentally in the confusion of cough cough linux in general cough cough installed the “nvidia-utils” package, and now when i try to install the “nvidia-470xx-utils” package, yay says error: failed to prepare transaction (could not satisfy dependencies)
:: removing nvidia-utils breaks dependency ‘nvidia-utils’ required by lib32-nvidia-utils
:: removing nvidia-utils breaks dependency ‘vulkan-driver’ required by steam
→ exit status 1

but i need to remove the nvidia-utils package because it conflicts with nvidia-470xx-utils??
Any help would be appreciated, as you can probably tell I’m incredibly new to linux :sweat_smile:

(I have a Lenovo Y580 laptop with a GTX 660M)

you need this too lib32-nvidia-470xx-utils
if doesnt work try removing steam and the conflicting packages, then install this, might work, looks like the package provides nvidia-utils

To remove a package, which is required by another package, without removing the dependent package:

# pacman -Rdd package_name

You could install package nvidia-inst and show the output of command

nvidia-inst -t
[ratmonarch@hams-laptop ~]$ nvidia-inst -t 2023-12-06 22:51:43: Info: Running: nvidia-inst v23.1-1 2023-12-06 22:51:43: Info: Command line: nvidia-inst -t 2023-12-06 22:51:43: Info: Selected mode: nvidia NVIDIA card id: 0fd4 Fetching driver data from nvidia.com ... 2023-12-06 22:51:47: Info: Installing packages: nvidia-470xx-dkms nvidia-470xx-settings ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ COMMANDS TO RUN: yay -Syu nvidia-470xx-dkms nvidia-470xx-settings nvidia-installer-kernel-para nvidia-drm.modeset=1 add ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-12-06 22:51:47: Error: Sorry, nvidia-inst does not support installing packages from AUR. To continue, manually run all commands from COMMANDS TO RUN above.

[ratmonarch@hams-laptop ~]$

should i just run these?

You could try those.
But make sure you have the USB installer drive available just in case.

Welp.
That’s the one storage media device i have that i’ve lost ;-;
I still have the default bootable windows 8 on this, so if anything goes wrong i can buy a new usb and flash it via windows 8.
Gonna run those commands now, thanks for the help!

I’ve done it! :smiley:
Now i can actually play video games without the risk of exploding my laptop

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.