NVIDIA Optimus without bumbleebee

New package available: https://build.opensuse.org/package/show/home:bosim:suse-prime/suse-prime-alt

This package depends on the binary packages from here: https://build.opensuse.org/project/subprojects/home:Bumblebee-Project:nVidia

Works with Tumbleweed and LEAP. Please report if you have problems.

Bo

I am currently testing out Tumbleweed with GNOME. So far not really a big success. GDM fails to start in nvidia mode, and lightdm
starts in nvidia mode but just showing a black screen with a cursor on. In Intel mode all is fine. When I look in the log of lightdm som assertions
fail including “width > 0” so apparently some resolution detection go wrong.

Anybody have any hints on what could be the problem?

I will check later on whatever patches canonical applied to lightdm to get it working on Ubuntu.

It could also be the bug mentioned here: FedoraPrime/README.md at master · bosim/FedoraPrime · GitHub

Bo

Gnome and family simply will not run without openGL functional. Perhaps it is not starting/availbale???

Have not followed the project that close so… When in NVIDIA mode are you switching the mesa packages from normal to the NVIDIA flavor?

Hi Bo, don’t know if this is still relevant, but I almost had suse-prime-alt working on TW 20160404 Gnome.
Everything apparently installed properly, but reboot and… black screen “as usual”.
Rebooted to single user on CLI, issued “prime-select intel”, went to graphical target and apparently GDM worked OK.
Rebooted, apparently everything OK, at least with integrated graphics.
Selecting nvidia invariably boots to black screen in graphical target, unless… I do the unthinkable: login as root!
[Notice to normal people: “This is a professional driver on a race circuit: DON’T do that in normal life!”]
Then I noticed that a small 640x480 upper-left corner in the black root desktop was indeed lighted, enough to open a terminal and see that the nvidia driver was indeed engaged.
I had to edit file /etc/prime/xorg.conf and change ‘Option “UseDisplayDevice” “None”’ to:


SubSection "Display"
    Virtual 1920 1080
EndSubSection

1920x1080 being the native LCD resolution on this laptop.
After cycling “prime-select intel” then “prime-select nvidia” and rebooting, I have nvidia working in all its glory at least for the root user.
Still no way for ordinary users, so there might be permission problems somewhere in the nvidia chain, maybe a quirk with installation of the Nvidia driver (version 361.28 BTW).

This is a test install, so I’m willing to help find out the offender if somebody points me in the right direction.

Hi all! As a completely new linux user and “happy” owner of nvidia optimus I am barely understand what actions I need to do first and in which order. Could you guys be so kind and write a short guide how to install and use discussing subject on OpenSuse 42.1, which have been just installed on my laptop (means I did not try to do anything with drivers etc.) ? Thanks in advance!

You might take a look at this guide:

https://forums.opensuse.org/showthread.php/512260-Leap-42-1-Optimus-system-with-nvidia-prime-instead-of-bumblebee

Thank you! Done all steps, how will I know if my nvidia GPU is working?

Above all you will note the performance increase of your graphical system with demanding graphical software,
but in a console you can call -as a user- the program ‘glxspheres’, that is part of the package VirtualGL.
Glxspheres will show a complexly rotating graphical pattern and give information about the graphical card in use
and its performance.

In the KDE main menu you can find at ‘System’ the program ‘NVIDIA X Server Settings’, that will show the NVIDIA driver
in use and will complain, if you are in Intel graphical mode.

In a terminal issue “glxinfo |grep Vendor” or simply “glxinfo” for a longer output.

And in KDE, you can also have a look in KInfocenter->OpenGL.

I think GNOME shows the used graphics card/driver in its settings somewhere too. (“About this system”, “Information” or similar)

With Gnome, > Settings > Details shows Processor, Graphics and other stuff.

**GOOD NEWS for Gnome! **With the latest beta 364.15 Nvidia driver suse-prime WORKS FOR ORDINARY USERS too.
File /etc/prime/xorg.conf still modified as per my prior post, needs to reboot in “Intel mode” only, since X doesn’t start if shut down in “Nvidia mode”, but everything seems working at the moment (writing this from TW 20160408 Gnome in “Nvidia mode”).

Hello

Using Tumbleweed KDE, suse-prime-alt.
Tested with Nvidia drivers 364.15 and 361.42 from the bumblebee project

When using the nvidia card, if SDDM is set as the display manager, the screen will remain black, both after login out and rebooting. To work around this, I used xdm as display manager to log in. Aside from this, everything else works.

Do not use the bumblebee nvidia driver use the normal NVIDIA driver if using prime. If using Tumbleweed install the hard way do not use the repos

Gogalthorp
Do not use the bumblebee nvidia driver use the normal NVIDIA driver if using prime. If using Tumbleweed install the hard way do not use the repos

The Tumbleweed compatible version’s instructions say to use this drivers.

That’s what I did.

It works. I just cant use SDDM

I don’t know if that matters to SDDM too, but with GDM (Gnome display manager) I always have to boot in “Intel mode”, i.e. always switch to integrated graphics before shutting down or rebooting.
If I forget to that, I have to boot to command line, switch to Intel, then go to graphics mode.
Confirming that I’m using the drivers from the Bumblebee project as per suse-prime-alt instructions.

I have almost given up on Prime on my laptop with Centos/Fedora (bumblebee works but is not what I need).

I am so glad I found this thread and I knew something was up when I booted Leap and saw “Intel Haswell” on my graphics detail instead of “Gallium”.

It works! Thank you! Thank you!

Hello.
I’m a little confused and cannot locate the final solution to the problem.
Could someone make a step by step about how to use NVIDIA 930M with Opensuse Leap 42.2?
I’m planing to instal Opensuse Leap42.2 on a DELL INSPIRON 15 5557 with NVIDIA 930M.
Thanks,
Filipe

It seems that suse-prime doesn’t work properly with Leap 42.2 at the moment. Please check
https://forums.opensuse.org/showthread.php/512260-Leap-42-1-Optimus-system-with-nvidia-prime-instead-of-bumblebee
for details.