Author Topic: Qt6 Application Testing  (Read 161450 times)

roberto

  • Hero Member
  • *****
  • Posts: 810
  • Karma: +3/-6
    • View Profile
Re: Qt6 Application Testing
« Reply #345 on: May 17, 2023, 03:12:04 pm »
I'm almost certain this trap is because you're running an older Qt 6.3.2 build.
What date/time/size is \qt6\resources\icudtl.dat?
Please make sure you're running the most recent full Qt 6.3.2 build ie qt6-6.3.2-os2-20230422.zip
Yes is aprevious version.
24/02/23 10:16     10.413.488    124 a---  icudtl.dat The previuos version
With the Qt 6.3.2 build ie qt6-6.3.2-os2-20230422.zip, with dav1d_test.zip,  Qt 6.3.2 build ie qt6-6.3.2-os2-20230422.zip,
ffmpeg-chromium-6.3.2.zip
I can open almost all websites. But with YouTube, if I open www.youtube.com, it closes, but it opens the link you provided, opens and works but without sound.
It tends to close easily.
Mi uniaud16 and 32 are:
 7/12/21 19:31         68.682      0 ----  uniaud16.sys
 7/12/21 19:31        724.326      0 ----  uniaud32.sys

What version do you use your uniaud16 and 32?
saludos

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2092
  • Karma: +159/-0
    • View Profile
Re: Qt6 Application Testing
« Reply #346 on: May 18, 2023, 11:51:05 am »
I can open almost all websites. But with YouTube, if I open www.youtube.com, it closes, but it opens the link you provided, opens and works but without sound.
It tends to close easily.
Mi uniaud16 and 32 are:
 7/12/21 19:31         68.682      0 ----  uniaud16.sys
 7/12/21 19:31        724.326      0 ----  uniaud32.sys

What version do you use your uniaud16 and 32?
For sound - you need the most recently ffmpeg package I posted - I'm almost certain uniaud isn't your problem.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4714
  • Karma: +41/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Qt6 Application Testing
« Reply #347 on: May 18, 2023, 02:37:18 pm »
FYI: I Updated the first page of this thread with the updated links. Let me know if any change is needed:

Quote
- Qt6 libs (with Webengine) - https://smedley.id.au/tmp/ffmpeg-chromium-6.3.2-20230516.zip
and
- ffmpeg - https://smedley.id.au/tmp/ffmpeg-chromium-6.3.2-20230516.zip
- qt6webee - https://smedley.id.au/tmp/qt6webee-6.3.2-20230517.zip
- Dooble   -  https://smedley.id.au/tmp/dooble-20230517-os2-20230517.zip

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

roberto

  • Hero Member
  • *****
  • Posts: 810
  • Karma: +3/-6
    • View Profile
Re: Qt6 Application Testing
« Reply #348 on: May 18, 2023, 06:49:05 pm »

For me of all QT6 versions, it is this conviction that works best for me:
/bin/
10/04/23 22:57      7.216.976    401 a---  dooble23104.exe
28/02/23  9:39          5.766    124 a---  QtWebEngineProcess.exe  (To identify the version)
/lib/
26/03/23  1:29    256.468.617     34 a---  qt6webee.dll
2/03/23 23:51      1.601.277    152 a---  vpx113.dll
23/03/23 14:26      1.294.096    124 a---  dav1d6.dll  + dav1d6test.zip
12/03/23  1:14        757.493     54 a---  uniaud32.sys
25/06/17 17:11         68.682      0 a---  uniaud16.sys
ffmpeg-chromium-6.3.2.zip **EDIT***20-05-2023 There are two files with the same name, one with
3 Files, and another with hours of difference with 4 files, use the 4 files.

To this version QT6.2.4 with Runtime 6.3.2,
I am expanding the previous patch, and it is improving although it is not yet complete.
But you can see that you can expect modifying what I propose, without too many traumas to the system,
When closing the DOS sessions, everything returns to normal.
I attach a zip with  UA.bas and QBRMAS2R.Bas files
First and order is important:
execute the UA.Bas in a session and execute the UA.Bas in another session of DOS (two sessions with the same
  UA.Bas file)
Then run the QBRMAS2R.BAS in another DOS session
And I trust to open the dooble

The UA.Bas file eliminates a block of one or more processors that tends to go 100%, and when executing it
Twice it is because a program in Basic does not have enough speed to interact with the
processors By doing this, it improves a lot. On occasion and arrived 37MB of Shared High Memory.
Saludos
« Last Edit: May 20, 2023, 09:02:37 pm by roberto »

roberto

  • Hero Member
  • *****
  • Posts: 810
  • Karma: +3/-6
    • View Profile
Re: Qt6 Application Testing
« Reply #349 on: May 18, 2023, 07:06:47 pm »

For sound - you need the most recently ffmpeg package I posted - I'm almost certain uniaud isn't your problem.
The new version works worse, tested with two PCs in different versions.
saludos

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2092
  • Karma: +159/-0
    • View Profile
Re: Qt6 Application Testing
« Reply #350 on: May 18, 2023, 11:09:40 pm »

For sound - you need the most recently ffmpeg package I posted - I'm almost certain uniaud isn't your problem.
The new version works worse, tested with two PCs in different versions.
saludos

Can you help me understand what 'works worse' means? In what does it work worse?

roberto

  • Hero Member
  • *****
  • Posts: 810
  • Karma: +3/-6
    • View Profile
Re: Qt6 Application Testing
« Reply #351 on: May 19, 2023, 07:45:16 pm »
In a computer I did not open my dooble, in another the dooble opened, but the YouTube failed. If you need more details, I can try again, and attach some sigtrap or similar.
Saludos

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2092
  • Karma: +159/-0
    • View Profile
Re: Qt6 Application Testing
« Reply #352 on: May 19, 2023, 11:54:05 pm »
In a computer I did not open my dooble, in another the dooble opened, but the YouTube failed. If you need more details, I can try again, and attach some sigtrap or similar.

On the 1st case, I suspect a missing DLL - the newer ffmpeg has a LOT more dependencies. If the youtube failure is repeatable - and it traps, sure attach a TRP file.

Unfortunately, some of the TRPs are unrepeatable so almost impossible to debug.

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2092
  • Karma: +159/-0
    • View Profile
Re: Qt6 Application Testing
« Reply #353 on: May 20, 2023, 09:50:35 am »
Attached is an example of a pretty frequent SIGTRAP I see..

Trap is in:
__ZN4base6subtle26PlatformSharedMemoryRegion4TakeENS_13ScopedGenericIiNS_3os228ScopedShmemHandleCloseTraitsEEENS1_4ModeEjRKNS_16UnguessableTokenE
or
base::subtle::PlatformSharedMemoryRegion::Take(base::ScopedGeneric<int, base::os2::ScopedShmemHandleCloseTraits>, base::subtle::PlatformSharedMemoryRegion::Mode, unsigned int, base::UnguessableToken const&)

No idea why yet :)

roberto

  • Hero Member
  • *****
  • Posts: 810
  • Karma: +3/-6
    • View Profile
Re: Qt6 Application Testing
« Reply #354 on: May 20, 2023, 11:04:35 am »
Could it be a system calculation error?
With PMCal3.1
#h89000000 = -1 996 488 704
With an external website:
89000000 = 2 298 478 592

roberto

  • Hero Member
  • *****
  • Posts: 810
  • Karma: +3/-6
    • View Profile
Re: Qt6 Application Testing
« Reply #355 on: May 20, 2023, 02:08:26 pm »
On the 1st case, I suspect a missing DLL - the newer ffmpeg has a LOT more dependencies. If the youtube failure is repeatable - and it traps, sure attach a TRP file.
Unfortunately, some of the TRPs are unrepeatable so almost impossible to debug.
with dooble17052023
Applying patch  ua.bas+ua.bas+qbrmas2r.bas    single process unmark, 512mb, after 1 minuto video
6468c15f-0130_0d-QTWEBENGINEPROCESS-exceptq.txt
full window is ok

Without patch you open youtube but on the first screen I lose the mouse only within the active sale of the YouTube
I can select other flaps with mouse OK and
6468c3ce-0133_0d-DOOBLE1705-exceptq.txt

Without patch new test:
abre youtube, abre video nuevo, pantalla gris, reload , inicia y segundos despues :
6468c50b-013d_0d-DOOBLE1705-exceptq.txt

Without patch, single process MARK, 512mb, after 38 secodns:
lost the mouse and stop the video no trap I close it.

test again - Without patch, single process MARK, 512mb, :
new /home/.dooble
no abre Dooble

test again - Without patch, single process MARK, 512mb, :
open http
lost mouse after open youtube, move in tabs, and time later(10 to 30 seconds) youtube mouse is ok
 lost mouse again only in window dooble, I can not select any video , memory is stop, I close it.

Without patch - , single process MARK, 0MB , :
after open youtube close:
6468cc74-0151_15-DOOBLE1705-exceptq.txt

With SIMPLEBROWESER
open http ok, youtube open ok, selec video and close , no TRP.

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2092
  • Karma: +159/-0
    • View Profile
Re: Qt6 Application Testing
« Reply #356 on: May 20, 2023, 11:28:43 pm »
Thanks - 4 of these are the one I can often reproduce here:
 Trap  ->  B8D8A50E   QT6WEBEE  0001:054FA50E   __ZN4base6subtle26PlatformSharedMemoryRegion4TakeENS_13ScopedGenericIiNS_3os228ScopedShmemHandleCloseTraitsEEENS1_4ModeEjRKNS_16UnguessableTokenE + 5E 0001:054FA4B0 (base_jumbo_44.o)

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2092
  • Karma: +159/-0
    • View Profile
Re: Qt6 Application Testing
« Reply #357 on: May 21, 2023, 01:17:05 am »
Curious if https://smedley.id.au/tmp/qt6webee-6.3.2-20230521.zip is more stable?

I found some shared memory code which was added between 5.15 and 6.3.x that based on my reading of the code, needed tweaking for OS/2. I haven't committed the change yet (pending feedback), but in browsing a few sites in simplebrowser, I would always see at least one warning about a  process crashing, and I haven't seen one yet in 3x different sites. YMMV

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2092
  • Karma: +159/-0
    • View Profile
Re: Qt6 Application Testing
« Reply #358 on: May 21, 2023, 01:27:37 am »
OK I may have spoken too soon, but there still seems to be some benefits from this patch...

David McKenna

  • Hero Member
  • *****
  • Posts: 743
  • Karma: +24/-0
    • View Profile
Re: Qt6 Application Testing
« Reply #359 on: May 21, 2023, 03:59:08 am »
 Thanks again, Paul! This one seems to work as well as the last - not sure I see any benefits yet, but definitely not worse. Most websites seem to work as well as when using QT5 (using Dooble), except YouTube either silently exits or hangs the system, usually in about 2 or 3 minutes, sometimes immediately. Rarely get a crash with an exceptq report. This goes for the simplebrowser too. YouTube with QT5 will hang the system, but it takes longer - maybe 15 minutes - and never silently exits.

Regards,