[Development] Qt (5.3.0) QML on Mali 400 armsoc driver. Could it be broken?

2014-05-29 Thread Mark Gaiser
Hi,

I'm trying to run Qt5 QML examples on the odroid-x. That device has
the mail 400 gpu with the armsoc driver.

I have a working graphical environment and i can run a OpenGL ES 2
demo benchmark (non Qt) glmark2-es2. That seems to be working just
fine.

However, if i try to run qmlscene (or qmlviewer) i'm keep getting this message:

Cant find EGLConfig, returning null config
Unable to find an X11 visual which matches EGL config 0
Could not initialize OpenGL

followed by a core dumped line.

Could this driver + Qt5 be broken?
If there are any commands or tests you want me to run for more
information, please don't hesitate to ask. I'd gladly help.

Cheers,
Mark
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Qt (5.3.0) QML on Mali 400 armsoc driver. Could it be broken?

2014-05-29 Thread Mark Gaiser
Op 30 mei 2014 01:39 schreef Mark Gaiser mark...@gmail.com:

 Hi,

 I'm trying to run Qt5 QML examples on the odroid-x. That device has
 the mail 400 gpu with the armsoc driver.

 I have a working graphical environment and i can run a OpenGL ES 2
 demo benchmark (non Qt) glmark2-es2. That seems to be working just
 fine.

 However, if i try to run qmlscene (or qmlviewer) i'm keep getting this
message:

 Cant find EGLConfig, returning null config
 Unable to find an X11 visual which matches EGL config 0
 Could not initialize OpenGL

 followed by a core dumped line.

 Could this driver + Qt5 be broken?
 If there are any commands or tests you want me to run for more
 information, please don't hesitate to ask. I'd gladly help.

 Cheers,
 Mark

And it's fixed.
When people see me using root in pastebins for console output they always
say you really should not use root, make a user or something along those
lines. (I fully agree to that BTW)

Well, I did for the Qt stuff. As a user I get the issues mentioned in the
first post.

As root I actually have everything working just fine. Qt QML examples work
perfectly. I actually wasn't expecting an example like samegame to be
buttery smooth, but it is! Pros to the Qt team!

So it seems to be some issue with permissions. And that is certainly not
clear when looking at the output I saw (in the first post).

On big fat note though. Do not use startx with twm. Qt examples and windows
then open in some bugged transparent way. Use a slightly more modern
window manager like openbox.

Now I just have to figure out which permissions are missing for the user.
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development