qt - Crash on using the opengl graphics system -
i have made qt/qml application works fine in raster mode.
qapplication::setgraphicssystem("raster");
but change opengl, crashes following messages:
hijackwindow() context created qmlapplicationviewer(0xbfce6e5c) 1 qglcontext::makecurrent(): failed. qglframebufferobject: unable resolve framebuffer object extensions - make sure there current context when creating framebuffer object. qglwindowsurface: failed create valid fbo, falling qglpixelbuffer: unable find context/format match - giving up. qglwindowsurface: failed create valid pixelbuffer, falling qglcontext::makecurrent(): failed. qglwindowsurface: using plain widget window surface qglwindowsurface(0x932b428) qglcontext::makecurrent(): failed. qglshader: not create shader vertex shader simpleshaderprog (mainvertexshader & positiononlyvertexshader) failed compile qglshader: not create shader fragment shader simpleshaderprog (mainfragmentshader & shockingpinksrcfragmentshader) failed compile qglshaderprogram: not create shader program errors linking simple shader: "" qglshader: not create shader vertex shader blitshaderprog (mainwithtexcoordsvertexshader & untransformedpositionvertexshader) failed compile qglshader: not create shader fragment shader blitshaderprog (mainfragmentshader & imagesrcfragmentshader) failed compile qglshaderprogram: not create shader program errors linking blit shader: "" qglcontext::makecurrent(): failed. qglshader: not create shader warning: "" failed compile! qglcontext::makecurrent(): failed. qglcontext::makecurrent(): failed. qglshader: not create shader warning: "" failed compile! qglcontext::makecurrent(): failed. qglcontext::makecurrent(): failed. qglcontext::makecurrent(): failed. qglcontext::makecurrent(): failed. program has unexpectedly finished.
platform : ubuntu 12.04 - 32 bit - intel i5 - qt 4.8
edit 1 :
i tried way around using this approach mention on . did work, got worst of performance such powerful platform !?
is there missing ? can 1 list down should ensured on platform make sure application works in opengl mode , not fall native mode.
eg. graphics card / drivers / opengl support etc ?
edit 2 :
when tried running glxinfo command, 1 of line says : direct rendering: no
should worried ?
edit 3 :
i trying install drivers , noticed direct rendering: no
changed yes
after done.
sounds have no opengl drivers gpu installed, you're falling software rasterizer mode, sloooooow. relevant lines of glxinfo
opengl renderer string
, opengl version string
. glx strings uninteresting, glx transport opengl commands on network, x11 protocol extensions used create opengl contexts , that's independent gpu , driver.
what's output of /usr/sbin/lspci | egrep 'vga|graphics'
?
when executing on system gpu installed in direct rendering: no
warning sign, opengl drivers installation incomplete. can use opengl on remote connection well, , written programs can quite performant (not on dialup, within lan).
Comments
Post a Comment