Bug 30405 - qt 4.7 opengl graphicssystem doesn't work with gallium + xorg state tracker
Summary: qt 4.7 opengl graphicssystem doesn't work with gallium + xorg state tracker
Status: RESOLVED DUPLICATE of bug 30401
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/r300 (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-27 12:50 UTC by Martin Stolpe
Modified: 2010-09-28 03:23 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
configuration parameters for mesa (301 bytes, text/plain)
2010-09-27 12:50 UTC, Martin Stolpe
Details

Description Martin Stolpe 2010-09-27 12:50:09 UTC
Created attachment 38988 [details]
configuration parameters for mesa

Compiling qt with the desktop an es2 opengl backend works. Compilation fails with the es1 backend.

When I try to start a program with the opengl backend I get the following errors:

qt compiled with es2 opengl system:
  $ dolphing -graphicssystem=opengl
  libEGL warning: GLX/DRI2 is not supported                                                                      
  libEGL warning: use software fallback                                                                          
  libEGL warning: unable to load st_GLESv2.so                                                                    
  QEglContext::createContext(): Unable to create EGL context: "Success (0x3000)"                                 
  QMetaObject::invokeMethod: No such method DolphinApplication::loadCommandLineOptionsForNewInstance()           
  libEGL warning: GLX/DRI2 is not supported                                                                      
  libEGL warning: use software fallback                                                                          
  QGLTemporaryContext: Error creating EGL context.                                                               
  <unknown program name>(5920)/: Communication problem with  "dolphin" , it probably crashed.                    
  Error message was:  "org.freedesktop.DBus.Error.NoReply" : " "Message did not receive a reply (timeout by message bus)" "

-qt compiled with es1 opengl system:
  libEGL warning: GLX/DRI2 is not supported
  libEGL warning: use software fallback
  libEGL warning: unable to load st_GL.so
  QEglContext::createContext(): Unable to create EGL context: "Success (0x3000)" 
  QMetaObject::invokeMethod: No such method DolphinApplication::loadCommandLineOptionsForNewInstance()
  libEGL warning: GLX/DRI2 is not supported
  libEGL warning: use software fallback
  QGLTemporaryContext: Error creating EGL context.
  <unknown program name>(25644)/: Communication problem with  "dolphin" , it probably crashed. 
  Error message was:  "org.freedesktop.DBus.Error.NoReply" : " "Message did not receive a reply (timeout by message bus)" " 

Neither st_GL.so nor st_GLESv2.so                                                                     are build by mesa.
Comment 1 Martin Stolpe 2010-09-28 03:23:17 UTC
Got 3D working in general. Have a look at bug report 30412.

Now I get the following error with opengl es2 backend:
dolphin: symbol lookup error: /usr/lib/egl/egl_gallium.so: undefined symbol: drmGetMagic
<unknown program name>(19415)/: Communication problem with  "dolphin" , it probably crashed. 
Error message was:  "org.freedesktop.DBus.Error.ServiceUnknown" : " "The name org.kde.dolphin was not provided by any .service files" " 

This seems to be the same error as in Bug 30401. I think these two bugs can be merged.

*** This bug has been marked as a duplicate of bug 30401 ***


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.