How can I see which video card on my Optimus-enabled machine is being used?

8,273

Solution 1

You should use your package manager to install the Nvidia drivers because when an update comes down the pipe it makes it easier to upgrade the kernel and still keep your nvidia driver, or even get nvidia driver updates automatically.

If you have the other nvidia driver installed you will need to manually uninstall it. At least in my experience that is the most successful method. Those details are outlined in the read me file that came with the driver.

If you want to use the tested drivers that work well under Ubuntu then run this command

sudo apt-get install nvidia-current-updates

That should do it. If it is working successfully you should have an Nvidia control panel you can locate that in the dash.

It should give you your nvidia system temperature and other facts about your card.

hope this helps.

Solution 2

The command glxinfo displays which video adapter is used for OpenGL graphics. Look for a line similar to the following:

OpenGL renderer string: Mesa DRI Intel(R) Ivybridge Mobile

The above is displayed on my laptop even though it has Nvidia Optimus discrete GPU. This means that it is still using the integrated Intel GPU for 3D graphics.

After setting up bumblebee I run optirun glxinfo and can see that the system now uses the Nvidia GPU, but only when running commands with optirun:

OpenGL renderer string: GeForce GT 540M/PCIe/SSE2

In the end I found out that the Nvidia GPU performs actually worse through bumblebee than with the integraded Intel GPU enabled with DRI_PRIME=1 setting. I will try again when/if there is a better solution in future.

Solution 3

One command is

lspci 

which produces, beneath other things, for example on my system:

00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)

a similar tool is lshw (list hardware):

sudo lshw -class display

In Xfce, there is an entry in the settings menu, 'additional driver', where you can look, if a driver like the Nvidia driver is installed and active, and where you can search for such a driver. The name of the menu might vary on your system.

Share:
8,273

Related videos on Youtube

Aks
Author by

Aks

Computer Science Engineering Student

Updated on September 18, 2022

Comments

  • Aks
    Aks over 1 year

    I'm Using Ubuntu 12.04.1 LTS on my Optimus-enabled Asus K55v notebook. This means it features two video cards; an integrated Intel one (1GB shared memory), and a discrete Nvidia Geforce 610M. Regarding this, I have a few related questions:

    1. How can I tell if my system is using the graphic card at all, and if so, how much?
    2. How do I determine whether the drivers of the Intel graphics are installed or not?
    3. I tried downloading the drivers from Nvidia's official website, but it did not install. From where do I get the drivers for Nvidia?
    4. How can I make the best use of the Nvidia graphics card (i.e. in what applications)?
  • gertvdijk
    gertvdijk over 11 years
    This answers his main question very well. +1! Nvidia GPU performance is overrated and the Intel Ivy Bridge HD Graphics are underrated imo. I don't understand why manufacturers do Optimus with a low-end Nvidia GPU...
  • sangorys
    sangorys almost 5 years
    I don't think lshw allows to know which card is used. lshw showr which cards are available