Mali Physical Range Validation Error

Started by ericb, March 25, 2016, 11:02:19 PM

Previous topic - Next topic

ericb

I'm hoping someone can with me with the debug of the error below. This error occurs when I have the lcd_x value set to 1080. Not 1079 and not 1081. That makes me think that there is a magic number of 1080 somewhere in the code, but, I haven't been able to find it. I don't know if having lcd_x set to 1080 is unusual, but, it is different from a desktop monitor where x is typically the longer dimension. However, in my case I'm using a cell phone type display were X is 1080 and Y ix 1920.


<4>[ 1013.209652] Mali: ERR: <full path>/linux-3.4/modules/mali/DX910-SW-99002-r3p2-01rel2/driver/src/devicedrv/mali/common/mali_mem_validation.c
<4>[ 1013.209669]            mali_mem_validation_check()  68
<4>[ 1013.209675]            MALI PHYSICAL RANGE VALIDATION ERROR: The range supplied was: phys_base=0x44000000, size=0x00FE1000


Eric

soenke

i found something that could point the direction:

http://forum.odroid.com/viewtopic.php?f=91&t=1911&start=60

Seems like the framebuffer could be too small for 1080. Maybe there is some parameter in the fex config where you can adjust the fb size for the mali gpu?

My guess is that setting it to some different value results in a invalid resolution an it changes to some smaller default value.

ericb

Thank you soenke for the link. I'm reviewing it.

By the way, to clarify the problem

For, X = 1920 and Y = 1080, the system works, although graphics performance is slow.

For, X = 1080 and Y = 1920, the system fails (MALI PHYSICAL RANGE VALIDATION ERROR), no data is sent to the display.

Eric

soenke

That also might be some variables which limit the number of rows. What happens if you do 1080x1080 or 1080x1280?

If you want to have a 90° turned screen, maybe it is easier to do it in software?

ericb

It looks like the solution was in the FEX file all long. There are frame buffer width and and height parameters that had values of 0 and worked for all other cases, but, not X=1080, Y=1920. Once fb0_width was set to 1920 and fb0_heigh was set to 1080 the errors went away and I got an image over HDMI! Next step is getting the LCD interface working.

It is strange to me that width is the larger number when X is set to the smaller number, but, I don't have to answer that question right now.

Eric

soenke