Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trouble with the umplock branch #3

Open
gripped opened this issue Apr 23, 2014 · 0 comments
Open

trouble with the umplock branch #3

gripped opened this issue Apr 23, 2014 · 0 comments

Comments

@gripped
Copy link

gripped commented Apr 23, 2014

Hi

I know this is all experimental, and I have your r4p0 branch working on my Odroid U3 with Arch Linux.

But I noticed in the commit notes of your umplock branch you were getting better performance so I've been giving that a try.
I have compiled the r4p0-umplock armsoc branch along with your endless-r4p0-umplock kernel.

The Arch config is different in many places but I have copied over what seems relevant ?

CONFIG_MALI400=y
# CONFIG_MALI450 is not set
CONFIG_MALI400_DEBUG=y
# CONFIG_MALI400_PROFILING is not set
CONFIG_MALI400_UMP=y
# CONFIG_MALI400_POWER_PERFORMANCE_POLICY is not set
# CONFIG_MALI_DMA_BUF_MAP_ON_ATTACH is not set
# CONFIG_MALI_SHARED_INTERRUPTS is not set
# CONFIG_MALI_PMU_PARALLEL_POWER_UP is not set
CONFIG_UMP=y
CONFIG_UMP_MEM_SIZE=512
# CONFIG_UMP_DEBUG is not set
CONFIG_UMP_USING_OS_MEMORY=y

#
# Graphics support
#
CONFIG_DRM=y
CONFIG_DRM_USB=m
CONFIG_DRM_KMS_HELPER=y
CONFIG_DRM_LOAD_EDID_FIRMWARE=y

#
# I2C encoder or helper chips
#
# CONFIG_DRM_I2C_CH7006 is not set
# CONFIG_DRM_I2C_SIL164 is not set
CONFIG_DRM_MALI=y
CONFIG_DRM_EXYNOS=y

When I start anything GLES2 I get an error "Failed to open GEM name=3" with the number incrementing by 1 at each attempt.

odroid@odroidu3 ~ $ glmark2-es2 
Failed to open GEM name=3
Error: eglMakeCurrent failed with error: 0x3003
Error: CanvasX11EGL: Invalid EGL state
Error: main: Could not initialize canvas
odroid@odroidu3 ~ :( $ es2_info 
Failed to open GEM name=4
Error: eglMakeCurrent() failed
odroid@odroidu3 ~ :( $ es2gears_x11 
EGL_VERSION = 1.4 Linux-r4p0-00rel0
Failed to open GEM name=5
EGLUT: failed to make window current

I noticed with this commit
c6c0724
you said libmali CAN be built with umplock functionality. I'm wondering if the libs I've got (from an image on the odroid forum) have been ?

I've tried to work out what's up but have come to the end of my limited ability and was hoping you might have some idea

The full kernel config I used is here
https://gist.github.com/gripped/f563101782ec06eceec7

And while I remember I have applied your patches to xorg-server

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant