Ask Your Question
1

Fedora 22: Can't install nVidia driver on Dell laptop

asked 2015-08-28 10:09:25 -0500

acgxxvi gravatar image

updated 2015-08-29 21:22:46 -0500

mether gravatar image

I have been trying to install the proprietary nVidia driver on my Dell laptop (Inspiron 5437) running Fedora 22.

I tried two methods:

I - Driver from geforce.com:  
    1. Get driver  
    2. Blacklist nouveau  
    3. Backup initramfs-`uname -r`.img and run dracut  
    4. Reboot  
    5. Install driver  
    6. Reboot

When I boot into Fedora, it only displays the 'something went wrong' screen, with the log out button.
I noticed there was no /etc/X11/xorg.conf; I ran nvidia-xconfig and the file was created, but nothing changed.

II - Packages
    1. sudo dnf install akmod-nvidia xorg-x11-drv-nvidia
    2. reboot

This one seemed to have pretty much the same effect as the last one. When running lspci (only relevant output):

...
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09)
...
08:00.0 3D controller: NVIDIA Corporation GK208M [GeForce GT 740M] (rev a1)

It seems like it is listed as a 3D controller rather than a VGA compatible controller... but what does that mean?
Help would be much appreciated :D

update:

Thanks for the help!

I installed the driver. I could not install akmod-nvidia, but the bumblebee-nvidia package includes (a slightly outdated) version of the nvidia driver.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2015-08-28 12:26:19 -0500

Well, basically, the way your laptop is structured is to make use of the on-die GPU built into your Intel CPU as your VGA adapter while allowing for advanced graphics processing workloads to be offloaded to your NVidia GPU. The GeForce GT 740M in your laptop is therefore not a VGA compatible controller; all display information must be passed to your display through the GPU built into your Intel CPU.

That said, the problem here is likely Optimus, which is the NVidia technology that determines which workloads are rendered by your on-die GPU and which are rendered by your GeForce GT 740M. Your experience has been as follows:

  1. Before you had installed the NVidia drivers, your system simply made use of the i915 driver built into the Linux kernel in support of the on-die Intel GPU, so it worked fine. You didn't have access to your NVidia GPU at all, but the laptop would function at a minimal level with respect to graphics processing capabilities.
  2. When you attempt to install only the NVidia driver, you are acting as though you have an NVidia VGA compatible controller. Since you have an NVidia 3D controller which is not capable of passing data directly to your VGA compatible hardware, the driver alone will not suffice to allow your hardware to function properly.

What you need to do is remove the NVidia driver you have installed, reboot, and then install the open source Optimus support software called "bumblebee":

dnf install bumblebee bbswitch bumblebee-nvidia

Once that is done, install the NVidia driver and reboot.

Hopefully, your machine comes up in working order. Unfortunately, I have no example machine with which to walk through this solution, so at this point, you may need to mess with bumblebee's configuration to get it to work, but I believe this is at least the general problem you are encountering and the solution needed to cope with it.

edit flag offensive delete link more

Comments

If you still get the " Oops something went wrong..." screen, do CTRL + ALT + F2 and login. Then:

su
akmods --force

Then reboot. Good luck!

-xmetax

xmetax gravatar imagexmetax ( 2015-08-28 13:57:28 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2015-08-28 10:09:25 -0500

Seen: 1,680 times

Last updated: Aug 29 '15