making optimus laptop works with nvidia proprietary driver

Hello :slight_smile:

I try to configure an ASUS N5550

https://www.asus.com/Laptops/N550JV/

The free driver works, but with some limitations.

Following

https://en.opensuse.org/SDB:NVIDIA_Bumblebee

I think I did it right, but I may Have missed something.

When I lauch my computer It starts, but it seems to be with free driver.

If I try to run nvidia-settings I get in the terminal:

ERROR: nvidia-settings could not find the registry key file. This file should have been installed along with this driver at /usr/share/nvidia/nvidia-application-profiles-key-documentation. The application profiles will continue to work, but values cannot be preopulated or validated, and will not be listed in the help text. Please see the README for possible values and descriptions.

and I get a small popup with:

You do not appear to be using the NVIDIA X driver. Please edit your X configuration file (just run nvidia-xconfig as root), and restart the X server

But if I do so, at next start the screen begin flashing and stops. I have to restart the computer and start in some recovery mode to remove the xorg.conf file

any hint?

openSUSE Leap 42.3 - nvidia driver go3 (presently, but same problem with g04)

thanks
jdd

Hi, running bumblebee on a N551 here on 42.2. First of all, definitely use G04 with your Nvidia GT750M.
Second, to run nvidia-settings correctly you should issue:


optirun -b none nvidia-settings -c :8

or modify file /usr/share/applications/nvidia-settings.desktop so that it includes a line reading:


Exec=optirun -b none nvidia-settings -c :8

If that doesn’t work, I see that the SDB article applies to Leap 42.2 and there is a possibility that something changed for 42.3 and/or latest Nvidia drivers (didn’t test that myself yet).

thanks, will try

jdd

Well. Advancing a bit

The nvidia driver is

nvidia-gfxG04-kmp-default-384.69_k4.4.76_1-25.1.x86_64

and present kernel is

kernel-default-4.4.87-25.1.x86_64

not the same

but the 76_1 is available from the boot menu and then the nvidia modules loads. and so do nvidia-settings, but with incorrect values

Too late now to experiment again, will try tomorrow :slight_smile:

thanks
jdd

This should not be a problem, links to the 4.4.76 modules should appear in the 4.4.87 tree as well if the install was correct.
Please be more specific about the “incorrect values” you witness.

with the 4.4.81, nvidia module is not found…

/lib/modules> find . -name "*nvidia*"
./4.4.76-1-default/updates/nvidia-drm.ko
./4.4.76-1-default/updates/nvidia-modeset.ko
./4.4.76-1-default/updates/nvidia-uvm.ko
./4.4.76-1-default/updates/nvidia.ko
./4.4.76-1-default/kernel/drivers/net/ethernet/nvidia
./4.4.87-25-default/kernel/drivers/net/ethernet/nvidia
./4.4.87-25-default/weak-updates/updates/nvidia-drm.ko
./4.4.87-25-default/weak-updates/updates/nvidia-modeset.ko

# modprobe nvidia
modprobe: ERROR: could not find module by name='nvidia'
modprobe: ERROR: could not insert 'nvidia': Function not implemented




That looks odd, you should find all 4 modules like:


./4.4.87-25-default/weak-updates/updates/nvidia-drm.ko
./4.4.87-25-default/weak-updates/updates/nvidia-modeset.ko
./4.4.87-25-default/weak-updates/updates/nvidia-uvm.ko
./4.4.87-25-default/weak-updates/updates/nvidia.ko

Unless there is a problem with the nvidia-gfxG04-kmp-default-384.69_k4.4.76_1-25.1.x86_64 package, maybe re-installing it fixes things…
Or you might create the missing symlinks yourself…

But, first of all, let’s see if everything works with the 4.4.76 kernel!