[Interest] Shader Program Linker error

Thomas Senyk thomas.senyk at pelagicore.com
Mon Apr 15 13:18:17 CEST 2013


On Sat, April 13, 2013 11:32:58 AM Ramakanthreddy_Kesireddy wrote:
> Hi,
> 
> am pasting the complete error here when I try to run sample video using
> Mediaplayer. Same error is being observed for the qtdeclarative scenegraph
> example.
> 
> libEGL warning: use software fallback

That's the root cause. Your platform integration (EGL) is flawed/used wrongly.
I strongly suspect that you either have pulled things (egl and opengl) 
together manually or that you're using your drivers in the wrong context.

You need to fix and understand your platform first.

> Qt at-spi: error getting the accessibility dbus address:  "The name
> org.a11y.Bus was not provided by any .service files" Accessibility DBus not
> found. Falling back to session bus.
> Module 'QtMultimedia' does not contain a module identifier directive - it
> cannot be protected from external registrations.
> 
> NvxLiteH264DecoderInit : Opening TVMR H264 block
> NvxLiteH264DecoderInit : Opening TVMR H264 block
> NvxLiteH264DecoderInit : Opening TVMR H264 block
> QOpenGLShaderProgram: could not create shader program
> QOpenGLShader: could not create shader
> QSGMaterialShader: Shader compilation failed:
> ""
> QOpenGLShaderProgram::uniformLocation( matrix ): shader program is not
> linked QOpenGLShaderProgram::uniformLocation( opacity ): shader program is
> not linked NvMMLiteOpen : Block : BlockType = 261
> ++++++ NvAvpOpen +++++++
> ++++++++++++ TVMRFrameDelivery +++++++++++++++
> NvMMLiteBlockCreate : Block : BlockType = 261
> NvMMLiteBlockCreate : Block : BlockType = 771
> BeginSequence 400x224
> pnvsi->nDecodeBuffers = 4
> Display Resolution : (400x224)
> Display Aspect Ratio : (400x224)
> cbBeginSequence at 429: SurfaceLayout = 2
> pStreamInfo->NumOfSurfaces = 8, MaxDPB = 24, InteraceStream = 0,
> InterlaceEnabled = 0 Allocating new output: 400x224 (x 10)
> QOpenGLShaderProgram: could not create shader program
> QOpenGLShader: could not create shader
> QSGMaterialShader: Shader compilation failed:
> ""
> QOpenGLShaderProgram::uniformLocation( qt_Matrix ): shader program is not
> linked QOpenGLShaderProgram::uniformLocation( yTexture ): shader program is
> not linked QOpenGLShaderProgram::uniformLocation( uTexture ): shader
> program is not linked QOpenGLShaderProgram::uniformLocation( vTexture ):
> shader program is not linked QOpenGLShaderProgram::uniformLocation(
> colorMatrix ): shader program is not linked
> QOpenGLShaderProgram::uniformLocation( opacity ): shader program is not
> linked
> 
> Thanks and Regards,
> Ramakanth
> ________________________________
> From:
> interest-bounces+ramakanthreddy_kesireddy=mahindrasatyam.com at qt-project.org
> [interest-bounces+ramakanthreddy_kesireddy=mahindrasatyam.com at qt-project.or
> g] on behalf of Ramakanthreddy_Kesireddy Sent: Saturday, April 13, 2013 3:49
> PM
> To: interest at qt-project.org
> Subject: Re: [Interest] Shader Program Linker error
> 
> Hi,
> 
> The OpenGL version string: 4.2.0 NVIDIA 302.26 on target.
> 
> Does the below shader program error related to bug
> QTBUG-18529<https://bugreports.qt-project.org/browse/QTBUG-18529>?
> 
> Thanks and Regards,
> Ramakanth
> ________________________________
> From:
> interest-bounces+ramakanthreddy_kesireddy=mahindrasatyam.com at qt-project.org
> [interest-bounces+ramakanthreddy_kesireddy=mahindrasatyam.com at qt-project.or
> g] on behalf of Ramakanthreddy_Kesireddy Sent: Saturday, April 13, 2013 1:45
> PM
> To: interest at qt-project.org
> Subject: [Interest] Shader Program Linker error
> 
> 
> Hello,
> 
> We build Qt5 natively on tegra3 target board.
> 
> However, when I try to compile the sample example as mentioned below in
> qtdeclarative, it gives error QOpenGLShaderProgram::uniformLocation(
> qt_Matrix ): shader program is not linked and couldnot create shader
> program.
> 
> /qt-everywhere-opensource-src-5.0.0/qtdeclarative/examples/quick/scenegraph/
> openglunderqml
> 
> Please let me know what could be the issue on the target.
> 
> 
> 
> Thanks and Regards,
> Ramakanth
> 
> ________________________________
> 
> DISCLAIMER:
> This email (including any attachments) is intended for the sole use of the
> intended recipient/s and may contain material that is CONFIDENTIAL AND
> PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
> distribution or forwarding of any or all of the contents in this message is
> STRICTLY PROHIBITED. If you are not the intended recipient, please contact
> the sender by email and delete all copies; your cooperation in this regard
> is appreciated.
> 
> ________________________________
> 
> DISCLAIMER:
> This email (including any attachments) is intended for the sole use of the
> intended recipient/s and may contain material that is CONFIDENTIAL AND
> PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
> distribution or forwarding of any or all of the contents in this message is
> STRICTLY PROHIBITED. If you are not the intended recipient, please contact
> the sender by email and delete all copies; your cooperation in this regard
> is appreciated.
> 
> ________________________________
> 
> DISCLAIMER:
> This email (including any attachments) is intended for the sole use of the
> intended recipient/s and may contain material that is CONFIDENTIAL AND
> PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
> distribution or forwarding of any or all of the contents in this message is
> STRICTLY PROHIBITED. If you are not the intended recipient, please contact
> the sender by email and delete all copies; your cooperation in this regard
> is appreciated.



More information about the Interest mailing list