nvidia interview questions

Top nvidia frequently asked interview questions

Enabling Nvidia driver messes up splash screen

When you boot from live CD, or doing the first boot after installing Ubuntu, splash screen looks awesome. But as soon as you enable nvidia-current driver, installed with apt-get, splash screen goes all crazy.

With crazy I mean that resolution is very low, font(I assume) is very weird and it all looks like it's been broken.

This happened with 10.04 and now again with 10.10.

How do I fix splash screen after enabling nvidia drivers?

Source: (StackOverflow)

How to uninstall manually installed Nvidia drivers?

How do I uninstall manually installed Nvidia drivers 310.14 and revert to Noveau. I have Ubuntu 12.10.

Source: (StackOverflow)


Flash video appears blue

The Problem

After updating to Ubuntu 12.04 from Ubuntu 11.10, all video is still blue, whether playing in a browser or a player. Same problem occurs in 11.10 as well.

I have tried to uninstall all Flash and re-installed but it makes no difference.

What is causing the blue Flash video?

Ubuntu 11.10 64bit

Ubuntu 12.04LTS 64bit

What it looks like

Blue flash videos

Source: (StackOverflow)

Nvidia API mismatch

I had planned a day of relaxing with Portal 2 but on starting Steam (for the first time in a couple of weeks) I was greeted with the following message in the terminal:

Error: API mismatch: the NVIDIA kernel module has version 270.41.19,
but this NVIDIA driver component has version 270.41.06.  Please make
sure that the kernel module and all NVIDIA driver components
have the same version.

I'll confess I don't really know what it's talking about when it says driver. The verion of nvidia-current is 270.41.19. I thought that was the driver and module, all in one.

I use the X-SWAT PPA and I have noted that the nvidia-settings package has boosted to 275.09.07. As this is just a settings application, I don't think this mismatch has anything to do with this. It's also not the same version as the problem being described.

I'd rather not purge back to the standard Nvidia driver as it's less than stable on my GTX580. I would accept an answer that takes the manual setup and makes it recompile when the kernel recompiles (ie, some DKMS wizardry) but it has to work. I don't want to drop back to text-mode every time I restart after a kernel upgrade.

Edit: Minecraft works without a single complaint about driver versions. Penumbra dies with roughly the same error when entering a game.

Edit: Here's what I'm dealing with in terms of 32bit files. They all seem to be at the right version.

ls -l /usr/lib32/nvidia-current/ | awk '{ print $8 " " $9 " " $10 }'

libcuda.so -> libcuda.so.270.41.19
libcuda.so.1 -> libcuda.so.270.41.19
libGL.so -> libGL.so.1
libGL.so.1 -> libGL.so.270.41.19
libnvcuvid.so -> libnvcuvid.so.1
libnvcuvid.so.1 -> libnvcuvid.so.270.41.19
libnvidia-cfg.so -> libnvidia-cfg.so.1
libnvidia-cfg.so.1 -> libnvidia-cfg.so.270.41.19
libnvidia-compiler.so -> libnvidia-compiler.so.1
libnvidia-compiler.so.1 -> libnvidia-compiler.so.270.41.19
libnvidia-ml.so -> libnvidia-ml.so.1
libnvidia-ml.so.1 -> libnvidia-ml.so.270.41.19
libnvidia-wfb.so.1 -> libnvidia-wfb.so.270.41.19
libOpenCL.so -> libOpenCL.so.1
libOpenCL.so.1 -> libOpenCL.so.1.0
libOpenCL.so.1.0 -> libOpenCL.so.1.0.0
libXvMCNVIDIA_dynamic.so.1 -> libXvMCNVIDIA.so.270.41.19
libXvMCNVIDIA.so -> libXvMCNVIDIA.so.270.41.19
libXvMCNVIDIA.so.1 -> libXvMCNVIDIA.so.270.41.19

Edit 2: I might have found something.

Lurking in /usr/lib32/ proper (not the nvidia-current subdir) I found the following:

ls -l /usr/lib32/ | awk '{ print $8 " " $9 " " $10 }' | grep 270

libcuda.so.1 -> libcuda.so.270.41.06
libGL.so.1 -> libGL.so.270.41.06
libvdpau.so.1 -> libvdpau.so.270.41.06
libvdpau_trace.so -> vdpau/libvdpau_trace.so.270.41.06

For some reason everything in /usr/lib32/nvidia-current/ is the right version but there's a load of cruft in /usr/lib32/ that might be ruining the party.

Edit 3: Trying to track down which package owns these files has failed:

find /usr/lib32 -iname '*270.41.06*' -exec dpkg -S "{}" \;

dpkg-query: no path found matching pattern /usr/lib32/libnvidia-compiler.so.270.41.06.
dpkg-query: no path found matching pattern /usr/lib32/libGL.so.270.41.06.
dpkg-query: no path found matching pattern /usr/lib32/vdpau/libvdpau_nvidia.so.270.41.06.
dpkg-query: no path found matching pattern /usr/lib32/vdpau/libvdpau_trace.so.270.41.06.
dpkg-query: no path found matching pattern /usr/lib32/libvdpau.so.270.41.06.
dpkg-query: no path found matching pattern /usr/lib32/tls/libnvidia-tls.so.270.41.06.
dpkg-query: no path found matching pattern /usr/lib32/libnvidia-tls.so.270.41.06.
dpkg-query: no path found matching pattern /usr/lib32/libcuda.so.270.41.06.
dpkg-query: no path found matching pattern /usr/lib32/libnvidia-glcore.so.270.41.06.

Any tips on how I should deal with these broken versions? Delete them? Delete then symlink to ./nvidia-current/ versions?

Source: (StackOverflow)

How to set up nVidia Optimus/Bumblebee in 14.04

The previous methods i have used to set up Bumblebee on 13.10 based distributions is not working under Ubuntu 14.04 . How can I set up Bumblebee and Bumblebee GUI in Ubuntu 14.04 ?

Source: (StackOverflow)

Is a NVIDIA GeForce with Optimus Technology supported by Ubuntu?

I am considering buying a Dell XPS 15 laptop. The laptop has a Nvidia 420m card which should work with Linux but I keep reading that the Nvidia Optimus technology isn't supported on Linux. I am not really interested in switching from Nvidia to Intel to save power but need to know that the Nvidia card will in fact work if I installed Ubuntu.

If anyone has experience using a Nvidia card with Optimus technology or even better the exact laptop in question (Dell XPS 15 with 1GB NVIDIA® GeForce® GT 420M) it would be great.

A major problem holding people back from adopting Linux is this sort of hardware issue. I am a long term Ubuntu user and supporter who can't afford to make a mistake with a purchase like this. I don't want to spend £500+ to find I have no graphics acceleration because Windows 7 is not an option.

Source: (StackOverflow)

How do I install the Nvidia drivers?

I just ordered the Nvidia GTX 560 card, which should arrive tomorrow. I have a dilemma, though. Should I keep using the driver which is available in "additional drivers" in Ubuntu (10.10), or should I install the driver from the nvidia site?

NOTE - The methods to install explained here apply to all Nvidia, Ati & Intel video cards

The latest driver available at the nvidia site:

280.13 Certified
Release Date:
Operating System:
Linux 64-bit
English (U.S.)
File Size:
52.4 MB

I should point out that I don't need the card to unleash its full potential in Ubuntu (I have Windows for gaming, other HDD), I just need it to work properly, that meaning the power saving should work (I don't want the card to overheat for no reason), also I would like the fans to work at proper speeds, etc.

So which driver is the best for me?

Source: (StackOverflow)

Blank screen after installing nvidia restricted driver

I've installed the current nvidia restricted driver and rebooted my machine and now I get a black or blank screen.

How can I fix this?

Source: (StackOverflow)

Desktop does not show when I installed nvidia drivers!

The desktop does not show after I installed nvidia experimental drivers. I tried nvidia simple proprietary drivers, and they did not work either.

Here is how it looks. This is not cropped or any thing. This is how it looks, after the installation of the drivers the desktop resolution decreased from 1440x900 to 1024x768

enter image description here

The desktop only shows desh and panels when I use the open source drivers.

Is there any way to fix this so I can get better performance?

Source: (StackOverflow)

What's the difference between the nvidia-current, and nvidia-current-updates packages?

What's the difference between the nvidia-current, and nvidia-current-updates packages?

The former has a higher version number, and the description of the packages are the same.

  • Which do I use?
  • Which is the most recent one
  • What's the purpose of this split packaging?

Source: (StackOverflow)

How can I uninstall a nvidia driver completely ?

As expected, Nvidia drivers have reduced my customizations. I can't login to Unity 3D session. I can't find any content to help me to uninstall the driver and I don't know what to do as I have never uninstalled them before.

Source: (StackOverflow)

How do I install the Nvidia driver for a GeForce GT 630

I recently installed 14.04.

But now I need a new driver for my nVidia GeForce GT 630. The former driver was rejected as not compatible with the 64-bit. I found that other driver and when I wanted to install it in the terminal with sh I was called first to stop the x-server. It cannot be installed with running x-server.

So how do I install them?

Source: (StackOverflow)

How to install NVIDIA.run?

I have a Nvidia Ge force Ge6150 SE graphics card. I am running ubuntu 12.04. When I try to install the .run file it fails. It shows the message like this:

enter image description here

I Itried to install it after uninstalling the old driver.still same message. here is the log file.

nvidia-installer log file '/var/log/nvidia-installer.log' creation time: Mon Jun 11 05:46:17 2012 installer version: 295.53

PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games

nvidia-installer command line: ./nvidia-installer

Using: nvidia-installer ncurses user interface -> The file '/tmp/.X0-lock' exists and appears to contain the process ID '1062' of a >runnning X server. ERROR: You appear to be running an X server; please exit X before installing. For >further details, please see the section INSTALLING THE NVIDIA DRIVER in the README >available on the Linux driver download page at www.nvidia.com. ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' >for details. You may find suggestions on fixing installation problems in the README >available on the Linux driver download page at www.nvidia.com.

but no such file is shown in the process manager. Help me!!

Source: (StackOverflow)

Graphics issues after installing Ubuntu 16.04 with NVIDIA graphics

I installed or upgraded to Ubuntu 16.04, but I'm having some problems with my graphics card.

  • The display is blank
  • The display flickers
  • Items on the screen do not display correctly
  • Certain programs complain of graphics issues
  • The computer boots to low-graphics mode

  • Your specific issue may not be here, but try the solutions described in the answers, anyway.

This question is very broad, but each one of these issues likely has one solution.

If you are experiencing a login loop, check the last part of my answer.

If you experience one of the listed issues and have your own solution (mine didn't work, or there's a faster way), feel free to post another POLITE answer, describing your problem and how you fixed it.

Source: (StackOverflow)

Does Unity require proprietary graphics card drivers?

I understood that the Unity desktop in Natty uses Compiz and therefore requires a graphics card driver that support composition effects. Does this mean if I have an ATI or NVIDIA card I'm forced to install a proprietory driver because the open source drivers for those cards do not support Compiz?

Source: (StackOverflow)