Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have 2 GPU's in my netbook. How do I know which one I'm actually using at any given moment?

share|improve this question

2 Answers 2

To check which GPU is currently in command (that means which is an active VGA controller) type in

lspci -vnnn | perl -lne 'print if /^\d+\:.+(\[\S+\:\S+\])/' | grep VGA

Any controller with [VGA controller] at the end is your currently active GPU. The others are switched off. In the following example the Intel card is active while the nVidia one is not in use:

00:02.0 VGA compatible controller [0300]: Intel Corporation Core Processor
Integrated Graphics Controller [8086:0046] (rev 02) (prog-if 00 [VGA 
controller])
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF108 [GeForce
GT 540M] [10de:0df4] (rev ff) (prog-if ff)
share|improve this answer
    
Um... so what does it mean if both cards have VGA controller at the end? –  naught101 Nov 11 at 5:38

Which OS are you using? If you use lspci on most linux machines you get a list of your pci devices, just grep for graphics devices and it should pop up both of them. After that just check out the config on each of them, you should see details of up/on/active or something to that nature.

share|improve this answer
    
ubuntu 11.04. and lspci is showing all two gpu's. –  LanceBaynes Jul 11 '11 at 3:41
    
secguru.com/article/… That should be of substantial help to find out more details. –  Lemur Jul 11 '11 at 4:03
    
That link is now dead. That is why you should post information in your answer, not as a link. –  naught101 Nov 11 at 5:39
    
Site offline !== dead site, but since you're incapable of using cache... No, legworks on you. This answer was from over 3 years ago, regardless. –  Lemur Nov 12 at 18:35

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.