Il 27/08/2016 17:26, Thiago Macieira ha scritto:

If a power cycle is required, then the main issue is not a Qt bug. It's either 
a hardware problem or a driver problem.

There may be a minor Qt bug that causes the driver to make something even 
worse. But the main issue is not in Qt.

My guess is OpenGL drivers.

Perhaps I found the cause of the hangs.
It seems GPU runs out of memory. I launched my application and though an ssh connection I printed out multiple times the GPU free mem using:

sudo vcdbg reloc | head

In the exact moment the gui freezed I read this:

Relocatable heap version 4 found at 0x1f000000
total space allocated is 492M, with 490M relocatable, 2.3M legacy and 0 offline
1 legacy blocks of size 2359296

free list at 0x3a500aa0
invalid space 0x0 in free list at 0x3a500aa0
0 free memory in 0 free block(s)
largest free block is 0 bytes

Of course I'm pretty sure I don't need all 492 MB :)  I hope, at least!
Perhaps my app is bad designed and I waste memory somewhere.

Please, I kindly ask some hints to understand how should I debug this situation. What would you do to find out where is the problem?
Because the ui is designed in QML I bet I need to search in there, not in the C++ "logic" side, don't I?

Thanks for your help
Marco



_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to