NVIDIA GeForce GT 740M Drivers + Bumblebee

Hello :grinning:

First of all I would like to thanks to all EndeavourOS Team and ppl that make this project possible :pray: :smile:
I’m an old Ubuntu user and recently I change to arch based distros in order to get more performance on my laptop (old one lol asus k56cb).

My first impressions with EndeavourOS was … wow this is really the thing lol Great installer great documentation and some cool details that I really enjoy (specially when I use an old laptop).

Right now Im trying to install nvidia graphic card on my laptop.
I followed the EndeavourOS Nvidia Installer tutorial So far great I say )

inxi -Fazy`

Graphics:
  Device-1: Intel 3rd Gen Core processor Graphics vendor: ASUSTeK driver: i915
    v: kernel ports: active: LVDS-1 empty: DP-1,HDMI-A-1,VGA-1 bus-ID: 00:02.0
    chip-ID: 8086:0166 class-ID: 0300
  Device-2: NVIDIA GK107M [GeForce GT 740M] vendor: ASUSTeK driver: nvidia
    v: 390.151 alternate: nouveau,nvidia_drm non-free: 470.xx+
    status: legacy-active (EOL ~2023/24) arch: Kepler pcie: gen: 1
    speed: 2.5 GT/s lanes: 16 link-max: gen: 2 speed: 5 GT/s bus-ID: 01:00.0
    chip-ID: 10de:0fdf class-ID: 0302

nvidia-smi

Tue Jun  7 19:23:01 2022       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 390.151                Driver Version: 390.151                   |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GT 740M     Off  | 00000000:01:00.0 N/A |                  N/A |
| N/A   49C    P0    N/A /  N/A |      0MiB /  2002MiB |     N/A      Default |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0                    Not Supported                                       |
+-----------------------------------------------------------------------------+

My issue now is how to setup Bumblebee. I have tried sudo nvidia-installer-dkms -b but i get some errors.

[sysope@sysope-k56cb ~]$ sudo nvidia-installer-dkms -b
[sudo] password for sysope: 
INFO:root:Removing /tmp/nvidia-installer_r.log file...
INFO:root:EndeavourOS Nvidia Installer v3.5
2022-06-07 19:25:02 [INFO]: EndeavourOS Nvidia Installer v3.5
INFO:root:All logs will be stored in /tmp/nvidia-installer_r.log
2022-06-07 19:25:02 [INFO]: All logs will be stored in /tmp/nvidia-installer_r.log
INFO:root:Updating Nvidia graphics cards database...
2022-06-07 19:25:02 [INFO]: Updating Nvidia graphics cards database...
Database is already up-to-date.
INFO:root:Installing bumblebee driver...
2022-06-07 19:25:08 [INFO]: Installing bumblebee driver...
INFO:root:Removing conflicting packages...
2022-06-07 19:25:08 [INFO]: Removing conflicting packages...
INFO:root:Downloading and installing driver packages, please wait as this may take a few minutes...
2022-06-07 19:25:08 [INFO]: Downloading and installing driver packages, please wait as this may take a few minutes...
ERROR:root:Cannot install required packages: :: Synchronizing package databases...
 core downloading...
 extra downloading...
 community downloading...
 multilib downloading...
 endeavouros downloading...
warning: mesa-22.1.1-1 is up to date -- reinstalling
warning: xf86-video-intel-1:2.99.917+916+g31486f40-2 is up to date -- reinstalling
warning: lib32-nvidia-utils-515.48.07-1 is up to date -- reinstalling
warning: lib32-mesa-22.1.1-1 is up to date -- reinstalling
resolving dependencies...
:: There are 3 providers available for opencl-driver:
:: Repository extra
   1) opencl-mesa  2) opencl-nvidia
:: Repository community
   3) intel-compute-runtime

Enter a number (default=1): 
:: There are 2 providers available for lib32-opencl-driver:
:: Repository multilib
   1) lib32-opencl-mesa  2) lib32-opencl-nvidia

Enter a number (default=1): 
looking for conflicting packages...
:: nvidia-dkms and nvidia-390xx-dkms are in conflict (NVIDIA-MODULE). Remove nvidia-390xx-dkms? [y/N] error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)

:: nvidia-dkms and nvidia-390xx-dkms are in conflict

2022-06-07 19:25:09 [ERROR]: Cannot install required packages: :: Synchronizing package databases...
 core downloading...
 extra downloading...
 community downloading...
 multilib downloading...
 endeavouros downloading...
warning: mesa-22.1.1-1 is up to date -- reinstalling
warning: xf86-video-intel-1:2.99.917+916+g31486f40-2 is up to date -- reinstalling
warning: lib32-nvidia-utils-515.48.07-1 is up to date -- reinstalling
warning: lib32-mesa-22.1.1-1 is up to date -- reinstalling
resolving dependencies...
:: There are 3 providers available for opencl-driver:
:: Repository extra
   1) opencl-mesa  2) opencl-nvidia
:: Repository community
   3) intel-compute-runtime

Enter a number (default=1): 
:: There are 2 providers available for lib32-opencl-driver:
:: Repository multilib
   1) lib32-opencl-mesa  2) lib32-opencl-nvidia

Enter a number (default=1): 
looking for conflicting packages...
:: nvidia-dkms and nvidia-390xx-dkms are in conflict (NVIDIA-MODULE). Remove nvidia-390xx-dkms? [y/N] error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)

:: nvidia-dkms and nvidia-390xx-dkms are in conflict

Can someone please help me? Need to get some real fun with EndeavourOS :slight_smile:

Thank u :slight_smile:

ps: Once again, thank you for being different in a better way :slight_smile: Starting to love this distro :heart_eyes::slight_smile:

Welcome aboard! :smile:

You could try nvidia-inst instead. It is rather similar to nvidia-installer-dkms but should handle some cases better.

Give command

nvidia-inst -h

to see the options in detail. Note that it should not be run with sudo because it will ask the password when needed.

Welcome to the forum @sysope :enos: :enos_flag: :partying_face: :tada: :balloon:

Thank you very much @kjw :slight_smile: Wish u a great day :smiley:

Hello @manuel and thank you for the help :slight_smile:

After a few hours trying to fix this issue I was able to (I think lol) install bumblebee (not sure what I have done LOL but …)

Right now Im able to run apps with optirun (for eg: optirun -b none nvidia-settings -c :8 or optirun -b none steam -c :8).

I noted that before i run anything with optirun, nvidia-smi doesn’t wotk (this results i think, since there’s no need to change gpu).

When i run optirun glxgears -info i get right info which is:

GL_RENDERER = GeForce GT 740M/PCIe/SSE2
GL_VERSION = 4.6.0 NVIDIA 390.151
GL_VENDOR = NVIDIA Corporation

My question now is,

But nothing happens to nvidia-smi on the lower tab. I get a Not Supported message and no Processes running.

+-----------------------------------------------------------------------------+
| NVIDIA-SMI 390.151                Driver Version: 390.151                   |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GT 740M     Off  | 00000000:01:00.0 N/A |                  N/A |
| N/A   51C    P0    N/A /  N/A |      0MiB /  2002MiB |     N/A      Default |
+-------------------------------+----------------------+----------------------+
                                                                               
**+-----------------------------------------------------------------------------+**
**| Processes:                                                       GPU Memory |**
**|  GPU       PID   Type   Process name                             Usage      |**
**|=============================================================================|**
**|    0                    Not Supported                                       |**
**+-----------------------------------------------------------------------------+**

I ask, is everything ok with this install ? Once again Thank you :smiley:

ps: Most fantastic thing I found on this distro (besides the small details that change everything for eg: option to choose wifi driver on the welcome screen) was (since I have an old lap Im a bit crazy about the temperatures) i get 47ª C. LOL which is the lowest I found even on arch based distros LOL After i end the dgpu configuration I need to write a review about endeavourOS. I need to spread the word :slight_smile: ehhe Once again THANK YOU :smiley:

2 Likes

Your card is not supported by the current nvidia drivers. You should have run the installer and posted the info it shows.

Can you post the following to see what you are running on currently.

inxi -Ga

You can run a test. This is why you should have used the help section on the installer as @manuel pointed out

nvidia-inst -h

You can run the installer in test mode and show the output.

nvidia-inst -t

Edit: Above shows the 390.xx version so maybe you got it installed? inxi -Ga will show us better info.

@sysope
The 390.xx version is the correct drivers for this card so the installer most likely worked. Just show the output of

inxi -Ga
1 Like

Did you install Nvidia 470xx drivers? You can see which driver versions are supported by running

nvidia-inst --drivers

Legacy drivers are available via AUR, but also via a third party repo by @jonathon which nvidia-inst supports.
To install 470xx drivers with nvidia-inst, first run

nvidia-inst --legacyrepo

to have the above 1third party repo enabled in your system.
Then you can do a test run without installing anything:

nvidia-inst -b -t

and if all seems fine, do a real install operation

nvidia-inst -b

Hope this helps.
And hopefully I’m not too late attending the party… :wink:

nvidia-smi is “relatively” new and older cards and drivers are not fully supported by the tool. If everything else works then it’s fine.

Hello @ricklinux and thank you for the help :slight_smile:

Here goes :slight_smile:

inxi -Ga
Graphics:
  Device-1: Intel 3rd Gen Core processor Graphics vendor: ASUSTeK
    driver: i915 v: kernel ports: active: LVDS-1 empty: DP-1,HDMI-A-1,VGA-1
    bus-ID: 00:02.0 chip-ID: 8086:0166 class-ID: 0300
  Device-2: NVIDIA GK107M [GeForce GT 740M] vendor: ASUSTeK driver: nvidia
    v: 390.151 alternate: nouveau,nvidia_drm non-free: 470.xx+
    status: legacy-active (EOL ~2023/24) arch: Kepler pcie: gen: 1
    speed: 2.5 GT/s lanes: 16 link-max: gen: 2 speed: 5 GT/s bus-ID: 01:00.0
    chip-ID: 10de:0fdf class-ID: 0302
  Device-3: IMC Networks USB Camera type: USB driver: uvcvideo
    bus-ID: 1-1.2:3 chip-ID: 13d3:5165 class-ID: 0e02 serial: NULL
  Display: wayland server: X.org v: 1.21.1.3 with: Xwayland v: 22.1.2
    compositor: kwin_wayland driver: X: loaded: intel unloaded: modesetting
    alternate: fbdev,vesa gpu: i915,nvidia display-ID: 0
  Monitor-1: LVDS-1 res: 1366x768 size: N/A modes: N/A
  OpenGL: renderer: Mesa Intel HD Graphics 4000 (IVB GT2)
    v: 4.2 Mesa 22.1.1 direct render: Yes

Regarding the rest, I have been using nvidia-inst just like manoel said. I have made a fresh install just to test those tools.

Once again thank you so much :slight_smile:

Hello @manuel and thank you again for your words :slight_smile:

Did you install Nvidia 470xx drivers? You can see which driver versions are supported by running

No. From what I see my dgpu driver is the 390xx (that was the one I used for several years on Ubuntu)

Hope this helps.
And hopefully I’m not too late attending the party… :wink:

It does. Thank you once again. Never late for the party. If theres need we open a new bottle :wink:

ps: I dont really need dgpu instaled. I just play one game which is supported by steam. Just the case of an old laptop with high temperatures :slight_smile:

1 Like

Yeah, just checked your card id 0fdf is supported by 390 but not 470 series or later.

1 Like

It has the right drivers installed for the Nvidia card but is booting and running on Intel. You would have to use optimus manager or some other option to switch if you want to run on the nvidia graphics.

Edit: If you don’t have any need and you’re satisfied you can just continue running on the Intel gpu.

1 Like

Hello @ricklinux and thank you for the hint :slight_smile:

Everything great on my laptop now :slight_smile: optimus manager configured and working :slight_smile:

Now its time to check the temperatures lol miss you 49º :expressionless: lol

Once again thank you @manuel and @ricklinux :slight_smile:

3 Likes