No GL painter with Qt4.7.0

Help with using MiniMyth's build system

Moderator: Pablo

Post Reply
warpme
Contributor
Posts: 438
Joined: Fri Aug 26, 2005 8:17 pm

No GL painter with Qt4.7.0

Post by warpme » Sun Oct 24, 2010 5:07 pm

Pablo,

I synced with mm svn7329. My differences to 7329 are:
-2.6.33.7 kernel (2.6.35 has issues with mce S3 resume)
-myth 0.24 is based on trunk
-nv is 256.53 (as 260.19.12 has significant higher memory req. - no go on system with 128M video)

I'm wonder, have You properly running OpenGL painter in 7329 ?
Mine gives following error

Code: Select all

2010-10-24 15:49:18.068 Using Frameless Window
2010-10-24 15:49:18.068 Using Full Screen Window
2010-10-24 15:49:18.072 MSqlQuery::exec(DBManager0) SELECT data FROM settings WHERE value = 'themepainter' AND hostname = 'fe-test' <<<< Returns 1 row(s)
2010-10-24 15:49:18.072 MSqlQuery::next(DBManager0) Result: "data = opengl"
2010-10-24 15:49:18.073 Using the OpenGL painter
libEGL warning: Could not open driver /usr/lib/egl/egl_glx (/usr/lib/egl/egl_glx: cannot open shared object file: No such file or directory)
libEGL warning: The driver can be overridden by setting EGL_DRIVER
libEGL warning: Could not open driver /usr/lib/egl/egl_glx.so (/usr/lib/egl/egl_glx.so: cannot open shared object file: No such file or directory)
libEGL warning: The driver can be overridden by setting EGL_DRIVER
QEgl::display(): Cannot initialize EGL display: "Not initialized (0x3001)" 
QEglContext::chooseConfig(): Could not find a suitable EGL configuration 
Requested: "type=gl,8 rgba=0,0,0,0 surface-type=window" 
Available: 
2010-10-24 15:49:18.084 Failed to create OpenGL painter. Check your OpenGL installation.
2010-10-24 15:49:18.084 Clearing OpenGL painter cache.
QGLContext::makeCurrent(): Cannot make invalid context current
2010-10-24 15:49:18.084 OpenGL: Deleting OpenGL Resources
QGLContext::makeCurrent(): Cannot make invalid context current
QGLContext::makeCurrent(): Cannot make invalid context current
QGLContext::makeCurrent(): Cannot make invalid context current
QGLContext::makeCurrent(): Cannot make invalid context current
QGLContext::makeCurrent(): Cannot make invalid context current
QGLContext::makeCurrent(): Cannot make invalid context current
2010-10-24 15:49:18.084 Using the Qt painter
Revering Qt to 4.6.3 solves problem....

Pablo
Site Admin
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla
Contact:

Re: No GL painter with Qt4.7.0

Post by Pablo » Fri Nov 05, 2010 12:34 am

I have no problem with the OpenGL painter. In addition, I have no problem with S3 suspend.

If your are using a kernel that is older than the kernel in MiniMyth, then you should look at the devel/glibc* packages as I update the minimum kernel version in these packages rather often.
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

warpme
Contributor
Posts: 438
Joined: Fri Aug 26, 2005 8:17 pm

Re: No GL painter with Qt4.7.0

Post by warpme » Wed Nov 24, 2010 8:57 pm

Pablo,

Thx for replay. This is strange as only difference between my and Yours mm are:
-host (I'm on Arch)
-mm init scripts (I have still sh based ones)
-kernel (I'm on 2.6.33.7)

Before full build I of course change kernel level in glibc.
Last days I do another attempt to sync (r7529) - and I have issue with commit 7204 (another post on this forum).
With reverted 7204 issue is the same.
At this moment I haven't idea where problem might be :-(

br

Pablo
Site Admin
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla
Contact:

Re: No GL painter with Qt4.7.0

Post by Pablo » Wed Dec 01, 2010 5:16 am

It looks like Qt is using libEGL rather than libGLX to handle OpenGL. I overlooked explicitly setting the configure option for this so I suspect that it is somehow deciding that it is not present for me but present for you.

Try adding '-no-egl' to CONFIGURE_ARGS in qt/qt4/Makefile and rebuilding qt/qt4 by running

Code: Select all

make clean-all && make install
in qt/qt4.
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

warpme
Contributor
Posts: 438
Joined: Fri Aug 26, 2005 8:17 pm

Re: No GL painter with Qt4.7.0

Post by warpme » Sat Dec 04, 2010 11:32 pm

Pablo,
Thx.
This solves issue for 256.xx drivers.
260.xx gives me black screen (myth hangs on GL painter initialization).
I'm curious what GF HW You have ?
I suspect my GF8200 IGP has some issues with 260.xx

br

Pablo
Site Admin
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla
Contact:

Re: No GL painter with Qt4.7.0

Post by Pablo » Sun Dec 05, 2010 8:16 pm

Odd. I am not having any problems with my ASUS M3N78-VM, which has an NVIDIA GeForce 8200 IGP.
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

Post Reply