How do I determine which graphics card is being used?

Dave Woyciesjes woyciesjes at sbcglobal.net
Tue Mar 2 22:21:48 UTC 2010


Liam O'Toole wrote:
> On 2010-03-02, Scott Beamer <geekboy at angrykeyboarder.com> wrote:
>> Chris Jones spake thusly:
>>
>>>> It shows up ($ lspci) but how do I tell if Ubuntu is using it, or the
>>>> onboard Intel graphics?
>>> I would guess /var/log/Xorg.0.log would give you a clue which one is
>>> being used ?
>> Thanks. I knew there was a simple answer.
>>
>> It appears to not to be the nVidia card (I'd rather it was). :(
>>
>> http://paste2.org/p/697430
>>
>>
> 
> Yes, that seems to be the case. Lines 25 and 26 show that both cards are
> detected, but lines 181- indicate that the intel driver is loaded. If
> you install a suitable driver and study the arcana that is the xorg.conf
> file, you should be able to force X to use the nvidia card.
> 

	This makes me think of what I went through to get Suspend (mostly) 
working on my Inspiron. If you run this command:
$ lsmod |grep agp

and see intel_agp listed, follow these notes, it _might_ help. Maybe.

"...It's the intel_agp driver that want to prevent from loading. 
Unfortunately, simply blacklisting the driver isn't sufficient in 
karmic. I'm not exactly sure why it keeps loading even though it's 
blacklisted, but you can work around this by moving intel_agp.ko out of 
/lib/modules/2.6.31-xx-generic/kernel/drivers/char/agp to, say, /root 
and then run "sudo depmod -a" followed by "sudo update-initramfs -u"..."

-- 
--- Dave Woyciesjes
--- ICQ# 905818
--- AIM - woyciesjes
--- CompTIA A+ Certified IT Tech - http://certification.comptia.org/
--- HDI Certified Support Center Analyst - http://www.ThinkHDI.com/
             Registered Linux user number 464583
"From there to here,
 From here to there,
Funny things
are everywhere."
--- Dr. Seuss




More information about the ubuntu-users mailing list