geekbench gpu on lnux

newcool's Avatar

newcool

04 Sep, 2016 01:41 PM

hi im a linux fedora 23 user,the kernel vesion is 4.6.7.
geekbench 4 works well when i try cpu bench,but i cant find gpu bench.
pls help: ) ty

  1. Support Staff 1 Posted by John on 05 Sep, 2016 05:40 AM

    John's Avatar

    You can run the Compute Benchmark on Linux by using the --compute flag. Complete usage instructions are available by using the --help flag.

  2. 2 Posted by juan on 04 Aug, 2017 03:20 PM

    juan's Avatar

    --compute doesn't work.
    The GPU test doesn't seem to be available on Linux

  3. Support Staff 3 Posted by Colin on 24 Aug, 2017 07:39 PM

    Colin's Avatar

    Hello,

    Thanks for letting us know, and I apologize for the delayed reply. Does the application display any error message after you use --compute?

    Regards,
    Colin
    Primate Labs Inc.

  4. 4 Posted by Michael Coyle on 12 Oct, 2017 09:45 PM

    Michael Coyle's Avatar

    Hi Colin,

    it's been more than a year now and there still doens't seem to be a way to benchmark the gpu in Linux with either geekbench 3 or 4.

    You asked about error messages: " unrecognized option '--compute'", and then it displays the full help.

    Can you look into it and give the definitive word that gpu isn't supported in Linux?

    Thanks
    Michael

  5. Support Staff 5 Posted by Colin on 18 Dec, 2017 10:55 PM

    Colin's Avatar

    Hi Michael,

    I'm very sorry for the delayed response. GPU benchmarks are meant to be supported for Linux in Geekbench 3 and 4. Could you let me know the entire command that you're using when the program doesn't recognize the option, so that I can narrow down this issue? In addition, could you let me know the Geekbench version number(s) that you're using, the operating system that you're running Geekbench on, and what GPU you're using on your device?

    All the best,
    Colin
    Primate Labs Inc.

  6. 6 Posted by Michael Coyle on 19 Dec, 2017 05:46 PM

    Michael Coyle's Avatar

    Hello Colin,

    I'm using Geekbench 4.2.0 under Ubuntu 17.10 on a MacBookPro 8,3 (i7 w/Radeon HD 6770M).

    The command I'm typing is:
    sudo ./geekbench4 --compute

    The returned error is:
    [1219/124224:ERROR:src/interface/console/consolemain.cpp(875)] Geekbench encountered an internal error and cannot continue. Please contact [email blocked] for assistance.

    Internal error message: clGetPlatformIDs.

    Thanks for any help you can offer.
    MIchael

  7. 7 Posted by Michael Coyle on 19 Dec, 2017 05:46 PM

    Michael Coyle's Avatar

    Hello Colin,

    I'm using Geekbench 4.2.0 under Ubuntu 17.10 on a MacBookPro 8,3 (i7
    w/Radeon HD 6770M).

    The command I'm typing is:

    sudo ./geekbench4 --compute

    The returned error is:

    [1219/124224:ERROR:src/interface/console/consolemain.cpp(875)] Geekbench
    encountered an internal error and cannot continue. Please contact
    [email blocked] for assistance.

    Internal error message: clGetPlatformIDs.

    Thanks for any help you can offer.
    Michael

  8. Support Staff 8 Posted by Colin on 19 Dec, 2017 08:46 PM

    Colin's Avatar

    Hi Michael,

    I see, thanks for following up. I'm not certain what would be causing that problem, but I'll see if there are troubleshooting steps we can take to diagnose or resolve the issue. I'll get back to you as soon as I can.

    All the best,
    Colin
    Primate Labs Inc.

  9. 9 Posted by Michael Coyle on 19 Dec, 2017 10:24 PM

    Michael Coyle's Avatar

    Thanks for looking into it.

    On my MacBookPro, I triple boot Mac/Linux/Windows10. I’m benchmarking to see what the affects of the various video drivers are under each OS.

    Having GPU numbers for Linux would be great.

    Please let me know if you need anything else.

  10. Support Staff 10 Posted by Colin on 27 Feb, 2018 04:15 PM

    Colin's Avatar

    Hi,

    I'm very sorry for the delayed response. In this case, it is likely that there is an OpenCL configuration error on your machine which is preventing Geekbench from using the API. Unfortunately, it's difficult for us to provide installation or maintenance advice for specific APIs. I recommend checking to ensure that your OpenCL configuration is correct and functional, and running the Geekbench command again after making these changes. I'm sorry that I can't be of more help.

    All the best,
    Colin
    Primate Labs Inc.

  11. 11 Posted by Stephen Richard... on 03 Jan, 2019 08:57 PM

    Stephen Richardson's Avatar

    ./geekbench4 --compute CUDA

    That worked for me.

  12. 12 Posted by Michael Coyle on 03 Jan, 2019 09:22 PM

    Michael Coyle's Avatar

    Sadly, still not working for me. I'm now on Ubuntu 18.10 with AMD graphics. Output below:

    > ./geekbench4 --compute CUDA
    Error: Compute API 'CUDA' is not available.
    Geekbench 4.3.2 Tryout : http://www.geekbench.com/

    Thanks for the info.

  13. 13 Posted by S R on 03 Jan, 2019 10:35 PM

    S R's Avatar

    AMD can't run CUDA, that's the issue. You can replace CUDA with the output
    after running this command, it will show you the supported names

    ➜ ~ ./geekbench4 --compute-list

    If you have an nvidia card, these are the driver installation steps:

    ------
    sudo apt remove nvidia-*
    sudo add-apt-repository ppa:graphics-drivers/ppa
    // Read the output from the above command, it will mention the next
    commands below/current version

    sudo apt update
    sudo apt install nvidia-driver-410

  14. Support Staff 14 Posted by John on 08 Jan, 2019 03:22 PM

    John's Avatar

    Could you upgrade to the latest version of Geekbench (currently Geekbench 4.2.3)? I don't believe it will fix the issue, but it will provide more information with which to troubleshoot the issue.

  15. 15 Posted by MIchael Coyle on 09 Jan, 2019 02:54 AM

    MIchael Coyle's Avatar

    Hi John,

    I've downloaded 4.2.3, but you didn't specifically say which command to run. Here's the output of --sysinfo

    System Information
      Operating System Ubuntu 18.10 4.18.0-13-generic x86_64
      Model Apple Inc. MacBookPro8,3
      Motherboard Apple Inc. Mac-942459F5819B171B
      Memory 15.6 GB
      BIOS Apple Inc. MBP81.88Z.004F.B00.1802022246

    Processor Information
      Name Intel Core i7-2760QM
      Topology 1 Processor, 4 Cores, 8 Threads
      Identifier GenuineIntel Family 6 Model 42 Stepping 7
      Base Frequency 3.50 GHz
      L1 Instruction Cache 32.0 KB x 4
      L1 Data Cache 32.0 KB x 4
      L2 Cache 256 KB x 4
      L3 Cache 6.00 MB

  16. 16 Posted by S R on 09 Jan, 2019 04:05 AM

    S R's Avatar

    What's the output of:

    ~ ./geekbench4 --compute-list

  17. 17 Posted by Michael Coyle on 09 Jan, 2019 04:08 AM

    Michael Coyle's Avatar

    --compute-list just liststhe licensing info, pasted below.

    ---------------------------------------------------
     > ./geekbench4 --compute-list
    Geekbench 4.3.2 Tryout : http://www.geekbench.com/

    Geekbench 4 is in tryout mode.

    Geekbench 4 requires an active Internet connection when in tryout mode, and
    automatically uploads test results to the Geekbench Browser. Other features
    are unavailable in tryout mode.

    Buy a Geekbench 4 license to enable offline use and remove the
    limitations of
    tryout mode.

    If you would like to purchase Geekbench you can do so online:

       https://store.primatelabs.com/v4

    If you have already purchased Geekbench, enter your email address and
    license
    key from your email receipt with the following command line:

       ./geekbench4 -r <email address> <license key>
    ---------------------------------------------------

  18. 18 Posted by S R on 09 Jan, 2019 04:10 AM

    S R's Avatar

    Can you try again and make sure it's two dashes in front of 'compute-list'

  19. 19 Posted by Michael Coyle on 09 Jan, 2019 04:15 AM

    Michael Coyle's Avatar

    Yup. Two dashes for sure. You can see them in the previously pasted text
    if you zoom in enough.

  20. 20 Posted by S R on 09 Jan, 2019 09:22 AM

    S R's Avatar

    Ok, idk, run a —help command (two dashes also) to see if you get the —
    compute-list option. Not sure why yours is diff than mine.

  21. 21 Posted by Michael Coyle on 09 Jan, 2019 11:57 AM

    Michael Coyle's Avatar

    No problem. Here ya go...

    ----------------------------------------------------------------------

     > ./geekbench4 --help
    Geekbench 4.3.2 Tryout : http://www.geekbench.com/

    Usage:

       ./geekbench4 [ options ]

    Options:

       -h, --help print this message
       --unlock EMAIL KEY unlock Geekbench using EMAIL and KEY
       --load FILE load and display Geekbench result from FILE
       --save FILE save Geekbench result to FILE
       --cpu run the CPU benchmark
       --arch ARCH run benchmarks or tests for ARCH architecture
                                 ARCH can be one of: 32bit, 64bit
       --sysinfo display system information and exit

       If no options are given, the default action is to run the CPU benchmark.

     >

    ----------------------------------------------------------------------

  22. 22 Posted by Michael Coyle on 09 Jan, 2019 12:35 PM

    Michael Coyle's Avatar

    Just as an FYI, I rebooted into the integrated Intel GPU instead of the AMD, and the output results of --help and --compute-list were the same between the two graphics cards.

  23. 23 Posted by S R on 10 Jan, 2019 12:26 AM

    S R's Avatar

    Here's the output from it running on mine, it's significantly different
    than yours (with commands/snippets). Are you sure you've installed your GPU
    drivers correctly etc?

    *./geekbench4 --compute-list*
    >
    > Geekbench 4.3.2 : http://www.geekbench.com/
    > CUDA
    > 0 0 GeForce GTX 1080 Ti

    *An the help command*

    *./geekbench4 --help*

    > Geekbench 4.3.2 : http://www.geekbench.com/
    > Usage:
    > ./geekbench4 [ options ]
    > Options:
    > -h, --help print this message
    > --unlock EMAIL KEY unlock Geekbench using EMAIL and KEY
    > --load FILE load and display Geekbench result from FILE
    > --save FILE save Geekbench result to FILE
    > --export-csv FILE export Geekbench result as CSV to FILE
    > --export-html FILE export Geekbench result as HTML to FILE
    > --export-json FILE export Geekbench result as JSON to FILE
    > --export-text FILE export Geekbench result as text to FILE
    > --upload upload results to the Geekbench Browser
    > --no-upload do not upload results to the Geekbench Browser
    > --cpu run the CPU benchmark
    > --arch ARCH run benchmarks or tests for ARCH architecture
    > ARCH can be one of: 32bit, 64bit
    > --sysinfo display system information and exit
    > --compute [API] run the Compute benchmark
    > API can be one of: CUDA
    > --compute-list list available compute platforms, devices and
    > exit
    > --compute-platform-id ID use compute platform ID (default is 0)
    > --compute-device-id ID use compute device ID (default is 0)
    > If no options are given, the default action is to run the CPU benchmark.

    *Hardware/OS details (summarized for brevity)*

    *$ sudo lshw -short*
    >
    > bus Asus Prime Z390-A
    memory 64GiB System Memory DDR4@3200
    processor Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz, Overclocked to 5Ghz
    display GP102 [GeForce GTX 1080 Ti]
    storage NVMe SSD Controller SM981/PM981 (Samsung 970 Pro)

    > *$ uname -r*
    >

    Distributor ID: Ubuntu
    > Description: Ubuntu 18.10
    > Codename: cosmic

    - Stephen

  24. 24 Posted by Michael Coyle on 10 Jan, 2019 01:44 PM

    Michael Coyle's Avatar

    It's probably about time I started using 'code block'. :)

    S R asked: "Here's the output from it running on mine, it's significantly different
    than yours (with commands/snippets). Are you sure you've installed your GPU
    drivers correctly etc?"

    Well, that's kinda the reason I wanted to run geekbench's GPU test! But since I have multiple monitor support, nice game graphics, etc... I ~assume~ my drivers are installed correctly.

    Below is the output of several commands that may help you to help me figure this out.

    Thanks,
    Michael

    -------------------------------------------------------
    
    > sudo lshw -short
    H/W path          Device     Class          Description
    =======================================================
                                 system         MacBookPro8,3 (System SKU#)
    /0                           bus            Mac-942459F5819B171B
    /0/0                         processor      Intel(R) Core(TM) i7-2760QM CPU @ 2.40GHz
    /0/100/1/0                   display        Whistler [Radeon HD 6730M/6770M/7690M XT]
    /0/100/1/0.1                 multimedia     Turks HDMI Audio [Radeon HD 6500/6600 / 6700M Series]
    /0/100/2                     display        2nd Generation Core Processor Family Integrated Graphics Controller
    
    -------------------------------------------------------
    
    > uname -r
    4.18.0-13-generic
    
    -------------------------------------------------------
    
    > lspci -k | grep -EA3 'VGA|3D|Display'
    00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
        Subsystem: Apple Inc. 2nd Generation Core Processor Family Integrated Graphics Controller
        Kernel modules: i915
    00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
    --
    01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Whistler [Radeon HD 6730M/6770M/7690M XT]
        Subsystem: Apple Inc. Whistler [Radeon HD 6730M/6770M/7690M XT]
        Kernel driver in use: radeon
        Kernel modules: radeon
    > 
    -------------------------------------------------------
    
    > glxinfo | grep OpenGL
    OpenGL vendor string: X.Org
    OpenGL renderer string: AMD TURKS (DRM 2.50.0 / 4.18.0-13-generic, LLVM 7.0.0)
    OpenGL core profile version string: 3.3 (Core Profile) Mesa 18.2.2
    OpenGL core profile shading language version string: 3.30
    OpenGL core profile context flags: (none)
    OpenGL core profile profile mask: core profile
    OpenGL core profile extensions:
    OpenGL version string: 3.1 Mesa 18.2.2
    OpenGL shading language version string: 1.40
    OpenGL context flags: (none)
    OpenGL extensions:
    OpenGL ES profile version string: OpenGL ES 3.1 Mesa 18.2.2
    OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
    OpenGL ES profile extensions:
    >
    
  25. 25 Posted by S R on 10 Jan, 2019 06:07 PM

    S R's Avatar
    Few thoughts:

    1. Since it's a Macbook, can you make sure the power is plugged in?
    2. If applicable, under MacOS System Preferences > Energy  > Uncheck the box next to “Automatic graphics switching”

    3. Could you paste the output of a couple of commands below? You may have to use sudo:

    -------

    > $ cat /var/log/Xorg.0.log    # and/or Xorg.1.log

    -------

    > $ sudo apt-get install mesa-utils        # If below glx- commands don't work
    > $ glxgears   # and/or with -info flag
    > $ glxheads

    -------

    Also check to ensure there isn't an issue with the driver / GPU switching etc, this is an older quote from links below:  (may need to google for more recent info, but thought process is the same)


     The problem is with the Radeon/Intel switchable graphics. For instructions for installing the proprietary drivers, please see Ubuntu Quantal Installation Guide. If you go to main page, you will also see instructions for 12.04 and 13.04.
    The instructions link to a workaround for hybrid graphics.
    Be sure to follow the sections titled Before you start and Removing the driver before installing a new driver.
    You may have to try both the workaround and installing the driver from the Catalyst website to see which one works for your computer. (But follow the instructions at this site. As you saw, just downloading the driver from the website is not enough.)



    On Thu, Jan 10, 2019 at 6:44 AM Michael Coyle <[email blocked]> wrote:

    // Please reply above this line
    ==================================================

    From: Michael Coyle

    It's probably about time I started using 'code block'. :)

    S R asked: "Here's the output from it running on mine, it's significantly different
    than yours (with commands/snippets). Are you sure you've installed your GPU
    drivers correctly etc?"

    Well, that's kinda the reason I wanted to run geekbench's GPU test! But since I have multiple monitor support, nice game graphics, etc... I ~assume~ my drivers are installed correctly.

    Below is the output of several commands that may help you to help me figure this out.

    Thanks,
    Michael

    -------------------------------------------------------
    > sudo lshw -short
    H/W path          Device     Class          Description
    =======================================================
                                 system         MacBookPro8,3 (System SKU#)
    /0                           bus            Mac-942459F5819B171B
    /0/0                         processor      Intel(R) Core(TM) i7-2760QM CPU @ 2.40GHz
    /0/100/1/0                   display        Whistler [Radeon HD 6730M/6770M/7690M XT]
    /0/100/1/0.1                 multimedia     Turks HDMI Audio [Radeon HD 6500/6600 / 6700M Series]
    /0/100/2                     display        2nd Generation Core Processor Family Integrated Graphics Controller
    -------------------------------------------------------
    > uname -r
    4.18.0-13-generic
    -------------------------------------------------------
    > lspci -k | grep -EA3 'VGA|3D|Display'
    00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
        Subsystem: Apple Inc. 2nd Generation Core Processor Family Integrated Graphics Controller
        Kernel modules: i915
    00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
    --
    01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Whistler [Radeon HD 6730M/6770M/7690M XT]
        Subsystem: Apple Inc. Whistler [Radeon HD 6730M/6770M/7690M XT]
        Kernel driver in use: radeon
        Kernel modules: radeon
    >
    -------------------------------------------------------
    > glxinfo | grep OpenGL
    OpenGL vendor string: X.Org
    OpenGL renderer string: AMD TURKS (DRM 2.50.0 / 4.18.0-13-generic, LLVM 7.0.0)
    OpenGL core profile version string: 3.3 (Core Profile) Mesa 18.2.2
    OpenGL core profile shading language version string: 3.30
    OpenGL core profile context flags: (none)
    OpenGL core profile profile mask: core profile
    OpenGL core profile extensions:
    OpenGL version string: 3.1 Mesa 18.2.2
    OpenGL shading language version string: 1.40
    OpenGL context flags: (none)
    OpenGL extensions:
    OpenGL ES profile version string: OpenGL ES 3.1 Mesa 18.2.2
    OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
    OpenGL ES profile extensions:
    >
    

    On Wed, Jan 09 at 04:26 PM PST, S R wrote:

    Here's the output from it running on mine, it's significantly different
    than yours (with commands/snippets). Are you sure you've installed your GPU
    drivers correctly etc?

    *./geekbench4 --compute-list*
    >
    > Geekbench 4.3.2 : http://www.geekbench.com/
    > CUDA
    > 0 0 GeForce GTX 1080 Ti

    *An the help command*

    *./geekbench4 --help*

    > Geekbench 4.3.2 : http://www.geekbench.com/
    > Usage:
    > ./geekbench4 [ options ]
    > Options:
    > -h, --help print this message
    > --unlock EMAIL KEY unlock Geekbench using EMAIL and KEY
    > --load FILE load and display Geekbench result from FILE
    > --save FILE save Geekbench result to FILE
    > --export-csv FILE export Geekbench result as CSV to FILE
    > --export-html FILE export Geekbench result as HTML to FILE
    > --export-json FILE export Geekbench result as JSON to FILE
    > --export-text FILE export Geekbench result as text to FILE
    > --upload upload results to the Geekbench Browser
    > --no-upload do not upload results to the Geekbench Browser
    > --cpu run the CPU benchmark
    > --arch ARCH run benchmarks or tests for ARCH architecture
    > (truncated)

  26. 26 Posted by MIchael Coyle on 11 Jan, 2019 03:21 AM

    MIchael Coyle's Avatar

    Thanks for continuing to help track this out.

    I have no /var/log/Xorg.0.log files. The output of the other commands are below.

    -------------------------------------------------------
    
    > glxgears -info
    GL_RENDERER   = AMD TURKS (DRM 2.50.0 / 4.18.0-13-generic, LLVM 7.0.0)
    GL_VERSION    = 3.1 Mesa 18.2.2
    GL_VENDOR     = X.Org
    GL_EXTENSIONS = GL_AMD_conservative_depth...... lots and lots of extensions....
    
    331 frames in 5.0 seconds = 66.097 FPS
    300 frames in 5.0 seconds = 59.911 FPS
    300 frames in 5.0 seconds = 59.909 FPS
    
    -------------------------------------------------------
    
    > glxheads
    glxheads: exercise multiple GLX connections (any key = exit)
    Usage:
      glxheads xdisplayname ...
    Example:
      glxheads :0 mars:0 venus:1
    Name: :0
      Display:     0x55fe75c8a110
      Window:      0x4600002
      Context:     0x55fe75cd9a70
      GL_VERSION:  3.1 Mesa 18.2.2
      GL_VENDOR:   X.Org
      GL_RENDERER: AMD TURKS (DRM 2.50.0 / 4.18.0-13-generic, LLVM 7.0.0)
    
    -------------------------------------------------------
    
    > ./geekbench4 --sysinfo
    Geekbench 4.3.2 Tryout : http://www.geekbench.com/
    
    System Information
      Operating System              Ubuntu 18.10 4.18.0-13-generic x86_64
      Model                         Apple Inc. MacBookPro8,3
      Motherboard                   Apple Inc. Mac-942459F5819B171B
      Memory                        15.6 GB 
      BIOS                          Apple Inc.    MBP81.88Z.004F.B00.1802022246
    
    Processor Information
      Name                          Intel Core i7-2760QM
      Topology                      1 Processor, 4 Cores, 8 Threads
      Identifier                    GenuineIntel Family 6 Model 42 Stepping 7
      Base Frequency                3.50 GHz
      L1 Instruction Cache          32.0 KB x 4
      L1 Data Cache                 32.0 KB x 4
      L2 Cache                      256 KB x 4
      L3 Cache                      6.00 MB
    
    > 
    -----------------------------------------------------------------
    

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac