Cant install NVIDIA drivers - 850m geforce

new to this so all help appreciated. looking to install battle net got bottles and tried to run but hit a snag. seems that i don’t have any of the drivers i need for my graphics card tried to use setting manager to install keep hitting the same error

[us@us-w6567sj ~]$ inxi -G
Graphics:
  Device-1: Intel 4th Gen Core Processor Integrated Graphics driver: i915
    v: kernel
  Device-2: NVIDIA GM107M [GeForce GTX 850M] driver: nouveau v: kernel
  Device-3: Chicony USB 2.0 Camera driver: uvcvideo type: USB
  Display: x11 server:  v: 1.21.1.8 driver: X: loaded: modesetting
    dri: crocus,nouveau gpu: i915 resolution: 1920x1080~60Hz
  API: OpenGL v: 4.6 Mesa 23.1.7-1 renderer: Mesa Intel HD Graphics 4600
    (HSW GT2)
[us@us-w6567sj ~]$ sudo mhwd -a pci nonfree 0300
> Using config 'video-hybrid-intel-nvidia-prime' for device: 0000:00:02.0 (0300:8086:0416) Display controller Intel Corporation 4th Gen Core Processor Integrated Graphics Controller
> Installing video-hybrid-intel-nvidia-prime...
Sourcing /etc/mhwd-x86_64.conf
Has lib32 support: true
Sourcing var/lib/mhwd/db/pci/graphic_drivers/hybrid-intel-nvidia-prime/MHWDCONFIG
Processing classid: 0300
Sourcing /var/lib/mhwd/scripts/include/0300
:: Synchronising package databases...
 core downloading...
 extra downloading...
 multilib downloading...
error: target not found: linux65-nvidia
Error: pacman failed!
Error: script failed!

tried both an internal load and external load both failed same error message - download the drivers direct from NVIDIA but don’t know what to do with them - they are in an unrecognised format. what am i missing


Moderator edit: In the future, please use proper formatting: [HowTo] Post command output and file content as formatted text

Post-posted-pre-script.

I also see you’re new here.
Hullo.
My following comments were intended for brevity not abrasiveness. :innocent:

Good. Dont do that.

Your kernel is EOL. Dead. Gone. Use something current. (6.6?)

Also … this is similar to another very recent thread, except they went further than you down the wrong road. Still a lot of it may be illuminating for you.

thanks ill give it a look over

so here is more information then following the steps in the other post.

[us@us-w6567sj ~]$ history | tail -n100
    1  $ sudo mhwd -a pci nonfree 0300
    2   sudo mhwd -a pci nonfree 0300
    3  flatpak install flathub com.usebottles.bottles
    4  $ sudo mhwd -a pci nonfree 0300
    5   sudo mhwd -a pci nonfree 0300
    6  flatpak run com.usebottles.bottles~
    7  flatpak run com.usebottles.bottles
    8  flatpak run com.usebottles.bottles
    9  manjaro.sudo mhwd -a [pci or usb connection] [free or nonfree drivers] 0300
   10  sudo mhwd -a [pci or usb connection] [free or nonfree drivers] 0300
   11  sudo mhwd -a [pci or usb connection] [free or nonfree drivers] 0300
   12  --pci
   13   sudo mhwd -a pci nonfree 0300
   14  sudo mhwd -a pci free 0300
   15  mhwd -l [optional: detailed view] [optional: --pci or --usb connection]
   16  sudo nvidia-settings
   17  sudo mhwd-gpu --setmod nvidia --setxorg /etc/X11/mhwd.d/nvidia.conf
   18  gedit ~/.xinitrc
   19  optirun glxspheres64
   20   Exec=primusrun chromium
   21  sudo mhwd-kernel -r linux514
   22  inxi -G
   23  sudo mhwd -a pci nonfree 0300
   24  mhwd-kernel --listinstalled
   25  sudo mhwd-kernel --install linux66
   26  mhwd-kernel --listinstalled
   27  pacman -Qsq 'dkms|nv' 
   28  tail -n100 /var/log/pacman.log
   29  history | tail -n100

[us@us-w6567sj ~]$ pacman -Qsq 'dkms|nv' 
adobe-source-code-pro-fonts
babl
double-conversion
ffmpeg
java-runtime-common
jre8-openjdk
jre8-openjdk-headless
libimagequant
libpipeline
libsamplerate
libvdpau
libwebp
mhwd-nvidia
mhwd-nvidia-390xx
mhwd-nvidia-470xx
networkmanager-openvpn
openvpn
perl
perl-http-date
s-nail
v4l-utils
v86d
xcb-util-keysyms
xcb-util-renderutil
zimg

running sudo pacman -Syu nvidia-470xx-utils nvidia-470xx-settings libxnvctrl-470xx nvidia-prime now


Moderator edit: In the future, please use proper formatting: [HowTo] Post command output and file content as formatted text

But … but …

No, please.

Your situation was, as far as I can tell so far, just needing to make sure you are in kernel 6.6, and removing the dead 6.5 kernel.

That thread also included steps for coming back from installing random dkms packages, and using the nvidia run file. But those werent pertinent for you unless you did those same things.

It also included explanations on hybrid systems, how to install through mhwd, etc that I thought may be useful to you … but I did not intend for you to copy all the steps there.

Whenevr you are done installing those 470 things … please remove them, probably best by just installing the current (unnumbered) versions of those packages.

Then make sure to boot into a supported kernel by selecting it at grub.
If you dont have such a kernel yet, install it first and then reboot.
Once you are in 6.6 (check with uname -r) then remove the dead kernel and continue.

ah saw that you seemed to be aiming for nivida 470 and that was/is what i was missing it seemed to me but ok. my mistake i have a snapshot ill roll back and try again

still no good hitting the same wall can update the drivers

If its the same issue as in the original post here

then please show

mhwd-kernel -li

and

uname -r

After which I can help guide you more specifically here. :slight_smile:

PS.
Your username I thought at first might have been a typo for ‘just wanna play cs 2’ as in counter-strike, but after a few seconds I realized maybe it is ‘sc 2’ for starcraft 2. Battle.net. It all makes more sense. :blush:

hi thanks for taking the time to help - so yea Starcraft 2 been playing a long while but windows 11 killed my pc (which i did not realise untill installing linux) thought i needed to finally upgrade and after a week of trying to fix i was ready to buy new, thought as a last resort try linux - have never used before its been a steep learning curve but after a solid three days of frustrations i think i am finally getting close o and my system runs Great so far.

[us@us-w6567sj ~]$ mhwd-kernel -li
Currently running: 6.7.4-2-MANJARO (linux67)
The following kernels are installed in your system:
   * linux65
   * linux67
[us@us-w6567sj ~]$ uname -r
6.7.4-2-MANJARO

so i tried using the auto drivers install but got this
extra downloading…

multilib downloading...

error: target not found: linux65-nvidia

Error: pacman failed!

Error: script failed!

Im assuming this is why the battle net is failing to launch during the download.

thanks again


Moderator edit: In the future, please use proper formatting: [HowTo] Post command output and file content as formatted text

OK, your problem is that 6.5 kernel.
6.5 has been EOL (end of life), and discontinued for a while.
So the automatic driver install is looking for a driver package for that kernel and cant find it.
Remove that kernel and then proceed.

I notice you are already in 6.7 so it is ok to remove right now.

sudo mhwd-kernel -r linux65

Bonus.
Kernel 6.7 is new and not an LTS (Long term support) kernel.
So I suggest installing at least one of those. ex:

sudo mhwd-kernel -i linux66

(6.7 will be dead in a few months. 6.6 will be supported until the end of 2026)

With 6.5 gone you should be able to install the drivers through mhwd. ex:

sudo mhwd -i pci video-hybrid-intel-nvidia-prime

nivida command

: Proceed with installation? [Y/n] 
:: Retrieving packages...
y

how do i choose the active kernel - last time it auto jumped to the newest package would i needd to uninstall 6.7 ?


Moderator edit: In the future, please use proper formatting: [HowTo] Post command output and file content as formatted text

?

You select them from grub during boot.

Not right now.
You can have any number of kernels installed.
But you will need to remove 6.7 when it hits EOL.

https://kernel.org/

us@us-w6567sj ~]$ sudo mhwd -i pci video-hybrid-intel-nvidia-prime
> Installing video-hybrid-intel-nvidia-prime...
Sourcing /etc/mhwd-x86_64.conf
Has lib32 support: true
Sourcing /var/lib/mhwd/db/pci/graphic_drivers/hybrid-intel-nvidia-prime/MHWDCONFIG
Processing classid: 0300
Sourcing /var/lib/mhwd/scripts/include/0300
:: Synchronising package databases...
 core downloading...
 extra downloading...
 multilib downloading...
resolving dependencies...
looking for conflicting packages...
warning: dependency cycle detected:
warning: eglexternalplatform will be installed before its nvidia-utils dependency

Packages (9) egl-wayland-2:1.1.13-1  eglexternalplatform-1.1-2  lib32-nvidia-utils-545.29.06-1  libxnvctrl-545.29.06-1  linux66-nvidia-545.29.06-36  linux67-nvidia-545.29.06-8  nvidia-prime-1.0-4  nvidia-settings-545.29.06-1  nvidia-utils-545.29.06-4

Total Download Size:   444.78 MiB
Total Installed Size:  946.27 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
:: y
Successfully installed video-hybrid-intel-nvidia-prime

Moderator edit: In the future, please use proper formatting: [HowTo] Post command output and file content as formatted text

I guess that means its finished?

If so then you will probably want to give it a reboot.

When done we can test out PRIME.

glxinfo | grep 'renderer string'
prime-run glxinfo | grep 'renderer string'

(note: if you dont have glxinfo its provided by package mesa-utils)

So new issue my computre isnt loading i have a black sceen

Did change kernal hoping this would help but no change

Welcome to the forum! :wave:

Since it’s too late for you to be able to edit your previous replies, I’ve done it for you this time. :wink: :point_down:

Thank you very much, i wss depesparte to get some help and admittedly didnt read any guildlines. I will try to avoid making this error in the future :grinning: thanks for your help and advice.

I believe you may have stumbled upon a recent issue with plymouth.

(the boot splash screen… graphics you see before logging in)

If you are able to run updates again it should be fixed.

sudo pacman -Syuu

If you have trouble gaining interaction then please see this guide:

If you need/want to disable plymouth or remove it entirely you can also see this guide:

For more information in general on the plymouth stuff please see recent threads, including the most recent update announcement thread.

(ex, https://forum.manjaro.org/t/stable-update-2024-02-21-kernels-kde-virtualbox-calamares-rocm-firefox-thunderbird/)

Hi once again thanks so much for all your time and help it has been much appreciated and a huge help. I took what the other person saidnin the other thread to heart. And have reinstalled linux mint. I had previously tried this but did mange to get sc2 working. However armed with what you have tought me and learning from my previous errors i am currently installing starcraft which i am super happy about as you can imagine :blush: :smile: i have a separate harddrive for the majoram which i may just come back to at some point :point_right: as its been super frustrating but fun also learning about the new system. Keep up the good work :clap: :raised_hands: :+1: world need people who are willing to help :grinning: you have been super cool :sunglasses: thanks again

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