drivers - How to check Intel iGPU frequency on Linux?

07
2014-07
  • Power User

    I own Intel Haswell G3420. At stock its iGPU has 1,15 GHz turbo frequency. In my UEFI I overclocked the iGPU to 1,5 GHz and added voltage. However the framerates in both benchmarks and games are the same after the OC. I once read that Intel iGPU OC doesn't work on Linux because of some problems with turbo boost in Linux kernel. I want to check if the frequency while gaming hits 1,5 Ghz or if it stays unchanged at 1,15 GHz. So I need a way to check current Intel iGPU frequency. I know that Nvidia binary drivers are capable of that, however I have no idea how can I check it using Intel iGPU.

    TL;DR

    How can I check Intel iGPU current frequency on Linux?

    Thanks

  • Answers
  • BenjiWiebe

    Use lshw. If you don't have it installed, install it with sudo yum install lshw (Redhat/Fedora/CentOS) or sudo apt-get install lshw (Debian/Ubuntu/etc).

    lshw -c display
    

    On one of my (old) machines, it outputs:

      *-display UNCLAIMED     
           description: VGA compatible controller
           product: K8M800/K8N800/K8N800A [S3 UniChrome Pro]
           vendor: VIA Technologies, Inc.
           physical id: 0
           bus info: pci@0000:01:00.0
           version: 01
           width: 32 bits
           clock: 66MHz
           capabilities: pm agp agp-3.0 vga_controller bus_master cap_list
           configuration: latency=32 mingnt=2
           resources: memory:f0000000-f3ffffff memory:f4000000-f4ffffff memory:f5000000-f500ffff
    

    The 4th line up from the bottom has the clock speed information.

    EDIT
    Then again, that doesn't make sense...only 66MHz?? Perhaps this answer would help...


  • Related Question

    linux - Alternative Intel drivers for X
  • Questioner

    I'm having trouble getting X to run with the defaults on my chakra linux live-cd. It is an Arch based distro. I have a thinkpad x40 with Intel 855GME and I get "no valid modes" error from X. I figure I should try a different driver. But I'm not sure how I would do that. Can someone give me a few pointers?

    *posted on stackoverflow first incase you hang out there too :p


  • Related Answers
  • staticsan

    The latest intel X server is capable of figuring almost everything out itself. However, because it does so much automatic configuration, it will get confused if you're asking it do something the hardware decides it can't do.

    The one in Ubuntu 9.04 is 2.6.3 and only needs the following xorg.conf file to startup:

    Section "Monitor"
        Identifier      "Configured Monitor"
    EndSection
    
    Section "Screen"
        Identifier      "Default Screen"
        Monitor         "Configured Monitor"
        Device          "Configured Video Device"
        SubSection "Display"
                Virtual 2560 1039
                # obviously put your real screen size here - I have two monitors :-)
        EndSubSection
    EndSection
    
    Section "Device"
        Identifier      "Configured Video Device"
    EndSection
    
  • Davy Landman

    Which driver did you use? The new or the legacy? And which kernel?

    I've had my intel 950 running on ArchLinux with the new driver and X didn't need any configuration (Kernel: 2.6.30).

    You could also manualy set your modelines as described in the ArchWiki article Intel Graphics. If you have the correct technical information for your laptop screen you could also generate your desired modeline yourself using the The XFree86 Modeline Generator.