Page 1 of 1

Qt GUI in linux on ati-drivers

Posted: Sat Mar 22, 2008 9:48 am
by mnk

To make sure this doesn't get lost in forum move.

The problem I reported on the old board still persists in rev.466.

Linux+Qt4+ati-drivers=segfault with backtrace:

#0 0xb64a6320 in ?? () from /usr/lib/dri/fglrx_dri.so

#1 0x00000008 in ?? ()

#2 0x0891e038 in ?? ()

#3 0xbf8d5048 in ?? ()

#4 0xb64b3aa5 in ?? () from /usr/lib/dri/fglrx_dri.so

#5 0x0843d4cc in ?? ()

#6 0x44ffe000 in ?? ()

#7 0x000001f8 in ?? ()

#8 0x00000000 in ?? ()

 

And BTW, is find . -name entries -exec sed -i -e 's :s vn.bountysource.com:vbam.svn.sourceforge.net/svnroot:' '{}' \; enough to make a clean move from bountysource to sourceforge ?


Qt GUI in linux on ati-drivers

Posted: Sat Mar 22, 2008 1:08 pm
by dualscreenman

Could we get some more information from you (and others), if possible?

What card are you using?

Can you (or anyone else) test this with ati hardware? (Testing on either the same card or others would be welcome)

 

This way we can see if it's a driver bug or a problem with your hardware setup. Since it works on nVidia and Intel cards just fine I'd wager that it's not a VBA-M bug.

 

Oh, and I think that the backtrace would be more helpful if you installed the debugging symbols for your openGL driver.


Qt GUI in linux on ati-drivers

Posted: Sat Mar 22, 2008 3:06 pm
by mnk

Well, lets do it slowly:

  1. I do believe that the bug comes from ati drivers
  1. card is radeon 9600
  1. lately I'm using ati-drivers 8.471.3, but it's shipped with fglrx_dri.so stripped...
  1. however, when I checked one of previous releases (not sure which one), it had that file unstripped

and with that file I got following backtrace:

#0 0xb642e761 in SWIL_DecodePacket () from /usr/lib/dri/fglrx_dri.so

#1 0xb643d44d in SWIL_Execute () from /usr/lib/dri/fglrx_dri.so

#2 0xb643da1a in __glRunILFragmentShaderProgram ()

from /usr/lib/dri/fglrx_dri.so

#3 0xb645a537 in __glILSpan () from /usr/lib/dri/fglrx_dri.so

#4 0xb6457d5a in __glProcessSpan () from /usr/lib/dri/fglrx_dri.so

#5 0xb645253d in FillSubTriangle () from /usr/lib/dri/fglrx_dri.so

#6 0xb64562aa in __glFillTriangle () from /usr/lib/dri/fglrx_dri.so

#7 0xb645769f in __glRenderFlatTriangle () from /usr/lib/dri/fglrx_dri.so

#8 0xb6451dc0 in __glDoPolygonClip () from /usr/lib/dri/fglrx_dri.so

#9 0xb6451f3d in __glClipTriangle () from /usr/lib/dri/fglrx_dri.so

#10 0xb647cfd6 in __glDrawCachedQuads () from /usr/lib/dri/fglrx_dri.so

#11 0xb64720af in gllSW::glswState: :s wProcessVertex ()

from /usr/lib/dri/fglrx_dri.so

#12 0xb6472b34 in gllSW::glswState: :s wDrawArrays ()

from /usr/lib/dri/fglrx_dri.so

#13 0xb647584e in svswDrawArrays () from /usr/lib/dri/fglrx_dri.so

#14 0xb5e5916e in gllEP::gpPrimBatch: :s ubmit () from /usr/lib/dri/fglrx_dri.so

#15 0xb5e599be in gllEP::gpPrimBatch::combineAndFlush ()

from /usr/lib/dri/fglrx_dri.so

#16 0xb5e6b0a8 in gllEP::gpBeginEndVBOState: :s endPrimitiveBuffer ()

from /usr/lib/dri/fglrx_dri.so

#17 0xb5e76448 in gllEP::gpBeginEndVBOState: :s endData ()

from /usr/lib/dri/fglrx_dri.so

#18 0xb60e9a88 in gllEP::ep_tls_BindFramebufferEXT ()

from /usr/lib/dri/fglrx_dri.so

#19 0xb7eabf86 in QGLFramebufferObject::release ()

from /usr/lib/qt4/libQtOpenGL.so.4

#20 0xb7e9bca6 in ?? () from /usr/lib/qt4/libQtOpenGL.so.4

#21 0xb7e9e1ab in ?? () from /usr/lib/qt4/libQtOpenGL.so.4

#22 0xb7885ea7 in QPainter::drawTextItem () from /usr/lib/qt4/libQtGui.so.4

#23 0xb795ce5d in QTextLine::draw () from /usr/lib/qt4/libQtGui.so.4

#24 0xb787ff93 in ?? () from /usr/lib/qt4/libQtGui.so.4

#25 0xb78809fb in QPainter::drawText () from /usr/lib/qt4/libQtGui.so.4

#26 0x0805fea5 in GraphicsOutput::paintEvent (this=0x822c828)

Code: Select all

at ../../src/qt/GraphicsOutput.cpp:91

#27 0xb77de456 in QWidget::event () from /usr/lib/qt4/libQtGui.so.4

#28 0xb7eaeb64 in QGLWidget::event () from /usr/lib/qt4/libQtOpenGL.so.4

#29 0xb77956c5 in QApplicationPrivate::notify_helper ()

from /usr/lib/qt4/libQtGui.so.4

#30 0xb779cc1a in QApplication::notify () from /usr/lib/qt4/libQtGui.so.4

#31 0xb73de88b in QCoreApplication::notifyInternal ()

from /usr/lib/qt4/libQtCore.so.4

#32 0xb77e96de in ?? () from /usr/lib/qt4/libQtGui.so.4

#33 0xb790fa26 in QWidgetPrivate::drawWidget () from /usr/lib/qt4/libQtGui.so.4

#34 0xb79109fb in QWidget::repaint () from /usr/lib/qt4/libQtGui.so.4

#35 0xb7910bbf in ?? () from /usr/lib/qt4/libQtGui.so.4

#36 0xb77de286 in QWidget::event () from /usr/lib/qt4/libQtGui.so.4

#37 0xb7eaeb64 in QGLWidget::event () from /usr/lib/qt4/libQtOpenGL.so.4

#38 0xb77956c5 in QApplicationPrivate::notify_helper ()

from /usr/lib/qt4/libQtGui.so.4

#39 0xb779cc1a in QApplication::notify () from /usr/lib/qt4/libQtGui.so.4

#40 0xb73de88b in QCoreApplication::notifyInternal ()

from /usr/lib/qt4/libQtCore.so.4

#41 0xb73e043f in QCoreApplicationPrivate: :s endPostedEvents ()

from /usr/lib/qt4/libQtCore.so.4

#42 0xb73e069d in QCoreApplication: :s endPostedEvents ()

from /usr/lib/qt4/libQtCore.so.4

#43 0xb74038fb in ?? () from /usr/lib/qt4/libQtCore.so.4

#44 0xb72326b5 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0

#45 0xb7235a73 in ?? () from /usr/lib/libglib-2.0.so.0

#46 0x08208090 in ?? ()

#47 0x00000000 in ?? ()

 

but if it's really a driver bug, I don't know if much can be done.


Qt GUI in linux on ati-drivers

Posted: Wed May 07, 2008 4:43 pm
by mnk

With xf86-video-ati, instead of ati-drivers, it doesn't crash, but has issues with OpenGL while Composite extension is enabled (emu screen covers open menus).