How to get the GPU info?How do I find out the model of my graphics card?How do I check if Ubuntu is using my NVIDIA graphics card?Terminal splash screen with Weather, Calendar, Time & Sysinfo?How to see what technologies a video card supportsHow to get second and third GPU working on 18.04How can I find the memory usage on my GPU?Switching on and off integrated GPUIntel GPU Monitor and OverclockingHow to find out which NVIDIA GPU I haveWhat is the best way of monitoring GPU temperature in Xubuntu 14.04 when using the OpenSource driver?Where can I find the right GPU driver for a MSI M670 notebook runnig Ubuntu 14.04.2?VM Gaming via GPU Passthrough without a dedicated monitor?Is a remote X session GPU accelerated? Separate VMs for session and GPU renderingNvidia-smi low GPU UtilizationNvidia GPU not detected in system

Way of the bicycle

Where are they calling from?

Would Taiwan and China's dispute be solved if Taiwan gave up being the Republic of China?

What are the benefits and disadvantages if a creature has multiple tails, e.g., Kyuubi or Nekomata?

Is there any reason nowadays to use a neon indicator lamp instead of an LED?

I feel like most of my characters are the same, what can I do?

A drug that allows people to survive on less food

How does IBM's 53-bit quantum computer compare to classical ones for cryptanalytic tasks?

Examples of "unsuccessful" theories with afterlives

If an object moving in a circle experiences centripetal force, then doesn't it also experience centrifugal force, because of Newton's third law?

Conditionally execute a command if a specific package is loaded

What are these ingforms of learning?

What is the need of methods like GET and POST in the HTTP protocol?

My 15 year old son is gay. How do I express my feelings about this?

Does the Orange League not count as an official Pokemon League, making the Alolan League his first-ever win?

Should I complain to HR about being mocked for request I made

How to manage expenditure when billing cycles and paycheck cycles are not aligned?

What is the meaning of "heutig" in this sentence?

How do I deal with too many NPCs in my campaign?

How to make interviewee comfortable interviewing in lounge chairs

Why is there not an optimal solution for a MIP?

How can I repair this gas leak on my new range? Teflon tape isn't working

Resolving moral conflict

What is the lowest voltage that a microcontroller can successfully read on the analog pin?



How to get the GPU info?


How do I find out the model of my graphics card?How do I check if Ubuntu is using my NVIDIA graphics card?Terminal splash screen with Weather, Calendar, Time & Sysinfo?How to see what technologies a video card supportsHow to get second and third GPU working on 18.04How can I find the memory usage on my GPU?Switching on and off integrated GPUIntel GPU Monitor and OverclockingHow to find out which NVIDIA GPU I haveWhat is the best way of monitoring GPU temperature in Xubuntu 14.04 when using the OpenSource driver?Where can I find the right GPU driver for a MSI M670 notebook runnig Ubuntu 14.04.2?VM Gaming via GPU Passthrough without a dedicated monitor?Is a remote X session GPU accelerated? Separate VMs for session and GPU renderingNvidia-smi low GPU UtilizationNvidia GPU not detected in system






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








154















I'm looking for a command that would give me the same info as:



cat /proc/cpuinfo 


Except for the GPU (type of the chip and memory, frequency).










share|improve this question


























  • what does: cat /proc/cpuinfo do? what info are you looking for?

    – Charlie Parker
    Mar 5 '18 at 17:00











  • @CharlieParker it outputs information of the cpu...

    – Emobe
    Sep 11 at 8:46

















154















I'm looking for a command that would give me the same info as:



cat /proc/cpuinfo 


Except for the GPU (type of the chip and memory, frequency).










share|improve this question


























  • what does: cat /proc/cpuinfo do? what info are you looking for?

    – Charlie Parker
    Mar 5 '18 at 17:00











  • @CharlieParker it outputs information of the cpu...

    – Emobe
    Sep 11 at 8:46













154












154








154


55






I'm looking for a command that would give me the same info as:



cat /proc/cpuinfo 


Except for the GPU (type of the chip and memory, frequency).










share|improve this question
















I'm looking for a command that would give me the same info as:



cat /proc/cpuinfo 


Except for the GPU (type of the chip and memory, frequency).







command-line graphics gpu






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 15 '17 at 1:36









muru

1




1










asked Oct 9 '10 at 17:14









user2413user2413

4,39313 gold badges42 silver badges68 bronze badges




4,39313 gold badges42 silver badges68 bronze badges















  • what does: cat /proc/cpuinfo do? what info are you looking for?

    – Charlie Parker
    Mar 5 '18 at 17:00











  • @CharlieParker it outputs information of the cpu...

    – Emobe
    Sep 11 at 8:46

















  • what does: cat /proc/cpuinfo do? what info are you looking for?

    – Charlie Parker
    Mar 5 '18 at 17:00











  • @CharlieParker it outputs information of the cpu...

    – Emobe
    Sep 11 at 8:46
















what does: cat /proc/cpuinfo do? what info are you looking for?

– Charlie Parker
Mar 5 '18 at 17:00





what does: cat /proc/cpuinfo do? what info are you looking for?

– Charlie Parker
Mar 5 '18 at 17:00













@CharlieParker it outputs information of the cpu...

– Emobe
Sep 11 at 8:46





@CharlieParker it outputs information of the cpu...

– Emobe
Sep 11 at 8:46










20 Answers
20






active

oldest

votes


















74
















That type of information is non-standard, and the tools you will use to gather it vary widely.



The command glxinfo will give you all available OpenGL information for the graphics processor, including its vendor name, if the drivers are correctly installed.



To get clock speed information, there is no standard tool.



  • For ATI/AMD GPUs, aticonfig --odgc will fetch the clock rates, and aticonfig --odgt will fetch the temperature data.

  • For NVIDIA GPUs, the nvclock program will fetch the same information.

I am not aware of an equivalent tool for the open source drivers or for Intel or other GPUs.



Other information on the hardware can be fetched from the lspci and lshw tools.






share|improve this answer




















  • 2





    How to install glxinfo?

    – stiv
    Mar 13 '15 at 13:40






  • 7





    @stiv: It's part of the Mesa library, and comes with the package mesa-utils on Ubuntu.

    – greyfade
    Mar 13 '15 at 18:20






  • 2





    aticonfig doesn't appear to be available since the retirement of fglrx. nvclock also appears to have been abandoned since the last version was for trusty. Do you have any updated solutions? Here's what I have so far..

    – Elder Geek
    Dec 14 '17 at 23:16






  • 2





    glxinfo | grep "Device" worked well enough for me on an Intel GPU

    – John Hamilton
    May 26 '18 at 14:10











  • I use: glxinfo | egrep -i 'device|memory'

    – danger89
    Jan 2 at 20:37


















150
















I do not know of a direct equivalent, but lshw should give you the info you want, try:



sudo lshw -C display


(it also works without sudo but the info may be less complete/accurate)



You can also install the package lshw-gtk to get a GUI.






share|improve this answer




















  • 3





    Had to put gksu before the command in the menu to get lshw-gtk to work.

    – robin0800
    Feb 15 '11 at 10:55











  • Any updates? I'm a fan of the command but the only clock rate (frequency) it seems to provide for me is the base bus clock 33MHz. I'm attempting to bring this Q&A up to date. Thank you!

    – Elder Geek
    Dec 14 '17 at 23:31






  • 1





    Apologies, new to Deep Learning. What should it say if I have a GPU? It says product: 2nd Generation Core Processor Family Integrated Graphics Controller

    – frank
    Apr 17 '18 at 2:13


















80
















A blog post focusing on work done on the command-line is here:



http://www.cyberciti.biz/faq/howto-find-linux-vga-video-card-ram/



Find out the device ID:



 lspci | grep ' VGA ' | cut -d" " -f 1
03:00.0


You can then use this output with lspci again, forming two nested commands



lspci -v -s $(lspci | grep ' VGA ' | cut -d" " -f 1)


If you have more than 1 GPU card, try this equivalent command instead:



lspci | grep ' VGA ' | cut -d" " -f 1 | xargs -i lspci -v -s



Output from my system:



03:00.0 VGA compatible controller: NVIDIA Corporation G98 [Quadro NVS 295] (rev a1) (prog-if 00 [VGA controller])
Subsystem: NVIDIA Corporation Device 062e
Flags: bus master, fast devsel, latency 0, IRQ 24
Memory at f6000000 (32-bit, non-prefetchable) [size=16M]
Memory at ec000000 (64-bit, prefetchable) [size=64M]
Memory at f4000000 (64-bit, non-prefetchable) [size=32M]
I/O ports at dc80 [size=128]
[virtual] Expansion ROM at f7e00000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: nvidia


EDIT: You can avoid the <access denied> by launching with sudo



So, (prefetchable) [size=64M) indicates that I have a 64-MB NVIDIA card. However, I don't, it's rather 256 MB. Why? See below.



To see how to get the most info and performance out of it, read an extremely comprehensive article on the Arch-Linux Wiki



https://wiki.archlinux.org/index.php/NVIDIA



For nvidia users, start with



nvidia-smi


(This works with the Nvidia drivers installed,but not with systems running the open-source 'nouveau' driver).



Output



Thu Dec 19 10:54:18 2013 
+------------------------------------------------------+
| NVIDIA-SMI 5.319.60 Driver Version: 319.60 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 Quadro NVS 295 Off | 0000:03:00.0 N/A | N/A |
| N/A 73C N/A N/A / N/A | 252MB / 255MB | N/A Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Compute processes: GPU Memory |
| GPU PID Process name Usage |
|=============================================================================|
| 0 Not Supported |
+-----------------------------------------------------------------------------+


This indicates that I have a 256 MB GDDR3 Graphics card.



At this time, I don't know how to get this for Intel and AMD/ATI GPUs.






share|improve this answer






















  • 12





    +1 for nvidia-smi (that should be highlighted a bit in my opinion)

    – Martin Thoma
    Sep 7 '14 at 15:23











  • If anyone have any idea: nvidia-smi hangs indefinitely: what could be the issue?

    – Franck Dernoncourt
    Aug 9 '16 at 15:50







  • 2





    This should really be the accepted answer!

    – INElutTabile
    Mar 27 '18 at 11:26






  • 1





    nvidia-smi not showing me full GPU name.

    – mrgloom
    Nov 24 '18 at 15:15


















47
















Run google-chrome and navigate to the URL about:gpu.
If chrome has figured out how to use OpenGL, you will get extremely detailing information about your GPU.






share|improve this answer






















  • 2





    This also works in Chromium (chromium-browser).

    – Eliah Kagan
    Jul 2 '17 at 13:02











  • Clever. Along these lines I additionally went to chromeexperiments.com to see the performance there. Smooth as butter - I'm definitely on gpu

    – Jacksonkr
    Jul 29 '18 at 17:49


















29
















For Nvidia cards.



1st GPU



> cat /proc/driver/nvidia/gpus/0/information
Model: GeForce GTX 680
IRQ: 24
GPU UUID: GPU-71541068-cded-8a1b-1d7e-a093a09e9842
Video BIOS: 80.04.09.00.01
Bus Type: PCIe
DMA Size: 40 bits
DMA Mask: 0xffffffffff
Bus Location: 0000:01.00.0


2nd GPU



> cat /proc/driver/nvidia/gpus/1/information
Model: GeForce GTX 580
IRQ: 33
GPU UUID: GPU-64b1235c-51fc-d6f1-0f0e-fa70320f7a47
Video BIOS: 70.10.20.00.01
Bus Type: PCIe
DMA Size: 40 bits
DMA Mask: 0xffffffffff
Bus Location: 0000:08.00.0





share|improve this answer




















  • 6





    Thanks! (thoughcat /proc/driver/nvidia/gpus/0000:01:00.0/information for me)

    – matt wilkie
    Nov 24 '15 at 3:54











  • This is the only correct answer in on-demand cloud/HPC cluster environment on which glxinfo or lspci both fail (the former because there's no OpenGL and display, the latter because the nVidia graphics card is abstracted by a graphics controller like Matrox G200eW3). The folder name under gpus is 0000:3b:00.0 or 0000:d8:00.0 for me, so we should type: cat /proc/driver/nvidia/gpus/0000:3b:00.0/information. The lovely Tesla V100-PCIE-16GB model shows that the qsub job limit is satisfied as desired.

    – user5280911
    Oct 6 '18 at 7:40


















10
















For Nvidia cards, type



nvidia-smi -q





share|improve this answer
































    10
















    clinfo



    sudo apt-get install clinfo
    clinfo


    is the analogue of glxinfo but for OpenCL.



    nvidia-settings



    Mixes runtime with some static info.



    enter image description here



    More details: How do I check if Ubuntu is using my NVIDIA graphics card?






    share|improve this answer


































      7
















      I do believe the best option for this is neofetch.



      # Get neofetch
      sudo add-apt-repository ppa:dawidd0811/neofetch
      sudo apt update
      sudo apt get neofetch
      # Run neofetch
      neofetch


      This gives an output like this:






      share|improve this answer






















      • 3





        I'm not seeing the video card frequency and memory in this answer. There are far simpler methods to obtain the model of GPU which appears to be all you are giving us. I'm not sure what this adds to the existing answers.

        – Elder Geek
        Dec 10 '17 at 17:16







      • 1





        The screenfetch program does the same thing and doesn't require a PPA to install.

        – Braden Best
        Jan 30 '18 at 19:31











      • It's a shell script. Plus I linked to its github as well so you can just use it as a script.

        – HaoZeke
        Jan 30 '18 at 19:36






      • 1





        Here's screenfetch: github.com/KittyKatt/screenFetch

        – Camille Goudeseune
        Feb 7 '18 at 21:31


















      5
















      Conky or Terminal Splash Screen



      I use two methods to automatically display nVidia GPU and Intel iGPU information:



      • Conky dynamically displays GPU information in real time


      • ~/.bashrc displays GPU information each time the terminal is opened


      Conky real time display



      This example uses Conky to display current GPU (nVidia or Intel) stats in real time. Conky is a light weight system monitor popular among many Linux enthusiasts.



      The display changes depending on if you booted after prime-select intel or prime-select nvidia.



      Intel iGPU



      gpu temp intel.gif



      • The Intel iGPU shows as Skylake GT2 HD 530 iGPU with current frequency

      • The Minimum frequency is 350 MHz and the Maximum is 1050 MHz

      nVidia GPU



      gpu temp nvidia.gif



      • The nVidia GPU shows as GeForce GTX970M with current GPU frequency and temperature

      • The Driver version, P-State and BIOS version are displayed

      • The GPU load, RAM use, Power Consumption and RAM frequency is displayed

      Conky Code



      Here is the relevant Conky script for Intel iGPU and nVidia GPU:



      #------------+
      # Intel iGPU |
      #------------+
      $color orange$hr 1$if_match "intel" == "$execpi 99999 prime-select query"
      $color2$voffset 5Intel® Skylake GT2 HD 530 iGPU @$alignr$color green$execpi .001 (cat /sys/class/drm/card1/gt_cur_freq_mhz) MHz
      $color$goto 13Min. Freq:$goto 120$color green$execpi .001 (cat /sys/class/drm/card1/gt_min_freq_mhz) MHz$color$goto 210Max. Freq:$alignr$color green$execpi .001 (cat /sys/class/drm/card1/gt_max_freq_mhz) MHz
      $color orange$hr 1$else
      #------------+
      # Nvidia GPU |
      #------------+
      $color2$voffset 5$execpi .001 (nvidia-smi --query-gpu=gpu_name --format=csv,noheader) $color1@ $color green$execpi .001 (nvidia-smi --query-gpu=clocks.sm --format=csv,noheader) $alignr$color1Temp: $color green$execpi .001 (nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader)°C
      $color1$voffset 5Ver: $color green$execpi .001 (nvidia-smi --query-gpu=driver_version --format=csv,noheader) $color1 P-State: $color green$execpi .001 (nvidia-smi --query-gpu=pstate --format=csv,noheader) $alignr$color1BIOS: $color green$execpi .001 (nvidia-smi --query-gpu=vbios_version --format=csv,noheader)
      $color1$voffset 5GPU:$color green$execpi .001 (nvidia-smi --query-gpu=utilization.gpu --format=csv,noheader) $color1Ram:$color green$execpi .001 (nvidia-smi --query-gpu=utilization.memory --format=csv,noheader) $color1Pwr:$color green$execpi .001 (nvidia-smi --query-gpu=power.draw --format=csv,noheader) $alignr$color1Freq: $color green$execpi .001 (nvidia-smi --query-gpu=clocks.mem --format=csv,noheader)
      $color orange$hr 1$endif




      ~/.bashrc Terminal splash screen



      This example modifies ~/.bashrc to display information on a splash screen each time the terminal is opened or whenever you type . .bashrc at the shell prompt.



      In addition to neofetch answered previously, there is screenfetch which looks a lot nicer (IMO). Plus another answer mentions he doesn't know how to get iGPU listed and this does it:



      ubuntu terminal splash.png



      For details on setup see: Terminal splash screen with Weather, Calendar, Time & Sysinfo?



      In summary just for the bottom section with Ubuntu display containing GPU information (second last line) use:



      sudo apt install screenfetch
      screenfetch


      You'll want to put the screenfetch command an the bottom of your ~/.bashrc file to have it appear every time you open the terminal.






      share|improve this answer


































        3
















        Just to find the basics, according to https://wiki.debian.org/NvidiaGraphicsDrivers#NVIDIA_Proprietary_Driver,



        lspci | grep VGA


        If you need more detail than that, see @knb's answer to this same question.






        share|improve this answer


































          3
















          This is really not that complex For model and memory, here's a 1 liner that works for every video card I've tested it on regardless of manufacturer (Intel, AMD, NVIDIA):



          GPU=$(lspci | grep VGA | cut -d ":" -f3);RAM=$(cardid=$(lspci | grep VGA |cut -d " " -f1);lspci -v -s $cardid | grep " prefetchable"| cut -d "=" -f2);echo $GPU $RAM



          GPU= All this bit does is grab the 3rd field from 'lspci' output filtered via 'grep' for VGA which corresponds to the video chip.



          RAM= All this bit does is set variable cardid equal to the first field of output from lspci matching "VGA" and feeds that as a request for -v verbose output from lspci for that specific -s device, further filtering the output by grep for the string " prefetchable" as this contains the memory on the card itself (note the preceding space as we don't want to match "non-prefetchable" in our output.



          For clock rate on Intel integrated graphics (Tested on I3 and I5)



          execute the command sudo find /sys -type f -name gt_cur* -print0 | xargs -0 cat
          This dives into the /sys tree to locate the gt_cur_freq_mhz
          file which on my I3 is /sys/devices/pci0000:00/0000:00:02.0/drm/card0/gt_cur_freq_mhz and prints the content. which in my case under extremely light load is 350 as in 350 MHz which corresponds to the minimum frequency found in /sys/devices/pci0000:00/0000:00:02.0/drm/card0/gt_min_freq_mhz and when running glxgears and glmark2 results in
          1050 as in 1050 MHz which corresponds to the maximum frequency found in /sys/devices/pci0000:00/0000:00:02.0/drm/card0/gt_max_freq_mhz



          For clock rates on nvidia cards:



          nvidia-smi -stats -d procClk corresponds to the GPU clock
          nvidia-smi -stats -d memClk corresponds to the memory clock.



          Note: I am unable to test the above as my trusty GeForce 210 isn't supported and this works only on Kepler or newer GPUs as indicated by
          `nvidia-smi -stats --help'



          I do not currently have any solutions for clock rate on AMD cards and do not have the hardware available for testing. I will however say that to the best of my knowledge the aticonfig mentioned in the accepted answer no longer exists and it appears that nvclock isn't available for anything since trusty.






          share|improve this answer


































            2
















            If you're running Ubuntu on a Chromebook with crouton, the only one of the answers that will work is going to chrome://gpu in the Chrome browser.






            share|improve this answer


































              2
















              If you would like to have simple information, you could try gpustat. It is very good and simple.



              gpustat screenshot



              The author gives the following installation instructions:




              Install from PyPI:



              pip install gpustat 


              To install the latest version (master branch) via
              pip:



              pip install git+https://github.com/wookayin/gpustat.git@master 


              If you
              don't have root privilege, please try to install on user namespace:
              pip install --user. Note that from v0.4, gpustat.py is no more a
              zero-dependency executable. However, in rare cases you'll need a
              single executable script (legacy), you can also try:



              wget https://raw.githubusercontent.com/wookayin/gpustat/v0.3.2/gpustat.py -O ~/.local/bin/gpustat chmod +x ~/.local/bin/gpustat # Assuming ~/.local/bin is in your $PATH






              share|improve this answer


































                2
















                Well, this answer assumes you have a server with NVIDIA-GPUs. You have three ways:



                1. To get just a short gist: nvidia-smi


                2. To get a detailed one : nvidia-smi -q. You'll get multiple screens of detailed info if you more than 1 gpu.


                3. Do a ls /proc/driver/nvidia/gpus/. It'll display the GPU-bus location as folders.
                  Now, run the following command for each of the gpu bus locations. Fill <gpu-id> with bus-location: cat /proc/driver/nvidia/gpus/<gpu_id>/information






                share|improve this answer
































                  1
















                  For the Intel GMA950 (comes with EeePC in particular) you can run:



                  setpci -s 00:02.0 f0.b


                  which will return '00' for 200MHz, '01' for 250MHz or '03' for 400MHz. You may be able to apply the same principle to other Intel cards.






                  share|improve this answer

























                  • I'm getting 04. My GPU is 00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) (rev 03) (prog-if 00 [VGA controller])

                    – johny why
                    5 hours ago


















                  1
















                  If you have a AMD Radeon Card, you may want to run the following commands



                  sudo update-pciids #optional command, requires internet
                  lspci -nn | grep -E 'VGA|Display'


                  It should report something like this



                  00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Wani [Radeon R5/R6/R7 Graphics] [1002:9874] (rev c5)
                  03:00.0 Display controller [0380]: Advanced Micro Devices, Inc. [AMD/ATI] Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330 / M430 / R7 M520] [1002:6660] (rev ff)





                  share|improve this answer
































                    1
















                    For nvidia GPUs, nvidia-smi command is your friend.
                    See man nvidia-smi if you like to.



                    For listing GPUs use nvidia-smi -L (nvidia-smi --list-gpus),
                    nvidia-smi -q give information about the gpu and the running processes.






                    share|improve this answer
































                      0
















                      Use lspci , lspci -v to get basic info see here.



                      In my case for ex once I run lspci and I have got :



                      dina@dina-X450LA:~$ lspci
                      00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
                      00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 0b)
                      00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04)
                      00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04)
                      00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)
                      00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 1 (rev e4)
                      00:1c.2 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 3 (rev e4)
                      00:1c.3 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 4 (rev e4)
                      00:1d.0 USB controller: Intel Corporation 8 Series USB EHCI #1 (rev 04)
                      00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04)
                      00:1f.2 SATA controller: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] (rev 04)
                      00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04)
                      02:00.0 Ethernet controller: Qualcomm Atheros QCA8171 Gigabit Ethernet (rev 10)
                      03:00.0 Network controller: Ralink corp. RT3290 Wireless 802.11n 1T/1R PCIe
                      03:00.1 Bluetooth: Ralink corp. RT3290 Bluetooth





                      share|improve this answer
































                        0
















                        In order to get all the information about the graphics processor, you can use the following command as specified by @greyfade.



                        > glxinfo


                        However, if the program glxinfo is currently not installed, you can install it by typing:



                        > sudo apt install mesa-utils


                        You will also have to enable the component called universe. Once this is done, glxinfo will list all the specifications related to the graphics processor in that environment.






                        share|improve this answer
































                          0
















                          If you're looking for only the names of the video cards on the machine, then simply use:



                          $ nvidia-smi --list-gpus


                          For some newer GPUs, this also lists the memory of each device.






                          share|improve this answer



























                            Your Answer








                            StackExchange.ready(function()
                            var channelOptions =
                            tags: "".split(" "),
                            id: "89"
                            ;
                            initTagRenderer("".split(" "), "".split(" "), channelOptions);

                            StackExchange.using("externalEditor", function()
                            // Have to fire editor after snippets, if snippets enabled
                            if (StackExchange.settings.snippets.snippetsEnabled)
                            StackExchange.using("snippets", function()
                            createEditor();
                            );

                            else
                            createEditor();

                            );

                            function createEditor()
                            StackExchange.prepareEditor(
                            heartbeatType: 'answer',
                            autoActivateHeartbeat: false,
                            convertImagesToLinks: true,
                            noModals: true,
                            showLowRepImageUploadWarning: true,
                            reputationToPostImages: 10,
                            bindNavPrevention: true,
                            postfix: "",
                            imageUploader:
                            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
                            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
                            allowUrls: true
                            ,
                            onDemand: true,
                            discardSelector: ".discard-answer"
                            ,immediatelyShowMarkdownHelp:true
                            );



                            );














                            draft saved

                            draft discarded
















                            StackExchange.ready(
                            function ()
                            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f5417%2fhow-to-get-the-gpu-info%23new-answer', 'question_page');

                            );

                            Post as a guest















                            Required, but never shown

























                            20 Answers
                            20






                            active

                            oldest

                            votes








                            20 Answers
                            20






                            active

                            oldest

                            votes









                            active

                            oldest

                            votes






                            active

                            oldest

                            votes









                            74
















                            That type of information is non-standard, and the tools you will use to gather it vary widely.



                            The command glxinfo will give you all available OpenGL information for the graphics processor, including its vendor name, if the drivers are correctly installed.



                            To get clock speed information, there is no standard tool.



                            • For ATI/AMD GPUs, aticonfig --odgc will fetch the clock rates, and aticonfig --odgt will fetch the temperature data.

                            • For NVIDIA GPUs, the nvclock program will fetch the same information.

                            I am not aware of an equivalent tool for the open source drivers or for Intel or other GPUs.



                            Other information on the hardware can be fetched from the lspci and lshw tools.






                            share|improve this answer




















                            • 2





                              How to install glxinfo?

                              – stiv
                              Mar 13 '15 at 13:40






                            • 7





                              @stiv: It's part of the Mesa library, and comes with the package mesa-utils on Ubuntu.

                              – greyfade
                              Mar 13 '15 at 18:20






                            • 2





                              aticonfig doesn't appear to be available since the retirement of fglrx. nvclock also appears to have been abandoned since the last version was for trusty. Do you have any updated solutions? Here's what I have so far..

                              – Elder Geek
                              Dec 14 '17 at 23:16






                            • 2





                              glxinfo | grep "Device" worked well enough for me on an Intel GPU

                              – John Hamilton
                              May 26 '18 at 14:10











                            • I use: glxinfo | egrep -i 'device|memory'

                              – danger89
                              Jan 2 at 20:37















                            74
















                            That type of information is non-standard, and the tools you will use to gather it vary widely.



                            The command glxinfo will give you all available OpenGL information for the graphics processor, including its vendor name, if the drivers are correctly installed.



                            To get clock speed information, there is no standard tool.



                            • For ATI/AMD GPUs, aticonfig --odgc will fetch the clock rates, and aticonfig --odgt will fetch the temperature data.

                            • For NVIDIA GPUs, the nvclock program will fetch the same information.

                            I am not aware of an equivalent tool for the open source drivers or for Intel or other GPUs.



                            Other information on the hardware can be fetched from the lspci and lshw tools.






                            share|improve this answer




















                            • 2





                              How to install glxinfo?

                              – stiv
                              Mar 13 '15 at 13:40






                            • 7





                              @stiv: It's part of the Mesa library, and comes with the package mesa-utils on Ubuntu.

                              – greyfade
                              Mar 13 '15 at 18:20






                            • 2





                              aticonfig doesn't appear to be available since the retirement of fglrx. nvclock also appears to have been abandoned since the last version was for trusty. Do you have any updated solutions? Here's what I have so far..

                              – Elder Geek
                              Dec 14 '17 at 23:16






                            • 2





                              glxinfo | grep "Device" worked well enough for me on an Intel GPU

                              – John Hamilton
                              May 26 '18 at 14:10











                            • I use: glxinfo | egrep -i 'device|memory'

                              – danger89
                              Jan 2 at 20:37













                            74














                            74










                            74









                            That type of information is non-standard, and the tools you will use to gather it vary widely.



                            The command glxinfo will give you all available OpenGL information for the graphics processor, including its vendor name, if the drivers are correctly installed.



                            To get clock speed information, there is no standard tool.



                            • For ATI/AMD GPUs, aticonfig --odgc will fetch the clock rates, and aticonfig --odgt will fetch the temperature data.

                            • For NVIDIA GPUs, the nvclock program will fetch the same information.

                            I am not aware of an equivalent tool for the open source drivers or for Intel or other GPUs.



                            Other information on the hardware can be fetched from the lspci and lshw tools.






                            share|improve this answer













                            That type of information is non-standard, and the tools you will use to gather it vary widely.



                            The command glxinfo will give you all available OpenGL information for the graphics processor, including its vendor name, if the drivers are correctly installed.



                            To get clock speed information, there is no standard tool.



                            • For ATI/AMD GPUs, aticonfig --odgc will fetch the clock rates, and aticonfig --odgt will fetch the temperature data.

                            • For NVIDIA GPUs, the nvclock program will fetch the same information.

                            I am not aware of an equivalent tool for the open source drivers or for Intel or other GPUs.



                            Other information on the hardware can be fetched from the lspci and lshw tools.







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Oct 9 '10 at 17:30









                            greyfadegreyfade

                            1,4111 gold badge12 silver badges7 bronze badges




                            1,4111 gold badge12 silver badges7 bronze badges










                            • 2





                              How to install glxinfo?

                              – stiv
                              Mar 13 '15 at 13:40






                            • 7





                              @stiv: It's part of the Mesa library, and comes with the package mesa-utils on Ubuntu.

                              – greyfade
                              Mar 13 '15 at 18:20






                            • 2





                              aticonfig doesn't appear to be available since the retirement of fglrx. nvclock also appears to have been abandoned since the last version was for trusty. Do you have any updated solutions? Here's what I have so far..

                              – Elder Geek
                              Dec 14 '17 at 23:16






                            • 2





                              glxinfo | grep "Device" worked well enough for me on an Intel GPU

                              – John Hamilton
                              May 26 '18 at 14:10











                            • I use: glxinfo | egrep -i 'device|memory'

                              – danger89
                              Jan 2 at 20:37












                            • 2





                              How to install glxinfo?

                              – stiv
                              Mar 13 '15 at 13:40






                            • 7





                              @stiv: It's part of the Mesa library, and comes with the package mesa-utils on Ubuntu.

                              – greyfade
                              Mar 13 '15 at 18:20






                            • 2





                              aticonfig doesn't appear to be available since the retirement of fglrx. nvclock also appears to have been abandoned since the last version was for trusty. Do you have any updated solutions? Here's what I have so far..

                              – Elder Geek
                              Dec 14 '17 at 23:16






                            • 2





                              glxinfo | grep "Device" worked well enough for me on an Intel GPU

                              – John Hamilton
                              May 26 '18 at 14:10











                            • I use: glxinfo | egrep -i 'device|memory'

                              – danger89
                              Jan 2 at 20:37







                            2




                            2





                            How to install glxinfo?

                            – stiv
                            Mar 13 '15 at 13:40





                            How to install glxinfo?

                            – stiv
                            Mar 13 '15 at 13:40




                            7




                            7





                            @stiv: It's part of the Mesa library, and comes with the package mesa-utils on Ubuntu.

                            – greyfade
                            Mar 13 '15 at 18:20





                            @stiv: It's part of the Mesa library, and comes with the package mesa-utils on Ubuntu.

                            – greyfade
                            Mar 13 '15 at 18:20




                            2




                            2





                            aticonfig doesn't appear to be available since the retirement of fglrx. nvclock also appears to have been abandoned since the last version was for trusty. Do you have any updated solutions? Here's what I have so far..

                            – Elder Geek
                            Dec 14 '17 at 23:16





                            aticonfig doesn't appear to be available since the retirement of fglrx. nvclock also appears to have been abandoned since the last version was for trusty. Do you have any updated solutions? Here's what I have so far..

                            – Elder Geek
                            Dec 14 '17 at 23:16




                            2




                            2





                            glxinfo | grep "Device" worked well enough for me on an Intel GPU

                            – John Hamilton
                            May 26 '18 at 14:10





                            glxinfo | grep "Device" worked well enough for me on an Intel GPU

                            – John Hamilton
                            May 26 '18 at 14:10













                            I use: glxinfo | egrep -i 'device|memory'

                            – danger89
                            Jan 2 at 20:37





                            I use: glxinfo | egrep -i 'device|memory'

                            – danger89
                            Jan 2 at 20:37













                            150
















                            I do not know of a direct equivalent, but lshw should give you the info you want, try:



                            sudo lshw -C display


                            (it also works without sudo but the info may be less complete/accurate)



                            You can also install the package lshw-gtk to get a GUI.






                            share|improve this answer




















                            • 3





                              Had to put gksu before the command in the menu to get lshw-gtk to work.

                              – robin0800
                              Feb 15 '11 at 10:55











                            • Any updates? I'm a fan of the command but the only clock rate (frequency) it seems to provide for me is the base bus clock 33MHz. I'm attempting to bring this Q&A up to date. Thank you!

                              – Elder Geek
                              Dec 14 '17 at 23:31






                            • 1





                              Apologies, new to Deep Learning. What should it say if I have a GPU? It says product: 2nd Generation Core Processor Family Integrated Graphics Controller

                              – frank
                              Apr 17 '18 at 2:13















                            150
















                            I do not know of a direct equivalent, but lshw should give you the info you want, try:



                            sudo lshw -C display


                            (it also works without sudo but the info may be less complete/accurate)



                            You can also install the package lshw-gtk to get a GUI.






                            share|improve this answer




















                            • 3





                              Had to put gksu before the command in the menu to get lshw-gtk to work.

                              – robin0800
                              Feb 15 '11 at 10:55











                            • Any updates? I'm a fan of the command but the only clock rate (frequency) it seems to provide for me is the base bus clock 33MHz. I'm attempting to bring this Q&A up to date. Thank you!

                              – Elder Geek
                              Dec 14 '17 at 23:31






                            • 1





                              Apologies, new to Deep Learning. What should it say if I have a GPU? It says product: 2nd Generation Core Processor Family Integrated Graphics Controller

                              – frank
                              Apr 17 '18 at 2:13













                            150














                            150










                            150









                            I do not know of a direct equivalent, but lshw should give you the info you want, try:



                            sudo lshw -C display


                            (it also works without sudo but the info may be less complete/accurate)



                            You can also install the package lshw-gtk to get a GUI.






                            share|improve this answer













                            I do not know of a direct equivalent, but lshw should give you the info you want, try:



                            sudo lshw -C display


                            (it also works without sudo but the info may be less complete/accurate)



                            You can also install the package lshw-gtk to get a GUI.







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Oct 9 '10 at 17:31









                            Marcel StimbergMarcel Stimberg

                            28.2k7 gold badges41 silver badges44 bronze badges




                            28.2k7 gold badges41 silver badges44 bronze badges










                            • 3





                              Had to put gksu before the command in the menu to get lshw-gtk to work.

                              – robin0800
                              Feb 15 '11 at 10:55











                            • Any updates? I'm a fan of the command but the only clock rate (frequency) it seems to provide for me is the base bus clock 33MHz. I'm attempting to bring this Q&A up to date. Thank you!

                              – Elder Geek
                              Dec 14 '17 at 23:31






                            • 1





                              Apologies, new to Deep Learning. What should it say if I have a GPU? It says product: 2nd Generation Core Processor Family Integrated Graphics Controller

                              – frank
                              Apr 17 '18 at 2:13












                            • 3





                              Had to put gksu before the command in the menu to get lshw-gtk to work.

                              – robin0800
                              Feb 15 '11 at 10:55











                            • Any updates? I'm a fan of the command but the only clock rate (frequency) it seems to provide for me is the base bus clock 33MHz. I'm attempting to bring this Q&A up to date. Thank you!

                              – Elder Geek
                              Dec 14 '17 at 23:31






                            • 1





                              Apologies, new to Deep Learning. What should it say if I have a GPU? It says product: 2nd Generation Core Processor Family Integrated Graphics Controller

                              – frank
                              Apr 17 '18 at 2:13







                            3




                            3





                            Had to put gksu before the command in the menu to get lshw-gtk to work.

                            – robin0800
                            Feb 15 '11 at 10:55





                            Had to put gksu before the command in the menu to get lshw-gtk to work.

                            – robin0800
                            Feb 15 '11 at 10:55













                            Any updates? I'm a fan of the command but the only clock rate (frequency) it seems to provide for me is the base bus clock 33MHz. I'm attempting to bring this Q&A up to date. Thank you!

                            – Elder Geek
                            Dec 14 '17 at 23:31





                            Any updates? I'm a fan of the command but the only clock rate (frequency) it seems to provide for me is the base bus clock 33MHz. I'm attempting to bring this Q&A up to date. Thank you!

                            – Elder Geek
                            Dec 14 '17 at 23:31




                            1




                            1





                            Apologies, new to Deep Learning. What should it say if I have a GPU? It says product: 2nd Generation Core Processor Family Integrated Graphics Controller

                            – frank
                            Apr 17 '18 at 2:13





                            Apologies, new to Deep Learning. What should it say if I have a GPU? It says product: 2nd Generation Core Processor Family Integrated Graphics Controller

                            – frank
                            Apr 17 '18 at 2:13











                            80
















                            A blog post focusing on work done on the command-line is here:



                            http://www.cyberciti.biz/faq/howto-find-linux-vga-video-card-ram/



                            Find out the device ID:



                             lspci | grep ' VGA ' | cut -d" " -f 1
                            03:00.0


                            You can then use this output with lspci again, forming two nested commands



                            lspci -v -s $(lspci | grep ' VGA ' | cut -d" " -f 1)


                            If you have more than 1 GPU card, try this equivalent command instead:



                            lspci | grep ' VGA ' | cut -d" " -f 1 | xargs -i lspci -v -s



                            Output from my system:



                            03:00.0 VGA compatible controller: NVIDIA Corporation G98 [Quadro NVS 295] (rev a1) (prog-if 00 [VGA controller])
                            Subsystem: NVIDIA Corporation Device 062e
                            Flags: bus master, fast devsel, latency 0, IRQ 24
                            Memory at f6000000 (32-bit, non-prefetchable) [size=16M]
                            Memory at ec000000 (64-bit, prefetchable) [size=64M]
                            Memory at f4000000 (64-bit, non-prefetchable) [size=32M]
                            I/O ports at dc80 [size=128]
                            [virtual] Expansion ROM at f7e00000 [disabled] [size=128K]
                            Capabilities: <access denied>
                            Kernel driver in use: nvidia


                            EDIT: You can avoid the <access denied> by launching with sudo



                            So, (prefetchable) [size=64M) indicates that I have a 64-MB NVIDIA card. However, I don't, it's rather 256 MB. Why? See below.



                            To see how to get the most info and performance out of it, read an extremely comprehensive article on the Arch-Linux Wiki



                            https://wiki.archlinux.org/index.php/NVIDIA



                            For nvidia users, start with



                            nvidia-smi


                            (This works with the Nvidia drivers installed,but not with systems running the open-source 'nouveau' driver).



                            Output



                            Thu Dec 19 10:54:18 2013 
                            +------------------------------------------------------+
                            | NVIDIA-SMI 5.319.60 Driver Version: 319.60 |
                            |-------------------------------+----------------------+----------------------+
                            | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
                            | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
                            |===============================+======================+======================|
                            | 0 Quadro NVS 295 Off | 0000:03:00.0 N/A | N/A |
                            | N/A 73C N/A N/A / N/A | 252MB / 255MB | N/A Default |
                            +-------------------------------+----------------------+----------------------+

                            +-----------------------------------------------------------------------------+
                            | Compute processes: GPU Memory |
                            | GPU PID Process name Usage |
                            |=============================================================================|
                            | 0 Not Supported |
                            +-----------------------------------------------------------------------------+


                            This indicates that I have a 256 MB GDDR3 Graphics card.



                            At this time, I don't know how to get this for Intel and AMD/ATI GPUs.






                            share|improve this answer






















                            • 12





                              +1 for nvidia-smi (that should be highlighted a bit in my opinion)

                              – Martin Thoma
                              Sep 7 '14 at 15:23











                            • If anyone have any idea: nvidia-smi hangs indefinitely: what could be the issue?

                              – Franck Dernoncourt
                              Aug 9 '16 at 15:50







                            • 2





                              This should really be the accepted answer!

                              – INElutTabile
                              Mar 27 '18 at 11:26






                            • 1





                              nvidia-smi not showing me full GPU name.

                              – mrgloom
                              Nov 24 '18 at 15:15















                            80
















                            A blog post focusing on work done on the command-line is here:



                            http://www.cyberciti.biz/faq/howto-find-linux-vga-video-card-ram/



                            Find out the device ID:



                             lspci | grep ' VGA ' | cut -d" " -f 1
                            03:00.0


                            You can then use this output with lspci again, forming two nested commands



                            lspci -v -s $(lspci | grep ' VGA ' | cut -d" " -f 1)


                            If you have more than 1 GPU card, try this equivalent command instead:



                            lspci | grep ' VGA ' | cut -d" " -f 1 | xargs -i lspci -v -s



                            Output from my system:



                            03:00.0 VGA compatible controller: NVIDIA Corporation G98 [Quadro NVS 295] (rev a1) (prog-if 00 [VGA controller])
                            Subsystem: NVIDIA Corporation Device 062e
                            Flags: bus master, fast devsel, latency 0, IRQ 24
                            Memory at f6000000 (32-bit, non-prefetchable) [size=16M]
                            Memory at ec000000 (64-bit, prefetchable) [size=64M]
                            Memory at f4000000 (64-bit, non-prefetchable) [size=32M]
                            I/O ports at dc80 [size=128]
                            [virtual] Expansion ROM at f7e00000 [disabled] [size=128K]
                            Capabilities: <access denied>
                            Kernel driver in use: nvidia


                            EDIT: You can avoid the <access denied> by launching with sudo



                            So, (prefetchable) [size=64M) indicates that I have a 64-MB NVIDIA card. However, I don't, it's rather 256 MB. Why? See below.



                            To see how to get the most info and performance out of it, read an extremely comprehensive article on the Arch-Linux Wiki



                            https://wiki.archlinux.org/index.php/NVIDIA



                            For nvidia users, start with



                            nvidia-smi


                            (This works with the Nvidia drivers installed,but not with systems running the open-source 'nouveau' driver).



                            Output



                            Thu Dec 19 10:54:18 2013 
                            +------------------------------------------------------+
                            | NVIDIA-SMI 5.319.60 Driver Version: 319.60 |
                            |-------------------------------+----------------------+----------------------+
                            | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
                            | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
                            |===============================+======================+======================|
                            | 0 Quadro NVS 295 Off | 0000:03:00.0 N/A | N/A |
                            | N/A 73C N/A N/A / N/A | 252MB / 255MB | N/A Default |
                            +-------------------------------+----------------------+----------------------+

                            +-----------------------------------------------------------------------------+
                            | Compute processes: GPU Memory |
                            | GPU PID Process name Usage |
                            |=============================================================================|
                            | 0 Not Supported |
                            +-----------------------------------------------------------------------------+


                            This indicates that I have a 256 MB GDDR3 Graphics card.



                            At this time, I don't know how to get this for Intel and AMD/ATI GPUs.






                            share|improve this answer






















                            • 12





                              +1 for nvidia-smi (that should be highlighted a bit in my opinion)

                              – Martin Thoma
                              Sep 7 '14 at 15:23











                            • If anyone have any idea: nvidia-smi hangs indefinitely: what could be the issue?

                              – Franck Dernoncourt
                              Aug 9 '16 at 15:50







                            • 2





                              This should really be the accepted answer!

                              – INElutTabile
                              Mar 27 '18 at 11:26






                            • 1





                              nvidia-smi not showing me full GPU name.

                              – mrgloom
                              Nov 24 '18 at 15:15













                            80














                            80










                            80









                            A blog post focusing on work done on the command-line is here:



                            http://www.cyberciti.biz/faq/howto-find-linux-vga-video-card-ram/



                            Find out the device ID:



                             lspci | grep ' VGA ' | cut -d" " -f 1
                            03:00.0


                            You can then use this output with lspci again, forming two nested commands



                            lspci -v -s $(lspci | grep ' VGA ' | cut -d" " -f 1)


                            If you have more than 1 GPU card, try this equivalent command instead:



                            lspci | grep ' VGA ' | cut -d" " -f 1 | xargs -i lspci -v -s



                            Output from my system:



                            03:00.0 VGA compatible controller: NVIDIA Corporation G98 [Quadro NVS 295] (rev a1) (prog-if 00 [VGA controller])
                            Subsystem: NVIDIA Corporation Device 062e
                            Flags: bus master, fast devsel, latency 0, IRQ 24
                            Memory at f6000000 (32-bit, non-prefetchable) [size=16M]
                            Memory at ec000000 (64-bit, prefetchable) [size=64M]
                            Memory at f4000000 (64-bit, non-prefetchable) [size=32M]
                            I/O ports at dc80 [size=128]
                            [virtual] Expansion ROM at f7e00000 [disabled] [size=128K]
                            Capabilities: <access denied>
                            Kernel driver in use: nvidia


                            EDIT: You can avoid the <access denied> by launching with sudo



                            So, (prefetchable) [size=64M) indicates that I have a 64-MB NVIDIA card. However, I don't, it's rather 256 MB. Why? See below.



                            To see how to get the most info and performance out of it, read an extremely comprehensive article on the Arch-Linux Wiki



                            https://wiki.archlinux.org/index.php/NVIDIA



                            For nvidia users, start with



                            nvidia-smi


                            (This works with the Nvidia drivers installed,but not with systems running the open-source 'nouveau' driver).



                            Output



                            Thu Dec 19 10:54:18 2013 
                            +------------------------------------------------------+
                            | NVIDIA-SMI 5.319.60 Driver Version: 319.60 |
                            |-------------------------------+----------------------+----------------------+
                            | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
                            | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
                            |===============================+======================+======================|
                            | 0 Quadro NVS 295 Off | 0000:03:00.0 N/A | N/A |
                            | N/A 73C N/A N/A / N/A | 252MB / 255MB | N/A Default |
                            +-------------------------------+----------------------+----------------------+

                            +-----------------------------------------------------------------------------+
                            | Compute processes: GPU Memory |
                            | GPU PID Process name Usage |
                            |=============================================================================|
                            | 0 Not Supported |
                            +-----------------------------------------------------------------------------+


                            This indicates that I have a 256 MB GDDR3 Graphics card.



                            At this time, I don't know how to get this for Intel and AMD/ATI GPUs.






                            share|improve this answer















                            A blog post focusing on work done on the command-line is here:



                            http://www.cyberciti.biz/faq/howto-find-linux-vga-video-card-ram/



                            Find out the device ID:



                             lspci | grep ' VGA ' | cut -d" " -f 1
                            03:00.0


                            You can then use this output with lspci again, forming two nested commands



                            lspci -v -s $(lspci | grep ' VGA ' | cut -d" " -f 1)


                            If you have more than 1 GPU card, try this equivalent command instead:



                            lspci | grep ' VGA ' | cut -d" " -f 1 | xargs -i lspci -v -s



                            Output from my system:



                            03:00.0 VGA compatible controller: NVIDIA Corporation G98 [Quadro NVS 295] (rev a1) (prog-if 00 [VGA controller])
                            Subsystem: NVIDIA Corporation Device 062e
                            Flags: bus master, fast devsel, latency 0, IRQ 24
                            Memory at f6000000 (32-bit, non-prefetchable) [size=16M]
                            Memory at ec000000 (64-bit, prefetchable) [size=64M]
                            Memory at f4000000 (64-bit, non-prefetchable) [size=32M]
                            I/O ports at dc80 [size=128]
                            [virtual] Expansion ROM at f7e00000 [disabled] [size=128K]
                            Capabilities: <access denied>
                            Kernel driver in use: nvidia


                            EDIT: You can avoid the <access denied> by launching with sudo



                            So, (prefetchable) [size=64M) indicates that I have a 64-MB NVIDIA card. However, I don't, it's rather 256 MB. Why? See below.



                            To see how to get the most info and performance out of it, read an extremely comprehensive article on the Arch-Linux Wiki



                            https://wiki.archlinux.org/index.php/NVIDIA



                            For nvidia users, start with



                            nvidia-smi


                            (This works with the Nvidia drivers installed,but not with systems running the open-source 'nouveau' driver).



                            Output



                            Thu Dec 19 10:54:18 2013 
                            +------------------------------------------------------+
                            | NVIDIA-SMI 5.319.60 Driver Version: 319.60 |
                            |-------------------------------+----------------------+----------------------+
                            | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
                            | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
                            |===============================+======================+======================|
                            | 0 Quadro NVS 295 Off | 0000:03:00.0 N/A | N/A |
                            | N/A 73C N/A N/A / N/A | 252MB / 255MB | N/A Default |
                            +-------------------------------+----------------------+----------------------+

                            +-----------------------------------------------------------------------------+
                            | Compute processes: GPU Memory |
                            | GPU PID Process name Usage |
                            |=============================================================================|
                            | 0 Not Supported |
                            +-----------------------------------------------------------------------------+


                            This indicates that I have a 256 MB GDDR3 Graphics card.



                            At this time, I don't know how to get this for Intel and AMD/ATI GPUs.







                            share|improve this answer














                            share|improve this answer



                            share|improve this answer








                            edited Jul 30 at 23:28









                            frank

                            991 silver badge10 bronze badges




                            991 silver badge10 bronze badges










                            answered Dec 19 '13 at 9:50









                            knbknb

                            2,2142 gold badges22 silver badges33 bronze badges




                            2,2142 gold badges22 silver badges33 bronze badges










                            • 12





                              +1 for nvidia-smi (that should be highlighted a bit in my opinion)

                              – Martin Thoma
                              Sep 7 '14 at 15:23











                            • If anyone have any idea: nvidia-smi hangs indefinitely: what could be the issue?

                              – Franck Dernoncourt
                              Aug 9 '16 at 15:50







                            • 2





                              This should really be the accepted answer!

                              – INElutTabile
                              Mar 27 '18 at 11:26






                            • 1





                              nvidia-smi not showing me full GPU name.

                              – mrgloom
                              Nov 24 '18 at 15:15












                            • 12





                              +1 for nvidia-smi (that should be highlighted a bit in my opinion)

                              – Martin Thoma
                              Sep 7 '14 at 15:23











                            • If anyone have any idea: nvidia-smi hangs indefinitely: what could be the issue?

                              – Franck Dernoncourt
                              Aug 9 '16 at 15:50







                            • 2





                              This should really be the accepted answer!

                              – INElutTabile
                              Mar 27 '18 at 11:26






                            • 1





                              nvidia-smi not showing me full GPU name.

                              – mrgloom
                              Nov 24 '18 at 15:15







                            12




                            12





                            +1 for nvidia-smi (that should be highlighted a bit in my opinion)

                            – Martin Thoma
                            Sep 7 '14 at 15:23





                            +1 for nvidia-smi (that should be highlighted a bit in my opinion)

                            – Martin Thoma
                            Sep 7 '14 at 15:23













                            If anyone have any idea: nvidia-smi hangs indefinitely: what could be the issue?

                            – Franck Dernoncourt
                            Aug 9 '16 at 15:50






                            If anyone have any idea: nvidia-smi hangs indefinitely: what could be the issue?

                            – Franck Dernoncourt
                            Aug 9 '16 at 15:50





                            2




                            2





                            This should really be the accepted answer!

                            – INElutTabile
                            Mar 27 '18 at 11:26





                            This should really be the accepted answer!

                            – INElutTabile
                            Mar 27 '18 at 11:26




                            1




                            1





                            nvidia-smi not showing me full GPU name.

                            – mrgloom
                            Nov 24 '18 at 15:15





                            nvidia-smi not showing me full GPU name.

                            – mrgloom
                            Nov 24 '18 at 15:15











                            47
















                            Run google-chrome and navigate to the URL about:gpu.
                            If chrome has figured out how to use OpenGL, you will get extremely detailing information about your GPU.






                            share|improve this answer






















                            • 2





                              This also works in Chromium (chromium-browser).

                              – Eliah Kagan
                              Jul 2 '17 at 13:02











                            • Clever. Along these lines I additionally went to chromeexperiments.com to see the performance there. Smooth as butter - I'm definitely on gpu

                              – Jacksonkr
                              Jul 29 '18 at 17:49















                            47
















                            Run google-chrome and navigate to the URL about:gpu.
                            If chrome has figured out how to use OpenGL, you will get extremely detailing information about your GPU.






                            share|improve this answer






















                            • 2





                              This also works in Chromium (chromium-browser).

                              – Eliah Kagan
                              Jul 2 '17 at 13:02











                            • Clever. Along these lines I additionally went to chromeexperiments.com to see the performance there. Smooth as butter - I'm definitely on gpu

                              – Jacksonkr
                              Jul 29 '18 at 17:49













                            47














                            47










                            47









                            Run google-chrome and navigate to the URL about:gpu.
                            If chrome has figured out how to use OpenGL, you will get extremely detailing information about your GPU.






                            share|improve this answer















                            Run google-chrome and navigate to the URL about:gpu.
                            If chrome has figured out how to use OpenGL, you will get extremely detailing information about your GPU.







                            share|improve this answer














                            share|improve this answer



                            share|improve this answer








                            edited Aug 25 '15 at 19:19









                            David Foerster

                            29.3k13 gold badges69 silver badges115 bronze badges




                            29.3k13 gold badges69 silver badges115 bronze badges










                            answered Nov 15 '12 at 7:35









                            Chris UhlikChris Uhlik

                            4714 silver badges2 bronze badges




                            4714 silver badges2 bronze badges










                            • 2





                              This also works in Chromium (chromium-browser).

                              – Eliah Kagan
                              Jul 2 '17 at 13:02











                            • Clever. Along these lines I additionally went to chromeexperiments.com to see the performance there. Smooth as butter - I'm definitely on gpu

                              – Jacksonkr
                              Jul 29 '18 at 17:49












                            • 2





                              This also works in Chromium (chromium-browser).

                              – Eliah Kagan
                              Jul 2 '17 at 13:02











                            • Clever. Along these lines I additionally went to chromeexperiments.com to see the performance there. Smooth as butter - I'm definitely on gpu

                              – Jacksonkr
                              Jul 29 '18 at 17:49







                            2




                            2





                            This also works in Chromium (chromium-browser).

                            – Eliah Kagan
                            Jul 2 '17 at 13:02





                            This also works in Chromium (chromium-browser).

                            – Eliah Kagan
                            Jul 2 '17 at 13:02













                            Clever. Along these lines I additionally went to chromeexperiments.com to see the performance there. Smooth as butter - I'm definitely on gpu

                            – Jacksonkr
                            Jul 29 '18 at 17:49





                            Clever. Along these lines I additionally went to chromeexperiments.com to see the performance there. Smooth as butter - I'm definitely on gpu

                            – Jacksonkr
                            Jul 29 '18 at 17:49











                            29
















                            For Nvidia cards.



                            1st GPU



                            > cat /proc/driver/nvidia/gpus/0/information
                            Model: GeForce GTX 680
                            IRQ: 24
                            GPU UUID: GPU-71541068-cded-8a1b-1d7e-a093a09e9842
                            Video BIOS: 80.04.09.00.01
                            Bus Type: PCIe
                            DMA Size: 40 bits
                            DMA Mask: 0xffffffffff
                            Bus Location: 0000:01.00.0


                            2nd GPU



                            > cat /proc/driver/nvidia/gpus/1/information
                            Model: GeForce GTX 580
                            IRQ: 33
                            GPU UUID: GPU-64b1235c-51fc-d6f1-0f0e-fa70320f7a47
                            Video BIOS: 70.10.20.00.01
                            Bus Type: PCIe
                            DMA Size: 40 bits
                            DMA Mask: 0xffffffffff
                            Bus Location: 0000:08.00.0





                            share|improve this answer




















                            • 6





                              Thanks! (thoughcat /proc/driver/nvidia/gpus/0000:01:00.0/information for me)

                              – matt wilkie
                              Nov 24 '15 at 3:54











                            • This is the only correct answer in on-demand cloud/HPC cluster environment on which glxinfo or lspci both fail (the former because there's no OpenGL and display, the latter because the nVidia graphics card is abstracted by a graphics controller like Matrox G200eW3). The folder name under gpus is 0000:3b:00.0 or 0000:d8:00.0 for me, so we should type: cat /proc/driver/nvidia/gpus/0000:3b:00.0/information. The lovely Tesla V100-PCIE-16GB model shows that the qsub job limit is satisfied as desired.

                              – user5280911
                              Oct 6 '18 at 7:40















                            29
















                            For Nvidia cards.



                            1st GPU



                            > cat /proc/driver/nvidia/gpus/0/information
                            Model: GeForce GTX 680
                            IRQ: 24
                            GPU UUID: GPU-71541068-cded-8a1b-1d7e-a093a09e9842
                            Video BIOS: 80.04.09.00.01
                            Bus Type: PCIe
                            DMA Size: 40 bits
                            DMA Mask: 0xffffffffff
                            Bus Location: 0000:01.00.0


                            2nd GPU



                            > cat /proc/driver/nvidia/gpus/1/information
                            Model: GeForce GTX 580
                            IRQ: 33
                            GPU UUID: GPU-64b1235c-51fc-d6f1-0f0e-fa70320f7a47
                            Video BIOS: 70.10.20.00.01
                            Bus Type: PCIe
                            DMA Size: 40 bits
                            DMA Mask: 0xffffffffff
                            Bus Location: 0000:08.00.0





                            share|improve this answer




















                            • 6





                              Thanks! (thoughcat /proc/driver/nvidia/gpus/0000:01:00.0/information for me)

                              – matt wilkie
                              Nov 24 '15 at 3:54











                            • This is the only correct answer in on-demand cloud/HPC cluster environment on which glxinfo or lspci both fail (the former because there's no OpenGL and display, the latter because the nVidia graphics card is abstracted by a graphics controller like Matrox G200eW3). The folder name under gpus is 0000:3b:00.0 or 0000:d8:00.0 for me, so we should type: cat /proc/driver/nvidia/gpus/0000:3b:00.0/information. The lovely Tesla V100-PCIE-16GB model shows that the qsub job limit is satisfied as desired.

                              – user5280911
                              Oct 6 '18 at 7:40













                            29














                            29










                            29









                            For Nvidia cards.



                            1st GPU



                            > cat /proc/driver/nvidia/gpus/0/information
                            Model: GeForce GTX 680
                            IRQ: 24
                            GPU UUID: GPU-71541068-cded-8a1b-1d7e-a093a09e9842
                            Video BIOS: 80.04.09.00.01
                            Bus Type: PCIe
                            DMA Size: 40 bits
                            DMA Mask: 0xffffffffff
                            Bus Location: 0000:01.00.0


                            2nd GPU



                            > cat /proc/driver/nvidia/gpus/1/information
                            Model: GeForce GTX 580
                            IRQ: 33
                            GPU UUID: GPU-64b1235c-51fc-d6f1-0f0e-fa70320f7a47
                            Video BIOS: 70.10.20.00.01
                            Bus Type: PCIe
                            DMA Size: 40 bits
                            DMA Mask: 0xffffffffff
                            Bus Location: 0000:08.00.0





                            share|improve this answer













                            For Nvidia cards.



                            1st GPU



                            > cat /proc/driver/nvidia/gpus/0/information
                            Model: GeForce GTX 680
                            IRQ: 24
                            GPU UUID: GPU-71541068-cded-8a1b-1d7e-a093a09e9842
                            Video BIOS: 80.04.09.00.01
                            Bus Type: PCIe
                            DMA Size: 40 bits
                            DMA Mask: 0xffffffffff
                            Bus Location: 0000:01.00.0


                            2nd GPU



                            > cat /proc/driver/nvidia/gpus/1/information
                            Model: GeForce GTX 580
                            IRQ: 33
                            GPU UUID: GPU-64b1235c-51fc-d6f1-0f0e-fa70320f7a47
                            Video BIOS: 70.10.20.00.01
                            Bus Type: PCIe
                            DMA Size: 40 bits
                            DMA Mask: 0xffffffffff
                            Bus Location: 0000:08.00.0






                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Apr 1 '15 at 21:22









                            Matt HMatt H

                            1,5845 gold badges22 silver badges36 bronze badges




                            1,5845 gold badges22 silver badges36 bronze badges










                            • 6





                              Thanks! (thoughcat /proc/driver/nvidia/gpus/0000:01:00.0/information for me)

                              – matt wilkie
                              Nov 24 '15 at 3:54











                            • This is the only correct answer in on-demand cloud/HPC cluster environment on which glxinfo or lspci both fail (the former because there's no OpenGL and display, the latter because the nVidia graphics card is abstracted by a graphics controller like Matrox G200eW3). The folder name under gpus is 0000:3b:00.0 or 0000:d8:00.0 for me, so we should type: cat /proc/driver/nvidia/gpus/0000:3b:00.0/information. The lovely Tesla V100-PCIE-16GB model shows that the qsub job limit is satisfied as desired.

                              – user5280911
                              Oct 6 '18 at 7:40












                            • 6





                              Thanks! (thoughcat /proc/driver/nvidia/gpus/0000:01:00.0/information for me)

                              – matt wilkie
                              Nov 24 '15 at 3:54











                            • This is the only correct answer in on-demand cloud/HPC cluster environment on which glxinfo or lspci both fail (the former because there's no OpenGL and display, the latter because the nVidia graphics card is abstracted by a graphics controller like Matrox G200eW3). The folder name under gpus is 0000:3b:00.0 or 0000:d8:00.0 for me, so we should type: cat /proc/driver/nvidia/gpus/0000:3b:00.0/information. The lovely Tesla V100-PCIE-16GB model shows that the qsub job limit is satisfied as desired.

                              – user5280911
                              Oct 6 '18 at 7:40







                            6




                            6





                            Thanks! (thoughcat /proc/driver/nvidia/gpus/0000:01:00.0/information for me)

                            – matt wilkie
                            Nov 24 '15 at 3:54





                            Thanks! (thoughcat /proc/driver/nvidia/gpus/0000:01:00.0/information for me)

                            – matt wilkie
                            Nov 24 '15 at 3:54













                            This is the only correct answer in on-demand cloud/HPC cluster environment on which glxinfo or lspci both fail (the former because there's no OpenGL and display, the latter because the nVidia graphics card is abstracted by a graphics controller like Matrox G200eW3). The folder name under gpus is 0000:3b:00.0 or 0000:d8:00.0 for me, so we should type: cat /proc/driver/nvidia/gpus/0000:3b:00.0/information. The lovely Tesla V100-PCIE-16GB model shows that the qsub job limit is satisfied as desired.

                            – user5280911
                            Oct 6 '18 at 7:40





                            This is the only correct answer in on-demand cloud/HPC cluster environment on which glxinfo or lspci both fail (the former because there's no OpenGL and display, the latter because the nVidia graphics card is abstracted by a graphics controller like Matrox G200eW3). The folder name under gpus is 0000:3b:00.0 or 0000:d8:00.0 for me, so we should type: cat /proc/driver/nvidia/gpus/0000:3b:00.0/information. The lovely Tesla V100-PCIE-16GB model shows that the qsub job limit is satisfied as desired.

                            – user5280911
                            Oct 6 '18 at 7:40











                            10
















                            For Nvidia cards, type



                            nvidia-smi -q





                            share|improve this answer





























                              10
















                              For Nvidia cards, type



                              nvidia-smi -q





                              share|improve this answer



























                                10














                                10










                                10









                                For Nvidia cards, type



                                nvidia-smi -q





                                share|improve this answer













                                For Nvidia cards, type



                                nvidia-smi -q






                                share|improve this answer












                                share|improve this answer



                                share|improve this answer










                                answered Jun 26 '17 at 5:48









                                QuanlongQuanlong

                                2412 silver badges5 bronze badges




                                2412 silver badges5 bronze badges
























                                    10
















                                    clinfo



                                    sudo apt-get install clinfo
                                    clinfo


                                    is the analogue of glxinfo but for OpenCL.



                                    nvidia-settings



                                    Mixes runtime with some static info.



                                    enter image description here



                                    More details: How do I check if Ubuntu is using my NVIDIA graphics card?






                                    share|improve this answer































                                      10
















                                      clinfo



                                      sudo apt-get install clinfo
                                      clinfo


                                      is the analogue of glxinfo but for OpenCL.



                                      nvidia-settings



                                      Mixes runtime with some static info.



                                      enter image description here



                                      More details: How do I check if Ubuntu is using my NVIDIA graphics card?






                                      share|improve this answer





























                                        10














                                        10










                                        10









                                        clinfo



                                        sudo apt-get install clinfo
                                        clinfo


                                        is the analogue of glxinfo but for OpenCL.



                                        nvidia-settings



                                        Mixes runtime with some static info.



                                        enter image description here



                                        More details: How do I check if Ubuntu is using my NVIDIA graphics card?






                                        share|improve this answer















                                        clinfo



                                        sudo apt-get install clinfo
                                        clinfo


                                        is the analogue of glxinfo but for OpenCL.



                                        nvidia-settings



                                        Mixes runtime with some static info.



                                        enter image description here



                                        More details: How do I check if Ubuntu is using my NVIDIA graphics card?







                                        share|improve this answer














                                        share|improve this answer



                                        share|improve this answer








                                        edited Oct 29 '17 at 20:57

























                                        answered Nov 2 '15 at 10:14









                                        Ciro Santilli 新疆改造中心996ICU六四事件Ciro Santilli 新疆改造中心996ICU六四事件

                                        12.1k5 gold badges54 silver badges59 bronze badges




                                        12.1k5 gold badges54 silver badges59 bronze badges
























                                            7
















                                            I do believe the best option for this is neofetch.



                                            # Get neofetch
                                            sudo add-apt-repository ppa:dawidd0811/neofetch
                                            sudo apt update
                                            sudo apt get neofetch
                                            # Run neofetch
                                            neofetch


                                            This gives an output like this:






                                            share|improve this answer






















                                            • 3





                                              I'm not seeing the video card frequency and memory in this answer. There are far simpler methods to obtain the model of GPU which appears to be all you are giving us. I'm not sure what this adds to the existing answers.

                                              – Elder Geek
                                              Dec 10 '17 at 17:16







                                            • 1





                                              The screenfetch program does the same thing and doesn't require a PPA to install.

                                              – Braden Best
                                              Jan 30 '18 at 19:31











                                            • It's a shell script. Plus I linked to its github as well so you can just use it as a script.

                                              – HaoZeke
                                              Jan 30 '18 at 19:36






                                            • 1





                                              Here's screenfetch: github.com/KittyKatt/screenFetch

                                              – Camille Goudeseune
                                              Feb 7 '18 at 21:31















                                            7
















                                            I do believe the best option for this is neofetch.



                                            # Get neofetch
                                            sudo add-apt-repository ppa:dawidd0811/neofetch
                                            sudo apt update
                                            sudo apt get neofetch
                                            # Run neofetch
                                            neofetch


                                            This gives an output like this:






                                            share|improve this answer






















                                            • 3





                                              I'm not seeing the video card frequency and memory in this answer. There are far simpler methods to obtain the model of GPU which appears to be all you are giving us. I'm not sure what this adds to the existing answers.

                                              – Elder Geek
                                              Dec 10 '17 at 17:16







                                            • 1





                                              The screenfetch program does the same thing and doesn't require a PPA to install.

                                              – Braden Best
                                              Jan 30 '18 at 19:31











                                            • It's a shell script. Plus I linked to its github as well so you can just use it as a script.

                                              – HaoZeke
                                              Jan 30 '18 at 19:36






                                            • 1





                                              Here's screenfetch: github.com/KittyKatt/screenFetch

                                              – Camille Goudeseune
                                              Feb 7 '18 at 21:31













                                            7














                                            7










                                            7









                                            I do believe the best option for this is neofetch.



                                            # Get neofetch
                                            sudo add-apt-repository ppa:dawidd0811/neofetch
                                            sudo apt update
                                            sudo apt get neofetch
                                            # Run neofetch
                                            neofetch


                                            This gives an output like this:






                                            share|improve this answer















                                            I do believe the best option for this is neofetch.



                                            # Get neofetch
                                            sudo add-apt-repository ppa:dawidd0811/neofetch
                                            sudo apt update
                                            sudo apt get neofetch
                                            # Run neofetch
                                            neofetch


                                            This gives an output like this:







                                            share|improve this answer














                                            share|improve this answer



                                            share|improve this answer








                                            edited Dec 10 '17 at 17:14









                                            Kevin Bowen

                                            15.9k15 gold badges62 silver badges73 bronze badges




                                            15.9k15 gold badges62 silver badges73 bronze badges










                                            answered Dec 10 '17 at 16:37









                                            HaoZekeHaoZeke

                                            1401 silver badge4 bronze badges




                                            1401 silver badge4 bronze badges










                                            • 3





                                              I'm not seeing the video card frequency and memory in this answer. There are far simpler methods to obtain the model of GPU which appears to be all you are giving us. I'm not sure what this adds to the existing answers.

                                              – Elder Geek
                                              Dec 10 '17 at 17:16







                                            • 1





                                              The screenfetch program does the same thing and doesn't require a PPA to install.

                                              – Braden Best
                                              Jan 30 '18 at 19:31











                                            • It's a shell script. Plus I linked to its github as well so you can just use it as a script.

                                              – HaoZeke
                                              Jan 30 '18 at 19:36






                                            • 1





                                              Here's screenfetch: github.com/KittyKatt/screenFetch

                                              – Camille Goudeseune
                                              Feb 7 '18 at 21:31












                                            • 3





                                              I'm not seeing the video card frequency and memory in this answer. There are far simpler methods to obtain the model of GPU which appears to be all you are giving us. I'm not sure what this adds to the existing answers.

                                              – Elder Geek
                                              Dec 10 '17 at 17:16







                                            • 1





                                              The screenfetch program does the same thing and doesn't require a PPA to install.

                                              – Braden Best
                                              Jan 30 '18 at 19:31











                                            • It's a shell script. Plus I linked to its github as well so you can just use it as a script.

                                              – HaoZeke
                                              Jan 30 '18 at 19:36






                                            • 1





                                              Here's screenfetch: github.com/KittyKatt/screenFetch

                                              – Camille Goudeseune
                                              Feb 7 '18 at 21:31







                                            3




                                            3





                                            I'm not seeing the video card frequency and memory in this answer. There are far simpler methods to obtain the model of GPU which appears to be all you are giving us. I'm not sure what this adds to the existing answers.

                                            – Elder Geek
                                            Dec 10 '17 at 17:16






                                            I'm not seeing the video card frequency and memory in this answer. There are far simpler methods to obtain the model of GPU which appears to be all you are giving us. I'm not sure what this adds to the existing answers.

                                            – Elder Geek
                                            Dec 10 '17 at 17:16





                                            1




                                            1





                                            The screenfetch program does the same thing and doesn't require a PPA to install.

                                            – Braden Best
                                            Jan 30 '18 at 19:31





                                            The screenfetch program does the same thing and doesn't require a PPA to install.

                                            – Braden Best
                                            Jan 30 '18 at 19:31













                                            It's a shell script. Plus I linked to its github as well so you can just use it as a script.

                                            – HaoZeke
                                            Jan 30 '18 at 19:36





                                            It's a shell script. Plus I linked to its github as well so you can just use it as a script.

                                            – HaoZeke
                                            Jan 30 '18 at 19:36




                                            1




                                            1





                                            Here's screenfetch: github.com/KittyKatt/screenFetch

                                            – Camille Goudeseune
                                            Feb 7 '18 at 21:31





                                            Here's screenfetch: github.com/KittyKatt/screenFetch

                                            – Camille Goudeseune
                                            Feb 7 '18 at 21:31











                                            5
















                                            Conky or Terminal Splash Screen



                                            I use two methods to automatically display nVidia GPU and Intel iGPU information:



                                            • Conky dynamically displays GPU information in real time


                                            • ~/.bashrc displays GPU information each time the terminal is opened


                                            Conky real time display



                                            This example uses Conky to display current GPU (nVidia or Intel) stats in real time. Conky is a light weight system monitor popular among many Linux enthusiasts.



                                            The display changes depending on if you booted after prime-select intel or prime-select nvidia.



                                            Intel iGPU



                                            gpu temp intel.gif



                                            • The Intel iGPU shows as Skylake GT2 HD 530 iGPU with current frequency

                                            • The Minimum frequency is 350 MHz and the Maximum is 1050 MHz

                                            nVidia GPU



                                            gpu temp nvidia.gif



                                            • The nVidia GPU shows as GeForce GTX970M with current GPU frequency and temperature

                                            • The Driver version, P-State and BIOS version are displayed

                                            • The GPU load, RAM use, Power Consumption and RAM frequency is displayed

                                            Conky Code



                                            Here is the relevant Conky script for Intel iGPU and nVidia GPU:



                                            #------------+
                                            # Intel iGPU |
                                            #------------+
                                            $color orange$hr 1$if_match "intel" == "$execpi 99999 prime-select query"
                                            $color2$voffset 5Intel® Skylake GT2 HD 530 iGPU @$alignr$color green$execpi .001 (cat /sys/class/drm/card1/gt_cur_freq_mhz) MHz
                                            $color$goto 13Min. Freq:$goto 120$color green$execpi .001 (cat /sys/class/drm/card1/gt_min_freq_mhz) MHz$color$goto 210Max. Freq:$alignr$color green$execpi .001 (cat /sys/class/drm/card1/gt_max_freq_mhz) MHz
                                            $color orange$hr 1$else
                                            #------------+
                                            # Nvidia GPU |
                                            #------------+
                                            $color2$voffset 5$execpi .001 (nvidia-smi --query-gpu=gpu_name --format=csv,noheader) $color1@ $color green$execpi .001 (nvidia-smi --query-gpu=clocks.sm --format=csv,noheader) $alignr$color1Temp: $color green$execpi .001 (nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader)°C
                                            $color1$voffset 5Ver: $color green$execpi .001 (nvidia-smi --query-gpu=driver_version --format=csv,noheader) $color1 P-State: $color green$execpi .001 (nvidia-smi --query-gpu=pstate --format=csv,noheader) $alignr$color1BIOS: $color green$execpi .001 (nvidia-smi --query-gpu=vbios_version --format=csv,noheader)
                                            $color1$voffset 5GPU:$color green$execpi .001 (nvidia-smi --query-gpu=utilization.gpu --format=csv,noheader) $color1Ram:$color green$execpi .001 (nvidia-smi --query-gpu=utilization.memory --format=csv,noheader) $color1Pwr:$color green$execpi .001 (nvidia-smi --query-gpu=power.draw --format=csv,noheader) $alignr$color1Freq: $color green$execpi .001 (nvidia-smi --query-gpu=clocks.mem --format=csv,noheader)
                                            $color orange$hr 1$endif




                                            ~/.bashrc Terminal splash screen



                                            This example modifies ~/.bashrc to display information on a splash screen each time the terminal is opened or whenever you type . .bashrc at the shell prompt.



                                            In addition to neofetch answered previously, there is screenfetch which looks a lot nicer (IMO). Plus another answer mentions he doesn't know how to get iGPU listed and this does it:



                                            ubuntu terminal splash.png



                                            For details on setup see: Terminal splash screen with Weather, Calendar, Time & Sysinfo?



                                            In summary just for the bottom section with Ubuntu display containing GPU information (second last line) use:



                                            sudo apt install screenfetch
                                            screenfetch


                                            You'll want to put the screenfetch command an the bottom of your ~/.bashrc file to have it appear every time you open the terminal.






                                            share|improve this answer































                                              5
















                                              Conky or Terminal Splash Screen



                                              I use two methods to automatically display nVidia GPU and Intel iGPU information:



                                              • Conky dynamically displays GPU information in real time


                                              • ~/.bashrc displays GPU information each time the terminal is opened


                                              Conky real time display



                                              This example uses Conky to display current GPU (nVidia or Intel) stats in real time. Conky is a light weight system monitor popular among many Linux enthusiasts.



                                              The display changes depending on if you booted after prime-select intel or prime-select nvidia.



                                              Intel iGPU



                                              gpu temp intel.gif



                                              • The Intel iGPU shows as Skylake GT2 HD 530 iGPU with current frequency

                                              • The Minimum frequency is 350 MHz and the Maximum is 1050 MHz

                                              nVidia GPU



                                              gpu temp nvidia.gif



                                              • The nVidia GPU shows as GeForce GTX970M with current GPU frequency and temperature

                                              • The Driver version, P-State and BIOS version are displayed

                                              • The GPU load, RAM use, Power Consumption and RAM frequency is displayed

                                              Conky Code



                                              Here is the relevant Conky script for Intel iGPU and nVidia GPU:



                                              #------------+
                                              # Intel iGPU |
                                              #------------+
                                              $color orange$hr 1$if_match "intel" == "$execpi 99999 prime-select query"
                                              $color2$voffset 5Intel® Skylake GT2 HD 530 iGPU @$alignr$color green$execpi .001 (cat /sys/class/drm/card1/gt_cur_freq_mhz) MHz
                                              $color$goto 13Min. Freq:$goto 120$color green$execpi .001 (cat /sys/class/drm/card1/gt_min_freq_mhz) MHz$color$goto 210Max. Freq:$alignr$color green$execpi .001 (cat /sys/class/drm/card1/gt_max_freq_mhz) MHz
                                              $color orange$hr 1$else
                                              #------------+
                                              # Nvidia GPU |
                                              #------------+
                                              $color2$voffset 5$execpi .001 (nvidia-smi --query-gpu=gpu_name --format=csv,noheader) $color1@ $color green$execpi .001 (nvidia-smi --query-gpu=clocks.sm --format=csv,noheader) $alignr$color1Temp: $color green$execpi .001 (nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader)°C
                                              $color1$voffset 5Ver: $color green$execpi .001 (nvidia-smi --query-gpu=driver_version --format=csv,noheader) $color1 P-State: $color green$execpi .001 (nvidia-smi --query-gpu=pstate --format=csv,noheader) $alignr$color1BIOS: $color green$execpi .001 (nvidia-smi --query-gpu=vbios_version --format=csv,noheader)
                                              $color1$voffset 5GPU:$color green$execpi .001 (nvidia-smi --query-gpu=utilization.gpu --format=csv,noheader) $color1Ram:$color green$execpi .001 (nvidia-smi --query-gpu=utilization.memory --format=csv,noheader) $color1Pwr:$color green$execpi .001 (nvidia-smi --query-gpu=power.draw --format=csv,noheader) $alignr$color1Freq: $color green$execpi .001 (nvidia-smi --query-gpu=clocks.mem --format=csv,noheader)
                                              $color orange$hr 1$endif




                                              ~/.bashrc Terminal splash screen



                                              This example modifies ~/.bashrc to display information on a splash screen each time the terminal is opened or whenever you type . .bashrc at the shell prompt.



                                              In addition to neofetch answered previously, there is screenfetch which looks a lot nicer (IMO). Plus another answer mentions he doesn't know how to get iGPU listed and this does it:



                                              ubuntu terminal splash.png



                                              For details on setup see: Terminal splash screen with Weather, Calendar, Time & Sysinfo?



                                              In summary just for the bottom section with Ubuntu display containing GPU information (second last line) use:



                                              sudo apt install screenfetch
                                              screenfetch


                                              You'll want to put the screenfetch command an the bottom of your ~/.bashrc file to have it appear every time you open the terminal.






                                              share|improve this answer





























                                                5














                                                5










                                                5









                                                Conky or Terminal Splash Screen



                                                I use two methods to automatically display nVidia GPU and Intel iGPU information:



                                                • Conky dynamically displays GPU information in real time


                                                • ~/.bashrc displays GPU information each time the terminal is opened


                                                Conky real time display



                                                This example uses Conky to display current GPU (nVidia or Intel) stats in real time. Conky is a light weight system monitor popular among many Linux enthusiasts.



                                                The display changes depending on if you booted after prime-select intel or prime-select nvidia.



                                                Intel iGPU



                                                gpu temp intel.gif



                                                • The Intel iGPU shows as Skylake GT2 HD 530 iGPU with current frequency

                                                • The Minimum frequency is 350 MHz and the Maximum is 1050 MHz

                                                nVidia GPU



                                                gpu temp nvidia.gif



                                                • The nVidia GPU shows as GeForce GTX970M with current GPU frequency and temperature

                                                • The Driver version, P-State and BIOS version are displayed

                                                • The GPU load, RAM use, Power Consumption and RAM frequency is displayed

                                                Conky Code



                                                Here is the relevant Conky script for Intel iGPU and nVidia GPU:



                                                #------------+
                                                # Intel iGPU |
                                                #------------+
                                                $color orange$hr 1$if_match "intel" == "$execpi 99999 prime-select query"
                                                $color2$voffset 5Intel® Skylake GT2 HD 530 iGPU @$alignr$color green$execpi .001 (cat /sys/class/drm/card1/gt_cur_freq_mhz) MHz
                                                $color$goto 13Min. Freq:$goto 120$color green$execpi .001 (cat /sys/class/drm/card1/gt_min_freq_mhz) MHz$color$goto 210Max. Freq:$alignr$color green$execpi .001 (cat /sys/class/drm/card1/gt_max_freq_mhz) MHz
                                                $color orange$hr 1$else
                                                #------------+
                                                # Nvidia GPU |
                                                #------------+
                                                $color2$voffset 5$execpi .001 (nvidia-smi --query-gpu=gpu_name --format=csv,noheader) $color1@ $color green$execpi .001 (nvidia-smi --query-gpu=clocks.sm --format=csv,noheader) $alignr$color1Temp: $color green$execpi .001 (nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader)°C
                                                $color1$voffset 5Ver: $color green$execpi .001 (nvidia-smi --query-gpu=driver_version --format=csv,noheader) $color1 P-State: $color green$execpi .001 (nvidia-smi --query-gpu=pstate --format=csv,noheader) $alignr$color1BIOS: $color green$execpi .001 (nvidia-smi --query-gpu=vbios_version --format=csv,noheader)
                                                $color1$voffset 5GPU:$color green$execpi .001 (nvidia-smi --query-gpu=utilization.gpu --format=csv,noheader) $color1Ram:$color green$execpi .001 (nvidia-smi --query-gpu=utilization.memory --format=csv,noheader) $color1Pwr:$color green$execpi .001 (nvidia-smi --query-gpu=power.draw --format=csv,noheader) $alignr$color1Freq: $color green$execpi .001 (nvidia-smi --query-gpu=clocks.mem --format=csv,noheader)
                                                $color orange$hr 1$endif




                                                ~/.bashrc Terminal splash screen



                                                This example modifies ~/.bashrc to display information on a splash screen each time the terminal is opened or whenever you type . .bashrc at the shell prompt.



                                                In addition to neofetch answered previously, there is screenfetch which looks a lot nicer (IMO). Plus another answer mentions he doesn't know how to get iGPU listed and this does it:



                                                ubuntu terminal splash.png



                                                For details on setup see: Terminal splash screen with Weather, Calendar, Time & Sysinfo?



                                                In summary just for the bottom section with Ubuntu display containing GPU information (second last line) use:



                                                sudo apt install screenfetch
                                                screenfetch


                                                You'll want to put the screenfetch command an the bottom of your ~/.bashrc file to have it appear every time you open the terminal.






                                                share|improve this answer















                                                Conky or Terminal Splash Screen



                                                I use two methods to automatically display nVidia GPU and Intel iGPU information:



                                                • Conky dynamically displays GPU information in real time


                                                • ~/.bashrc displays GPU information each time the terminal is opened


                                                Conky real time display



                                                This example uses Conky to display current GPU (nVidia or Intel) stats in real time. Conky is a light weight system monitor popular among many Linux enthusiasts.



                                                The display changes depending on if you booted after prime-select intel or prime-select nvidia.



                                                Intel iGPU



                                                gpu temp intel.gif



                                                • The Intel iGPU shows as Skylake GT2 HD 530 iGPU with current frequency

                                                • The Minimum frequency is 350 MHz and the Maximum is 1050 MHz

                                                nVidia GPU



                                                gpu temp nvidia.gif



                                                • The nVidia GPU shows as GeForce GTX970M with current GPU frequency and temperature

                                                • The Driver version, P-State and BIOS version are displayed

                                                • The GPU load, RAM use, Power Consumption and RAM frequency is displayed

                                                Conky Code



                                                Here is the relevant Conky script for Intel iGPU and nVidia GPU:



                                                #------------+
                                                # Intel iGPU |
                                                #------------+
                                                $color orange$hr 1$if_match "intel" == "$execpi 99999 prime-select query"
                                                $color2$voffset 5Intel® Skylake GT2 HD 530 iGPU @$alignr$color green$execpi .001 (cat /sys/class/drm/card1/gt_cur_freq_mhz) MHz
                                                $color$goto 13Min. Freq:$goto 120$color green$execpi .001 (cat /sys/class/drm/card1/gt_min_freq_mhz) MHz$color$goto 210Max. Freq:$alignr$color green$execpi .001 (cat /sys/class/drm/card1/gt_max_freq_mhz) MHz
                                                $color orange$hr 1$else
                                                #------------+
                                                # Nvidia GPU |
                                                #------------+
                                                $color2$voffset 5$execpi .001 (nvidia-smi --query-gpu=gpu_name --format=csv,noheader) $color1@ $color green$execpi .001 (nvidia-smi --query-gpu=clocks.sm --format=csv,noheader) $alignr$color1Temp: $color green$execpi .001 (nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader)°C
                                                $color1$voffset 5Ver: $color green$execpi .001 (nvidia-smi --query-gpu=driver_version --format=csv,noheader) $color1 P-State: $color green$execpi .001 (nvidia-smi --query-gpu=pstate --format=csv,noheader) $alignr$color1BIOS: $color green$execpi .001 (nvidia-smi --query-gpu=vbios_version --format=csv,noheader)
                                                $color1$voffset 5GPU:$color green$execpi .001 (nvidia-smi --query-gpu=utilization.gpu --format=csv,noheader) $color1Ram:$color green$execpi .001 (nvidia-smi --query-gpu=utilization.memory --format=csv,noheader) $color1Pwr:$color green$execpi .001 (nvidia-smi --query-gpu=power.draw --format=csv,noheader) $alignr$color1Freq: $color green$execpi .001 (nvidia-smi --query-gpu=clocks.mem --format=csv,noheader)
                                                $color orange$hr 1$endif




                                                ~/.bashrc Terminal splash screen



                                                This example modifies ~/.bashrc to display information on a splash screen each time the terminal is opened or whenever you type . .bashrc at the shell prompt.



                                                In addition to neofetch answered previously, there is screenfetch which looks a lot nicer (IMO). Plus another answer mentions he doesn't know how to get iGPU listed and this does it:



                                                ubuntu terminal splash.png



                                                For details on setup see: Terminal splash screen with Weather, Calendar, Time & Sysinfo?



                                                In summary just for the bottom section with Ubuntu display containing GPU information (second last line) use:



                                                sudo apt install screenfetch
                                                screenfetch


                                                You'll want to put the screenfetch command an the bottom of your ~/.bashrc file to have it appear every time you open the terminal.







                                                share|improve this answer














                                                share|improve this answer



                                                share|improve this answer








                                                edited Apr 7 at 0:58

























                                                answered Apr 18 '18 at 23:05









                                                WinEunuuchs2UnixWinEunuuchs2Unix

                                                58.3k18 gold badges118 silver badges230 bronze badges




                                                58.3k18 gold badges118 silver badges230 bronze badges
























                                                    3
















                                                    Just to find the basics, according to https://wiki.debian.org/NvidiaGraphicsDrivers#NVIDIA_Proprietary_Driver,



                                                    lspci | grep VGA


                                                    If you need more detail than that, see @knb's answer to this same question.






                                                    share|improve this answer































                                                      3
















                                                      Just to find the basics, according to https://wiki.debian.org/NvidiaGraphicsDrivers#NVIDIA_Proprietary_Driver,



                                                      lspci | grep VGA


                                                      If you need more detail than that, see @knb's answer to this same question.






                                                      share|improve this answer





























                                                        3














                                                        3










                                                        3









                                                        Just to find the basics, according to https://wiki.debian.org/NvidiaGraphicsDrivers#NVIDIA_Proprietary_Driver,



                                                        lspci | grep VGA


                                                        If you need more detail than that, see @knb's answer to this same question.






                                                        share|improve this answer















                                                        Just to find the basics, according to https://wiki.debian.org/NvidiaGraphicsDrivers#NVIDIA_Proprietary_Driver,



                                                        lspci | grep VGA


                                                        If you need more detail than that, see @knb's answer to this same question.







                                                        share|improve this answer














                                                        share|improve this answer



                                                        share|improve this answer








                                                        edited Sep 22 '17 at 20:50

























                                                        answered May 4 '17 at 21:11









                                                        mightypilemightypile

                                                        5001 gold badge8 silver badges11 bronze badges




                                                        5001 gold badge8 silver badges11 bronze badges
























                                                            3
















                                                            This is really not that complex For model and memory, here's a 1 liner that works for every video card I've tested it on regardless of manufacturer (Intel, AMD, NVIDIA):



                                                            GPU=$(lspci | grep VGA | cut -d ":" -f3);RAM=$(cardid=$(lspci | grep VGA |cut -d " " -f1);lspci -v -s $cardid | grep " prefetchable"| cut -d "=" -f2);echo $GPU $RAM



                                                            GPU= All this bit does is grab the 3rd field from 'lspci' output filtered via 'grep' for VGA which corresponds to the video chip.



                                                            RAM= All this bit does is set variable cardid equal to the first field of output from lspci matching "VGA" and feeds that as a request for -v verbose output from lspci for that specific -s device, further filtering the output by grep for the string " prefetchable" as this contains the memory on the card itself (note the preceding space as we don't want to match "non-prefetchable" in our output.



                                                            For clock rate on Intel integrated graphics (Tested on I3 and I5)



                                                            execute the command sudo find /sys -type f -name gt_cur* -print0 | xargs -0 cat
                                                            This dives into the /sys tree to locate the gt_cur_freq_mhz
                                                            file which on my I3 is /sys/devices/pci0000:00/0000:00:02.0/drm/card0/gt_cur_freq_mhz and prints the content. which in my case under extremely light load is 350 as in 350 MHz which corresponds to the minimum frequency found in /sys/devices/pci0000:00/0000:00:02.0/drm/card0/gt_min_freq_mhz and when running glxgears and glmark2 results in
                                                            1050 as in 1050 MHz which corresponds to the maximum frequency found in /sys/devices/pci0000:00/0000:00:02.0/drm/card0/gt_max_freq_mhz



                                                            For clock rates on nvidia cards:



                                                            nvidia-smi -stats -d procClk corresponds to the GPU clock
                                                            nvidia-smi -stats -d memClk corresponds to the memory clock.



                                                            Note: I am unable to test the above as my trusty GeForce 210 isn't supported and this works only on Kepler or newer GPUs as indicated by
                                                            `nvidia-smi -stats --help'



                                                            I do not currently have any solutions for clock rate on AMD cards and do not have the hardware available for testing. I will however say that to the best of my knowledge the aticonfig mentioned in the accepted answer no longer exists and it appears that nvclock isn't available for anything since trusty.






                                                            share|improve this answer































                                                              3
















                                                              This is really not that complex For model and memory, here's a 1 liner that works for every video card I've tested it on regardless of manufacturer (Intel, AMD, NVIDIA):



                                                              GPU=$(lspci | grep VGA | cut -d ":" -f3);RAM=$(cardid=$(lspci | grep VGA |cut -d " " -f1);lspci -v -s $cardid | grep " prefetchable"| cut -d "=" -f2);echo $GPU $RAM



                                                              GPU= All this bit does is grab the 3rd field from 'lspci' output filtered via 'grep' for VGA which corresponds to the video chip.



                                                              RAM= All this bit does is set variable cardid equal to the first field of output from lspci matching "VGA" and feeds that as a request for -v verbose output from lspci for that specific -s device, further filtering the output by grep for the string " prefetchable" as this contains the memory on the card itself (note the preceding space as we don't want to match "non-prefetchable" in our output.



                                                              For clock rate on Intel integrated graphics (Tested on I3 and I5)



                                                              execute the command sudo find /sys -type f -name gt_cur* -print0 | xargs -0 cat
                                                              This dives into the /sys tree to locate the gt_cur_freq_mhz
                                                              file which on my I3 is /sys/devices/pci0000:00/0000:00:02.0/drm/card0/gt_cur_freq_mhz and prints the content. which in my case under extremely light load is 350 as in 350 MHz which corresponds to the minimum frequency found in /sys/devices/pci0000:00/0000:00:02.0/drm/card0/gt_min_freq_mhz and when running glxgears and glmark2 results in
                                                              1050 as in 1050 MHz which corresponds to the maximum frequency found in /sys/devices/pci0000:00/0000:00:02.0/drm/card0/gt_max_freq_mhz



                                                              For clock rates on nvidia cards:



                                                              nvidia-smi -stats -d procClk corresponds to the GPU clock
                                                              nvidia-smi -stats -d memClk corresponds to the memory clock.



                                                              Note: I am unable to test the above as my trusty GeForce 210 isn't supported and this works only on Kepler or newer GPUs as indicated by
                                                              `nvidia-smi -stats --help'



                                                              I do not currently have any solutions for clock rate on AMD cards and do not have the hardware available for testing. I will however say that to the best of my knowledge the aticonfig mentioned in the accepted answer no longer exists and it appears that nvclock isn't available for anything since trusty.






                                                              share|improve this answer





























                                                                3














                                                                3










                                                                3









                                                                This is really not that complex For model and memory, here's a 1 liner that works for every video card I've tested it on regardless of manufacturer (Intel, AMD, NVIDIA):



                                                                GPU=$(lspci | grep VGA | cut -d ":" -f3);RAM=$(cardid=$(lspci | grep VGA |cut -d " " -f1);lspci -v -s $cardid | grep " prefetchable"| cut -d "=" -f2);echo $GPU $RAM



                                                                GPU= All this bit does is grab the 3rd field from 'lspci' output filtered via 'grep' for VGA which corresponds to the video chip.



                                                                RAM= All this bit does is set variable cardid equal to the first field of output from lspci matching "VGA" and feeds that as a request for -v verbose output from lspci for that specific -s device, further filtering the output by grep for the string " prefetchable" as this contains the memory on the card itself (note the preceding space as we don't want to match "non-prefetchable" in our output.



                                                                For clock rate on Intel integrated graphics (Tested on I3 and I5)



                                                                execute the command sudo find /sys -type f -name gt_cur* -print0 | xargs -0 cat
                                                                This dives into the /sys tree to locate the gt_cur_freq_mhz
                                                                file which on my I3 is /sys/devices/pci0000:00/0000:00:02.0/drm/card0/gt_cur_freq_mhz and prints the content. which in my case under extremely light load is 350 as in 350 MHz which corresponds to the minimum frequency found in /sys/devices/pci0000:00/0000:00:02.0/drm/card0/gt_min_freq_mhz and when running glxgears and glmark2 results in
                                                                1050 as in 1050 MHz which corresponds to the maximum frequency found in /sys/devices/pci0000:00/0000:00:02.0/drm/card0/gt_max_freq_mhz



                                                                For clock rates on nvidia cards:



                                                                nvidia-smi -stats -d procClk corresponds to the GPU clock
                                                                nvidia-smi -stats -d memClk corresponds to the memory clock.



                                                                Note: I am unable to test the above as my trusty GeForce 210 isn't supported and this works only on Kepler or newer GPUs as indicated by
                                                                `nvidia-smi -stats --help'



                                                                I do not currently have any solutions for clock rate on AMD cards and do not have the hardware available for testing. I will however say that to the best of my knowledge the aticonfig mentioned in the accepted answer no longer exists and it appears that nvclock isn't available for anything since trusty.






                                                                share|improve this answer















                                                                This is really not that complex For model and memory, here's a 1 liner that works for every video card I've tested it on regardless of manufacturer (Intel, AMD, NVIDIA):



                                                                GPU=$(lspci | grep VGA | cut -d ":" -f3);RAM=$(cardid=$(lspci | grep VGA |cut -d " " -f1);lspci -v -s $cardid | grep " prefetchable"| cut -d "=" -f2);echo $GPU $RAM



                                                                GPU= All this bit does is grab the 3rd field from 'lspci' output filtered via 'grep' for VGA which corresponds to the video chip.



                                                                RAM= All this bit does is set variable cardid equal to the first field of output from lspci matching "VGA" and feeds that as a request for -v verbose output from lspci for that specific -s device, further filtering the output by grep for the string " prefetchable" as this contains the memory on the card itself (note the preceding space as we don't want to match "non-prefetchable" in our output.



                                                                For clock rate on Intel integrated graphics (Tested on I3 and I5)



                                                                execute the command sudo find /sys -type f -name gt_cur* -print0 | xargs -0 cat
                                                                This dives into the /sys tree to locate the gt_cur_freq_mhz
                                                                file which on my I3 is /sys/devices/pci0000:00/0000:00:02.0/drm/card0/gt_cur_freq_mhz and prints the content. which in my case under extremely light load is 350 as in 350 MHz which corresponds to the minimum frequency found in /sys/devices/pci0000:00/0000:00:02.0/drm/card0/gt_min_freq_mhz and when running glxgears and glmark2 results in
                                                                1050 as in 1050 MHz which corresponds to the maximum frequency found in /sys/devices/pci0000:00/0000:00:02.0/drm/card0/gt_max_freq_mhz



                                                                For clock rates on nvidia cards:



                                                                nvidia-smi -stats -d procClk corresponds to the GPU clock
                                                                nvidia-smi -stats -d memClk corresponds to the memory clock.



                                                                Note: I am unable to test the above as my trusty GeForce 210 isn't supported and this works only on Kepler or newer GPUs as indicated by
                                                                `nvidia-smi -stats --help'



                                                                I do not currently have any solutions for clock rate on AMD cards and do not have the hardware available for testing. I will however say that to the best of my knowledge the aticonfig mentioned in the accepted answer no longer exists and it appears that nvclock isn't available for anything since trusty.







                                                                share|improve this answer














                                                                share|improve this answer



                                                                share|improve this answer








                                                                edited Dec 14 '17 at 23:17

























                                                                answered Dec 11 '17 at 13:52









                                                                Elder GeekElder Geek

                                                                28.5k11 gold badges64 silver badges140 bronze badges




                                                                28.5k11 gold badges64 silver badges140 bronze badges
























                                                                    2
















                                                                    If you're running Ubuntu on a Chromebook with crouton, the only one of the answers that will work is going to chrome://gpu in the Chrome browser.






                                                                    share|improve this answer































                                                                      2
















                                                                      If you're running Ubuntu on a Chromebook with crouton, the only one of the answers that will work is going to chrome://gpu in the Chrome browser.






                                                                      share|improve this answer





























                                                                        2














                                                                        2










                                                                        2









                                                                        If you're running Ubuntu on a Chromebook with crouton, the only one of the answers that will work is going to chrome://gpu in the Chrome browser.






                                                                        share|improve this answer















                                                                        If you're running Ubuntu on a Chromebook with crouton, the only one of the answers that will work is going to chrome://gpu in the Chrome browser.







                                                                        share|improve this answer














                                                                        share|improve this answer



                                                                        share|improve this answer








                                                                        edited Aug 25 '15 at 19:19









                                                                        David Foerster

                                                                        29.3k13 gold badges69 silver badges115 bronze badges




                                                                        29.3k13 gold badges69 silver badges115 bronze badges










                                                                        answered Aug 25 '15 at 17:55









                                                                        k26drk26dr

                                                                        1411 gold badge1 silver badge5 bronze badges




                                                                        1411 gold badge1 silver badge5 bronze badges
























                                                                            2
















                                                                            If you would like to have simple information, you could try gpustat. It is very good and simple.



                                                                            gpustat screenshot



                                                                            The author gives the following installation instructions:




                                                                            Install from PyPI:



                                                                            pip install gpustat 


                                                                            To install the latest version (master branch) via
                                                                            pip:



                                                                            pip install git+https://github.com/wookayin/gpustat.git@master 


                                                                            If you
                                                                            don't have root privilege, please try to install on user namespace:
                                                                            pip install --user. Note that from v0.4, gpustat.py is no more a
                                                                            zero-dependency executable. However, in rare cases you'll need a
                                                                            single executable script (legacy), you can also try:



                                                                            wget https://raw.githubusercontent.com/wookayin/gpustat/v0.3.2/gpustat.py -O ~/.local/bin/gpustat chmod +x ~/.local/bin/gpustat # Assuming ~/.local/bin is in your $PATH






                                                                            share|improve this answer































                                                                              2
















                                                                              If you would like to have simple information, you could try gpustat. It is very good and simple.



                                                                              gpustat screenshot



                                                                              The author gives the following installation instructions:




                                                                              Install from PyPI:



                                                                              pip install gpustat 


                                                                              To install the latest version (master branch) via
                                                                              pip:



                                                                              pip install git+https://github.com/wookayin/gpustat.git@master 


                                                                              If you
                                                                              don't have root privilege, please try to install on user namespace:
                                                                              pip install --user. Note that from v0.4, gpustat.py is no more a
                                                                              zero-dependency executable. However, in rare cases you'll need a
                                                                              single executable script (legacy), you can also try:



                                                                              wget https://raw.githubusercontent.com/wookayin/gpustat/v0.3.2/gpustat.py -O ~/.local/bin/gpustat chmod +x ~/.local/bin/gpustat # Assuming ~/.local/bin is in your $PATH






                                                                              share|improve this answer





























                                                                                2














                                                                                2










                                                                                2









                                                                                If you would like to have simple information, you could try gpustat. It is very good and simple.



                                                                                gpustat screenshot



                                                                                The author gives the following installation instructions:




                                                                                Install from PyPI:



                                                                                pip install gpustat 


                                                                                To install the latest version (master branch) via
                                                                                pip:



                                                                                pip install git+https://github.com/wookayin/gpustat.git@master 


                                                                                If you
                                                                                don't have root privilege, please try to install on user namespace:
                                                                                pip install --user. Note that from v0.4, gpustat.py is no more a
                                                                                zero-dependency executable. However, in rare cases you'll need a
                                                                                single executable script (legacy), you can also try:



                                                                                wget https://raw.githubusercontent.com/wookayin/gpustat/v0.3.2/gpustat.py -O ~/.local/bin/gpustat chmod +x ~/.local/bin/gpustat # Assuming ~/.local/bin is in your $PATH






                                                                                share|improve this answer















                                                                                If you would like to have simple information, you could try gpustat. It is very good and simple.



                                                                                gpustat screenshot



                                                                                The author gives the following installation instructions:




                                                                                Install from PyPI:



                                                                                pip install gpustat 


                                                                                To install the latest version (master branch) via
                                                                                pip:



                                                                                pip install git+https://github.com/wookayin/gpustat.git@master 


                                                                                If you
                                                                                don't have root privilege, please try to install on user namespace:
                                                                                pip install --user. Note that from v0.4, gpustat.py is no more a
                                                                                zero-dependency executable. However, in rare cases you'll need a
                                                                                single executable script (legacy), you can also try:



                                                                                wget https://raw.githubusercontent.com/wookayin/gpustat/v0.3.2/gpustat.py -O ~/.local/bin/gpustat chmod +x ~/.local/bin/gpustat # Assuming ~/.local/bin is in your $PATH







                                                                                share|improve this answer














                                                                                share|improve this answer



                                                                                share|improve this answer








                                                                                edited Mar 28 at 1:10

























                                                                                answered Apr 24 '18 at 1:43









                                                                                NufaNufa

                                                                                215 bronze badges




                                                                                215 bronze badges
























                                                                                    2
















                                                                                    Well, this answer assumes you have a server with NVIDIA-GPUs. You have three ways:



                                                                                    1. To get just a short gist: nvidia-smi


                                                                                    2. To get a detailed one : nvidia-smi -q. You'll get multiple screens of detailed info if you more than 1 gpu.


                                                                                    3. Do a ls /proc/driver/nvidia/gpus/. It'll display the GPU-bus location as folders.
                                                                                      Now, run the following command for each of the gpu bus locations. Fill <gpu-id> with bus-location: cat /proc/driver/nvidia/gpus/<gpu_id>/information






                                                                                    share|improve this answer





























                                                                                      2
















                                                                                      Well, this answer assumes you have a server with NVIDIA-GPUs. You have three ways:



                                                                                      1. To get just a short gist: nvidia-smi


                                                                                      2. To get a detailed one : nvidia-smi -q. You'll get multiple screens of detailed info if you more than 1 gpu.


                                                                                      3. Do a ls /proc/driver/nvidia/gpus/. It'll display the GPU-bus location as folders.
                                                                                        Now, run the following command for each of the gpu bus locations. Fill <gpu-id> with bus-location: cat /proc/driver/nvidia/gpus/<gpu_id>/information






                                                                                      share|improve this answer



























                                                                                        2














                                                                                        2










                                                                                        2









                                                                                        Well, this answer assumes you have a server with NVIDIA-GPUs. You have three ways:



                                                                                        1. To get just a short gist: nvidia-smi


                                                                                        2. To get a detailed one : nvidia-smi -q. You'll get multiple screens of detailed info if you more than 1 gpu.


                                                                                        3. Do a ls /proc/driver/nvidia/gpus/. It'll display the GPU-bus location as folders.
                                                                                          Now, run the following command for each of the gpu bus locations. Fill <gpu-id> with bus-location: cat /proc/driver/nvidia/gpus/<gpu_id>/information






                                                                                        share|improve this answer













                                                                                        Well, this answer assumes you have a server with NVIDIA-GPUs. You have three ways:



                                                                                        1. To get just a short gist: nvidia-smi


                                                                                        2. To get a detailed one : nvidia-smi -q. You'll get multiple screens of detailed info if you more than 1 gpu.


                                                                                        3. Do a ls /proc/driver/nvidia/gpus/. It'll display the GPU-bus location as folders.
                                                                                          Now, run the following command for each of the gpu bus locations. Fill <gpu-id> with bus-location: cat /proc/driver/nvidia/gpus/<gpu_id>/information







                                                                                        share|improve this answer












                                                                                        share|improve this answer



                                                                                        share|improve this answer










                                                                                        answered Jun 13 at 2:38









                                                                                        Sritanu ChakrabortySritanu Chakraborty

                                                                                        213 bronze badges




                                                                                        213 bronze badges
























                                                                                            1
















                                                                                            For the Intel GMA950 (comes with EeePC in particular) you can run:



                                                                                            setpci -s 00:02.0 f0.b


                                                                                            which will return '00' for 200MHz, '01' for 250MHz or '03' for 400MHz. You may be able to apply the same principle to other Intel cards.






                                                                                            share|improve this answer

























                                                                                            • I'm getting 04. My GPU is 00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) (rev 03) (prog-if 00 [VGA controller])

                                                                                              – johny why
                                                                                              5 hours ago















                                                                                            1
















                                                                                            For the Intel GMA950 (comes with EeePC in particular) you can run:



                                                                                            setpci -s 00:02.0 f0.b


                                                                                            which will return '00' for 200MHz, '01' for 250MHz or '03' for 400MHz. You may be able to apply the same principle to other Intel cards.






                                                                                            share|improve this answer

























                                                                                            • I'm getting 04. My GPU is 00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) (rev 03) (prog-if 00 [VGA controller])

                                                                                              – johny why
                                                                                              5 hours ago













                                                                                            1














                                                                                            1










                                                                                            1









                                                                                            For the Intel GMA950 (comes with EeePC in particular) you can run:



                                                                                            setpci -s 00:02.0 f0.b


                                                                                            which will return '00' for 200MHz, '01' for 250MHz or '03' for 400MHz. You may be able to apply the same principle to other Intel cards.






                                                                                            share|improve this answer













                                                                                            For the Intel GMA950 (comes with EeePC in particular) you can run:



                                                                                            setpci -s 00:02.0 f0.b


                                                                                            which will return '00' for 200MHz, '01' for 250MHz or '03' for 400MHz. You may be able to apply the same principle to other Intel cards.







                                                                                            share|improve this answer












                                                                                            share|improve this answer



                                                                                            share|improve this answer










                                                                                            answered Feb 15 '11 at 9:24







                                                                                            user10872






















                                                                                            • I'm getting 04. My GPU is 00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) (rev 03) (prog-if 00 [VGA controller])

                                                                                              – johny why
                                                                                              5 hours ago

















                                                                                            • I'm getting 04. My GPU is 00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) (rev 03) (prog-if 00 [VGA controller])

                                                                                              – johny why
                                                                                              5 hours ago
















                                                                                            I'm getting 04. My GPU is 00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) (rev 03) (prog-if 00 [VGA controller])

                                                                                            – johny why
                                                                                            5 hours ago





                                                                                            I'm getting 04. My GPU is 00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) (rev 03) (prog-if 00 [VGA controller])

                                                                                            – johny why
                                                                                            5 hours ago











                                                                                            1
















                                                                                            If you have a AMD Radeon Card, you may want to run the following commands



                                                                                            sudo update-pciids #optional command, requires internet
                                                                                            lspci -nn | grep -E 'VGA|Display'


                                                                                            It should report something like this



                                                                                            00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Wani [Radeon R5/R6/R7 Graphics] [1002:9874] (rev c5)
                                                                                            03:00.0 Display controller [0380]: Advanced Micro Devices, Inc. [AMD/ATI] Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330 / M430 / R7 M520] [1002:6660] (rev ff)





                                                                                            share|improve this answer





























                                                                                              1
















                                                                                              If you have a AMD Radeon Card, you may want to run the following commands



                                                                                              sudo update-pciids #optional command, requires internet
                                                                                              lspci -nn | grep -E 'VGA|Display'


                                                                                              It should report something like this



                                                                                              00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Wani [Radeon R5/R6/R7 Graphics] [1002:9874] (rev c5)
                                                                                              03:00.0 Display controller [0380]: Advanced Micro Devices, Inc. [AMD/ATI] Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330 / M430 / R7 M520] [1002:6660] (rev ff)





                                                                                              share|improve this answer



























                                                                                                1














                                                                                                1










                                                                                                1









                                                                                                If you have a AMD Radeon Card, you may want to run the following commands



                                                                                                sudo update-pciids #optional command, requires internet
                                                                                                lspci -nn | grep -E 'VGA|Display'


                                                                                                It should report something like this



                                                                                                00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Wani [Radeon R5/R6/R7 Graphics] [1002:9874] (rev c5)
                                                                                                03:00.0 Display controller [0380]: Advanced Micro Devices, Inc. [AMD/ATI] Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330 / M430 / R7 M520] [1002:6660] (rev ff)





                                                                                                share|improve this answer













                                                                                                If you have a AMD Radeon Card, you may want to run the following commands



                                                                                                sudo update-pciids #optional command, requires internet
                                                                                                lspci -nn | grep -E 'VGA|Display'


                                                                                                It should report something like this



                                                                                                00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Wani [Radeon R5/R6/R7 Graphics] [1002:9874] (rev c5)
                                                                                                03:00.0 Display controller [0380]: Advanced Micro Devices, Inc. [AMD/ATI] Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330 / M430 / R7 M520] [1002:6660] (rev ff)






                                                                                                share|improve this answer












                                                                                                share|improve this answer



                                                                                                share|improve this answer










                                                                                                answered May 27 '18 at 11:04









                                                                                                NerrveNerrve

                                                                                                2961 gold badge3 silver badges9 bronze badges




                                                                                                2961 gold badge3 silver badges9 bronze badges
























                                                                                                    1
















                                                                                                    For nvidia GPUs, nvidia-smi command is your friend.
                                                                                                    See man nvidia-smi if you like to.



                                                                                                    For listing GPUs use nvidia-smi -L (nvidia-smi --list-gpus),
                                                                                                    nvidia-smi -q give information about the gpu and the running processes.






                                                                                                    share|improve this answer





























                                                                                                      1
















                                                                                                      For nvidia GPUs, nvidia-smi command is your friend.
                                                                                                      See man nvidia-smi if you like to.



                                                                                                      For listing GPUs use nvidia-smi -L (nvidia-smi --list-gpus),
                                                                                                      nvidia-smi -q give information about the gpu and the running processes.






                                                                                                      share|improve this answer



























                                                                                                        1














                                                                                                        1










                                                                                                        1









                                                                                                        For nvidia GPUs, nvidia-smi command is your friend.
                                                                                                        See man nvidia-smi if you like to.



                                                                                                        For listing GPUs use nvidia-smi -L (nvidia-smi --list-gpus),
                                                                                                        nvidia-smi -q give information about the gpu and the running processes.






                                                                                                        share|improve this answer













                                                                                                        For nvidia GPUs, nvidia-smi command is your friend.
                                                                                                        See man nvidia-smi if you like to.



                                                                                                        For listing GPUs use nvidia-smi -L (nvidia-smi --list-gpus),
                                                                                                        nvidia-smi -q give information about the gpu and the running processes.







                                                                                                        share|improve this answer












                                                                                                        share|improve this answer



                                                                                                        share|improve this answer










                                                                                                        answered Jan 21 at 15:19









                                                                                                        MeminMemin

                                                                                                        1212 bronze badges




                                                                                                        1212 bronze badges
























                                                                                                            0
















                                                                                                            Use lspci , lspci -v to get basic info see here.



                                                                                                            In my case for ex once I run lspci and I have got :



                                                                                                            dina@dina-X450LA:~$ lspci
                                                                                                            00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
                                                                                                            00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 0b)
                                                                                                            00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04)
                                                                                                            00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04)
                                                                                                            00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)
                                                                                                            00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 1 (rev e4)
                                                                                                            00:1c.2 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 3 (rev e4)
                                                                                                            00:1c.3 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 4 (rev e4)
                                                                                                            00:1d.0 USB controller: Intel Corporation 8 Series USB EHCI #1 (rev 04)
                                                                                                            00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04)
                                                                                                            00:1f.2 SATA controller: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] (rev 04)
                                                                                                            00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04)
                                                                                                            02:00.0 Ethernet controller: Qualcomm Atheros QCA8171 Gigabit Ethernet (rev 10)
                                                                                                            03:00.0 Network controller: Ralink corp. RT3290 Wireless 802.11n 1T/1R PCIe
                                                                                                            03:00.1 Bluetooth: Ralink corp. RT3290 Bluetooth





                                                                                                            share|improve this answer





























                                                                                                              0
















                                                                                                              Use lspci , lspci -v to get basic info see here.



                                                                                                              In my case for ex once I run lspci and I have got :



                                                                                                              dina@dina-X450LA:~$ lspci
                                                                                                              00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
                                                                                                              00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 0b)
                                                                                                              00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04)
                                                                                                              00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04)
                                                                                                              00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)
                                                                                                              00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 1 (rev e4)
                                                                                                              00:1c.2 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 3 (rev e4)
                                                                                                              00:1c.3 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 4 (rev e4)
                                                                                                              00:1d.0 USB controller: Intel Corporation 8 Series USB EHCI #1 (rev 04)
                                                                                                              00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04)
                                                                                                              00:1f.2 SATA controller: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] (rev 04)
                                                                                                              00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04)
                                                                                                              02:00.0 Ethernet controller: Qualcomm Atheros QCA8171 Gigabit Ethernet (rev 10)
                                                                                                              03:00.0 Network controller: Ralink corp. RT3290 Wireless 802.11n 1T/1R PCIe
                                                                                                              03:00.1 Bluetooth: Ralink corp. RT3290 Bluetooth





                                                                                                              share|improve this answer



























                                                                                                                0














                                                                                                                0










                                                                                                                0









                                                                                                                Use lspci , lspci -v to get basic info see here.



                                                                                                                In my case for ex once I run lspci and I have got :



                                                                                                                dina@dina-X450LA:~$ lspci
                                                                                                                00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
                                                                                                                00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 0b)
                                                                                                                00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04)
                                                                                                                00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04)
                                                                                                                00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)
                                                                                                                00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 1 (rev e4)
                                                                                                                00:1c.2 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 3 (rev e4)
                                                                                                                00:1c.3 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 4 (rev e4)
                                                                                                                00:1d.0 USB controller: Intel Corporation 8 Series USB EHCI #1 (rev 04)
                                                                                                                00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04)
                                                                                                                00:1f.2 SATA controller: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] (rev 04)
                                                                                                                00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04)
                                                                                                                02:00.0 Ethernet controller: Qualcomm Atheros QCA8171 Gigabit Ethernet (rev 10)
                                                                                                                03:00.0 Network controller: Ralink corp. RT3290 Wireless 802.11n 1T/1R PCIe
                                                                                                                03:00.1 Bluetooth: Ralink corp. RT3290 Bluetooth





                                                                                                                share|improve this answer













                                                                                                                Use lspci , lspci -v to get basic info see here.



                                                                                                                In my case for ex once I run lspci and I have got :



                                                                                                                dina@dina-X450LA:~$ lspci
                                                                                                                00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
                                                                                                                00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 0b)
                                                                                                                00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04)
                                                                                                                00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04)
                                                                                                                00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)
                                                                                                                00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 1 (rev e4)
                                                                                                                00:1c.2 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 3 (rev e4)
                                                                                                                00:1c.3 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 4 (rev e4)
                                                                                                                00:1d.0 USB controller: Intel Corporation 8 Series USB EHCI #1 (rev 04)
                                                                                                                00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04)
                                                                                                                00:1f.2 SATA controller: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] (rev 04)
                                                                                                                00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04)
                                                                                                                02:00.0 Ethernet controller: Qualcomm Atheros QCA8171 Gigabit Ethernet (rev 10)
                                                                                                                03:00.0 Network controller: Ralink corp. RT3290 Wireless 802.11n 1T/1R PCIe
                                                                                                                03:00.1 Bluetooth: Ralink corp. RT3290 Bluetooth






                                                                                                                share|improve this answer












                                                                                                                share|improve this answer



                                                                                                                share|improve this answer










                                                                                                                answered Feb 9 at 18:49









                                                                                                                DINA TAKLITDINA TAKLIT

                                                                                                                1034 bronze badges




                                                                                                                1034 bronze badges
























                                                                                                                    0
















                                                                                                                    In order to get all the information about the graphics processor, you can use the following command as specified by @greyfade.



                                                                                                                    > glxinfo


                                                                                                                    However, if the program glxinfo is currently not installed, you can install it by typing:



                                                                                                                    > sudo apt install mesa-utils


                                                                                                                    You will also have to enable the component called universe. Once this is done, glxinfo will list all the specifications related to the graphics processor in that environment.






                                                                                                                    share|improve this answer





























                                                                                                                      0
















                                                                                                                      In order to get all the information about the graphics processor, you can use the following command as specified by @greyfade.



                                                                                                                      > glxinfo


                                                                                                                      However, if the program glxinfo is currently not installed, you can install it by typing:



                                                                                                                      > sudo apt install mesa-utils


                                                                                                                      You will also have to enable the component called universe. Once this is done, glxinfo will list all the specifications related to the graphics processor in that environment.






                                                                                                                      share|improve this answer



























                                                                                                                        0














                                                                                                                        0










                                                                                                                        0









                                                                                                                        In order to get all the information about the graphics processor, you can use the following command as specified by @greyfade.



                                                                                                                        > glxinfo


                                                                                                                        However, if the program glxinfo is currently not installed, you can install it by typing:



                                                                                                                        > sudo apt install mesa-utils


                                                                                                                        You will also have to enable the component called universe. Once this is done, glxinfo will list all the specifications related to the graphics processor in that environment.






                                                                                                                        share|improve this answer













                                                                                                                        In order to get all the information about the graphics processor, you can use the following command as specified by @greyfade.



                                                                                                                        > glxinfo


                                                                                                                        However, if the program glxinfo is currently not installed, you can install it by typing:



                                                                                                                        > sudo apt install mesa-utils


                                                                                                                        You will also have to enable the component called universe. Once this is done, glxinfo will list all the specifications related to the graphics processor in that environment.







                                                                                                                        share|improve this answer












                                                                                                                        share|improve this answer



                                                                                                                        share|improve this answer










                                                                                                                        answered Mar 26 at 5:58









                                                                                                                        Nayantara JeyarajNayantara Jeyaraj

                                                                                                                        1114 bronze badges




                                                                                                                        1114 bronze badges
























                                                                                                                            0
















                                                                                                                            If you're looking for only the names of the video cards on the machine, then simply use:



                                                                                                                            $ nvidia-smi --list-gpus


                                                                                                                            For some newer GPUs, this also lists the memory of each device.






                                                                                                                            share|improve this answer





























                                                                                                                              0
















                                                                                                                              If you're looking for only the names of the video cards on the machine, then simply use:



                                                                                                                              $ nvidia-smi --list-gpus


                                                                                                                              For some newer GPUs, this also lists the memory of each device.






                                                                                                                              share|improve this answer



























                                                                                                                                0














                                                                                                                                0










                                                                                                                                0









                                                                                                                                If you're looking for only the names of the video cards on the machine, then simply use:



                                                                                                                                $ nvidia-smi --list-gpus


                                                                                                                                For some newer GPUs, this also lists the memory of each device.






                                                                                                                                share|improve this answer













                                                                                                                                If you're looking for only the names of the video cards on the machine, then simply use:



                                                                                                                                $ nvidia-smi --list-gpus


                                                                                                                                For some newer GPUs, this also lists the memory of each device.







                                                                                                                                share|improve this answer












                                                                                                                                share|improve this answer



                                                                                                                                share|improve this answer










                                                                                                                                answered Apr 15 at 15:59









                                                                                                                                kmario23kmario23

                                                                                                                                4421 gold badge5 silver badges17 bronze badges




                                                                                                                                4421 gold badge5 silver badges17 bronze badges































                                                                                                                                    draft saved

                                                                                                                                    draft discarded















































                                                                                                                                    Thanks for contributing an answer to Ask Ubuntu!


                                                                                                                                    • Please be sure to answer the question. Provide details and share your research!

                                                                                                                                    But avoid


                                                                                                                                    • Asking for help, clarification, or responding to other answers.

                                                                                                                                    • Making statements based on opinion; back them up with references or personal experience.

                                                                                                                                    To learn more, see our tips on writing great answers.




                                                                                                                                    draft saved


                                                                                                                                    draft discarded














                                                                                                                                    StackExchange.ready(
                                                                                                                                    function ()
                                                                                                                                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f5417%2fhow-to-get-the-gpu-info%23new-answer', 'question_page');

                                                                                                                                    );

                                                                                                                                    Post as a guest















                                                                                                                                    Required, but never shown





















































                                                                                                                                    Required, but never shown














                                                                                                                                    Required, but never shown












                                                                                                                                    Required, but never shown







                                                                                                                                    Required, but never shown

































                                                                                                                                    Required, but never shown














                                                                                                                                    Required, but never shown












                                                                                                                                    Required, but never shown







                                                                                                                                    Required, but never shown







                                                                                                                                    Popular posts from this blog

                                                                                                                                    Tamil (spriik) Luke uk diar | Nawigatjuun

                                                                                                                                    Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

                                                                                                                                    Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?