Skip to content

Porting GLMark2-ES for RISC-V Platform with GPU-HW Acc. #232

@iravikiran

Description

@iravikiran

Hello Team,

I'm trying to Port the GLMark2-ES Benchmark tool (for DRM flavour) on my RISC-V development board which is based on U740 CPU from SiFive, I'm able to successfully build and install from the Sources using the Meson build system, and don't see any issue. But the problem arises when i'm trying to launch the compiled glmark2-es-drm program i'm facing issue with execution:

Though i've a GPU within my RISC-V SoC after execution of the program (glmark2-es-drm) i notice it is using the Mesa SW Pipeline over the CPU, and not over the Imagination GPU HW. (Log below..)

root@Ubuntu-riscv64:~/GL/glmark2# glmark2-es2-drm 
Warning: DRM_CAP_ASYNC_PAGE_FLIP not supported, falling back to 'mailbox' mode for SwapInterval(0).
=======================================================
    glmark2 2023.01
=======================================================
    OpenGL Information
    GL_VENDOR:      Mesa
    GL_RENDERER:    softpipe
    GL_VERSION:     OpenGL ES 3.1 Mesa 23.2.1-1ubuntu3.1~22.04.2
    Surface Config: buf=32 r=8 g=8 b=8 a=8 depth=32 stencil=0 samples=0
    Surface Size:   1080x1920 fullscreen
=======================================================

I would like to know how can i enable the Imagination GPU-HW Acceleration to support GLMark2-ES-DRM to work with my Imagination GPU HW.?

Please kindly do help me on this, Any help or feedback will be helpful and highly appreciated!!

Regards,
Ravi Kiran

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions