Questions tagged [mali]

The Mali™ series of graphics processing units (GPUs) are a series of semiconductor intellectual property cores produced by ARM® Holdings for licensing in various ASIC designs by ARM partners.

The Arm® Immortalis™ and Mali™ family of Graphics Processing Units (GPUs) scale to deliver industry-leading graphics on entry level smartphones.

Arm GPU technology is complemented by the wider ecosystem, a comprehensive community of graphics industry players, helping developers to achieve shorter time-to-market and supporting application development for Arm GPUs. Further support can be accessed through the Arm developer website, an online portal providing support and resources.

78 questions
5
votes
1 answer

is it possible to execute OpenCL code on ARM CPU (Cortex-a7) using the Mali OpenCL SDK?

Mali OpenCL SDK allows executing opencl code on the Mali GPU. Is it possible to execute OpenCL code on ARM CPU (Cortex-a7) using the Mali OpenCL SDK?
madhat1
  • 676
  • 9
  • 15
5
votes
3 answers

Optimizing performance of a heavy fragment shader

I need help optimizing the following set of shaders: Vertex: precision mediump float; uniform vec2 rubyTextureSize; attribute vec4 vPosition; attribute vec2 a_TexCoordinate; varying vec2 tc; void main() { gl_Position = vPosition; tc…
SirKnigget
  • 3,614
  • 2
  • 28
  • 61
4
votes
1 answer

OpenGL ES 2.0 program fail on Mali400 platform

I'm writing a simple texture stream rendering program using OpenGL ES 2.0. The program works on desktop but fail on embedded platform with Mali400 GPU. The LCD goes black with the top few lines blinking. I don't know what's wrong with my code. I…
user1777342
  • 433
  • 1
  • 5
  • 11
4
votes
1 answer

Problems getting SurfaceTexture work with Android Videoplayer on MALI 400

I've written an application which is rendering video into a texture basically using the code found in many posts here. I guess the original comes from some nVidia samples (VideoSurfaceView) found here: Using SurfaceTexture in Android This example…
Marco
  • 984
  • 10
  • 18
3
votes
0 answers

Shaders and Uniforms. Not behaving as expected on the Galaxy S6

I've got a distance field shader that I use for font rendering in LibGDX. It takes a uniform that sets how bold the text should be. All this has been working fine for ages, but in the last week or so after a recent Galaxy S6 update that seems to be…
Will Calderwood
  • 4,393
  • 3
  • 39
  • 64
3
votes
2 answers

Determine limiting factor of OpenCL workgroup size?

I am trying to run some OpenCL kernels written for desktop graphics cards on an embedded GPU with less resources. In particular, the desktop version assumes a work group size of at least 256 is always supported, but the Mali T628 ARM-based GPU only…
Nicu Stiurca
  • 8,747
  • 8
  • 40
  • 48
3
votes
2 answers

Android OpenGL ES not rasterizing - Matrix multiplication switched

I just bought a new SGS3 (I9300 - NOT LTE) and hoped to continue with developing an OpenGL ES (2) application. Unfortunately when I compile it I don't see anything. I get the following LogCat error messages: D/libEGL(6890): loaded…
Tobias Reich
  • 4,952
  • 3
  • 47
  • 90
2
votes
1 answer

Unusual GPU error when using ARCore, Unrecognised Android chroma siting range

I'm receiving the error: E/mali_winsys: Unrecognised Android chroma siting range: [2, 2]. Applying default When opening my ArCore activities, any of them, using any range of models and textures. For testing I'm using a S20 FE, the exynos version…
Luis
  • 123
  • 1
  • 3
  • 18
2
votes
1 answer

OpenGL ES 3.0 Matrix/Array Stride

I have this UBO: layout(std140)uniform _ObjMatrix { layout(row_major)mat4x3 ViewMatrix[256]; }; On OpenGL desktop, the size is 3*Vec4*256 elements (total size 12288 bytes) - this is what I was expecting = OK However when running on my mobile…
Esenthel
  • 499
  • 4
  • 17
2
votes
2 answers

OpenCL : Querying max clock frequency of a mobile GPU always returns a lesser value

In order to know the max clock frequency of a Mali T760 GPU, I used the code snippet below: // Get device max clock frequency cl_uint max_clock_freq; err_num = clGetDeviceInfo(cl_devices[device_idx], CL_DEVICE_MAX_CLOCK_FREQUENCY,…
Avis
  • 988
  • 2
  • 11
  • 31
2
votes
1 answer

In Opencl clGetDeviceIDs return error CL_OUT_OF_HOST_MEMORY

I have firefly rk 3288 board with GPU and so I want test openCL C code , Written very basic code which can read platform info as follow: #include #include #include #define LOGI printf int main() { cl_uint…
Mohan
  • 1,871
  • 21
  • 34
2
votes
1 answer

Building Mali Driver without X11

I try to build an image for bananaPro without X11 and Wayland support. But I got following error during Mali test binary compilation: make: Leaving directory…
overlord
  • 489
  • 1
  • 7
  • 20
2
votes
1 answer

OpenCL compiler not available

Actually i try to run OpenCL samples on Nexus 10, but no success yet. I used Mali OpenCL SDK http://malideveloper.arm.com/resources/sdks/mali-opencl-sdk/ and android NDK. Also while linking samples, i used libGLES_mali.so from target. After some…
Alex Hoppus
  • 3,821
  • 4
  • 28
  • 47
2
votes
1 answer

Asymmetrical and inaccurate output from Mali-400MP GPU

I have the following simple fragment shader: precision highp float; main() { gl_FragColor = vec4(0.15, 0.15, 0.15, 0.15); } I'm rendering to texture using frame buffer object. When reading back values from the frame buffer I get the following: 38,…
Gil Shapira
  • 101
  • 5
2
votes
2 answers

Opencl on ARM - Unable to retrieve platform id

I am running open cl on a linux machine with ARM processor and Mali GPU remotely. But it is giving an error something like "Unknown error: cannot retrieve platform id" at clGetPlatformIDs(). I tried both cl_uint numPlatforms; //the NO. of…
User1234321232
  • 517
  • 10
  • 25
1
2 3 4 5 6