Bug 30405

Summary: qt 4.7 opengl graphicssystem doesn't work with gallium + xorg state tracker
Product: Mesa Reporter: Martin Stolpe <martinstolpe>
Component: Drivers/Gallium/r300Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
See Also: https://freedesktop.org/show_bug.cgi?id=30401
https://bugs.freedesktop.org/show_bug.cgi?id=30412
Whiteboard:
i915 platform: i915 features:
Attachments: configuration parameters for mesa

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.