How to enable nvidia driver in Asus X450L?

I have dual booted Windows 8.1 and Opensuse 13.1 in Asus X450L.

System uses Nvidia Geforce 720M. Appropriate drivers installed using this guide: http://en.opensuse.org/SDB:NVIDIA_drivers.

Installation was successful. After reboot, Nvidia does not seem to be enabled, still using VGA.

Can anyone guide me to verify installation and help me to enable Nvidia driver?

The nvidia driver should be used automatically when it is installed (unless you boot failsafe/recovery mode). No need to “enable” it.

But apparently your notebook is a hybrid system (nvidia and intel graphics). The nvidia driver doesn’t support that.
Disable the intel graphics in the BIOS if possible, then the nvidia driver should work.
Or uninstall all nvidia packages again (search for “nvidia” in YaST) and use Bumblebee:
http://en.opensuse.org/SDB:NVIDIA_Bumblebee

Ok. I will try with Bumblebee. Thanks for your reply.

I have completely removed the nvidia packages previously installed.**
I get the following error while trying to install bumblebee:**

Kindly guide me to complete installation.

linux-va39:/home/dprabu76 # zypper in -f nvidia-bumblebee

Loading repository data…
Reading installed packages…
Forcing installation of ‘nvidia-bumblebee-340.24-1.1.x86_64’ from repository ‘openSUSE_13.1’.
Resolving package dependencies…

The following NEW package is going to be installed:
nvidia-bumblebee

1 new package to install.
Overall download size: 12.8 KiB. After the operation, additional 495.0 B will be used.
Continue? [y/n/? shows all options] (y): y
(1/1) Installing: nvidia-bumblebee-340.24-1.1 …[error]
Installation of nvidia-bumblebee-340.24-1.1 failed:
Error: Subprocess failed. Error: RPM failed: Error in checksums 463417939 1414503578
error: %pre(nvidia-bumblebee-340.24-1.1.x86_64) scriptlet failed, exit status 254
error: nvidia-bumblebee-340.24-1.1.x86_64: install failed

Abort, retry, ignore? [a/r/i] (a):

did you do this first?


zypper ar -f http://download.opensuse.org/repositories/X11:/Bumblebee/openSUSE_13.1/

It looks like you are trying to install from the regular repo not the bumblebee repo You have to add that repo first.

You have to follow the instructions exactly and completly

Okay, I will try again.

I had already added the Bumblebee Repo correctly. I have done it again by removing and adding it again.

linux-va39:/home/dprabu76 # zypper ar -f http://download.opensuse.org/repositories/X11:/Bumblebee/openSUSE_13.1/ Bumblebee
Adding repository ‘Bumblebee’ …[done]
Repository ‘Bumblebee’ successfully added
Enabled: Yes
Autorefresh: Yes
GPG check: Yes
URI: http://download.opensuse.org/repositories/X11:/Bumblebee/openSUSE_13.1/

Now I refreshed all the repo again.

Had success with the following:

zypper in bumblebee

useradd -G video,bumblebee username

systemctl enable bumblebeed

mkinitrd

Again I seem to be getting the same error.

Installation of nvidia-bumblebee-340.24-1.1 failed:
Error: Subprocess failed. Error: RPM failed: Error in checksums 463417939 1414503578
error: %pre(nvidia-bumblebee-340.24-1.1.x86_64) scriptlet failed, exit status 254
error: nvidia-bumblebee-340.24-1.1.x86_64: install failed

Abort, retry, ignore? [a/r/i] (a): a
Problem occured during or after installation or removal of packages:
Installation aborted by user

Please see the above error message for a hint.

Are you sure you have no NVIDIA stuff left before the bumblebee install.Mixing versions may be the problem. But the error points to a package problem so maybe there is a bad mirror involved.

The package downloads the actual nvidia driver from nvidia’s server.
The downloaded nvidia installer is then verified (rpm runs it with the --check option), and that seems to give the error (“Error in checksums 463417939 1414503578”).

So apparently something went wrong with the download.
But re-installing the package won’t help, as it won’t download the driver installer again if it’s already been downloaded (it uses wget with the “-c”, i.e. “–continue”, option).

Try to remove the downloaded driver, it should be in /usr/src/ and named NVIDIA-Linux-x86_64-340.24.run or similar, maybe with:

sudo rm /usr/src/NVIDIA*

And then try to install the package again.

Thanks. Removing nvidia completely and reinstalling gave me success.

Now the verification part:

linux-va39:/home/dprabu76 # optirun --status
Bumblebee status: Ready (3.2.1). X inactive. Discrete video card is off.

linux-va39:/home/dprabu76 # optirun vlc
143.326420] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Failed to load module “nouveau” (module does not exist, 0)

143.326470] [ERROR]Aborting because fallback start is disabled.

Why is it throwing me error? Am I using the commands correctly?

Well, I don’t have experience with Bumblebee myself.

But apparently you are trying to run “optirun” as root, because of the ‘#’ prompt.
I doubt that this will work. You normally cannot run GUI applications as root in a user session just like that (unless you used “su -” to switch to root).
And VLC will refuse to run as root anyway.

Try to run it as user instead.