OS2 World Community Forum

OS/2, eCS & ArcaOS - Technical => Programming => Topic started by: Martin Iturbide on January 24, 2023, 11:16:05 pm

Title: Qt6 Application Testing
Post by: Martin Iturbide on January 24, 2023, 11:16:05 pm
Hello

This is a thread to test Paul's Qt6 port and Qt6 based applications.

For the moment we have these test releases:
Quote
- Qt6 libs - https://smedley.id.au/tmp/qt6-6.2.6-os2-20231109.zip
- qt6webee - https://smedley.id.au/tmp/qt6weben-6.2.6-20231112.zip
and
- ffmpeg - https://smedley.id.au/tmp/ffmpeg-chromium-6.3.2-20230516.zip
- libvpx - https://smedley.id.au/tmp/libvpx-1.13.0-os2-20230303.zip
- dav1d - https://smedley.id.au/tmp/dav1d-1.2.0-os2-20230530.zip
 or
  https://www.os2.kr/komh/testcase/dav1d_test.zip
- yum install netlabs-exp
- yum install libvpx
- Dooble   -  https://smedley.id.au/tmp/dooble-2023.12.25-os2-qt6.2-20231225.zip



I have this optional procedure to test Dooble:
Quote
Procedure
- VIRTUALADDRESSLIMIT=2560 on Config.sys
- Deleted .doodle on Home
Then:
 set PATH=C:\qt6\bin;%PATH%
 set BEGINLIBPATH=c:\qt6\lib
 dooble --disable-gpu
Import Blocklist
- Go to Tools => Accepted / Blocked Domains. There you select Block Mode and use the button "Import..." to import the text file "blocklist.txt".
But some other procedures may apply, and different suggestions are welcome.

TEST THESE APPS

Also some other Qt6 apps to test:
Quote
- https://smedley.id.au/tmp/tea-qt-62.2.2-os2-qt6-20231227.zip

Quote
https://smedley.id.au/tmp/qtcreator-8.0.1-os2-qt6-20231229.zip
- To  start it, I needed to do:
- set  beginlibpath=u:\qtcreator\lib\qtcreator;u:\qtcreator\lib\qtcreator\plugins
- qtcreator.exe

Let me know if there are any other Qt6 applications around that we can test.

Remember you can show your appreciation to Paul at:
Quote
Paul's GitHub Sponsor page (https://github.com/sponsors/psmedley) or Paul's Arca Noae Sponsoring Page (https://www.arcanoae.com/shop/os2-ports-paul-smedley/).


Regards


NOTE: Links Updated on 2023-12-27
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on January 25, 2023, 12:40:19 am
Hi Martin,
You left out https://smedley.id.au/tmp/qt6-6.2.4-qos2-20230122.zip (https://smedley.id.au/tmp/qt6-6.2.4-qos2-20230122.zip) which is dropped into qt6\plugins\platforms and shouldn't be needed once Paul updates the whole Qt6 package eventually.
A script to set things up, this can be anywhere on the PATH and will open a VIO window where dooble can be run from. I call it as qt6env.cmd and QT6_DIR needs adjusting for individual environments.
Code: [Select]
@REM rem the @echo off line to see the output.
@ECHO off
REM point QT6_DIR to where you have installed the QT6 tree
REM Copy Dooble.* into %QT6_DIR%\bin
set QT6_DIR=L:
set PATH=%QT6_DIR%\qt6\bin;%PATH%
set BEGINLIBPATH=%QT6_DIR%\qt6\lib;%BEGINLIBPATH%
REM point %DOOBLE_HOME% to where you want the QT6 version of Dooble to store
REM its profile.
set DOOBLE_HOME=%QT6_DIR%\home
REM these are the same as command line arguments and should not be needed eventually.
set QTWEBENGINE_CHROMIUM_FLAGS="--ignore-certificate-errors --ignore-ssl-errors --log-level=1 --disable-gpu"
echo Now run Dooble from this VIO session
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on January 25, 2023, 12:54:30 am
Up to date blocklist can be generated from this URL,
https://pgl.yoyo.org/adservers/serverlist.php?hostformat=nohtml&showintro=0&mimetype=plaintext (https://pgl.yoyo.org/adservers/serverlist.php?hostformat=nohtml&showintro=0&mimetype=plaintext)
Save and import. Especially important at this stage of development as some ads have crappy JavaScript and/or certificates that crashes the browser.
Title: Re: Qt6 Application Testing
Post by: Martin Iturbide on January 25, 2023, 01:41:17 am
Up to date blocklist can be generated from this URL,
https://pgl.yoyo.org/adservers/serverlist.php?hostformat=nohtml&showintro=0&mimetype=plaintext (https://pgl.yoyo.org/adservers/serverlist.php?hostformat=nohtml&showintro=0&mimetype=plaintext)
Save and import. Especially important at this stage of development as some ads have crappy JavaScript and/or certificates that crashes the browser.

Note to self: The blocklist goes on "Tools => Accepted / Blocked Domains.".
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on January 27, 2023, 07:06:11 am
https://smedley.id.au/tmp/qt6-6.2.4-qt6gui-20230127.zip should help with issues associated with the gui's file open dialog. 
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on January 27, 2023, 08:19:25 am
https://smedley.id.au/tmp/qt6-6.2.4-qt6gui-20230127.zip should help with issues associated with the gui's file open dialog.

Works here, takes a long time to populate the drive list after clicking computer, with a couple of drives showing up right away, then a while of blocking and finally the whole thing gets populated. Could be this weird machine I'm using.
Title: Re: Qt6 Application Testing
Post by: David McKenna on January 28, 2023, 04:30:16 pm
 Hey Paul,

  Thanks for the updated qt6gui - it does fix the drive dialogs nicely here! I don't see any hesitations with populating a list like Dave does...

Regards,
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on January 29, 2023, 10:17:36 am
Hey guys, took a bit longer than I'd planned, but there's a new qt6 package that rolls all the latest code into a single drop.

I've also run highmem on \qt6\lib\* and \qt6\plugins\*

Dropbox link is https://www.dropbox.com/s/qax8lg7txx04s81/qt6-6.2.4-os2-20230129.zip?dl=0

The file is also on my web server - from the link above, people should be able to figure it out in the event that dropbox doesn't work.

I also resolved a bunch of dll name clashes in qtdeclarative - which should help some of the examples.
Title: Re: Qt6 Application Testing
Post by: Martin Iturbide on January 29, 2023, 01:58:31 pm
Thanks Paul

I've also run highmem on \qt6\lib\* and \qt6\plugins\*

Does it means we no longer have to run highmen manually? or that we need to run highmen on both directories now?

Regards
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on January 29, 2023, 09:34:53 pm
Thanks Paul

I've also run highmem on \qt6\lib\* and \qt6\plugins\*

Does it means we no longer have to run highmen manually? or that we need to run highmen on both directories now?

It means that all DLLs in \qt6\lib & \qt6\plugins have ALREADY had highmem run on them. The aim was to make things easier for someone starting with Qt.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on January 30, 2023, 08:41:00 am
https://smedley.id.au/tmp/qt6-6.2.4-qos2-20230130.zip has a better fix for the window scaling issue. Font sizes should now be correct, and menus still in the right position :)
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on January 30, 2023, 05:42:45 pm
https://smedley.id.au/tmp/qt6-6.2.4-qos2-20230130.zip has a better fix for the window scaling issue. Font sizes should now be correct, and menus still in the right position :)

This looks much better, still has a lighter weight then usual here but the font size is close to what it should be and easier on the eyes
Edit: I also see the text in the URL bar is slightly larger then ideal, not a big deal.
Title: Re: Qt6 Application Testing
Post by: KO Myung-Hun on February 01, 2023, 12:17:51 pm
Hi/2, Paul.

I'm trying to build VLC with Qt6. However, Qt6 does not provide any *.pc files for pkg-config.

Would you mind providing them ?

KO Myung-Hun
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 02, 2023, 09:25:35 pm
Hey KO!!

I'm trying to build VLC with Qt6. However, Qt6 does not provide any *.pc files for pkg-config.

Would you mind providing them ?

The Qt6 build procoess doesn't seem to generate them, let me investigate.

Cheers,

Paul
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 03, 2023, 01:01:47 am
Hi again,

Hey KO!!

I'm trying to build VLC with Qt6. However, Qt6 does not provide any *.pc files for pkg-config.

Would you mind providing them ?

The Qt6 build procoess doesn't seem to generate them, let me investigate.

Seems this was fixed in 6.2.5 according to https://bugreports.qt.io/browse/QTBUG-86080

Qt 6.2.5 is Commercial only for 12 months after it's release, so I'll have to try and apply the 6.2 patch from https://codereview.qt-project.org/c/qt/qtbase/+/405679
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 04, 2023, 01:25:52 am
Hi again,

Hey KO!!

I'm trying to build VLC with Qt6. However, Qt6 does not provide any *.pc files for pkg-config.

Would you mind providing them ?

The Qt6 build procoess doesn't seem to generate them, let me investigate.

Seems this was fixed in 6.2.5 according to https://bugreports.qt.io/browse/QTBUG-86080

Qt 6.2.5 is Commercial only for 12 months after it's release, so I'll have to try and apply the 6.2 patch from https://codereview.qt-project.org/c/qt/qtbase/+/405679

For the base libraries at least, PC files are in https://smedley.id.au/tmp/qt6-6.2.4-pkgconfig.zip
Title: Re: Qt6 Application Testing
Post by: KO Myung-Hun on February 08, 2023, 12:09:49 pm
Hi/2.

I've built VLC successfully with .pc files extracted from MSYS2 packages, modified in according to your .pc files and renamed to Qt5*.pc.

However, VLC fails at startup due to SIGSEGV in Qt6Core.dll. I attach .pc files and EXCEPTQ log.

Thanks!

KO Myung-Hun
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 11, 2023, 10:08:13 am
Found the cause of at least one of the silent exits - new qt6webee.dll is at https://smedley.id.au/tmp/qt6webee-20230211.zip

I can now log into one of my banks internet banking without a silent exit.

If there are other URLs that still cause silent exits, please post them here.
Title: Re: Qt6 Application Testing
Post by: Martin Iturbide on February 11, 2023, 02:47:56 pm
Hi

Quote
- Qt6 libs - https://www.dropbox.com/s/qax8lg7txx04s81/qt6-6.2.4-os2-20230129.zip?dl=0
- qos2 Scale Fix - https://smedley.id.au/tmp/qt6-6.2.4-qos2-20230130.zip
- qt6webee -  https://smedley.id.au/tmp/qt6webee-20230211.zip
- Dooble   -  https://smedley.id.au/tmp/dooble-2023.01.18-os2-qt6-20230121.zip

Using those files, I'm not sure what is wrong in my configuration, but I can not render any page on Dooble.  I had unchecked also Javascript from the browser tab, but it will not yet load.
Suggestions are welcome.

Regards
Title: Re: Qt6 Application Testing
Post by: David McKenna on February 11, 2023, 02:51:21 pm
Hi Martin,

  Did you turn off the splash screen on Dooble start? If so, try turning it back on, then restart Dooble. Here I can't render any page without the splash screen for some weird reason...

Regards,
Title: Re: Qt6 Application Testing
Post by: Martin Iturbide on February 11, 2023, 02:58:02 pm
Hi David

I see the splash screen. I even remove the "dooble" directory from home before starting, just to start clean.
The pages just stays there loading with the little animation on the tab.

Regards
Title: Re: Qt6 Application Testing
Post by: Mike Kölling on February 11, 2023, 03:10:06 pm
Hi

Quote
- Qt6 libs - https://www.dropbox.com/s/qax8lg7txx04s81/qt6-6.2.4-os2-20230129.zip?dl=0
- qos2 Scale Fix - https://smedley.id.au/tmp/qt6-6.2.4-qos2-20230130.zip
- qt6webee -  https://smedley.id.au/tmp/qt6webee-20230211.zip
- Dooble   -  https://smedley.id.au/tmp/dooble-2023.01.18-os2-qt6-20230121.zip

Using those files, I'm not sure what is wrong in my configuration, but I can not render any page on Dooble.  I had unchecked also Javascript from the browser tab, but it will not yet load.
Suggestions are welcome.

Regards

Hi Martin,
I did need to import the blocklist file (blocklist.txt) Dave had proposed earlier in this thread.
In addition I did set the "SET DOOBLE_HOME=X:\Dooblehome" in the config.sys.
And I do start dooble-qt6 with a small cmd:
"set PATH=F:\QT6Test\qt6\bin;%PATH%
set BEGINLIBPATH=F:\QT6Test\qt6\lib
set QTWEBENGINE_CHROMIUM_FLAGS="ignore-certificate-errors -ignore-ssl-errors -log-level=1"
dooble.exe"

I placed the files as follows:
F:\QT6Test\QT6\..
F:\QT6Test\Dooble\..

I put my start cmd in the folder "F:\QT6Test\Dooble\"

Hope that helps.
Mike
Title: Re: Qt6 Application Testing
Post by: Martin Iturbide on February 11, 2023, 03:36:32 pm
Hi Mike

Thanks for reminding me again about the blocklist. I had included it on the initial instructions just in case.

I modified my startup script to:
Quote
set EXCEPTQ=ZZ
set PATH=C:\qt6\bin;%PATH%
set BEGINLIBPATH=c:\qt6\lib
set QTWEBENGINE_CHROMIUM_FLAGS="ignore-certificate-errors -ignore-ssl-errors -log-level=1"
dooble

But I can not load any page.

Regards
Title: Re: Qt6 Application Testing
Post by: roberto on February 11, 2023, 07:24:39 pm

I did need to import the blocklist file (blocklist.txt) Dave had proposed earlier in this thread.
I
I don't need the bolcklist
saludos
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 11, 2023, 10:27:26 pm
Hi Martin,

Thanks for reminding me again about the blocklist. I had included it on the initial instructions just in case.

I modified my startup script to:
Quote
set EXCEPTQ=ZZ
set PATH=C:\qt6\bin;%PATH%
set BEGINLIBPATH=c:\qt6\lib
set QTWEBENGINE_CHROMIUM_FLAGS="ignore-certificate-errors -ignore-ssl-errors -log-level=1"
dooble

But I can not load any page.

I have seen this before, and importing the blocklist seemed to help. A couple of comments:
I don't think you need to set 'QTWEBENGINE_CHROMIUM_FLAGS' - I can't see that it would stop things working, but who knows.

Same with setting EXCEPTQ parameters - that was an attempt to force a dump on exit - it didn't work anyway. Other than that, I have very few ideas. Do you have another machine/VM you can test on, just to rule out anything in the environment/dependencies?
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 12, 2023, 01:38:51 am
https://smedley.id.au/tmp/qt6webee-20230212.zip fixes a crash when saving a page as a PDF
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 12, 2023, 05:45:52 am
Latest dooble from 2023.01.30 - https://smedley.id.au/tmp/dooble-2023.01.30-os2-qt6-20230212.zip
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on February 12, 2023, 06:30:18 am
https://smedley.id.au/tmp/qt6webee-20230212.zip fixes a crash when saving a page as a PDF

Needs highmem -c ran against it.
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on February 12, 2023, 06:59:34 am
Hi Martin, have you tried reclicking and hitting Enter in the URL bar after entering an URL? Here, I often have to that before a page loads.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 12, 2023, 07:15:45 am
https://smedley.id.au/tmp/qt6webee-20230212.zip fixes a crash when saving a page as a PDF

Needs highmem -c ran against it.

Should be fixed now - thanks for highlighting it.
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on February 12, 2023, 07:29:00 am
Thought I'd get brave and ran highmem -b *.dll in qt6\lib. Seems OK so far.
I found with Mozilla that some versions were fine with -b and others crashy, but fine with -c.
BTW, is spell correction working for anyone? I noticed that I hadn't ticked any languages so ticked en_US and en_GB (we use a hybrid in Canada), still not working here.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 12, 2023, 07:36:08 am
Let us knwo how you go with highmem -b.

re: spellcheck - I seem to recall Dave Mckenna commenting that it didn't work.

config.summary shows:
Code: [Select]
  Spellchecker ........................... yes
  Native Spellchecker .................... no

No idea what native spellchecker is <shrug>
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on February 12, 2023, 08:00:43 am
Stable here so far.
Hunspell might work as Native Spell checker, there's aspell as well. Try installing the devel packages.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 12, 2023, 08:36:01 am
Stable here so far.
Hunspell might work as Native Spell checker, there's aspell as well. Try installing the devel packages.

There is a copy of Hunspell  in https://github.com/psmedley/qt6-webengine-os2/tree/main/src/3rdparty/chromium/third_party/hunspell

I tried installing hunspell-devel didn't make any difference.

Looking into *cmake* now to see what references there are to 'spell'

Reviewed configure output, and installed a bunch of other libs that weren't being detected. Determined to get out html5test higher than the qt5 one :)
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on February 12, 2023, 08:53:23 am
What about FFmpeg? Mozilla dynamically loaded it, which meant patching for our 8.3 DLL names.
As for Hunspell, I forgot to enable system Hunspell with SeaMonkey, works the same as FF and TB where we do use the system Hunspell. Not sure if Bitwise ever patched it.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 12, 2023, 09:05:54 am
I don't see any way to enable system hunspell. I might look at applying the bww patches to the code that's in third_party.

configure output is attached... I hadn't thought to check if it's dynamically loading DLL's
Title: Re: Qt6 Application Testing
Post by: roberto on February 12, 2023, 12:19:32 pm
This website blocks me the browser, when I try to select another graph, days, months, years, etc.
https://finance.yahoo.com/quote/AA?p=AA&.tsrc=fin-srch

The title of the text of the photo that attached this defective, compare it with the same text below (inside the photo)

In Ing bank I can enter !!, but once inside the dooble is blocked, as in Yahoo.

In Google, when introducing the password, if you have special characters, such as | \ €@| , Algr+Key fails, I can only do it with Copy Paste, writing it somewhere else and sticking it.

YouTube, fails too.
You are improving, thanks.
Title: Re: Qt6 Application Testing
Post by: Mike Kölling on February 12, 2023, 01:55:46 pm
Let us knwo how you go with highmem -b.

I applied highmem -b to all DLLs in "QT6\lib". Works fine for ms so far.
Greetings, Mike
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 12, 2023, 09:19:16 pm
With https://smedley.id.au/tmp/qt6webee-20230213.zip I installed a few more libs (opus, vpx, webp) and re-ran configure - html5test score is the same, but it now has a tick against h.264 support

For any hangs that are reproduceable, try and capture the stdout output to see if it logs anything interesting.

ie
dooble.exe >stdout 2>stderr and if there's a hang - check for any messages that might gives clues
Title: Re: Qt6 Application Testing
Post by: David McKenna on February 12, 2023, 10:17:31 pm
Hey Paul,

  Thanks for adding H.264 support! Don't know if you noticed, but if you click on the description of a feature on the html5test result, you get a popup that shows the status (stable, experimental, etc.), point value, and 'compare' which in turn goes to a page that shows which browsers support the feature. There are several items that are supported by Chrome (with stable status), but not enabled in our Dooble.

  Here, I can reliably get a system hang going to https://www.youtube.com . Tried capturing stdout and stderr using your example and went to youtube (which immediately hung the system), but after a <ctrl><alt><num-lock><num-lock>, stdout and stderr were both 0 bytes (<ctrl><alt><del> doesn't work when Dooble hangs).

  I can provide a system dump from one of these hangs if you ever need one.

Regards,
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 12, 2023, 10:27:45 pm
Hey Dave,

Yeah I saw that hang with YouTube too. I frankly have not much clue what to do with a dump - using them to fix a trap in unique is one thing, debugging a hang is another.

On other news, the dooble maintainer accepted the patches for os2 in https://github.com/textbrowser/dooble/pull/157

I'm not sure if bww ever tried to submit these previously.
Title: Re: Qt6 Application Testing
Post by: Roderick Klein on February 12, 2023, 10:40:12 pm
Hey Dave,

Yeah I saw that hang with YouTube too. I frankly have not much clue what to do with a dump - using them to fix a trap in unique is one thing, debugging a hang is another.

On other news, the dooble maintainer accepted the patches for os2 in https://github.com/textbrowser/dooble/pull/157

I'm not sure if bww ever tried to submit these previously.

I think it has never been done because the browser was still in development stage. And Dmitry was short on time last year.

Roderick
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on February 12, 2023, 10:58:51 pm
Dmitry doesn't seem to like submitting patches upstream, too time intensive.
Title: Re: Qt6 Application Testing
Post by: roberto on February 12, 2023, 11:15:01 pm
-Paul
When the Dooble slows down, it coincides with my memory indicator showing movements of plus or minus 10000 BYTES, but I have much more free memory.
I attach a zip with two stderr.

-David
I understand that in order to get the stderr you need to close the Dooble, with crtl + q or the menu. Never with the top right button, I think that's the same as when he closes himself.
Saludos
Title: Re: Qt6 Application Testing
Post by: Andy Willis on February 12, 2023, 11:26:21 pm
Hey Paul,

  Thanks for adding H.264 support! Don't know if you noticed, but if you click on the description of a feature on the html5test result, you get a popup that shows the status (stable, experimental, etc.), point value, and 'compare' which in turn goes to a page that shows which browsers support the feature. There are several items that are supported by Chrome (with stable status), but not enabled in our Dooble.

  Here, I can reliably get a system hang going to https://www.youtube.com . Tried capturing stdout and stderr using your example and went to youtube (which immediately hung the system), but after a <ctrl><alt><num-lock><num-lock>, stdout and stderr were both 0 bytes (<ctrl><alt><del> doesn't work when Dooble hangs).

  I can provide a system dump from one of these hangs if you ever need one.

Regards,

I get frequent system hangs with both QT5 and QT6 Dooble.  I found marking dooble.exe and the QtWebEngineProcess.exe as mpunsafe largely alleviating them.  Neither the 14.203 kernel nor SET QTWEBENGINE_CHROMIUM_FLAGS=--single-process were effective for me for eliminating the hangs.

P.S.
Just tried youtube and hung system despite the mpunsafe. It is not immediate, has one processor at 100% for 30-45s before the hang and if I close dooble (before system hang) it leaves a hung process that I have to DosKillProcess. 
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 13, 2023, 12:26:17 am
Dmitry doesn't seem to like submitting patches upstream, too time intensive.

I raised the PR last night, this morning my time, it was accepted. I get that on some projects, it's too time intensive, but if you don't at least try, then you live with the extra time/effort of re-merging every time there's a new release.

I get that with something like Qt, there is an almost zero chance of the patches being accepted, but I figured it was worth a shot.
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on February 13, 2023, 02:22:22 am
P.S.
Just tried youtube and hung system despite the mpunsafe. It is not immediate, has one processor at 100% for 30-45s before the hang and if I close dooble (before system hang) it leaves a hung process that I have to DosKillProcess.

Tested the same way here, performance was crap on Youtube, barely able to scroll a bit while seemingly hung and after some minutes, it hung the system.
Andy, as you seem to be more affected, perhaps an issue with Bitwise is called for? Youtube is the only site so far that has hung the system here.
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on February 13, 2023, 02:31:06 am
Tried to watch Big Buck Bunny, as a test of the libvpx, https://studio.blender.org/films/big-buck-bunny/ (https://studio.blender.org/films/big-buck-bunny/), it crashed in libvpx/source/libvpx/vp8/common/x86/subpixel_mmx.asm by the looks of it.
Trp attached.
Edit: It was the Youtube stream it tried to play. I'll try a local copy.
Edit2: The only one that seems to play is the OGG, h264 just triggers a download even with Paul's latest with H264 support. The performance of the OGG is iffy as well. https://download.blender.org/peach/bigbuckbunny_movies/ (https://download.blender.org/peach/bigbuckbunny_movies/) has various copies.
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on February 13, 2023, 02:53:03 am
Actually the OGG plays terrible in SM as well. Tried the 320x180 mp4, didn't think it would play and then it did, once again with crappy performance. Perhaps need to undo the mpunsafe.
BTW, to go full screen with Dooble, do CTRL-F11 instead of the usual F11.
Edit: the OGG's work well without mpunsafe.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 13, 2023, 08:48:44 am
@Martin - can you add the following apps to test to the 1st post?

https://smedley.id.au/tmp/focuswriter-1.8.3-qt6-20221128.zip
https://smedley.id.au/tmp/scribus-1.7.0svn-os2-qt6-20221204.zip
https://smedley.id.au/tmp/tea-qt-62.0.2-os2-qt6-20221204.zip

@Roberto - are you able to confirm the issues with special characters also exist with one one the above? (Suggest tea would be the easiest to test with)
Title: Re: Qt6 Application Testing
Post by: Martin Iturbide on February 13, 2023, 01:30:07 pm
Hi.
I just updated the first post with the latest links. Let me know if something is missing.
Regards
Title: Re: Qt6 Application Testing
Post by: roberto on February 13, 2023, 05:34:44 pm
@Martin - can you add the following apps to test to the 1st post?

https://smedley.id.au/tmp/focuswriter-1.8.3-qt6-20221128.zip
https://smedley.id.au/tmp/scribus-1.7.0svn-os2-qt6-20221204.zip
https://smedley.id.au/tmp/tea-qt-62.0.2-os2-qt6-20221204.zip

@Roberto - are you able to confirm the issues with special characters also exist with one one the above? (Suggest tea would be the easiest to test with)
With tea I can write \|@{[]
With tea I can not write }� euro

With focuswriter I can write \|@{[]#
With focuswriter I can not write the euro caracter , in this case the focus go to menu focuswriter
But after run focuswriter I start tea again for test #, and after this I can write in tea utf-8, all caracters.???
My codepage is 850,347
With scribus --fail to me I can not start it--
In google password with |@ send mi to another tab open.
In google password with \[]{ without problems
In google password with #�} only no display de key. The caracter ? in black is euro, I can not write here too.

saludos
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 13, 2023, 08:28:24 pm
Thanks Roberto - do these work in Qt 5?
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 13, 2023, 08:53:29 pm
Hey Dave,

Yeah I saw that hang with YouTube too. I frankly have not much clue what to do with a dump - using them to fix a trap in unique is one thing, debugging a hang is another.

On other news, the dooble maintainer accepted the patches for os2 in https://github.com/textbrowser/dooble/pull/157

I'm not sure if bww ever tried to submit these previously.

OS/2 is now listed in README and README.md as well at https://github.com/textbrowser/dooble
Title: Re: Qt6 Application Testing
Post by: roberto on February 13, 2023, 09:35:28 pm
Thanks Roberto - do these work in Qt 5?
In qt5 google password
Are ok @|#[]{
Fail } euro

Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 13, 2023, 10:47:33 pm
Thanks Roberto, I'll raise a ticket against qtbase and investigate when time permits. Hopefully, I misapplied a patch and with the possible exception of the euro, it's a comparatively easy fix.
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on February 13, 2023, 11:13:21 pm
Hi Paul, looking at the trp file I posted, it seems libvpx is not right. Too many segments and no disassembly. (hopefully it isn't using AVX)
Might be simpler to just build libvpx and use the external libvpx.
Ugly Duckling (v1.13.0) was released on the 9th and it builds out of the box, though I did have to add -Zmap to build/make/configure.sh to get a map file and there's a couple of Bitwise patches that can be added later such as adding bldlevel info.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 14, 2023, 12:05:41 am
Hi Dave, will double check libvpx at some point to ensure all relevant bww patches are in there. I don't think I did anything specifically to prevent AVX, so it probably is using it.

What's Ugly Ducking? got a link?

Meanwhile, there's a fresh 'full package' at https://www.dropbox.com/s/2om1wusf843us7j/qt6-6.2.4-os2-20230214.zip?dl=0 which rolls up some of the fixes post the last full build into one package.

New is a built of Qt Positioning - which should help geolocation. html5test is still at 519 - I thought including QtPositioning might bump us up a little :)

No other significant changes in this...

Cheers,

Paul
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on February 14, 2023, 01:13:51 am
Git repository, https://chromium.googlesource.com/webm/libvpx/+/refs/tags/v1.13.0 (https://chromium.googlesource.com/webm/libvpx/+/refs/tags/v1.13.0)
Tarball, https://storage.googleapis.com/downloads.webmproject.org/releases/webm/libvpx-1.13.0.tar.gz (https://storage.googleapis.com/downloads.webmproject.org/releases/webm/libvpx-1.13.0.tar.gz)
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 14, 2023, 02:58:01 am
Git repository, https://chromium.googlesource.com/webm/libvpx/+/refs/tags/v1.13.0 (https://chromium.googlesource.com/webm/libvpx/+/refs/tags/v1.13.0)
Tarball, https://storage.googleapis.com/downloads.webmproject.org/releases/webm/libvpx-1.13.0.tar.gz (https://storage.googleapis.com/downloads.webmproject.org/releases/webm/libvpx-1.13.0.tar.gz)
Thanks Dave - I'll take a look. Sorry - 'Ugly Duckling' being a code name for vpx was too cryptic for me :)
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on February 14, 2023, 03:11:33 am
Git repository, https://chromium.googlesource.com/webm/libvpx/+/refs/tags/v1.13.0 (https://chromium.googlesource.com/webm/libvpx/+/refs/tags/v1.13.0)
Tarball, https://storage.googleapis.com/downloads.webmproject.org/releases/webm/libvpx-1.13.0.tar.gz (https://storage.googleapis.com/downloads.webmproject.org/releases/webm/libvpx-1.13.0.tar.gz)
Thanks Dave - I'll take a look. Sorry - 'Ugly Duckling' being a code name for vpx was too cryptic for me :)

All the releases have had duck names, though it seems they're running out :)
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 14, 2023, 03:56:07 am
From what I can see, the only thing missing in the chromium version of libvpx was -mstackalign. I updated build.gn and set a build going. Will see if it makes any difference. For now, thats easier than having another dependency that's not in rpm...
Title: Re: Qt6 Application Testing
Post by: Martin Iturbide on February 14, 2023, 04:33:06 am

Quote
- Qt6 libs - https://www.dropbox.com/s/2om1wusf843us7j/qt6-6.2.4-os2-20230214.zip?dl=0
- Dooble   -  https://smedley.id.au/tmp/dooble-2023.01.30-os2-qt6-20230212.zip

I have this optional procedure to test Dooble:
Quote
Procedure
- VIRTUALADDRESSLIMIT=2560 on Config.sys
- Deleted .doodle on Home
Then:
 set PATH=C:\qt6\bin;%PATH%
 set BEGINLIBPATH=c:\qt6\lib
 dooble --disable-gpu
Import Blocklist
- Go to Tools => Accepted / Blocked Domains. There you select Block Mode and use the button "Import..." to import the text file "blocklist.txt".

Hi

I started from scratch with this new release of Qt6 and now Dooble is working fine, it is rendering web pages again. No need to add the blocklist.
Seems that I have something strange in my last VM that got wiped with this new one.

https://html5test.com/ gives me 516.

I got this on the dooble command line.
Quote
[C:\HOME\DESKTOP\DOOBLE-2023.01.30-OS2-QT6-20230212]dooble --disable-gpu
[66:7:0213/223038.578000:ERROR:nss_util.cc(177)] Error initializing NSS with a p
ersistent database (sql:C:\Home\.pki\nssdb): NSS error code: -8174
js: The 'options' directive has been replaced with 'unsafe-inline' and 'unsafe-e
val' source expressions for the 'script-src' and 'style-src' directives. Please
use those directives instead, as 'options' has no effect.
qt.qpa.mime: isDelayed true
qt.qpa.mime: convert to format f691 "text/unicode" flags 400 data 0 isDelayed tr
ue ok true
qt.qpa.mime: convert to format 1 "#1\u0000\u0000\u0000\u0000" flags 400 data 0 i
sDelayed true ok true
qt.qpa.mime: convert to format 1 "#1\u0000\u0000\u0000\u0000" flags 400 data 10e
e0000 isDelayed false ok true

Regards
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on February 14, 2023, 05:16:46 am
From what I can see, the only thing missing in the chromium version of libvpx was -mstackalign. I updated build.gn and set a build going. Will see if it makes any difference. For now, thats easier than having another dependency that's not in rpm...

Yes, it is likely needed, it's a shame exceptq didn't disassemble the instructions. Just worry about the alignment with obj format, there's limits.
I should test with the stand alone libvpx.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 14, 2023, 08:40:50 am
Thanks Roberto, I'll raise a ticket against qtbase and investigate when time permits. Hopefully, I misapplied a patch and with the possible exception of the euro, it's a comparatively easy fix.
https://github.com/psmedley/qt6-base-os2/issues/13
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 14, 2023, 09:12:17 am
Too hard to explain the specifics, but i built a WIP (work in progress) qt6webee.dll with -mstackrealign applied to the in-tree libvpx. With this DLL, I can 'Watch Live' at https://www.abc.net.au/news/newschannel/ for the 1st time. https://smedley.id.au/tmp/qt6webee-20230214.zip

I did get a crash from a video on youtube though - libvpx is definitely still implicated.... POssibly worth reviewing https://github.com/psmedley/qt6-webengine-os2/commit/805bf77f6685a414b4688534b440b001a7c6252c

Edit: screenshot attached before it crashed :)
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 14, 2023, 10:19:08 am
Hi/2.

I've built VLC successfully with .pc files extracted from MSYS2 packages, modified in according to your .pc files and renamed to Qt5*.pc.

However, VLC fails at startup due to SIGSEGV in Qt6Core.dll. I attach .pc files and EXCEPTQ log.

Thanks!

Are you able to raise a ticket for this at my GitHub?
Title: Re: Qt6 Application Testing
Post by: roberto on February 14, 2023, 04:58:17 pm
Too hard to explain the specifics, but i built a WIP (work in progress) qt6webee.dll ........... for the 1st time. https://smedley.id.au/tmp/qt6webee-20230214.zip
When Dooble executes with this new DLL, this replies this:
SYS1804: The system cannot find the file QT6POSIG.

saludos
Title: Re: Qt6 Application Testing
Post by: TeLLie on February 14, 2023, 08:17:05 pm
Hi Roberto

Maybe this new version is required...

https://www.dropbox.com/s/2om1wusf843us7j/qt6-6.2.4-os2-20230214.zip?dl=0
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 14, 2023, 08:51:48 pm
Hi Roberto

Maybe this new version is required...

https://www.dropbox.com/s/2om1wusf843us7j/qt6-6.2.4-os2-20230214.zip?dl=0

Tellie wins a prize :) The 'full' builds include all 'public' fixes, but from time to time, will include additional changes that haven't been released elsewhere. I did mention QtPositioning when I posted the link to the 'full' build but I guess I wasn't explicit enough.
Title: Re: Qt6 Application Testing
Post by: roberto on February 14, 2023, 09:44:46 pm
wow!!!
Title: Re: Qt6 Application Testing
Post by: TeLLie on February 14, 2023, 10:15:03 pm
Hi all,
Uploaded 2 new progs to /test/QT6

Iqpuzzle-1.2.9-qt6.zip and QtTube-14-02-2023.zip


QtTube is a Qt frontend for YouTube, made in C++. It aims to provide all of the features of the YouTube website, many of which other frontends do not include, while maintaining as much privacy as possible.

Features
FULLY FUNCTIONAL YouTube login.
TOTAL INTEGRATION with YouTube. This means, assuming you haven't turned the features off in the Settings and you are logged in, videos you watch will be saved in your History and tweak your recommendations across not only this application but also the YouTube website and app.
Home page and watch page.
Roadmap
This list is ordered by priority. Everything will likely be added in this order.

Description, recommendations, etc. on watch page
Account menu
Switch video player from an embed of YouTube's player to one based off of libmpv
Subscriptions/history export

I can login to Youtube  but then it stops for me

Maybe any of you are more lucky and should play video's
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 14, 2023, 11:53:47 pm
Stops as in just stalls playing, or stops as in silent exit?
Title: Re: Qt6 Application Testing
Post by: David McKenna on February 15, 2023, 12:06:01 am
 Thanks, Tellie for QtTube! I can run it, and log in, but all searches fail. Even a search on 'Cats' :-)

Regards,
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on February 15, 2023, 01:19:17 am
Ran "make test" on libvpx with the default aout build, not even linked with -Zomf,
Code: [Select]
[----------] Global test environment tear-down
[==========] 910 tests from 53 test suites ran. (1108319 ms total)
[  PASSED  ] 910 tests.

  YOU HAVE 4 DISABLED TESTS

It downloaded a couple of GB's of yuv files and took perhaps 6 hours. I'll try adding -Zomf to CFLAGS, LDFLAGS etc along with your patch and run the test tonight.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 15, 2023, 01:29:23 am
Hey Dave,

Ran "make test" on libvpx with the default aout build, not even linked with -Zomf,
Code: [Select]
[----------] Global test environment tear-down
[==========] 910 tests from 53 test suites ran. (1108319 ms total)
[  PASSED  ] 910 tests.

  YOU HAVE 4 DISABLED TESTS

It downloaded a couple of GB's of yuv files and took perhaps 6 hours. I'll try adding -Zomf to CFLAGS, LDFLAGS etc along with your patch and run the test tonight.

Maybe I should distribute a libvpx.dll and go the system DLL route, ideally bww would update the existing rpm to a version that chromium from Qt6 is happy with....
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on February 15, 2023, 04:03:04 am
There's always the static lib route as well. Thing is that you made the same changes to all the x86inc.asm to support OMF. They seem correct to me but lets see how this test goes.
Edit: one good thing is libvpx8.dll is versioned.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 15, 2023, 06:55:18 am
There's always the static lib route as well. Thing is that you made the same changes to all the x86inc.asm to support OMF. They seem correct to me but lets see how this test goes.
Edit: one good thing is libvpx8.dll is versioned.
Good point re: static.

-- Checking for module 'vpx>=1.10.0'
--   Found vpx, version 1.13.0

Will see what happens once it builds....
Title: Re: Qt6 Application Testing
Post by: TeLLie on February 15, 2023, 07:12:43 am
Stops as in just stalls playing, or stops as in silent exit?

Hi Paul
It just stops the program.
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on February 15, 2023, 08:13:40 am
There's always the static lib route as well. Thing is that you made the same changes to all the x86inc.asm to support OMF. They seem correct to me but lets see how this test goes.
Edit: one good thing is libvpx8.dll is versioned.
Good point re: static.

-- Checking for module 'vpx>=1.10.0'
--   Found vpx, version 1.13.0

Will see what happens once it builds....

Never had any luck with make test after the hassle of switching to a pure OMF build,
Code: [Select]
make[1]: Nothing to be done for `test'.
make[1]: Nothing to be done for `test'.
make[1]: Nothing to be done for `test'.
make[1]: Nothing to be done for `test'.

Maybe due to no longer using GNU strip (I replaced it with echo to get the build to finish). Seems to depend on nm for setting up the test conditions if I understand correctly, and that's a big if.
Maybe there's a reason that it uses pure aout, though should check LDFLAGS=-Zomf
Anyways at least using your vpx_ports/x86_abi_support.asm and x86inc.asm from the Qt6 webengine's libvpx worked to build it.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 15, 2023, 10:24:43 am
I ran out of time to test, but https://smedley.id.au/tmp/qt6webee-20230215.zip should use libvpx 1.13
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on February 15, 2023, 04:59:23 pm
I ran out of time to test, but https://smedley.id.au/tmp/qt6webee-20230215.zip should use libvpx 1.13

Youtube still silently exits when trying to play a video, this webm plays, https://dl6.webmfiles.org/SUV-Iceland.webm (https://dl6.webmfiles.org/SUV-Iceland.webm) as well as this VP9 one, https://www.base-n.de/webm/VP9 Sample.html (https://www.base-n.de/webm/VP9 Sample.html), there's a VP8 one that plays too.
Edit: Youtube test video plays well as well, https://www.youtube.com/watch?v=VhZtweWFtVI (https://www.youtube.com/watch?v=VhZtweWFtVI)
Title: Re: Qt6 Application Testing
Post by: roberto on February 15, 2023, 05:02:43 pm
wow!!!
My mistake, I was executing Dooble QT5
But I tell you, keep in a new folder the Tellie,https://www.dropbox.com/s/2om1wusf843us7j/qt6-6.2.4-os2-20230214.zip?dl=0
And start /QT6/bin/dooble.exe As the Dooble.exe program was not, the QT5 dooble was loaded

And the HTLM5test program gave me 522, now qt6 =519 ???


-Tellie
Can you put the link to those two test programs?
Where can I download Libvpx1.13
Saludos

Title: Re: Qt6 Application Testing
Post by: Dave Yeo on February 15, 2023, 05:12:15 pm
Where can I download Libvpx1.13
Saludos

It is included (statically linked into) the download Paul posted a couple of messages up. Statically linked means don't need a DLL.
Title: Re: Qt6 Application Testing
Post by: roberto on February 15, 2023, 08:23:05 pm
And the HTLM5test program gave me 522, now qt6 =519 ???
The difference is in the Web Application cache, attached photo.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 15, 2023, 08:57:40 pm
And the HTLM5test program gave me 522, now qt6 =519 ???
The difference is in the Web Application cache, attached photo.
Interestingly, Dooble on Qt 6.2.4 under linux is the same....
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 15, 2023, 08:59:49 pm
Hey Dave,

I ran out of time to test, but https://smedley.id.au/tmp/qt6webee-20230215.zip should use libvpx 1.13

Youtube still silently exits when trying to play a video, this webm plays, https://dl6.webmfiles.org/SUV-Iceland.webm (https://dl6.webmfiles.org/SUV-Iceland.webm) as well as this VP9 one, https://www.base-n.de/webm/VP9 Sample.html (https://www.base-n.de/webm/VP9 Sample.html), there's a VP8 one that plays too.
Edit: Youtube test video plays well as well, https://www.youtube.com/watch?v=VhZtweWFtVI (https://www.youtube.com/watch?v=VhZtweWFtVI)

Video is definitely still unstable....

Using my 'special' libcn0.dll - which does an exceptq report on every call to exit() or _exit() - I get the attached... will look at it later...

edit: looking at QtWebEngineCore_archives.rsp  it still had a reference to: libbundled_libvpx.a & libvpx_asm.a - so I'm now not confident it was using the updated vpx...

edit2: it wasn't - but using my libvpx I'm getting:
Code: [Select]
weakld: C:\usr\local\lib\libvpx.lib(vp9_quantize_avx2.c.obj) - error: Duplicate
symbol '_vp9_quantize_fp_avx2' ('_vp9_quantize_fp_avx2').
weakld: C:\usr\local\lib\libvpx.lib(vp9_rtcd.c.obj) - error: Symbol previosly de
fined in this module.
weakld: info: fFlags new 0x0201  fFlags old 0x0001 (PUBLIC).
weakld: C:\usr\local\lib\libvpx.lib: error: Failed when reading module at offset
 202a00.
emxomfld: weak prelinker failed. (rc=-1)

Title: Re: Qt6 Application Testing
Post by: TeLLie on February 15, 2023, 09:14:44 pm
wow!!!
My mistake, I was executing Dooble QT5
But I tell you, keep in a new folder the Tellie,https://www.dropbox.com/s/2om1wusf843us7j/qt6-6.2.4-os2-20230214.zip?dl=0
And start /QT6/bin/dooble.exe As the Dooble.exe program was not, the QT5 dooble was loaded

And the HTLM5test program gave me 522, now qt6 =519 ???


-Tellie
Can you put the link to those two test programs?

Hi
There @ http://rpm.netlabs.org/test/QT6/

Where can I download Libvpx1.13
Saludos
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on February 16, 2023, 12:23:54 am
edit2: it wasn't - but using my libvpx I'm getting:
Code: [Select]
weakld: C:\usr\local\lib\libvpx.lib(vp9_quantize_avx2.c.obj) - error: Duplicate
symbol '_vp9_quantize_fp_avx2' ('_vp9_quantize_fp_avx2').
weakld: C:\usr\local\lib\libvpx.lib(vp9_rtcd.c.obj) - error: Symbol previosly de
fined in this module.
weakld: info: fFlags new 0x0201  fFlags old 0x0001 (PUBLIC).
weakld: C:\usr\local\lib\libvpx.lib: error: Failed when reading module at offset
 202a00.
emxomfld: weak prelinker failed. (rc=-1)

Strange, looking at my map file, I only see _vp9_quantize_fp_avx2 in libvpx\os2\vp9\encoder\x86\vp9_quantize_avx2.c.o(vp9_quantize_avx2.c.o)
I did add '--extra-cflags= -mno-avx' '--extra-cxxflags= -mno-avx' to the configure line in the hopes of disabling AVX*

Your trp doesn't seem to be video related. Here youtube videos play, just the main page that silently exits.

Edit: misread the trp file.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 16, 2023, 01:35:28 am
Thanks Dave - I'll rebuild with -mno-avx and see what happens.

Re: silent exists - this build of libcn0.dll (https://smedley.id.au/tmp/libcn0-silentexit.zip) will create a TRP every time _exit() or exit() are called. The caveat is that this DLL has to be the 1st version loaded - using BEGINLIBPATH will result in a crash in libcx. What this means is that ALL apps that use libcn0.dll will create a TRP on a normal exit().
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 16, 2023, 04:29:19 am
Unfortunately I still get the same error with libvpx built with -mno-avx

@Dave - are you able to email/send me a link of your libvpx.a - interestingly, the example programs work find!
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on February 16, 2023, 04:37:03 am
My map file was for the DLL, wouldn't be surprised if the static lib has the same issue (I lost track which you were referencing). As you say, the example programs link fine.
You might have to bite the bullet and temporarily distribute libvpx8.dll.
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on February 16, 2023, 04:39:18 am
Playing with the spell checker and following issue #158 (long and rambling) it rambled into setting up the spellchecker.
Basically this is how I got it working, with Dooble installed in L:\qt6\bin
Create L:\qt6\qtwebengine_dictionaries
copy dictionary files such as en_CA.aff and en_CA.dic from @uixroot/usr/share/myspell to the above.
From L:\qt6\qtwebengine_dictionaries, run qwebengine_convert_dict ./en_CA ./en_CA.bdic so something like
Code: [Select]
[L:\qt6\bin\qtwebengine_dictionaries]qwebengine_convert_dict ./en_CA.dic ./en_CA.bdic
./en_CA.dic_delta not found.
Reading ./en_CA.aff
Reading ./en_CA.dic
Serializing...
Verifying...
Writing ./en_CA.bdic
Success. Dictionary converted.


Also don't forget to enable the right dictionaries in settings and press Apply. Spell checking doesn't seem very good but it works.
Hmm adding en_US after converting seems to have fixed the spell checking
Edit: Note the important thing is that qtwebengine_dictionaries is below the directory where Dooble is installed, so for the Qt5 version, @unixroot/usr/bin/qtwebengine_dictionaries would be correct
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on February 16, 2023, 04:59:39 am
I opened https://github.com/bitwiseworks/libvpx-os2/issues/2 (https://github.com/bitwiseworks/libvpx-os2/issues/2)
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 16, 2023, 06:51:36 am
Meanwhile, I built a DLL for libvpx and now get:
Code: [Select]
Error! E2028: _vpx_highbd_convolve8_horiz_c is an undefined reference
Error! E2028: _vpx_highbd_filter_block1d4_h2_sse2 is an undefined reference
Error! E2028: _vpx_highbd_filter_block1d4_h8_sse2 is an undefined reference
Error! E2028: _vpx_highbd_filter_block1d4_v8_sse2 is an undefined reference
Error! E2028: _vpx_highbd_convolve8_vert_c is an undefined reference
Error! E2028: _vpx_highbd_filter_block1d4_v2_sse2 is an undefined reference
Error! E2028: _vpx_highbd_convolve8_c is an undefined reference
Error! E2028: _vpx_highbd_filter_block1d4_h8_avg_sse2 is an undefined reference
Error! E2028: _vpx_highbd_convolve8_avg_horiz_c is an undefined reference
Error! E2028: _vpx_highbd_filter_block1d4_h2_avg_sse2 is an undefined reference
Error! E2028: _vpx_highbd_filter_block1d4_v8_avg_sse2 is an undefined reference
Error! E2028: _vpx_highbd_convolve8_avg_vert_c is an undefined reference
Error! E2028: _vpx_highbd_filter_block1d4_v2_avg_sse2 is an undefined reference
Error! E2028: _vpx_highbd_convolve8_avg_c is an undefined reference
Error! E2028: _vpx_highbd_fdct4x4_c is an undefined reference
Error! E2028: _vpx_highbd_fdct8x8_c is an undefined reference
Error! E2028: _vpx_highbd_fdct16x16_c is an undefined reference
Error! E2028: _vpx_highbd_fdct32x32_rd_c is an undefined reference
Error! E2028: _vpx_highbd_fdct32x32_c is an undefined reference
Error! E2028: _vpx_highbd_calc16x16var_sse2 is an undefined reference
Error! E2028: _vpx_highbd_calc8x8var_sse2 is an undefined reference
Error! E2028: _vpx_highbd_sub_pixel_variance16xh_sse2 is an undefined reference
Error! E2028: _vpx_highbd_sub_pixel_variance8xh_sse2 is an undefined reference
Error! E2028: _vpx_highbd_sub_pixel_avg_variance16xh_sse2 is an undefined reference
Error! E2028: _vpx_highbd_sub_pixel_avg_variance8xh_sse2 is an undefined reference

Might be that some code from webengine didn't get rebuilt after reconfiguring for system vpx...
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on February 16, 2023, 07:01:50 am
Those don't even seem to get compiled here, at least the couple of symbols I looked at.
OK, they seem to require CONFIG_VP9_HIGHBITDEPTH defined. Have to look harder but visited the optometrist today and those drops are bothering my eyes. Routine visit.
Edit: Looks like it needs --enable-vp9-highbitdepth fed to configure, which doesn't seem to build here.
Edit2: cleaning my obj directory totally fixed the compilation and added at least some of the missing symbols
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 16, 2023, 07:38:06 am
All good - those symbols were being asked for my remnants of the included libvpx, that were still present in qtwebengine_objects.rsp - seems re-configuring didn't properly clean these out.

I removed them and managed to build a qt6webee.dll that links against vpx113.dll (I cheated and used dllar.cmd to create the DLL from libvpx.a - this avoids any DLL name clash).

https://smedley.id.au/tmp/qt6webee-20230216.zip is up now, and I'm about to see if it works :)

Seems MUCH better with video - watched several minutes of ABC news, and now playing a video clip on youtube (If you like Punk music - checkout the band in the screenshot)

Edit: got a TRP (with my special libcn0) after a few minutes of youtube - attached.
Title: Re: Qt6 Application Testing
Post by: KO Myung-Hun on February 16, 2023, 08:53:59 am
Hi/2.

Hi/2.

I've built VLC successfully with .pc files extracted from MSYS2 packages, modified in according to your .pc files and renamed to Qt5*.pc.

However, VLC fails at startup due to SIGSEGV in Qt6Core.dll. I attach .pc files and EXCEPTQ log.

Thanks!

Are you able to raise a ticket for this at my GitHub?

I've opened a ticket.
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on February 17, 2023, 05:02:43 am
Trying to build Dooble, and now a simple hello world,
Code: [Select]
#include <QTextStream>

int main() {
 QTextStream(stdout) << "Hello, world!" << endl;
 return 0;
}

I keep getting this error with Qt6's qmake,
Code: [Select]
[H:\hello]qmake -project
L:/QT6/mkspecs/features/toolchain.prf:76: Variable QMAKE_CXX.COMPILER_MACROS is
not defined.
Project ERROR: failed to parse default search paths from compiler output
Very similar error with Dooble. Googling shows it is a somewhat common problem on Windows but no simple solution, at least at the cmd line.
Builds fine with qmake-qt5, same with Dooble though I forgot how to work around the munlock issue and simply removed a define.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 17, 2023, 05:18:15 am
I saw this yesterday on a machine I haven't built anything qt6 related on before, but on another box it works fine <shrug>
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 17, 2023, 09:44:24 am
Did anyone test the latest build?
Title: Re: Qt6 Application Testing
Post by: Mike Kölling on February 17, 2023, 11:14:35 am
Did anyone test the latest build?

Dear Paul,

I tested Youtube with the Warpstock 2022 videos.
With highmem -b: Youtube starts but no video nor sound.
With highmem -c: Youtube starts but no video (but a start picture) and weak sound.
With highmem -d: Dooble crashes when Youitube is starting.
Without highmem Dooble crahses very soon after the start.

Greetings,
Mike

Modify Corrected a typo and addition, this is texted using latest Dooble-QT6.
Title: Re: Qt6 Application Testing
Post by: David McKenna on February 17, 2023, 12:15:55 pm
Paul,

  With latest qt6webee I still can't go to https://www.youtube.com without locking the system immediately. If I google search a video, then go to it the ad will play, but as soon as I hit 'skip ads' Dooble disappears from the screen...

Regards,
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on February 17, 2023, 04:29:35 pm
Videos play here, Youtube sees the browser silently vanish, but not as quick as previous.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 17, 2023, 09:32:51 pm
With highmem -c: Youtube starts but no video (but a start picture) and weak sound.

That's interesting.... the videos play here for me in Virtualbox - but agree, the sound seemed much quieter than the system sounds.... I'll have to try on the T470s when I'm back in Adelaide, we're currently away for the weekend.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 17, 2023, 09:35:31 pm
Hey Dave,
  With latest qt6webee I still can't go to https://www.youtube.com without locking the system immediately. If I google search a video, then go to it the ad will play, but as soon as I hit 'skip ads' Dooble disappears from the screen...

The lockup is weird - you are running the latest mega package from a couple of days ago?

Re, the Dooble disappearing, if you have the time, install my libcn into the dooble directory, temporarily add the dooble directory to thr start of libpath and reboot, and when it silent exits, you should get a TRP file - it would be good to confirm it's similar to the one I posted.

I intend to modify my code further to only TRP if EXCEPTQ is set to certain values, but just need some time to do that. That would allow it to be used without generating a TRP for every normal exit ;)
Title: Re: Qt6 Application Testing
Post by: David McKenna on February 17, 2023, 11:17:15 pm
 Hey Paul,

Yeah, I'm using qt6-6.2.4-os2-20230214.zip with qt6webee-20230216.zip. I got your special libcn0.dll and put it in C:\usr\local\lib, rebooted, then started the QT6 Dooble, did a google search on 'Plimsouls Million Miles Away', double clicked on the YouTube video offered, Dooble disappeared and a triple beep was heard.
A trap file was created in C:\qt6\bin (where QT6 and Dooble resides) - attached.

Regards,

BTW - plays fine in QT5 Dooble...
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 17, 2023, 11:33:14 pm
Thanks Dave - that's very similar to the TRP I uploaded earlier - seems to me to be something in dav1d

Depending how many glasses of wine I have today, I'll try and look at making the modified libcn respect the 'set EXCEPTQ' statement...

What Steven and I talked about was respecting:
Code: [Select]
  U     Attempt to generate a Process Dump
  Z     Generate exceptq report for normal terminations
and acting accordingly - even where there are 'silent' exits.

If it works, I'll submit a PR and try and convince Dmitry to include it in the retail libcn0
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 17, 2023, 11:59:50 pm
re: the trap in dav1d - I'm still suspicious of the patches I made in https://github.com/psmedley/qt6-webengine-os2/commit/805bf77f6685a414b4688534b440b001a7c6252c & https://github.com/psmedley/qt6-webengine-os2/commit/167babc8243d00b067de3c35b4cfdb8829f6974a - particularly given the problems in libvpx as well.
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on February 18, 2023, 12:19:38 am
Unluckily dav1d uses meson and ninja to build, I don't think we have a port of meson
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 18, 2023, 12:34:58 am
There also doesn't seem to be a way to use a system dav1d anyway... the trap mentioned SSE2, so I'm going to try disabling it in dav1d.
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on February 18, 2023, 12:55:35 am
re: the trap in dav1d - I'm still suspicious of the patches I made in https://github.com/psmedley/qt6-webengine-os2/commit/805bf77f6685a414b4688534b440b001a7c6252c & https://github.com/psmedley/qt6-webengine-os2/commit/167babc8243d00b067de3c35b4cfdb8829f6974a - particularly given the problems in libvpx as well.

Looks like you forgot to change 9 instances of SECTION .text to the macro, SECTION_TEXT in the assembly files.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 18, 2023, 01:14:14 am
Thanks Dave - I'll check later. Meanwhile, <link removed, unsuccessful change> attempts to disable SSE2 for dav1d.

I'll look into the ASM issues later today or tomorrow, heading to a winery for lunch shortly.
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on February 18, 2023, 01:42:10 am
Here's the diff, they are SSE and AVX related. Disabling will produce slow code.
Code: [Select]
grep -rl 'SECTION .text' | xargs sed -i 's/SECTION .text/SECTION_TEXT/g'is what I used, though it also needed delcr to fix the line endings.
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on February 18, 2023, 02:31:35 am
FFmpeg might need similar, libyuv/source/row_x86.asm looks like it needs it.
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on February 18, 2023, 06:47:43 am
Thanks Dave - I'll check later. Meanwhile, https://smedley.id.au/tmp/qt6webee-20230218.zip attempts to disable SSE2 for dav1d.

Well this build is the worst yet here, besides some of the early ones. Youtubes main page consistently locks up the computer with only the mouse responsive, triggering a dump (no dump partition) works.
Tried marking dooble mpunsafe, just slowed down the time it took to freeze. Tried changing the highmem to -c, no change, changing it to -u saw pthreads complaining about no memory before a trap 3 triggered a trp. It never freed the memory either, leaving me with about 8 MB's of lower shared memory even after restarting the WPS, forcing a reboot.
The pthreads not having enough memory consistently triggered the TRAP 3.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 18, 2023, 10:24:57 am
Hey Dave, thanks for testing. Didn't get back to this today, after a long lunch and a few(!) wines, I thought it best to wait til tomorrow. I'll revert the SSE2 change and take a look at your ask suggestions in the morning.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 18, 2023, 10:21:07 pm
https://smedley.id.au/tmp/qt6webee-20230219.zip reverts the change I made in 20230218 and adds the ASM changes per to dav1d per Dave's suggestion. Not much time for testing this morning, so YMMV
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 18, 2023, 11:38:20 pm
Meanwhile, https://smedley.id.au/tmp/dooble-2023.02.20-os2-qt6-20230219.zip
Title: Re: Qt6 Application Testing
Post by: Martin Iturbide on February 18, 2023, 11:42:25 pm
Hi Tellie

Do you think you can try to compile Media Downloader 2.8.0 ?
https://github.com/mhogomchungu/media-downloader

Regards
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 19, 2023, 01:28:18 am
Hey Martin,

Do you think you can try to compile Media Downloader 2.8.0 ?
https://github.com/mhogomchungu/media-downloader

Looks like the current cmakelists for media downloader only target Qt5, and would need adapting to build with Qt6.

Cheers,

Paul
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on February 19, 2023, 01:48:06 am
Testing the latest drop, it still freezes the system when accessing youtube.com.
I'll do some more experimenting later but wouldn't be surprised if some ad has some JavaScript triggering the problem. Need to pay attention to memory too, AV1 trades off CPU and memory for lower bandwidth.
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on February 19, 2023, 02:30:43 am
A bit more testing, https://tools.woolyss.com/html5-audio-video-tester/?u=woolyss.com/f/caminandes-1-llama-drama-av1-opus.webm (https://tools.woolyss.com/html5-audio-video-tester/?u=woolyss.com/f/caminandes-1-llama-drama-av1-opus.webm) plays fine, this is webm. https://tools.woolyss.com/html5-audio-video-tester/?u=woolyss.com/f/Chimera-AV1-8bit-480x270-552kbps.mp4 (https://tools.woolyss.com/html5-audio-video-tester/?u=woolyss.com/f/Chimera-AV1-8bit-480x270-552kbps.mp4) freezes after 5-10 seconds here, tab can be closed, it is mp4.
The Youtube AV1 test video, https://www.youtube.com/watch?v=hSTp4iX5GsI (https://www.youtube.com/watch?v=hSTp4iX5GsI) froze my computer.
So AV1 seems to be fine now, the mp4 container might have problems, the above test had no sound in the container, which shouldn't matter. There's something still wrong with YouTube, whether the way they encode the AV1, the container they mux it into or something else.
More test videos here, https://tools.woolyss.com/html5-audio-video-tester/ (https://tools.woolyss.com/html5-audio-video-tester/)
I note that some H264 and H265 videos do not display any video
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 19, 2023, 06:21:58 am
Testing the latest drop, it still freezes the system when accessing youtube.com.
I'll do some more experimenting later but wouldn't be surprised if some ad has some JavaScript triggering the problem. Need to pay attention to memory too, AV1 trades off CPU and memory for lower bandwidth.

I have no idea why youtube.com would be so much worse since the 20230216 drop - it's a real mystery to me, I may even reinstall the 0216 build - perhaps by coincidence something else has changed?
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 19, 2023, 06:23:34 am
A bit more testing, https://tools.woolyss.com/html5-audio-video-tester/?u=woolyss.com/f/caminandes-1-llama-drama-av1-opus.webm (https://tools.woolyss.com/html5-audio-video-tester/?u=woolyss.com/f/caminandes-1-llama-drama-av1-opus.webm) plays fine, this is webm. https://tools.woolyss.com/html5-audio-video-tester/?u=woolyss.com/f/Chimera-AV1-8bit-480x270-552kbps.mp4 (https://tools.woolyss.com/html5-audio-video-tester/?u=woolyss.com/f/Chimera-AV1-8bit-480x270-552kbps.mp4) freezes after 5-10 seconds here, tab can be closed, it is mp4.
The Youtube AV1 test video, https://www.youtube.com/watch?v=hSTp4iX5GsI (https://www.youtube.com/watch?v=hSTp4iX5GsI) froze my computer.
So AV1 seems to be fine now, the mp4 container might have problems, the above test had no sound in the container, which shouldn't matter. There's something still wrong with YouTube, whether the way they encode the AV1, the container they mux it into or something else.
More test videos here, https://tools.woolyss.com/html5-audio-video-tester/ (https://tools.woolyss.com/html5-audio-video-tester/)
I note that some H264 and H265 videos do not display any video

Thanks, this is interesting and those look to be some useful links. h.264 support only appeared on html5test once I enabled proprietary codecs - so maybe I'll go hunting for anything else I may have missed. I don't think the ffmpeg asm matters as we're linking against system avcodec, etc but who knows!

I wonder if we should also modify:
Code: [Select]
src\3rdparty\chromium\third_party\libaom\source\libaom\third_party\libyuv\source\row_x86.asm

also
Code: [Select]
src\3rdparty\chromium\third_party\openh264\src\codec\common\x86\deblock.asm
and friends. openh264 doesn't seem to use x86inc.asm so would need to find somewhere else to define SECTION_TEXT or add another %else to the asm files...

edit: https://github.com/psmedley/qt6-webengine-os2/blob/main/src/3rdparty/chromium/third_party/openh264/src/codec/common/x86/asm_inc.asm seems to be the openh264 equivalent to x86inc.asm that's used in other libs.
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on February 19, 2023, 06:37:06 am
Testing the latest drop, it still freezes the system when accessing youtube.com.
I'll do some more experimenting later but wouldn't be surprised if some ad has some JavaScript triggering the problem. Need to pay attention to memory too, AV1 trades off CPU and memory for lower bandwidth.

I have no idea why youtube.com would be so much worse since the 20230216 drop - it's a real mystery to me, I may even reinstall the 0216 build - perhaps by coincidence something else has changed?

Perhaps before it was crashing (silently exiting) trying to play an AV1 video and now that that is fixed, it gets a bit further to something that causes the system lockup? The problem with the system hang did start when you disabled SSE and prevented the AV1 crash.
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on February 19, 2023, 06:55:48 am
Libyuv should be fixed, it might be the cause of the 840H byte text segment. Probably not used much as it is for a type of raw video.
Seems you're linking against the system FFmpeg libs so they should be fine.
Have to stare at openh264 a bit, the file you linked doesn't seem to be the problem. It might not even use .text. When I started this stuff the .text segment was rarely used. The Mac macho32 stuff is a good pointer to where we will have problems as they also have similar problems.
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on February 19, 2023, 07:15:42 am
Is openH264 being used? Seems not but unsure.
If it is being used, it needs both SECTION .text and SECTION .rodata replaced by macros similar to the others. Guess best added to asm_inc.asm.
Title: Re: Qt6 Application Testing
Post by: TeLLie on February 19, 2023, 08:33:30 am
Hi Martin,

I have ported that, but it seems our python 3 build is given problems.
And indeed it's Qt5 based ..
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 19, 2023, 09:41:57 am
Is openH264 being used? Seems not but unsure.
If it is being used, it needs both SECTION .text and SECTION .rodata replaced by macros similar to the others. Guess best added to asm_inc.asm.

This should be in the development thread, but replying here cos it's easier :) @mods perhaps you can move the dev comments to the other thread?

Just got home from a weekend away, just confirming a couple of things.

1) re: ffmpeg - confirming that obj\third_party\ffmpeg only contains:
Code: [Select]
15/02/23  16:32             735    124  ffmpeg.ninja
 8/01/23  19:36               0    124  ffmpeg.stamp
26/01/23  17:35               0    124  ffmpeg_features.stamp
15/02/23  16:32           1,151    124  ffmpeg_internal.ninja
 8/01/23  19:36           1,536    124  libffmpeg_internal.a

2) re: openh264, confirming that obj\third_party\openh264 contains:
Code: [Select]
12/02/23  16:24         <DIR>      124  common
12/02/23  16:24         <DIR>      124  encoder
12/02/23  16:24         <DIR>      124  processing
15/02/23  16:32           4,867    124  common.ninja
12/02/23  16:24               0    124  common.stamp
15/02/23  16:32           9,129    124  encoder.ninja
12/02/23  16:24               0    124  encoder.stamp
15/02/23  16:32           6,793    124  processing.ninja
12/02/23  16:24               0    124  processing.stamp

and there are 65 .o files in the 3x directories above, so I think the asm is being used. I'll try look into making the necessary changes during the week.

Edit: openh264 isn't currently using asm on os/2:
Code: [Select]
use_assembler = (is_win || is_mac || is_linux || is_chromeos) &&
                (current_cpu == "x86" || current_cpu == "x64") && !is_msan

Edit2: I updated yuv's row_x86.asm but it didn't trigger any source to be rebuilt. Grepping the libaom I don't see anything that triggers row_x86.asm to be built :(

Edit3: I'm going to rebuild *without* proprietary codecs being enbaled - I don't believe that switch is enabled in the bww chromium build, I just enabled it to try and increase the html5test score :)
Title: Re: Qt6 Application Testing
Post by: KO Myung-Hun on February 19, 2023, 04:24:38 pm
re: the trap in dav1d - I'm still suspicious of the patches I made in https://github.com/psmedley/qt6-webengine-os2/commit/805bf77f6685a414b4688534b440b001a7c6252c & https://github.com/psmedley/qt6-webengine-os2/commit/167babc8243d00b067de3c35b4cfdb8829f6974a - particularly given the problems in libvpx as well.

Segment alignment should be 16 at least for SSE. Or use parameter macros such as %1 if possible.

In case of aout, ld aligns segments to 16 bytes boundary unconditionally, so any additional flags are not required.
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on February 20, 2023, 02:01:53 am
I tried loading YouTube on a different partition, success the first try, even played 2 videos before the browser vanished, Subsequent tries often ended up with the browser freezing and a zombie process, so needing a reboot and twice it locked the system up.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 20, 2023, 03:45:59 am
Interesting, in the next couple of hours I should have a build without enabling proprietary codecs, we'll see what difference (if any) that makes.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 20, 2023, 09:50:59 am
Interesting, in the next couple of hours I should have a build without enabling proprietary codecs, we'll see what difference (if any) that makes.
OK that was a bad idea, without proprietary codecs, video is even worse as most formats aren't supported... rebuilding now with proprietary codecs re-enabled...
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on February 20, 2023, 05:43:18 pm
Yes, most sites likely use H264/H265. Guess assembly will need fixing in OpenH264, not sure if your build supports H265.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 21, 2023, 08:15:30 am
Yes, most sites likely use H264/H265. Guess assembly will need fixing in OpenH264, not sure if your build supports H265.
html5test shows a No for h265 - not sure what's needed to enable it.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 22, 2023, 08:52:39 am
https://smedley.id.au/tmp/qt6webee-20230222.zip seems to improve youtube video support - at least for me :P
Title: Re: Qt6 Application Testing
Post by: Mike Kölling on February 22, 2023, 10:12:12 am
https://smedley.id.au/tmp/qt6webee-20230222.zip seems to improve youtube video support - at least for me :P

Dooble still freezes my computer once I try YouTube. It seems to run out of low shared memory.
Regards,
Mike
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 22, 2023, 10:38:30 am
What's your VIRTUALADDRESSLIMIT set to?
Title: Re: Qt6 Application Testing
Post by: Mike Kölling on February 22, 2023, 11:00:13 am
What's your VIRTUALADDRESSLIMIT set to?

VIRTUALADDRESSLIMIT=3070

Mike
Title: Re: Qt6 Application Testing
Post by: David McKenna on February 22, 2023, 12:29:56 pm
 Hey Paul,

  Don't really see much change with the 20230222 version of QT6Webee - wwwYouTube.com locks up the system after rendering the page, and googling a YouTube video, then trying to play starts playing, then quickly locks the system. So no silent exit at least...

Regards,
Title: Re: Qt6 Application Testing
Post by: G. M. Anchieri on February 22, 2023, 02:18:59 pm
Dear Paul,
I have installed a month ago, your version of QT6 and all of your update to this file
- dooble-2023.01.18-os2-qt6-20230121.zip     2291814
- qt6webee-20230222.zip                               90182159
then run this FILE : DOOBLE.CMD
that contain this statement:

/****************************************************************
 *    lancia il programma Dooble QT6                            *
 ****************************************************************/
if RxFuncQuery('SysLoadFuncs') then
   do
   rc = RxFuncAdd('SysLoadFuncs','RexxUtil','SysLoadFuncs')
   rc = SysLoadFuncs()
   end

'@ECHO On '
ADDRESS CMD


rc = SETLOCAL()

'REM SET LIBPATHSTRICT=T'
'SET BEGINLIBPATH=P:\QT6\LIB;'
'SET PATH=P:\QT6\BIN;%PATH%'
'SET UNIXROOT=P:\QT6'
'SET DOOBLE_HOME=P:\HOME\QT6'
'SET EXCEPTQ=ZZ'
'SET QTWEBENGINE_CHROMIUM_FLAGS="--ignore-certificate-errors ignore-ssl-errors --log-level=1" '

'DOOBLE.EXE  '

FINELAV:
rc = endlocal()

Immediately I receive this msg of error:
- sys1804: the system can not find the file: QT6POSIG (.DLL)
Title: Re: Qt6 Application Testing
Post by: roberto on February 22, 2023, 03:46:50 pm

'SET EXCEPTQ=ZZ'
'SET QTWEBENGINE_CHROMIUM_FLAGS="--ignore-certificate-errors ignore-ssl-errors --log-level=1" '
You have to delete this 2 lines.
Quote
Immediately I receive this msg of error:
- sys1804: the system can not find the file: QT6POSIG (.DLL)
You have to delete all /qt6/
Download and install this other:
https://www.os2world.com/forum/index.php/topic,3252.msg38355.html#msg38355
and update with Dooble... and qt6webee...
saludos
Title: Re: Qt6 Application Testing
Post by: roberto on February 22, 2023, 05:12:51 pm
https://smedley.id.au/tmp/qt6webee-20230222.zip seems to improve youtube video support - at least for me :P
I have had a very good experience with this version with YouTube, more than 1 hour and 10 minutes without problem, until I wanted to use the Google translator, which showed me this
Code: [Select]
js: Uncaught (in promise) cancel: Animation halted by halt()
and the dooble was blocked, having to close all the windows of the dooble.
Title: Re: Qt6 Application Testing
Post by: G. M. Anchieri on February 22, 2023, 06:16:38 pm
Dear Roberto,
thank you for your help, but now I have this new message:
- sys1804: the system cannot find the file vpx113
How can I find this file?


Title: Re: Qt6 Application Testing
Post by: Dave Yeo on February 22, 2023, 08:37:45 pm
It was in one of the packages that Paul uploaded. I'll attach it. Put it in Qt6\lib.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 22, 2023, 09:09:15 pm
It was in one of the packages that Paul uploaded. I'll attach it. Put it in Qt6\lib.
Thanks Dave - now also available at https://smedley.id.au/tmp/libvpx-1.13.0-os2.zip @Martin can you add to the 1st post?
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 22, 2023, 09:10:26 pm
Hey Dave,
  Don't really see much change with the 20230222 version of QT6Webee - wwwYouTube.com locks up the system after rendering the page, and googling a YouTube video, then trying to play starts playing, then quickly locks the system. So no silent exit at least...

Interesting... I'll have to do some testing on another machine - I was able to play multiple youtube videos, video from ABC News, and video from the Nine TV network (the latter two are .au TV streaming sites).
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 22, 2023, 09:11:40 pm
Hi Roberto,

https://smedley.id.au/tmp/qt6webee-20230222.zip seems to improve youtube video support - at least for me :P
I have had a very good experience with this version with YouTube, more than 1 hour and 10 minutes without problem, until I wanted to use the Google translator, which showed me this
Code: [Select]
js: Uncaught (in promise) cancel: Animation halted by halt()
and the dooble was blocked, having to close all the windows of the dooble.

Out of interest - what hardware are you using to test with? My testing has been in Virtualbox to date, as it's more convenient, but I'll try test on bare metal later today.

Cheers,

Paul
Title: Re: Qt6 Application Testing
Post by: roberto on February 22, 2023, 09:59:19 pm
Out of interest - what hardware are you using to test with? My testing has been in Virtualbox to date, as it's more convenient, but I'll try test on bare metal later today.
This is a portatil HP8760W, bare metal, with a new .Doble profile
saludos
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 23, 2023, 09:19:31 am
Interesting... I'll have to test on the T470s and see if I can trigger a dump that might help understand why it's hung...
Title: Re: Qt6 Application Testing
Post by: roberto on February 23, 2023, 07:40:09 pm
Hello Paul
Today I have done the same test yesterday, but I have removed the USB Mouse Wifi, and I have only left the laptop pointer.
The results have been better, but after 2 hours 30 to 40 minutes, the console shows me:
Code: [Select]
js: Uncaught (in promise) cancel: Animation halted by halt()
js: Uncaught (in promise) cancel: Animation halted by halt()
[86:4:0223/181952.504000:ERROR:indexed_db_factory_impl.cc(583)] Failed to GetDBS
izeFromEnv: IO error: /000101.ldb: File not found
[86:18:0223/184740.725000:ERROR:memory.cc(55)] Out of memory. size=2216788
[86:18:0223/184740.756000:ERROR:memory.cc(59)] LIBC heap: provided 429193472, us
ed 382808867, maxfree 699124
[86:18:0223/184740.774000:ERROR:memory.cc(66)] System low mem: max private 12294
5536, max shared 3538944
[86:18:0223/184740.790000:ERROR:memory.cc(69)] System high mem: max private 3189
5552, max shared 25763840

Killed by SIGTRAP
pid=0x0056 ppid=0x0054 tid=0x0012 slot=0x0094 pri=0x0200 mc=0x0001 ps=0x0010
C:\VAR\TMP\QT6\BIN\DOOBLE-STOP2.EXE
cs:eip=0505e234:0505e234      ss:esp=1ca4dc89:0505dfb8      ebp=00000053
 ds=0000      es=0000      fs=0000      gs=0000     efl=631a7000
eax=0505e058 ebx=1ffc9d7c ecx=0505e06c edx=0505e090 edi=0505e240 esi=0505ffd4
Creating 0056_12.TRP
Moved 0056_12.TRP to C:\var\log\app\63f7b4cf-0056_12-DOOBLE-STOP2-exceptq.txt
I attach the Sigtrap, in case it can be useful.
saludos
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 23, 2023, 09:25:47 pm
Thanks - this is definitely memory exhaustion... note the errors in the console from memory.cc The SIGTRAP is just a side effect of running out of memory.
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on February 23, 2023, 10:11:05 pm
Roberto, what CPU is in your machine?
Title: Re: Qt6 Application Testing
Post by: roberto on February 23, 2023, 10:23:17 pm
----- System Information -------------------------------------------------------
CPU: GenuineIntel Intel(R) Core(TM) i7-2820QM CPU @ 2.30GHz
CPU Speed: 2305 Mhz
CPU Count: 4
Loader's physical memory layout:
  Memory below 1MB: 635.00 KiB
  Memory between 1MB and 4GB: 2.98 GiB
  Memory below 4GB: 2.98 GiB
  Memory above 4GB: 4.96 GiB
Kernel's physical memory layout:
  From 00000000 to 00031FFF size=200.00 KiB
  From 00035000 to 0009EFFF size=424.00 KiB
  From 00100000 to BEEBCFFF size=2.98 GiB
Physical memory: 2.98 GiB
Available memory: 2.12 GiB
Available Private memory: 248.00 MiB
Available Shared memory: 142.12 MiB
Virtual Address Limit: 2816
Max Processes: 282
SMBIOS version 2.6 at bf595000 len=58a
BIOS Information:
 Vendor: Hewlett-Packard
 Version: 68SAD Ver. F.23

Saludos
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on February 23, 2023, 11:21:41 pm
Thanks, not much different then my CPU.
Perhaps should test with your swap setting, what is it currently?
Title: Re: Qt6 Application Testing
Post by: Pete on February 24, 2023, 06:30:17 am
I use the following tweaks to get a bit more memory:-

REM ***** SWAPPATH=L:\OS2\SYSTEM 2048 2048
SWAPPATH=K:\TEMP\SYSTEM 2048 409600

REM **** THREADS=1024
REM **** The next line works best to reduce shared memory use
THREADS=512

REM **** VIRTUALADDRESSLIMIT=3072
REM **** The next line works best to reduce shared memory use
VIRTUALADDRESSLIMIT=2560

REM **** PROCESSES=156
REM **** The next line works best to reduce shared memory use
PROCESSES=128

The above settings allow me to open and close Seamonkey and OpenOffice multiple times during a day without the system falling over.

Maybe they will help with the above memory problem...


Regards

Pete



Title: Re: Qt6 Application Testing
Post by: roberto on February 24, 2023, 03:43:44 pm
Hi Pete, and Dave
I use the following tweaks to get a bit more memory:-

REM ***** SWAPPATH=L:\OS2\SYSTEM 2048 2048
SWAPPATH=K:\TEMP\SYSTEM 2048 409600
SWAPPATH=L:\ 0 512000 -------- this is my ramdisk L:
Quote
REM **** THREADS=1024
REM **** The next line works best to reduce shared memory use
THREADS=512
THREADS=4095
Quote
REM **** VIRTUALADDRESSLIMIT=3072
REM **** The next line works best to reduce shared memory use
VIRTUALADDRESSLIMIT=2560
VIRTUALADDRESSLIMIT=2816

Quote
REM **** PROCESSES=156
REM **** The next line works best to reduce shared memory use
PROCESSES=128
I don't have processes , in my config.

To better manage Low Memory, I have FC2.40, in the startup. This program takes a lot of low memory, and the request to request from other programs, to a point where this FC2.40 does not deliver more, then if I need anything else I close it and that is my mattress that takes me out of trouble. FC2.50 does not do this.
saludos
Title: Re: Qt6 Application Testing
Post by: roberto on February 24, 2023, 07:26:59 pm
Another test today, from YouTube, and others sites web.
A few seconds after start stop the video.
I reactive as always, playing Mhajongg, and closing it when the video continues. Dooble show me this, I don't know if before or after starting:
Code: [Select]
[86:9:0224/155714.162000:ERROR:audio_output_stream_os2.cc(61)] kaiPlay(27992d60)
 returned -9
New time record without stopping,  3 hours
Configure my previous profile of the dooble, with a 1875mb cache, and with connected USB wifi mouse.
saludos
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 25, 2023, 05:56:49 am
https://smedley.id.au/tmp/dooble-2023.02.25-os2-qt6-20230225.zip - no OS/2 specific changes in this release.

From the release notes:
Allow empty Home URL.
Ignite a search from the address bar. GitHub ticket #160.
Search engine titles must be unique!

Title: Re: Qt6 Application Testing
Post by: roberto on February 25, 2023, 05:53:58 pm
Thanks - this is definitely memory exhaustion... note the errors in the console from memory.cc The SIGTRAP is just a side effect of running out of memory.
Well, if the memory is exhausted, why not increase it.?
I am testing with good results:
rem are ok=544000 640000 768000 896000 1024000 1536000 2048000
SWAPPATH=L:\ 0 2560000
My ramdisk is 4,5gb now.
Saludos
Title: Re: Qt6 Application Testing
Post by: roberto on February 25, 2023, 06:07:49 pm
https://smedley.id.au/tmp/dooble-2023.02.25-os2-qt6-20230225.zip - no OS/2 specific changes in this release.
I can't run this version, it doesn't work for me.
saludos
Title: Re: Qt6 Application Testing
Post by: Andy Willis on February 25, 2023, 08:44:11 pm
https://smedley.id.au/tmp/dooble-2023.02.25-os2-qt6-20230225.zip - no OS/2 specific changes in this release.
I can't run this version, it doesn't work for me.
saludos
It runs here, but gives me blank pages not loading (one time it did render three tabs but hung loading the third and all tabs quit responding) tried deleting the whole .dooble folder under home but has not helped,
Title: Re: Qt6 Application Testing
Post by: David McKenna on February 25, 2023, 09:01:50 pm
 Works as good as the last one here... YouTube still doesn't work though...

 I did check the videos on https://tools.woolyss.com/html5-audio-video-tester/ and everything that should work does work (no H.263, H.265 or MPEG-4) except the 'Chimera-AV1...' mp4 video with no sound - it starts, but then hangs, but the browser and system are still responsive. My gut feeling is that YouTube hangs the system because of Javascript problems, not video.

  And just BTW... in the QT5 version of Dooble YouTube works just fine...

Regards,
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on February 26, 2023, 12:35:01 am
I've been using the Qt5 version of this release, works as well as any. Haven't figured out how to set up new searches. YouTube itself is slow and videos hang
Title: Re: Qt6 Application Testing
Post by: David McKenna on February 26, 2023, 03:32:17 pm
 Hey Dave,

  The latest version of Dooble adds a 3rd column to the search engines page at the bottom: 'Syntax' where you can define a prefix to a search to specify the engine to use. I notice it does not exist in your QT5 version, but it does exist (but doesn't work - can't add engines) in Paul's QT6 version. Maybe I need to try new profiles...

Regards,

EDIT: New profiles don't help...
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on February 26, 2023, 07:08:52 pm
It almost works here with my most recent Qt5 version, setting up a wiki: search pointing at wikipedia.en.org and typing in wiki: OS/2 in the address bar gives an URL of http://http//wikipedia.en.org OS/2. Paul's Qt6 build is the same. I'd assume it is a Qt issue
Edit: Attach screen capture
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 26, 2023, 09:25:13 pm
I did check the videos on https://tools.woolyss.com/html5-audio-video-tester/ and everything that should work does work (no H.263, H.265 or MPEG-4) except the 'Chimera-AV1...' mp4 video with no sound - it starts, but then hangs, but the browser and system are still responsive. My gut feeling is that YouTube hangs the system because of Javascript problems, not video.

Question... do you have the 'block list' imported into Dooble? Pretty sure I do, and I can usually navigate youtube.com. This would btw support it being a javascript issue.... ie without the blocklist - there is too much crapola being loaded and it hangs...
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on February 26, 2023, 11:26:03 pm
It hangs here with the block list installed.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 27, 2023, 03:05:29 am
Interesting! When it hangs, are you able to trigger a dump??
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on February 27, 2023, 03:07:34 am
Yes, if I had a partition set up for it.  Should I set one up?
Title: Re: Qt6 Application Testing
Post by: David McKenna on February 27, 2023, 03:54:18 am
 Hey Paul,

  Yes, I have the blocklist installed, and an anti-ad HOSTS file as well. I can provide a dump if you like.... where to send?

  I wouldn't be surprised if YouTube has a different main page depending on where the requester is located, so possibly different Javascript depending on where the request comes from.

Regards,

EDIT: I have a dump ready to go if you want it...
Title: Re: Qt6 Application Testing
Post by: David McKenna on February 27, 2023, 04:37:15 am
It almost works here with my most recent Qt5 version, setting up a wiki: search pointing at wikipedia.en.org and typing in wiki: OS/2 in the address bar gives an URL of http://http//wikipedia.en.org OS/2. Paul's Qt6 build is the same. I'd assume it is a Qt issue
Edit: Attach screen capture

 Hey Dave,

  Got it to work in the QT6 version... with Wikipedia I used syntax 'wiki:' and 'https://en.wikipedia.org/wiki/', and Google I used syntax 'goog:' with 'https://www.google.com/search?q='. I am not able to add the top list of available search engines by clicking 'add checked' though (that works in the QT5 version).

Regards,

EDIT: turns out the QT5 version was not properly updated to the newest - that seems to work fine now.
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on February 27, 2023, 04:47:03 am
Hi David, OK, my URL was screwed up, though attempting to search Wikipedia with your setting only opens up the main page, probably need something like Google has.
Did you download the latest Qt5 build, the syntax column shows up here.
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on February 27, 2023, 04:50:51 am
So tried to set up for a dump, going the 2GB route, after using memlimit to limit visible ram to 2GB's, YouTube no longer hangs here. Videos do hang after a few seconds of playing and it didn't take long to run out of memory, obvious by the output and get the usual trap 3 trp.
'Tis weird, I guess I should run memcheck
David, could your also test lowering your memory, or did you when getting your dump?
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on February 27, 2023, 05:09:50 am
BTW, the url for Wikipedia is https://en.wikipedia.org/w/index.php?title=Special:Search&search=
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 27, 2023, 05:59:04 am
Hi Dave,

So tried to set up for a dump, going the 2GB route, after using memlimit to limit visible ram to 2GB's, YouTube no longer hangs here. Videos do hang after a few seconds of playing and it didn't take long to run out of memory, obvious by the output and get the usual trap 3 trp.
'Tis weird, I guess I should run memcheck
David, could your also test lowering your memory, or did you when getting your dump?

Virtualaddresslimit may come into this too - I'm testing with 3072. The video hanging was an irrecoverable hang or they just stopped playing?

Not sure if I want a dump - I currently don't have any experience processing them - it was partly just curiosity to see how dead the system was... I can probably reproduce a hang here on bare metal which would save the hassle of uploading dumps....
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on February 27, 2023, 07:24:48 am
The video stopping was recoverable. Retried with various other memlimit settings including the 2GB that previously worked, kept hanging hard. It's weird as once in a while it works. I have VIRTUALADDRESSLIMIT=3072. It's all frustrating as Qt5 Dooble, which has similar problems playing a video, never hangs.
Title: Re: Qt6 Application Testing
Post by: roberto on February 27, 2023, 10:01:54 am
Thanks - this is definitely memory exhaustion... note the errors in the console from memory.cc The SIGTRAP is just a side effect of running out of memory.
Well, if the memory is exhausted, why not increase it.?
I am testing with good results:
rem are ok=544000 640000 768000 896000 1024000 1536000 2048000
SWAPPATH=L:\ 0 2560000
My ramdisk is 4,5gb now.
Saludos
It seems to me that you have not seen or have not understood this message.
This application is working almost perfect, with 2560000 at the Swappph. My problem is that I am not able to start the system with a Swappath of that size. I did it once and it was perfect. If I can easily start it with lower values. And although improvements are seen it is not perfect. With a 2048000 swappath, it improves a lot and is very useful, but fails.
Look at the Linear Memory at theSseus4 At the end of the list(linear usage by process), libraries are loaded in memory in another way, with 2048000.
If someone manages to start it with 2560000 to keep it and comment, because it is not easy to repeat it. At least for me.
saludos
Title: Re: Qt6 Application Testing
Post by: David McKenna on February 27, 2023, 12:19:34 pm
 Hey Dave,

  I did download your QT5 version again and now everything works fine. I am able to use 'https://en.wikipedia.org/wiki/' with an alias 'wiki:' to search with no problem - not clear why you can't. I am also testing using VIRTUALADDRESSLIMIT=2560, but have also tried 3072 and it doesn't really seem to matter...

Regards,
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on February 27, 2023, 07:34:29 pm
Hi David, perhaps you made the same mistake I made, forgetting to actually install the new version.
As for VIRTUALADDRESSLIMIT, I even tried a new install of the latest beta, with the default of 1576 or whatever and Youtube worked once, mem /v reported close to 0 high and low shared memory (8 and 32 IIRC), changed VIRTUALADDRESSLIMIT and no more working YouTube.
Actually it seems the pattern is if I boot to a different install, it works once, which is weird, guess I should try a cold boot.
I do wonder about GCC optimizations, they have a habit of being buggy. The Moz apps are way more stable built with -686 and -O2. I note that the whole of Qt5 has -mno-avx and also linked with -Zno-fork. It's a shame it is so hard to build the whole thing to test.
As for the search, once I changed the wiki URL to https://en.wikipedia.org/w/index.php?title=Special:Search&search= it works fine. Needs a way to edit the searches after finishing them.
I have to try Roberto's swap settings.
Also here's the CXXFLAGS Dooble Qt5 is built with,
Code: [Select]
g++ -c -Zomf -march=i686 -mno-avx -O3 -Wall -Warray-bounds=2 -Wcast-align -Wcast-qual -Wdouble-promotion -Werror -Wextra -Wformat-overflow=2 -Wformat-signedness -Wformat-truncation=2 -Wformat=2 -Wlogical-op -Wno-deprecated-copy -Woverloaded-virtual -Wpointer-arith -Wstack-protector -Wstringop-overflow=2 -Wundef -Wzero-as-null-pointer-constant -fstack-protector-all -fwrapv -pedantic -std=c++17 -Wall -Wextra
and LDFLAGS,
Code: [Select]
g++ -Zomf -Zstack 0x2000 -Zhigh-mem -Zlinker "DISABLE 1121" -Zlinker /PM:PM -Zno-fork -o Dooble.exe
Paul should compare them.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 27, 2023, 10:15:45 pm
Also here's the CXXFLAGS Dooble Qt5 is built with,
Code: [Select]
g++ -c -Zomf -march=i686 -mno-avx -O3 -Wall -Warray-bounds=2 -Wcast-align -Wcast-qual -Wdouble-promotion -Werror -Wextra -Wformat-overflow=2 -Wformat-signedness -Wformat-truncation=2 -Wformat=2 -Wlogical-op -Wno-deprecated-copy -Woverloaded-virtual -Wpointer-arith -Wstack-protector -Wstringop-overflow=2 -Wundef -Wzero-as-null-pointer-constant -fstack-protector-all -fwrapv -pedantic -std=c++17 -Wall -Wextra
and LDFLAGS,
Code: [Select]
g++ -Zomf -Zstack 0x2000 -Zhigh-mem -Zlinker "DISABLE 1121" -Zlinker /PM:PM -Zno-fork -o Dooble.exe
Paul should compare them.

Will do this evening. I expect them to be similar, as qmake is used to generate the makefile, and the os2 qmake files are identical between qt5 and qt6. One difference is that I think I used gcc12 for recent builds - are you using rpm gcc?
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 27, 2023, 10:17:50 pm
Hi Roberto,
It seems to me that you have not seen or have not understood this message.
This application is working almost perfect, with 2560000 at the Swappph. My problem is that I am not able to start the system with a Swappath of that size. I did it once and it was perfect. If I can easily start it with lower values. And although improvements are seen it is not perfect. With a 2048000 swappath, it improves a lot and is very useful, but fails.
Look at the Linear Memory at theSseus4 At the end of the list(linear usage by process), libraries are loaded in memory in another way, with 2048000.
If someone manages to start it with 2560000 to keep it and comment, because it is not easy to repeat it. At least for me.

Ive read it, but right now have nothing further to add. Right now my energy is going into trying to build QtWebengine 6.3.2 - and also trying to build v6.3.2 of the Qt libraries. This doesn't leave much time for experimenting with Dooble.

Cheers,

Paul.
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on February 27, 2023, 11:54:55 pm
Hi Paul, yes, I'm using the RPM GCC.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 28, 2023, 01:39:21 am
Hi Paul, yes, I'm using the RPM GCC.
Cool - I'll try building it with RPM GCC and also check the makeflags..
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on February 28, 2023, 02:58:20 am
I was also thinking of the webengine. Seems the Simplebrowser has the same problems. I'll double check.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 28, 2023, 03:36:14 am
I was also thinking of the webengine. Seems the Simplebrowser has the same problems. I'll double check.
Webengine is already built with rpm gcc....
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on February 28, 2023, 04:09:05 am
Well, the simplebrowser also locked the system, though first try it bitched about some sqlite file and failed to finish displaying YouTube's  home page. After removing its profile and restarting, it complained about not being able to write to the disk,
Code: [Select]
Error:disk_data_allocator.cc(174) DISK:Cannot write to disk, written = -1 FILE_ERROR_FAILEDWeird error.
One thing I wonder about is AVX, looking at libdav1d, I could see where it checked for CPU support of AVX but I didn't see it check for OS support, might well have missed it though.
I also tried Roberto's swap file setting, no change in Dooble's behaviour.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 28, 2023, 08:54:38 am
Also here's the CXXFLAGS Dooble Qt5 is built with,
Code: [Select]
g++ -c -Zomf -march=i686 -mno-avx -O3 -Wall -Warray-bounds=2 -Wcast-align -Wcast-qual -Wdouble-promotion -Werror -Wextra -Wformat-overflow=2 -Wformat-signedness -Wformat-truncation=2 -Wformat=2 -Wlogical-op -Wno-deprecated-copy -Woverloaded-virtual -Wpointer-arith -Wstack-protector -Wstringop-overflow=2 -Wundef -Wzero-as-null-pointer-constant -fstack-protector-all -fwrapv -pedantic -std=c++17 -Wall -Wextra
and LDFLAGS,
Code: [Select]
g++ -Zomf -Zstack 0x2000 -Zhigh-mem -Zlinker "DISABLE 1121" -Zlinker /PM:PM -Zno-fork -o Dooble.exe
Paul should compare them.

Will do this evening. I expect them to be similar, as qmake is used to generate the makefile, and the os2 qmake files are identical between qt5 and qt6. One difference is that I think I used gcc12 for recent builds - are you using rpm gcc?

From Makefile for Dooble qt6:
Code: [Select]
CXXFLAGS      = -Zomf -march=i686 -mno-avx -O3 -Wall -Warray-bounds=2 -Wcast-align -Wcast-qual -Wdouble-promotion -Werror -Wextra -Wformat-overflow=2 -Wformat-signedness -Wformat-truncation=2 -Wformat=2 -Wlogical-op -Wno-deprecated-copy -Woverloaded-virtual -Wpointer-arith -Wstack-protector -Wstringop-overflow=2 -Wundef -Wzero-as-null-pointer-constant -fstack-protector-all -fwrapv -pedantic -std=c++17 -Wno-int-in-bool-context -Wall -Wextra $(DEFINES)
&
Code: [Select]
LFLAGS        = -Zomf -Zstack 0x2000 -Zhigh-mem -Zlinker "DISABLE 1121" -lpthread -lcx
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 28, 2023, 09:15:18 am
One thing I wonder about is AVX, looking at libdav1d, I could see where it checked for CPU support of AVX but I didn't see it check for OS support, might well have missed it though.

afaict we're using https://github.com/psmedley/qt6-webengine-os2/tree/main/src/3rdparty/chromium/third_party/dav1d/config/linux/x86 for configs... so '#define HAVE_AVX512ICL 1' is set...
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 28, 2023, 09:46:35 am
Really not tested - and no qt6webengine stuff included - but https://smedley.id.au/tmp/qt6-6.3.2-os2-20230228.zip updates most of the libs to v6.3.2 - which seems to be compatible with the 6.2.4 abi based on what I've tested so far...
Title: Re: Qt6 Application Testing
Post by: Martin Iturbide on February 28, 2023, 01:41:40 pm
Hi Paul

Do you think that qBittorrent will work now? or are still some components missing to be ported?

Regards
Title: Re: Qt6 Application Testing
Post by: Martin Iturbide on February 28, 2023, 02:25:22 pm
Really not tested - and no qt6webengine stuff included - but https://smedley.id.au/tmp/qt6-6.3.2-os2-20230228.zip updates most of the libs to v6.3.2 - which seems to be compatible with the 6.2.4 abi based on what I've tested so far...

Hi Paul

I think I got confused, does this Qt   6.3.2 replaces everything? Should we only test this one from now on?
I changed the main post, but I'm not sure if it is right.

Regards
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on February 28, 2023, 04:49:51 pm
One thing I wonder about is AVX, looking at libdav1d, I could see where it checked for CPU support of AVX but I didn't see it check for OS support, might well have missed it though.

afaict we're using https://github.com/psmedley/qt6-webengine-os2/tree/main/src/3rdparty/chromium/third_party/dav1d/config/linux/x86 for configs... so '#define HAVE_AVX512ICL 1' is set...

Yes that's set on Qt5 as well. Qt5 did have a configure option to turn off AVX, that Bitwise uses and seems to set -mno-avx, not sure where else it is disabled.
OTOH, Roberto seems to have an AVX capable CPU and success running Dooble.
As for the Dooble compile flags, shouldn't matter so much as the problem is with the webengine as the simplebrowser has the same issue.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 28, 2023, 08:52:27 pm
Hey Dave,

Yes that's set on Qt5 as well. Qt5 did have a configure option to turn off AVX, that Bitwise uses and seems to set -mno-avx, not sure where else it is disabled.
OTOH, Roberto seems to have an AVX capable CPU and success running Dooble.

Are you saying there is a global -mno-avx in the compilation of Qt5? Can you point me to that so I can check I didn't miss it. I know of the one use by qmake - but most of webengine using gn/ninja - not qmake..
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on February 28, 2023, 08:54:14 pm
Hi Martin,

Really not tested - and no qt6webengine stuff included - but https://smedley.id.au/tmp/qt6-6.3.2-os2-20230228.zip updates most of the libs to v6.3.2 - which seems to be compatible with the 6.2.4 abi based on what I've tested so far...

I think I got confused, does this Qt   6.3.2 replaces everything? Should we only test this one from now on?
I changed the main post, but I'm not sure if it is right.

Sorry for the confusion.... Qt 6.5 (the next LTS version) should be out in the next month or so, so I'm trying to prepare for this by getting us closer to that codebase, so any warts can be ironed out in advance. From my limited testing, this *should* be a drop in replacement on top of Qt 6.2 - but I'm not sure if anything will break... Hope that helps...
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on February 28, 2023, 09:24:28 pm
Seems to be covered by this configure option
Code: [Select]
-sse3/-ssse3/-sse4.1/-sse4.2/-avx/-avx2/-avx512
                       Enable use of particular x86 instructions [auto]
                       Enabled ones are still subject to runtime detection.
Adding -no- such as -no-avx disables.
I'll attach the output of configure --help.
Title: Re: Qt6 Application Testing
Post by: David McKenna on March 01, 2023, 12:35:03 am
Hey Paul,

  The 6.3.2 version seems to work with Dooble about as well as the 6.2 version as far as I can tell - no better, no worse. Maybe it takes longer for YouTube to hang, but it still hangs (I was able to play a video once for about 5 seconds before hanging). Other apps tried (qBittorent, QtTube, Scribus) all have the same issues with both versions, but nothing new. The examples also seem the same - anything with 'QML' or 'Quick' in the name and some with 'SQL' don't work, but everything else I tried so far does... thanks!

  EDIT: BTW - your Dooble github site does not have a facility for lodging issues, is that intentional?

Regards,
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on March 01, 2023, 02:43:11 am
Seems to be covered by this configure option
Code: [Select]
-sse3/-ssse3/-sse4.1/-sse4.2/-avx/-avx2/-avx512
                       Enable use of particular x86 instructions [auto]
                       Enabled ones are still subject to runtime detection.
Adding -no- such as -no-avx disables.
I'll attach the output of configure --help.

Thanks - this options exists in qtbase from Qt6 as well. I'll rebuild qt6-base-os2 and try see if it changes any flags within chromium - I'm not sure that the gn build system will take any notice of these flags, but happy to be wrong.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on March 01, 2023, 02:56:29 am
Hey Dave,
  The 6.3.2 version seems to work with Dooble about as well as the 6.2 version as far as I can tell - no better, no worse. Maybe it takes longer for YouTube to hang, but it still hangs (I was able to play a video once for about 5 seconds before hanging). Other apps tried (qBittorent, QtTube, Scribus) all have the same issues with both versions, but nothing new. The examples also seem the same - anything with 'QML' or 'Quick' in the name and some with 'SQL' don't work, but everything else I tried so far does... thanks!

  EDIT: BTW - your Dooble github site does not have a facility for lodging issues, is that intentional?

Thanks for testing! The Qml/Quick examples fail with the workerscript error? Re: dooble fork and issues - the default for forks is to not allow issues to be raised.  I would suggest most issues with Dooble/2 would be best raised in the Qt6-webengine-os2 repository.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on March 01, 2023, 02:57:40 am
Do you think that qBittorrent will work now? or are still some components missing to be ported?

I wouldn't expect anything to have changed - there is something funky about the way qBittorrent creates sockets that needs exploration - I just haven't had time to dig into it.
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on March 01, 2023, 07:24:45 am
Hey Dave,
  The 6.3.2 version seems to work with Dooble about as well as the 6.2 version as far as I can tell - no better, no worse. Maybe it takes longer for YouTube to hang, but it still hangs (I was able to play a video once for about 5 seconds before hanging). Other apps tried (qBittorent, QtTube, Scribus) all have the same issues with both versions, but nothing new. The examples also seem the same - anything with 'QML' or 'Quick' in the name and some with 'SQL' don't work, but everything else I tried so far does... thanks!

  EDIT: BTW - your Dooble github site does not have a facility for lodging issues, is that intentional?

Thanks for testing! The Qml/Quick examples fail with the workerscript error? Re: dooble fork and issues - the default for forks is to not allow issues to be raised.  I would suggest most issues with Dooble/2 would be best raised in the Qt6-webengine-os2 repository.

All ways good to test with the simplebrowser to see if something is a Dooble issue or webengine.

Paul, and I guess Roberto too, have you checked what codec is being used on your system? Right click the video and choose stats for nerds. Curious is you're actually using av1.

It's a shame there doesn't seem to be an easy way to disable av1 in Dooble or the webengine. In Chrome, you can enter chrome://flags/#enable-av1-decoder to get at the setting, dooble doesn't accept chrome: URL's. SeaMonkey does accept some such as chrome://communicator/content/permissions/cookieViewer.xul to get the old cookie manager. It also raises the question of whether chromium would accept the chrome: url.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on March 01, 2023, 09:19:10 am
Looks like vp9?
Title: Re: Qt6 Application Testing
Post by: David McKenna on March 01, 2023, 12:12:15 pm
Paul,


Thanks for testing! The Qml/Quick examples fail with the workerscript error? Re: dooble fork and issues - the default for forks is to not allow issues to be raised.  I would suggest most issues with Dooble/2 would be best raised in the Qt6-webengine-os2 repository.

 Yes, it's the workerscript error with the QML/Quick examples....

Regards,
Title: Re: Qt6 Application Testing
Post by: roberto on March 01, 2023, 04:02:25 pm

How to start dooble qt6  (my opinion)

Today I had a little free time in my work, and decided to install Qt6 dooble,
 and I used a rexx-cmd proposed here, and it did not start missing qt6core.dll.
  I decided how I have in my HP8760W, modifying the config.Sys directly, and the difference is important:

edit config.sys

SET PATH=;c:\var\tmp\qt6\bin;.......your other paths.....(Attention  path=;)

---Not necessary, but if you want--- set BEGINLIBPATH=c:\var\tmp\qt6\lib

SWAPPATH=L:\ 0 512000


VIRTUALADDRESSLIMIT=2816

save your config.sys

Unpack :

     https://smedley.id.au/tmp/qt6-6.3.2-os2-20230228.zip
     install in c:\var\tmp\qt6.....

      https://smedley.id.au/tmp/dooble-2023.02.20-os2-qt6-20230219.zip
      install in c:\var\tmp\qt6\bin

      https://www.os2world.com/forum/index.php?action=dlattach;topic=3252.0;attach=9213  vpx113.zip
      install in c:\var\tmp\qt6\lib

restart the system


Remember to eliminate your previous profile, for some good tests, to report them.
(C:\var\tmp\qt6\bin)erase d:\home\.dooble

(C:\var\tmp\qt6\bin)dooble.exe           run and play

I hope nobody tells me that it doesn't work.

Saludos
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on March 01, 2023, 05:22:08 pm
Looks like vp9?

Perhaps check a couple as not all videos have been re-encoded to av1. Would explain why YouTube works for you. This is in vbox? Perhaps the virtual CPU doesn't support AVX.
Here's the Qt5 version of Dooble, didn't feel like rebooting. According to the issue at Bitwise, the first release of Qt5 worked, perhaps no av1 support, otherwise with qt5, the video and sometimes the tab hangs.
Edit: might have nothing to do with AVX, as VP9 should also support it. Wonder why your system gets VP9 instead of AV1?

Title: Re: Qt6 Application Testing
Post by: Paul Smedley on March 02, 2023, 02:56:58 am
Interestingly, with https://www.youtube.com/watch?v=YmtIva6SsVk I get vp9 even with chrome on linux....
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on March 02, 2023, 03:43:52 am
Yes, I get vp9 as well. As said, not all have been re-encoded, it's a big job. I did get a av1 commercial when I reloaded the page.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on March 02, 2023, 05:41:53 am
Did the VP9 video play for you (in Dooble/Qt6)?
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on March 02, 2023, 07:04:16 am
Did the VP9 video play for you (in Dooble/Qt6)?

Didn't try. Busy with other stuff so didn't want to lock the computer. At least the Qt5 build allows a graceful exit from Dooble when it hangs instead of a reboot and chkdsk, fast on JFS but still a few minutes.
Title: Re: Qt6 Application Testing
Post by: roberto on March 02, 2023, 08:57:35 am
Did the VP9 video play for you (in Dooble/Qt6)?
yes i can play.
My hp8760w is avx compatible.
But here I am with this other processor, and perhaps even better that hp8760w. And this no is avx compatible?
----- System Information -------------------------------------------------------
CPU: GenuineIntel Intel(R) Core(TM) i7 CPU       M 620  @ 2.67GHz
CPU Speed: 2648 Mhz
CPU Count: 2
Loader's physical memory layout:
  Memory below 1MB: 639.00 KiB
  Memory between 1MB and 4GB: 2.92 GiB
  Memory below 4GB: 2.92 GiB
  Memory above 4GB: 896.00 MiB
Kernel's physical memory layout:
  From 00000000 to 00031FFF size=200.00 KiB
  From 00039000 to 0009FFFF size=412.00 KiB
  From 00100000 to BB77FFFF size=2.92 GiB
Physical memory: 2.92 GiB
Available memory: 692.00 MiB
Available Private memory: 328.50 MiB
Available Shared memory: 229.31 MiB
Virtual Address Limit: 2816
Max Processes: 282
SMBIOS version 2.6 at fb7e0 len=a4f
BIOS Information:
 Vendor: American Megatrends Inc.
 Version: 080015
 Release Date: 02/04/2015
 ROM Size: 1024 kB
 ACPI is supported
 BIOS Revision: 8.15
System Information:
 Manufacturer: To Be Filled By O.E.M.
 Product Name: To Be Filled By O.E.M.
 Version: To Be Filled By O.E.M.
 Serial Number: To Be Filled By O.E.M.
 UUID: 03000200-0400-0500-0006-000700080009
Base Board Information:
 Manufacturer: INTEL
 Product Name: To be filled by O.E.M.
 Version: To be filled by O.E.M.
 Serial Number: To be filled by O.E.M.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on March 02, 2023, 09:56:03 am
Good choice of song Roberto :) One of my favourites from the good old Frenzal Rhomb :)
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on March 02, 2023, 10:02:40 am
Did the VP9 video play for you (in Dooble/Qt6)?

Didn't try. Busy with other stuff so didn't want to lock the computer. At least the Qt5 build allows a graceful exit from Dooble when it hangs instead of a reboot and chkdsk, fast on JFS but still a few minutes.

OK - I'm going to try resetting dav1d to the original source, and reapply the qt5 diffs. See what happens...
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on March 02, 2023, 09:12:56 pm
OK the dav1d patches look reasonable - but I do agree that av1 videos are more problematic than vp9 videos. vp9 play pretty smoothly on my vbox install; av1 whilst not freezing the system, do play very jerkily (is that a word?)
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on March 02, 2023, 09:52:14 pm
I wonder how to turn off AV1 support. Perhaps just the mime type would do as it is so CPU intensive even without the hangs. Also a shame that chromium doesn't seem to have preferences like Firefox does, could put AV1 behind a preference
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on March 03, 2023, 12:02:15 am
OK I made two changes, both related to AVX support in libyuv:
1) rebuilt libvpx with AVX disabled in libyuv - https://smedley.id.au/tmp/libvpx-1.13.0-os2-20230303.zip
2) rebuilt qt6webee.dll with AVX disabled in libyuv - https://smedley.id.au/tmp/qt6webee-20230303.zip

My subjective assessment is these don't change much. Next step will be to add -mnoavx to the os2 cflags and see if that changes anything..
Title: Re: Qt6 Application Testing
Post by: roberto on March 03, 2023, 05:29:58 pm
OK I made two changes, both related to AVX support in libyuv:
1) rebuilt libvpx with AVX disabled in libyuv - https://smedley.id.au/tmp/libvpx-1.13.0-os2-20230303.zip
2) rebuilt qt6webee.dll with AVX disabled in libyuv - https://smedley.id.au/tmp/qt6webee-20230303.zip

My subjective assessment is these don't change much. Next step will be to add -mnoavx to the os2 cflags and see if that changes anything..
I discard it, for now. With the previous version and configuring the dooble with 512MB of Cache, I have been able to see some video in 8K, to a 1000K resolution, it works better than at 400K YouTube defect. But as seen and heard, stop 2 to 3 seconds, at intervals. And other times the video barely starts, and I have to restart Dooble.
saludos
Title: Re: Qt6 Application Testing
Post by: David McKenna on March 03, 2023, 09:42:52 pm
Hey Paul!
OK I made two changes, both related to AVX support in libyuv:
1) rebuilt libvpx with AVX disabled in libyuv - https://smedley.id.au/tmp/libvpx-1.13.0-os2-20230303.zip
2) rebuilt qt6webee.dll with AVX disabled in libyuv - https://smedley.id.au/tmp/qt6webee-20230303.zip

My subjective assessment is these don't change much. Next step will be to add -mnoavx to the os2 cflags and see if that changes anything..
These builds definitely help here - I am able to go to www.youtube.com and it doesn't hang within 15 seconds! In fact it hasn't hung yet on the main page and I can play some videos no problem, but others will hang eventually. It seems VP9 videos work fine, but AV1 videos are glitchy and hang eventually. Still, it's progress!

Regards,
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on March 03, 2023, 09:55:39 pm
Thanks Roberto - that kinda matches my limited testing. It's interesting - not what I expected given the extent of the change. We'll see what the upcoming build which has all avx code disabled changes...
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on March 03, 2023, 09:57:03 pm
Hey Dave,

Hey Paul!
OK I made two changes, both related to AVX support in libyuv:
1) rebuilt libvpx with AVX disabled in libyuv - https://smedley.id.au/tmp/libvpx-1.13.0-os2-20230303.zip
2) rebuilt qt6webee.dll with AVX disabled in libyuv - https://smedley.id.au/tmp/qt6webee-20230303.zip

My subjective assessment is these don't change much. Next step will be to add -mnoavx to the os2 cflags and see if that changes anything..
These builds definitely help here - I am able to go to www.youtube.com and it doesn't hang within 15 seconds! In fact it hasn't hung yet on the main page and I can play some videos no problem, but others will hang eventually. It seems VP9 videos work fine, but AV1 videos are glitchy and hang eventually. Still, it's progress!,

Cool! So looks like use of AVX definitely causes problems for some at least :) Upcoming build - hopefully later today (its almost 7:30am my time) will have NO avx code in the binaries...
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on March 04, 2023, 12:18:59 am
Dooble-qt6 is nw acting much as dooble-qt5. Did lock the computer once but generally commercials play, videos play for a few seconds and then stop. Dooble hangs on exit, and restarting, it will not load YouTube until I nuke the profile.
Getting better
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on March 04, 2023, 12:25:00 am
Dooble-qt6 is nw acting much as dooble-qt5. Did lock the computer once but generally commercials play, videos play for a few seconds and then stop. Dooble hangs on exit, and restarting, it will not load YouTube until I nuke the profile.
Getting better

Hopefully even better after we nuke more avx stuff....
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on March 04, 2023, 05:47:27 am
Dooble-qt6 is nw acting much as dooble-qt5. Did lock the computer once but generally commercials play, videos play for a few seconds and then stop. Dooble hangs on exit, and restarting, it will not load YouTube until I nuke the profile.
Getting better

Hopefully even better after we nuke more avx stuff....

Well, Qt5 nuked all the avx stuff, av1 videos still don't play worth a damn. Most programs/libraries correctly enable AVX, check for CPU support and check for OS support (fxsafe). Even GCC, when I targeted my CPU, didn't enable AVX, though when I targeted native, it did, and SM crashed really quick due to unaligned AVX instruction, with a detailed trp report, though exceptq's disassembler needs updating to support AVX:)
It's good to turn off all the AVX, if nothing else to make the OS4 people happy, but I'm not sure if there will be more improvements. Hasn't been any avx related trps, so GCC isn't using avx, probably as isn't either. I do think that libdav1d was (maybe only officially supports OS's with avx support?) but not sure. It makes sense that without fxsave support, a context switch could lock things up or worse.
I'm also wondering what changed in Dooble, both Qt5 and Qt6 to stop it cleanly exiting. Have to bisect the tree I guess, luckily it is a small project and not many commits.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on March 04, 2023, 08:48:53 am
re: libdav1d there are a set of config files that don't use ASM and don't support AVX in https://github.com/psmedley/qt6-webengine-os2/tree/main/src/3rdparty/chromium/third_party/dav1d/config/linux-noasm/x64 - these are used by the is_msan config
Title: Re: Qt6 Application Testing
Post by: roberto on March 04, 2023, 01:12:04 pm
This patch, improves the AV1 videos, lighting blocks in memory.
I do not know if it will work for others, and if it will be easy or difficult to apply it to the qt6webee.dll, which is about the DLL that I apply it.
saludos
Title: Re: Qt6 Application Testing
Post by: roberto on March 04, 2023, 03:32:25 pm
This patch, improves the AV1 videos, lighting blocks in memory.
I do not know if it will work for others, and if it will be easy or difficult to apply it to the qt6webee.dll, which is about the DLL that I apply it.
saludos
It improves a lot but it seems that in certain circumstances, there is a second memory block.

saludos
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on March 04, 2023, 10:09:22 pm
Hi Roberto,

This patch, improves the AV1 videos, lighting blocks in memory.
I do not know if it will work for others, and if it will be easy or difficult to apply it to the qt6webee.dll, which is about the DLL that I apply it.
saludos

Can you explain what this patch is doing? That might help me understand how to implement it in source code. Of course, who knows, my upcoming build may negate the need for it :)
Title: Re: Qt6 Application Testing
Post by: roberto on March 05, 2023, 01:06:39 am
Hi Paul
Can you explain what this patch is doing? That might help me understand how to implement it in source code. Of course, who knows, my upcoming build may negate the need for it :)
Of course, it's simple.
When an error occurs, the except generates a file, or several, the first is always the good.

______________________________________________________________________

 Exception C000009F - Breakpoint
______________________________________________________________________

 Process:  C:\VAR\TMP\QT6\BIN\DOOBLE-QT6.EXE (02/19/2023 00:32:25 7,189,189)
 PID:      86 (134)
 TID:      12 (18)
 Priority: 200

 Filename: C:\VAR\TMP\QT6\LIB\QT6WEBEE.DLL (02/22/2023 08:16:05 258,111,311)
 Address:  005B:A9D77A71 (0001:04B97A71)

In 99% of cases
Adress is 005B
I take the physical address 04B97A71
Having open or executing to load that DLL in memory, the necessary program.
I open the theeus and look for that address,
I take a list of the 1000 records, or 10000 or more records from that address. And I keep it.
I have it automated with the L5B1.cmd program, to read that theseus file, and extract positions
of the 5B value, putting it in another file, copy paste to the basic.
And I begin to try, and adjust what is left over. It seems difficult for me to do what you do. But this
for me it is relatively simple. (In my time with the Vic20 and Commodore64, when the lives changed
To the Pacman, it took 15 to 20 minutes to record a tape, now it is in seconds, could not fail or
I had to start the process)

What does:
Read the 5B value in memory and put the value of 1
From what I have been able to observe, I have the sensation that this value determines the speed of the programs,
The problem is that sometimes it has to have its value that corresponds to it, different from 1. and the only way of knowing it
For me it is by proof and error.
According to my observations, the value of 1 is the fastest and harder in the case of failure.
It has been commenting possible for a long time but as everyone would have worse.
When executing the program in QBASIC, 5b = 1 constantly charged in memory
When the program is executed, that position is with value 1,
  And the program interprets it as we are going fast. And that's it.
Somehow, it would be logical to think that this value linked to the processors should be, do you imagine an 8086 at these speeds?

How can you implement it?
  I don't know, don't be programmed, and I barely have some knowledge of Rexx.
  Yes, I can't help you.

I am attaching:
2 Exception errors that came out when I told him to watch videos in 4K,
  Memory exploded. (The game begins)
The L5B1.cmd program, which is capable of collecting everything that theseus is able to deliver a blow.
And another patch, which seems to me that the first and second blockade of memory solves.
With this second patch, which replaces the previous I have seen without problems videos in 4K, but it seems to me
That YouTube no longer leaves me, I will try it tomorrow.

The patch I think has a failure, in some videos you have to change the quality of the video so that
Start. That is 320, 400, 700, 1080, etc.

I need to verify if I can take away everything from QT5   037AB0EB
Saludos
Title: Re: Qt6 Application Testing
Post by: roberto on March 05, 2023, 01:20:47 pm
To execute my patch, it is necessary to execute QT6 dooble, create a new profile, and put a 512mb cache, and click on apply.
saludos
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on March 05, 2023, 10:03:10 pm
https://smedley.id.au/tmp/qt6webee-20230306.zip is built with -mno-avx - so there is no avx code present. Really interested to see if this solves anything :) (Or makes anything worse)
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on March 05, 2023, 10:55:20 pm
https://smedley.id.au/tmp/qt6webee-20230306.zip is built with -mno-avx - so there is no avx code present. Really interested to see if this solves anything :) (Or makes anything worse)

No change here, VP9 videos play great, AV1 plays for up to a minute then freezes.
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on March 05, 2023, 11:07:42 pm
So playing around trying to enable wal on the dooble sqlite3 files, with the Qt6 Dooble, while it seems to work, afterwards nothing will load and I actually had to nuke the whole of HOME to get it working again. Luckily I'm using a specific HOME for Qt6.
Doing the same with the Qt5 Dooble, things continue to work.
Here's the wal.sh script to enable wal, run it in your .dooble directory after backing up.
Code: [Select]
ls *.db | while read filename;
  do sqlite3 $filename 'PRAGMA journal_mode=WAL;';
done;
And unwal.sh to turn it off,
Code: [Select]
ls *.db | while read filename;
  do sqlite3 $filename 'PRAGMA journal_mode=delete;';
done;

Wal stands for write ahead log, like a journal, should speed things up and survive crashes better. Had to get a sqlite expert to add it to sqlite3 somewhere in the FF3.7 times and Mozilla uses it for some sqlite files.
scripts borrowed from https://til.simonwillison.net/sqlite/enabling-wal-mode (https://til.simonwillison.net/sqlite/enabling-wal-mode)

Edit: perhaps due to mismatched sqlite3 executables? Doesn't seem likely but who knows
Title: Re: Qt6 Application Testing
Post by: Martin Iturbide on March 06, 2023, 12:27:58 am
Hi

Tellie posted some Qt6 applications to test:
- ftp://ftp.netlabs.org/pub/qtapps/StackAndConquer-0.1.0-OS2-6.2.4.7z
- ftp://ftp.netlabs.org/pub/qtapps/heimer-3.7.0-OS2-6.2.4.7z
- ftp://ftp.netlabs.org/pub/qtapps/zint-2.12.0.9-OS2-6.2.4.7z

Please post any feedback.

Regards
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on March 06, 2023, 02:05:28 am
https://smedley.id.au/tmp/qt6webee-20230306.zip is built with -mno-avx - so there is no avx code present. Really interested to see if this solves anything :) (Or makes anything worse)

No change here, VP9 videos play great, AV1 plays for up to a minute then freezes.

Thanks for testing - I've revert the change to add -mno-avx and back out some of the changes to work around it - seems like the CPU detection is functioning in most places in the code, so from a code maintenance point of view, I'd prefer to limit the source changes...
Title: Re: Qt6 Application Testing
Post by: David McKenna on March 06, 2023, 02:26:58 pm
 Paul,

 This latest 20230306 qt6webee does seem somewhat better here - AV1 files stop playing after a couple of seconds (VP9 are fine), but I have not had a single system hang after about an hour of trying videos on YouTube. It appears the video keeps streaming even after it stops showing (using the 'Stats for Nerds' display) and I have found that AV1 files that show a static image and play music continue to work to the end. Occasionally, I have even had the image briefly change after a freeze if I wait long enough. More progress!

Regards,
Title: Re: Qt6 Application Testing
Post by: roberto on March 06, 2023, 04:48:31 pm
Since yesterday my test machine and after an error with the dooble-qt6, in Arca507,
The operation is disastrous, but only in youtube. In other tv chanels I can see good videos.

Between the previous version of qt6webee.dll and the new one, I do not see differences,
 I am left with the old version.
Since everything is going wrong with youtube, they appear in the console errors frequently that they did not come
out before,like this, or similar:

[125:6:0305/210609.479000:ERROR:indexed_db_factory_impl.cc(583)] Failed to GetDB
SizeFromEnv: IO error: /000009.ldb: File not found

It doesn't matter if you use an old profile or delete the previous profile and believe a new one.



Tellie Ports
Heimer
SYS1804: The System Cannot Find the File Qt6coret.

The system does not find it and I don't find it either.

The other two applications seem 100% ok, but I have tested little.

Saludos
Title: Re: Qt6 Application Testing
Post by: roberto on March 06, 2023, 08:30:22 pm
It seems that I am recovering my profile, and the CC errors have disappeared (583)
But through Yahoo, I have been able to start watching the YouTube 4K video for a few minutes
to a resolution of 1080. photo 4k.png
I can't watch videos from YouTube. Not even the first page.

The last video that sends me everything to the fret is the photo 12kvideo.png, I get the attention for the format.
Really the latter, I can't see it and that's why I made a photo.
saludos
Title: Re: Qt6 Application Testing
Post by: TeLLie on March 06, 2023, 08:53:02 pm
Since yesterday my test machine and after an error with the dooble-qt6, in Arca507,
The operation is disastrous, but only in youtube. In other tv chanels I can see good videos.

Between the previous version of qt6webee.dll and the new one, I do not see differences,
 I am left with the old version.
Since everything is going wrong with youtube, they appear in the console errors frequently that they did not come
out before,like this, or similar:

[125:6:0305/210609.479000:ERROR:indexed_db_factory_impl.cc(583)] Failed to GetDB
SizeFromEnv: IO error: /000009.ldb: File not found

It doesn't matter if you use an old profile or delete the previous profile and believe a new one.


Hello Roberto.....


Tellie Ports
Heimer
SYS1804: The System Cannot Find the File Qt6coret.

The system does not find it and I don't find it either.
Did you have use this qt6-6.2.4-os2-20230214.zip
Afaik there is the Qt6Coret.dll in.....

The other two applications seem 100% ok, but I have tested little.


Saludos
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on March 07, 2023, 02:49:58 am
This latest 20230306 qt6webee does seem somewhat better here - AV1 files stop playing after a couple of seconds (VP9 are fine), but I have not had a single system hang after about an hour of trying videos on YouTube. It appears the video keeps streaming even after it stops showing (using the 'Stats for Nerds' display) and I have found that AV1 files that show a static image and play music continue to work to the end. Occasionally, I have even had the image briefly change after a freeze if I wait long enough. More progress!

Thanks Dave, my current thinking is that I'll try and build dav1d and its corresponding test suite - this means I'll have to try and get the meson build system working, but it may shed some light on what's going wrong for us...

Meanwhile, I'll proceed with trying to get QtWebengine 6.3.x building, as a stepping stone towards updating the Qt 6.5 which is due for release at the end of the month.
Title: Re: Qt6 Application Testing
Post by: roberto on March 07, 2023, 03:23:03 pm
Tellie Ports
Heimer
Afaik there is the Qt6Coret.dll in.....
I get this error in the console,

Tue Mar  7 15:14:29 2023 [W] Failed to load Qt translations for 'es-ES'
Tue Mar  7 15:14:29 2023 [W] Failed to load application translations for 'es-ES'

The menus leave in Spanish, but when I want to write, the Spanish keyboard does not recognize me. I understand that it is the missing part in QT6.
For the rest perfect.
Saludos y gracias
Title: Re: Qt6 Application Testing
Post by: TeLLie on March 07, 2023, 06:47:12 pm
Hello Roberto

Did you try it with "Heimer --lang es"
Title: Re: Qt6 Application Testing
Post by: roberto on March 07, 2023, 08:24:07 pm
(C:\var\tmp\qt6\heimer)heimer --lang es
Tue Mar  7 20:07:55 2023 Heimer version 3.7.0
Tue Mar  7 20:07:55 2023 Copyright (c) 2018-2023 Jussi Lind
Tue Mar  7 20:07:55 2023 Compiled against Qt version 6.2.4
Tue Mar  7 20:07:55 2023 Language forced to 'es'

I have tried two QT6 versions, and it doesn't work with any. Although it shows me that, but it doesn't work for me.
The key ñ fail, and is importan, España=Spain
Also tell you that when you press in Descard, it makes a medium hangs, it blocks a long time, but finally with Ctrl+C I can close it.
saludos Tellie
Title: Re: Qt6 Application Testing
Post by: TeLLie on March 07, 2023, 09:29:07 pm
Hi Roberto

I have no Spain keyb
And can't test it.
I will ask Author about it.
The descard  key works here
Title: Re: Qt6 Application Testing
Post by: Martin Iturbide on March 08, 2023, 02:48:12 am
Hi

Just one thing while trying to test Heimer. Where is QT6CORET.DLL ?
I'm using qt6-6.3.2-os2-20230228.zip

Regards
Title: Re: Qt6 Application Testing
Post by: Rich Walsh on March 08, 2023, 03:15:21 am
I have no Spain keyb
And can't test it.

For PM apps: go to System Setup->Keyboard->Layout, select "Spain".

 The 'ñ' is where the semicolon and colon would be on an English keyboard.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on March 08, 2023, 03:24:28 am
Hi

Just one thing while trying to test Heimer. Where is QT6CORET.DLL ?
I'm using qt6-6.3.2-os2-20230228.zip

Regards

I think that dll is from qttranslation, it's possible I didn't build it for 6.3.2.....
Title: Re: Qt6 Application Testing
Post by: Martin Iturbide on March 08, 2023, 03:56:05 am
Hi

I found out that QT6CORET.DLL is not available in qt6-6.3.2. I grabbed just that file from qt6-6.2.4-os2-20230214 to test Heimer.

The older Qt5 version works fine with the ñ áéíóú and some other special characters. Qt 6 version does not support those, no matter if I run it in Spanish ("Heimer --lang es"). I even fully reverted back to " Qt version 6.2.4" and I got the same results with Heimer on Qt 6.

(Pictures attached)

Regards
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on March 10, 2023, 10:08:15 pm
I found out that QT6CORET.DLL is not available in qt6-6.3.2. I grabbed just that file from qt6-6.2.4-os2-20230214 to test Heimer.

Yep, I forgot to build qt5compat for qt 6.3.2 - it will be included with qt 6.4.2
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on March 11, 2023, 07:08:58 am
Qt 6.4.2 for testing - https://smedley.id.au/tmp/qt6-6.4.2-os2-20230311.zip - this has been tested very lightly - really just a couple of the example apps. I've tried to include all the same libraries as from Qt 6.2.4 - I even remembered the Qt5Compat lib this time :)

This does not (yet) include the QtWebEngine.... You can *probably* use the Qt 6.2.4 versions but I haven't tested this.

I'm hoping existing ports will work with these DLLs....

Original zip didn't include qtcharts or qttranslations, I just refreshed the zip:
82,850,267    124  qt6-6.4.2-os2-20230311.zip
Title: Re: Qt6 Application Testing
Post by: Martin Iturbide on March 11, 2023, 01:47:04 pm
Qt 6.4.2 for testing - https://smedley.id.au/tmp/qt6-6.4.2-os2-20230311.zip

Thanks Paul.

I'm testing Qt 6.4.2 with a recent Qoobar port that Tellie produced.
- ftp://ftp.netlabs.org/pub/qtapps/Qoobar-1.7.0-os2-6.2.4.7z
(I took TAG1.DLL from PMP. - ftp://ftp.netlabs.org/pub/qtapps/pmp-v0.2-os2.7z)
I'm getting an error on "Save" button, but it seems to be the same error than on Qt 6.2

Quote
[C:\DESKTOP\Qt6Test\qoobar]qoobar
unknown: warning: QAbstractItemView::closeEditor called with an editor that does
 not belong to this view
unknown: warning: QAbstractItemView::commitData called with an editor that does
not belong to this view
unknown: warning: QAbstractItemView::closeEditor called with an editor that does
 not belong to this view

Killed by SIGSEGV
pid=0x0071 ppid=0x006d tid=0x0001 slot=0x008a pri=0x0200 mc=0x0001 ps=0x0010
C:\DESKTOP\QT6TEST\QOOBAR\QOOBAR.EXE
cs:eip=201056a8:00000018      ss:esp=000c:00000003      ebp=00a00053
 ds=0000      es=0000      fs=0004      gs=0000     efl=00000004
eax=00a0e5c8 ebx=1ffc9d7c ecx=00a0e5dc edx=00a0e600 edi=00000004 esi=00a0ff9c
Creating 0071_01.TRP
Moved 0071_01.TRP to C:\var\log\app\640c3167-0071_01-QOOBAR-exceptq.txt

Regards
Title: Re: Qt6 Application Testing
Post by: Martin Iturbide on March 11, 2023, 02:06:52 pm
Qt 6.4.2 for testing - https://smedley.id.au/tmp/qt6-6.4.2-os2-20230311.zip

For the moment I had tested the following Qt6 apps with Qt 6.4.2 and are working fine:
- Connectagram
- CuteMaze
- FocusWriter - Works but special characters not working. áéíóú ñ Ñ
- Gottet
- IqPuzzle
- Kapow
- NovProg
- Qoobar - Loads but some crash with trying to save files (listed before).
- Tanglet
- Stack and Conquer
- Heimer - Works but same issue with special characters.
- Zint - Seems to work, but gotta test further the "copy as PNG", etc. Shows some info on the console.

- Tea - Same issue with special characters.
--And this warning.
Code: [Select]
update_keyboards()
"C:/Home/tea/keyboards"
qt.core.qobject.connect: QObject::connect: No such signal QComboBox::currentInde
xChanged (QString)

- Hexalate, Peg-E and SimSU, works fine but I got an error.
-- Go to "Settings" and change the language.
-- The following error shows on console.
Code: [Select]
OpenType support missing for "Hershey-Script-Complex", script 17
 OpenType support missing for "Hershey-Script-Simplex", script 17
 OpenType support missing for "URW Bookman L", script 17
 OpenType support missing for "Utopia", script 17
 OpenType support missing for "Dingbats", script 17
 OpenType support missing for "Midori Sans", script 17
 OpenType support missing for "Nimbus Sans L Condensed", script 17
 OpenType support missing for "URW Chancery L", script 17
 OpenType support missing for "Wingdings", script 17
 OpenType support missing for "Symbol", script 17
 OpenType support missing for "", script 17
 OpenType support missing for "", script 17

- Scribus. I can not set it up. I get confused with the paths and were the files should go.
-- I get a:
-- No icons found :(

- QtTube
--  Missing Qt6Web on 6.4.2

Regards
Title: Re: Qt6 Application Testing
Post by: David McKenna on March 11, 2023, 04:51:12 pm
 Thanks Paul! This build of QT6.4.2 seems to work as well as 6.2 and 6.3, and has the same quirks. Everything I have tried (including Dooble with the 6.2 webengine) works as well as it did with previous versions. The biggest issue I see with the examples is the 'Workerscript plugin not found' error on QML and Quick examples (and a few others).

 @Martin - I just extracted Scribus to the root of my C: drive and it works well here (do get a python error on one of the plugins at start though).

Regards,
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on March 11, 2023, 11:36:04 pm
Thanks guys - good to know that there are no obvious regressions.

@Martin - the qoobar trap is coming from within qoobar - not from Qt - so I suspect a porting issue.
@Martin - re: scribus, what @David said - whilst it *may* be portable - unzip it to the root of a drive, and run Scribus.
@David - Next time I compile Scribus, I'll aim to link it again the rpm python3 to avoid the error.
Title: Re: Qt6 Application Testing
Post by: Andy Willis on March 13, 2023, 06:57:40 am
I've opened two PDF files (one xpdf built with QT5, and another after rebuilding with QT6).
Printed from both the one built with QT5 and the one with QT6 to PDF.  Both look from a test level OK:
Output starts with:
%!PS-Adobe-3.0
%XpdfVersion: 4.04
%%Creator: Writer
%%LanguageLevel: 2
However, neither xpdf nor lucide can open either file.  I cannot currently test printing to a real printer, so do not know if real printing works.
The only real changes that had to be done for the code was to add a couple of || defined and a section for cups in the cmakefiles.txt for OS2.  All following Linux, all related to printing...
For QT6 I had to go to a bug report where someone had submitted changes for QPrint due to deprecation changes.

P.S.  Maybe consider adding 7z as an upload option.  I did not notice it was not and the system helpfully removed my write-up that I had to re-write when it failed.
Title: Re: Qt6 Application Testing
Post by: Martin Iturbide on March 13, 2023, 05:15:42 pm
P.S.  Maybe consider adding 7z as an upload option.  I did not notice it was not and the system helpfully removed my write-up that I had to re-write when it failed.

Hi
I changed the configuration. I guess now .7z files can be uploaded on the forum.
Regards
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on March 16, 2023, 09:30:41 pm
So.... I finally got qtwebengine 6.3.2 built...

There are some new warnings starting dooble like:
Code: [Select]
[64:1:0317/065341.318000:ERROR:system_network_context_manager.cpp(299)] Cannot use V8 Proxy resolver in single process mode.

& in loading some pages, we're getting:
Code: [Select]
[64:6:0317/065608.438000:ERROR:cert_verify_proc_builtin.cc(600)] No net_fetcher for performing AIA chasing.
followed not long after by a browser crash (which may or may not be related to the above)

I also noticed some re-draw issues re-sizing the browser window.

All in, I'd say this build really *isn't* ready for prime time, but in the interests of sharing - here's a link anyway: https://smedley.id.au/tmp/qt6-6.3.2-os2-webengine-20230317.zip

This can be unzipped over the top of any qt6 build and *should* work (with the caveats above)

Attached screenshot is running this build :)

Aiming to get all source checked in, and at least the net_fetcher issue resolved during today (my time)
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on March 17, 2023, 01:55:12 am
OK - after getting home from getting the car services, I reviewed 3x TRP files from this morning.

These were all showing traps in:
Code: [Select]
Trap  ->  13ACD179   QT6WEBEE  0001:0755D179   _vp8_dequant_idct_add_mmx + 1EC6F2D 0001:0569624C (../../../../../src/3rdparty/chromium/third_party/libvpx/source/libvpx/vp8/common/x86/dequantize_mmx.asm)

It seems the configure process decided to use the - built-in libvpx rather than the system one I build a while back.

Re-linking qt6webee.dll now....
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on March 17, 2023, 05:22:52 am
OK re-linking got past the libvpx trap, now I'm getting a trap in:
 Call Stack
______________________________________________________________________

   EBP     Address    Module     Obj:Offset    Nearest Public Symbol
 --------  ---------  --------  -------------  -----------------------
 Trap  ->  7B141D39   QT6WEBEE  0001:074A1D39   __ZN5blink31NonSharedCharacterBreakIterator23CreateIteratorForBufferEPKDsj + 1E9 0001:074A1B50 (platform_jumbo_68.o)

 056BD330  00006E65   Invalid address: 00006E65

TRP file attached - nothing obvious immediately jumping out at me, so for now I'll focus on getting the source changes checked in.
Title: Re: Qt6 Application Testing
Post by: roberto on March 17, 2023, 08:01:56 pm
Hello Paul
I have tried it with two different computers, at work is worked acceptably well, the curious
I can not access the banks (lately I could not with the previous version, previously if I could use them)
  And the videos in Yotube, the ads badly, I had to start a video
In AV1 cut within a few seconds, change the resolution to 1080, and see it in VP9 format,
With a larger size than avitual. The one of a long time has been blocked, as the automatic format proposed to me
480, when putting 1080 the image of the sound decompenses.

With my personal computer, I have a trap just like yours, to the same point of memory.

I am sorry to tell you that for now I see few improvements.
saludos
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on March 17, 2023, 09:49:37 pm
Hi Roberto,

Thanks for testing - I did warn that there would be few improvements - but 6.3.2 is still an important milestone in getting us up to date.

Hopefully sometime in the next few hours, I'll have a 'full' 6.3.2 zip - including all the core libraries as well as the webengine. That will help rule out any issues causes by mixing 6.2.4 core libs and the 6.3.2 webengine.

I also spent some time last night cleaning up the build process for the webengine, so that I don't have to hand modify makefiles any more ;)

Also - for the brave - Qt 6.4.3 (minus the webengine) is at https://smedley.id.au/tmp/qt6-6.4.3-os2-20230318.zip

Cheers,

Paul
Title: Re: Qt6 Application Testing
Post by: Martin Iturbide on March 18, 2023, 03:06:56 am
Also - for the brave - Qt 6.4.3 (minus the webengine) is at https://smedley.id.au/tmp/qt6-6.4.3-os2-20230318.zip
Hi

I want to be brave  ;D

Testing on my 4GB RAM VM ArcaOS 5.0.7.
- VIRTUALADDRESSLIMIT=2560 on Config.sys

For the moment I had tested the following Qt6 apps with Qt 6.4.3 and are working fine:
- Connectagram
- CuteMaze
- FocusWriter - Works but special characters not working. áéíóú ñ Ñ  (Same as before)
- Gottet
- IqPuzzle
- Kapow
- NovProg
- Qoobar - Loads but some crash with trying to save files (listed before).  (Same as before)
- Tanglet
- Stack and Conquer
- Heimer - Works but same issue with special characters. (Same as before)
- Zint - Seems to work, but gotta test further the "copy as PNG", etc. Shows some info on the console. (Same as before)

- Tea - Same issue with special characters.   (Same as before)
--And this warning.  (Same as before)
Code: [Select]
update_keyboards()
"C:/Home/tea/keyboards"
qt.core.qobject.connect: QObject::connect: No such signal QComboBox::currentInde
xChanged (QString)

But now Hexalate, Peg-E and SimSU, does not show the reported error... the "OpenType support missing for "Hershey-Script-Simplex", script 17"
So, this is an improvement for me. 

- Scribus worked for me unzipping it on C:\scribus.
-- Special character does not work
-- Error message on save file.
-- some message on the console:
Quote
[C:\scribus]scribus
QProcessPrivate::createPipe: DosOpen(\pipe\Qt6\00000096\QProcess\0x1dfd84\Stdin)
 returned 231
Error loading plugin
dlopen rc=2 extra=PYTHON38
Error loading plugin
dlopen rc=2 extra=PYTHON38
pathForIcon: Unable to load icon /scribus/share/scribus/icons/1_5_1/lab.png: Fil
e not found
pathForIcon: Unable to load icon /scribus/share/scribus/icons/1_5_1/spot.png: Fi
le not found
pathForIcon: Unable to load icon /scribus/share/scribus/icons/1_5_1/register.png
: File not found
pathForIcon: Unable to load icon /scribus/share/scribus/icons/1_5_1/drawtextfram
e.png: File not found
pathForIcon: Unable to load icon /scribus/share/scribus/icons/1_5_1/drawtable.pn
g: File not found
pathForIcon: Unable to load icon /scribus/share/scribus/icons/1_5_1/drawframe.pn
g: File not found
setBestEncoding for  ArialMT  with  224 glyphs, hasNames= 512 , POST size= 511

Regards
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on March 18, 2023, 05:44:51 am
https://smedley.id.au/tmp/qt6-6.3.2-os2-20230318.zip is a complete Qt 6.3.2 build - including the webengine. Note the webengine has the same limitations I mentioned yesterday, the most severe of which is the SIGTRAP in:
Code: [Select]
______________________________________________________________________

 Call Stack
______________________________________________________________________

   EBP     Address    Module     Obj:Offset    Nearest Public Symbol
 --------  ---------  --------  -------------  -----------------------
 Trap  ->  7B0E2639   QT6WEBEE  0001:074A2639   __ZN5blink31NonSharedCharacterBreakIterator23CreateIteratorForBufferEPKDsj + 1E9 0001:074A2450 (platform_jumbo_68.o)

 054AAC00  00006E65   Invalid address: 00006E65
Title: Re: Qt6 Application Testing
Post by: David McKenna on March 18, 2023, 01:24:57 pm
 Hi Paul,

  Tried the new complete 6.3.2 20230318 version and it has the same behaviors and limitations as before with one exception I see so far: I can now print a web page! At least ones that will display, many cause the browser to crash (including OS2World). Other apps seem to work as well as before and examples have the same limitations (QML and Quick don't work). I'll give 6.4.3 a shot next...thanks!

Regards,
Title: Re: Qt6 Application Testing
Post by: Martin Iturbide on March 18, 2023, 04:03:05 pm
Quote
- Qt6 libs (with Webengine) - https://smedley.id.au/tmp/qt6-6.3.2-os2-20230318.zip
and
- rebuilt libvpx with AVX disabled in libyuv - https://smedley.id.au/tmp/libvpx-1.13.0-os2-20230303.zip
- Dooble   -  https://smedley.id.au/tmp/dooble-2023.02.25-os2-qt6-20230225.zip

Hi

I'm back to qt6-6.3.2 to test dooble.
I deleted .dooble and .pki and run Dooble without any special thing.
It loaded and I tried to access www.os2world.com.

I got some errors on the console and a exeptq trap.

Quote
[E:\QT6TEST\dooble]dooble
[72:1:0318/095618.994000:ERROR:system_network_context_manager.cpp(299)] Cannot u
se V8 Proxy resolver in single process mode.
[72:1:0318/095618.994000:ERROR:system_network_context_manager.cpp(299)] Cannot u
se V8 Proxy resolver in single process mode.
[72:10:0318/095629.410000:ERROR:nss_util.cc(177)] Error initializing NSS with a
persistent database (sql:C:\Home\.pki\nssdb): NSS error code: -8174
[72:10:0318/095629.496000:ERROR:cert_verify_proc_builtin.cc(600)] No net_fetcher
 for performing AIA chasing.
[72:10:0318/095632.500000:ERROR:cert_verify_proc_builtin.cc(600)] No net_fetcher
 for performing AIA chasing.
[72:33:0318/095634.949000:ERROR:cert_verify_proc_builtin.cc(600)] No net_fetcher
 for performing AIA chasing.

Killed by SIGTRAP
pid=0x0048 ppid=0x0043 tid=0x0017 slot=0x0082 pri=0x0200 mc=0x0001 ps=0x0010
E:\QT6TEST\DOOBLE\DOOBLE.EXE
cs:eip=52a0b57c:0599a28c      ss:esp=91443def:00000000      ebp=00000053
 ds=0000      es=0000      fs=0000      gs=0000     efl=00000000
eax=05999fc8 ebx=1ffc9d7c ecx=05999fdc edx=0599a000 edi=17f9f1bc esi=0599ffd4
Creating 0048_17.TRP
Moved 0048_17.TRP to C:\var\log\app\64158ad9-0048_17-DOOBLE-exceptq.txt

Second try: I access www.google.com and did a search, it worked, but I access later again os2world.com and it crashed.

Third try: It stays in "loading" on www.google.com and does not show the page.
Quote
[E:\QT6TEST\dooble]dooble --disable-gpu
[78:1:0318/100853.163000:ERROR:system_network_context_manager.cpp(299)] Cannot u
se V8 Proxy resolver in single process mode.
[78:1:0318/100853.235000:ERROR:system_network_context_manager.cpp(299)] Cannot u
se V8 Proxy resolver in single process mode.
[78:7:0318/100902.274000:ERROR:nss_util.cc(177)] Error initializing NSS with a p
ersistent database (sql:C:\Home\.pki\nssdb): NSS error code: -8174
[78:7:0318/100902.383000:ERROR:cert_verify_proc_builtin.cc(600)] No net_fetcher
for performing AIA chasing.

Any trick I'm missing?

Regards
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on March 18, 2023, 10:40:55 pm
  Tried the new complete 6.3.2 20230318 version and it has the same behaviors and limitations as before with one exception I see so far: I can now print a web page! At least ones that will display, many cause the browser to crash (including OS2World). Other apps seem to work as well as before and examples have the same limitations (QML and Quick don't work). I'll give 6.4.3 a shot next...thanks!

Thanks Dave - yeah the webpages crashes is a PITA - I've started at the exceptq trap and it's not telling me much ;( Need to drink some wine this afternoon and hope it inspires me :)
Title: Re: Qt6 Application Testing
Post by: Martin Iturbide on March 19, 2023, 04:40:50 pm
Hi Everybody

FYI: Tellie has ported BibliteQ on QT 6.4 also for testing:
- ftp://ftp.netlabs.org/pub/qtapps/biblioteq-v15022023-os2-6.4.2.7z

Please post any feedback if you like to.

Regards
Title: Re: Qt6 Application Testing
Post by: David McKenna on March 19, 2023, 10:18:55 pm
 Paul,

  Australia has many inspiring wines, so shouldn't be too strenuous... :-)

Regards,
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on March 20, 2023, 09:01:03 am
  Australia has many inspiring wines, so shouldn't be too strenuous... :-)

South Australian in particular ;) We are truly blessed!
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on March 24, 2023, 09:07:36 am
  Tried the new complete 6.3.2 20230318 version and it has the same behaviors and limitations as before with one exception I see so far: I can now print a web page! At least ones that will display, many cause the browser to crash (including OS2World). Other apps seem to work as well as before and examples have the same limitations (QML and Quick don't work). I'll give 6.4.3 a shot next...thanks!

Thanks Dave - yeah the webpages crashes is a PITA - I've started at the exceptq trap and it's not telling me much ;( Need to drink some wine this afternoon and hope it inspires me :)

Thanks to some valuable insight from Steven Levine, I'm hoping that the next build of qtwebengine 6.3.2 will be a bit more useful. Unfortunately, it decided it wanted to do a full rebuild, so I won't know until tomorrow!
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on March 25, 2023, 12:33:19 am
Turns out I probably didn't need to rebuild the code after all.... Putting a copy of https://github.com/qt/qtwebengine-chromium/blob/cee5373e6119a7ee20ba5e941185f4a22104d46d/chromium/third_party/icu/common/icudtb.dat into \qt6\resources (overwriting the existing copy) should fix the crash in:
Code: [Select]
Trap  ->  7B0E2639   QT6WEBEE  0001:074A2639   __ZN5blink31NonSharedCharacterBreakIterator23CreateIteratorForBufferEPKDsj + 1E9 0001:074A2450 (platform_jumbo_68.o)

I was able to get another SIGTRAP pretty easily with simplebrowser.exe - but the maps.exe example is working nicely now. video.exe starts to play a video then exits silently... Dooble on this box is playing silly buggers and not loading pages at all...

Dooble on another box loads and can now render os2world.com - see attached screenshot. Note that trying any video seems to result in a SIGTRAP.

For simplicity - full package is at https://smedley.id.au/tmp/qt6-6.3.2-os2-20230325.zip
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on March 25, 2023, 01:24:01 am
I forget now, was 6.2.4 still spamming the console with:
Code: [Select]
[194:29:0325/103008.863000:ERROR:cert_verify_proc_builtin.cc(600)] No net_fetcher for performing AIA chasing.

I'm thinking that I fixed this and it's a regression in 6.3.x and above, but maybe I'm wrong...
Title: Re: Qt6 Application Testing
Post by: David McKenna on March 25, 2023, 02:48:22 am
Paul,

  6.2.4 doesn't give that error any more, but at one time early on it did. Not sure what you did to get rid of it - might have to review early parts of the thread...

Regards,
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on March 25, 2023, 03:10:50 am
  6.2.4 doesn't give that error any more, but at one time early on it did. Not sure what you did to get rid of it - might have to review early parts of the thread...

Thanks! Yeah, just did that - seems it was fixed in a build around January 10. The most likely commit for this is https://github.com/psmedley/qt6-webengine-os2/commit/7e86e5c1bf36fa83f41030cfa1599284d0deb8ed

Will take a look when I get home, currently sat at an outdoor cafe with the dog,  drinking wine whilst my wife shops :)
Title: Re: Qt6 Application Testing
Post by: David McKenna on March 25, 2023, 03:28:00 pm
 Hi Paul,

  The new QT6 6.3.2 20230325 version works here the same as you show - I can now display OS2World and HTML5TEST in Dooble without exiting, so good progress! Still get an exit attempting to view YouTube and various news sites though - thanks!

Regards,
Title: Re: Qt6 Application Testing
Post by: roberto on March 25, 2023, 08:58:34 pm
Hello
Using the browser to improve, in general, I can't even open it on YouTube, as you comment.
But Yahoo's page closes everything, without any trap. And the console shows me the same error as before, in Google when I wanted to look for something that had the lyrics ñ closed. Google now does not close, but the word "ñoña" shows me as "? o? a" and looks for it as " o a"
Forget comment, Paul shows the version of dooble of the
19/02/23  0:32      7.189.189  6.028 a---  dooble
I believe that now this works better:
02/25/23 5:51 7.202.135 396 A --- dooble.exe
We must use one or another or better the first of the 19/02/23 ?

saludos
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on March 25, 2023, 10:06:05 pm
Hi David,
  The new QT6 6.3.2 20230325 version works here the same as you show - I can now display OS2World and HTML5TEST in Dooble without exiting, so good progress! Still get an exit attempting to view YouTube and various news sites though - thanks!

Probably the same I'm seeing here. I have my custom libcn0.dll installed on one machine, which gives me a TRP on every exit - which help me work out what's going on.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on March 25, 2023, 10:08:14 pm
Hi Roberto,

Using the browser to improve, in general, I can't even open it on YouTube, as you comment.
But Yahoo's page closes everything, without any trap. And the console shows me the same error as before, in Google when I wanted to look for something that had the lyrics ñ closed. Google now does not close, but the word "ñoña" shows me as "? o? a" and looks for it as " o a"
Forget comment, Paul shows the version of dooble of the
19/02/23  0:32      7.189.189  6.028 a---  dooble
I believe that now this works better:
02/25/23 5:51 7.202.135 396 A --- dooble.exe
We must use one or another or better the first of the 19/02/23 ?

Dooble version shouldn't matter - unless there is a specific fix/change in a newer version. There haven't been any OS/2 specific changes in recent times.

Thanks for testing. I'll try look into the silent exits today, but I'm also trying to work out what's going on with Qt 6.4 Webengine...
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on March 26, 2023, 12:40:50 am
KO built dav1d as a system library - and has had success with it with VLC.

I built a Qt 6.2.4 qt6webee.dll using his DLL. It seems much more successful. I can still break it if I pause/resume - but I've been able to watch a couple of minutes of a video that broke after 20 seconds or so previously.

https://smedley.id.au/tmp/qt6webee-6.2.4-20230326.zip
Title: Re: Qt6 Application Testing
Post by: Andy Willis on March 26, 2023, 04:35:30 am
With the new qt6webee I am getting the error:
{0}[e:\usr\local\qt6] dooble
[119:1:0325/212540.850000:ERROR:extension_system_qt.cpp(121)] Failed to parse ex
tension manifest.

I downloaded it again and same error.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on March 26, 2023, 06:20:15 am
What Qt version are you using to test with? 6.2.4 or a newer one?
Title: Re: Qt6 Application Testing
Post by: David McKenna on March 26, 2023, 02:51:49 pm
 Paul,

  Tried qt6webee-6.2.4-20230326 with the last QT6 6.2.4 package and I can play AV1 files without the video hanging, but I get frequent system hangs requiring a hard reboot (although usually after many minutes of playing, which is a big improvement from before where the AV1 video would hang after a few seconds). In fairness, I also get system hangs with QT5 playing videos, but that seems to go longer than this test did... need to check the video test site posted a while back...

Regards,
Title: Re: Qt6 Application Testing
Post by: roberto on March 26, 2023, 06:53:38 pm
For me this is the best version so far. But with so much mess of versions I don't know for sure that I am executing, but the photo says it.
https://smedley.id.au/tmp/qt6webee-6.2.4-20230326.zip
qt6-6.3.2-os2-20230228.zip

Saludos
Title: Re: Qt6 Application Testing
Post by: David McKenna on March 26, 2023, 10:35:19 pm
Paul,

  If I try running the 20230326 version of qt6webee 6.2.4 with the 20230325 version of qt6 6.3.2, I get the same error that Andy mentioned on starting Dooble. Looks like Roberto can get it to work with the 20230228 qt6 6.3.2 version though...

Regards,
Title: Re: Qt6 Application Testing
Post by: roberto on March 26, 2023, 11:51:49 pm
I have had the same mistake as Andy with the last version 632. But I understand that there is another previous one, also 632. That is why I am confusing, to do the version.
What happens to me is that restarting the system, everything improves, but when restarting the dooble, one and the other, and another etc ... something happens that works worse, especially youtubes. The only thing that catches my attention is the number of socks that only grows and grows. But I don't know whether or not this has something to do with that. Can I zero in some way the socks? When starting the dooble. Without restarting the system.

Type: STREAM   State:    ---
Local Name:    \socket\440
Foreign Name:

Type: STREAM   State:    CONNECTED
Local Name:
Foreign Name:  \socket\440

Saludos
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on March 27, 2023, 06:25:49 am
To be clear, I only tested with the last 6.2.4 Qt build, mixing Qt versions will work in some cases, but YMMV
Title: Re: Qt6 Application Testing
Post by: Andy Willis on March 28, 2023, 03:28:27 am
What Qt version are you using to test with? 6.2.4 or a newer one?
I was not paying close enough attention... I was thinking this was for the recent 6.3.2 release.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on March 28, 2023, 10:55:44 am
In a definite YMMV - https://smedley.id.au/tmp/qt6-6.4.3-os2-20230325.zip

For me, this traps in:
Code: [Select]
   EBP     Address    Module     Obj:Offset    Nearest Public Symbol
 --------  ---------  --------  -------------  -----------------------
 Trap  ->  747FC175   QT6WEBEE  0001:0021C175   __ZN15partition_alloc8internal15PartitionBucketILb1EE13SlowPathAllocEPNS_13PartitionRootILb1EEEijjPb$w$XwhbY842fc8TnWhl1 + 725 0001:0021BA50 (partition_bucket.o)

but Steven couldn't reproduce and was able to render some pages.

Curious to see if it works for anyone else.

Title: Re: Qt6 Application Testing
Post by: Mike Kölling on March 28, 2023, 12:24:25 pm
In a definite YMMV - https://smedley.id.au/tmp/qt6-6.4.3-os2-20230325.zip
...
but Steven couldn't reproduce and was able to render some pages.

Curious to see if it works for anyone else.

Dooble (7.189.189 Bytes from 2023-02-19) starts shortly and then stops during "Populating containers" with the following message (2 lines):
[105:1:0328/122225.747000:ERROR:system_network_context_manager.cpp(274)] Cannot use V8 Proxy resolver in single process mode.
[105:1:0328/122225.768000:ERROR:system_network_context_manager.cpp(274)] Cannot use V8 Proxy resolver in single process mode.

Greetings from Potsdam,
Mike
Title: Re: Qt6 Application Testing
Post by: David McKenna on March 28, 2023, 12:53:17 pm
In a definite YMMV - https://smedley.id.au/tmp/qt6-6.4.3-os2-20230325.zip

 I couldn't get Dooble to start with this build either...

Regards,
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on March 28, 2023, 05:09:14 pm
What about simple browser from /qt6/examples/webenginewidgets/simple browser ?

Any traps or just a silent exit?

PS thanks for trying!
Title: Re: Qt6 Application Testing
Post by: Mike Kölling on March 28, 2023, 06:10:23 pm
What about simple browser from /qt6/examples/webenginewidgets/simple browser ?

Any traps or just a silent exit?

PS thanks for trying!

Simplebrowser starts but could not load a page. I see the following failure message:

Killed by SIGSEGV
pid=0x02b6 ppid=0x02af tid=0x0001 slot=0x011b pri=0x0200 mc=0x0001 ps=0x0010
F:\QT6TEST\QT6\BIN\QTWEBENGINEPROCESS.EXE
LIBCN0 ffffffff:ffffffff
cs:eip=55004000:55001020      ss:esp=1f48dca4:00000018      ebp=00120053
 ds=0000      es=0000      fs=ffffffff      gs=0000     efl=00000053
eax=0012f428 ebx=1ffc9d7c ecx=0012f43c edx=0012f460 edi=0012fd44 esi=0012fd6c

Greetings,
Mike
Title: Re: Qt6 Application Testing
Post by: roberto on March 28, 2023, 06:37:52 pm
https://smedley.id.au/tmp/qt6-6.4.3-os2-20230325.zip
With Dooble in --single-process I have the same error that Mike:
https://www.os2world.com/forum/index.php/topic,3252.msg39055.html#msg39055
But if I uncheck the option --single-process:

Killed by SIGSEGV
pid=0x0075 ppid=0x0073 tid=0x0001 slot=0x00b1 pri=0x0200 mc=0x0001 ps=0x0010
C:\VAR\TMP\QT6\BIN\QTWEBENGINEPROCESS.EXE
LIBCN0 ffffffff:ffffffff
cs:eip=29c04000:29c01020      ss:esp=1ca4dca4:00000018      ebp=00120053
 ds=0000      es=0000      fs=ffffffff      gs=0000     efl=00000053
eax=0012f418 ebx=1ffc9d7c ecx=0012f42c edx=0012f450 edi=0012fd34 esi=0012fd5c
Creating 0075_01.TRP
[115:20:0328/163943.265000:ERROR:socket_posix.cc(96)] CreatePlatformSocket() fai
led: Protocol family not supported (46)
Moved 0075_01.TRP to C:\var\log\app\6423184f-0075_01-QTWEBENGINEPROCESS-exceptq.
txt

Saludos
Title: Re: Qt6 Application Testing
Post by: roberto on March 28, 2023, 07:32:47 pm
A clarification, the first error after opening dooble is:
Killed by SIGSEGV
pid=0x0095 ppid=0x0094 tid=0x0001 slot=0x00b2 pri=0x0200 mc=0x0001 ps=0x0010
C:\VAR\TMP\QT6\BIN\QTWEBENGINEPROCESS.EXE
LIBCN0 ffffffff:ffffffff
cs:eip=22a04000:22a01020      ss:esp=1ca4dca4:00000018      ebp=00120053
 ds=0000      es=0000      fs=ffffffff      gs=0000     efl=00000053
eax=0012f418 ebx=1ffc9d7c ecx=0012f42c edx=0012f450 edi=0012fd34 esi=0012fd5c
Creating 0095_01.TRP
Moved 0095_01.TRP to C:\var\log\app\64232ea3-0095_01-QTWEBENGINEPROCESS-exceptq.
txt

The second mistake is when trying to open your own file:
http://localhost:631/2023.html
Killed by SIGSEGV
pid=0x0096 ppid=0x0094 tid=0x0001 slot=0x00c0 pri=0x0200 mc=0x0001 ps=0x0010
C:\VAR\TMP\QT6\BIN\QTWEBENGINEPROCESS.EXE
LIBCN0 ffffffff:ffffffff
cs:eip=21804000:21801020      ss:esp=1ca4dca4:00000018      ebp=00120053
 ds=0000      es=0000      fs=ffffffff      gs=0000     efl=00000053
eax=0012f418 ebx=1ffc9d7c ecx=0012f42c edx=0012f450 edi=0012fd34 esi=0012fd5c
[148:20:0328/181543.170000:ERROR:socket_posix.cc(96)] CreatePlatformSocket() fai
led: Protocol family not supported (46)
Creating 0096_01.TRP
Moved 0096_01.TRP to C:\var\log\app\64232ecf-0096_01-QTWEBENGINEPROCESS-exceptq.
saludos
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on March 28, 2023, 10:15:12 pm
Thanks guys - can I assume that the TRP file shows something similar to my post? ie:
Code: [Select]
   EBP     Address    Module     Obj:Offset    Nearest Public Symbol
 --------  ---------  --------  -------------  -----------------------
 Trap  ->  747FC175   QT6WEBEE  0001:0021C175   __ZN15partition_alloc8internal15PartitionBucketILb1EE13SlowPathAllocEPNS_13PartitionRootILb1EEEijjPb$w$XwhbY842fc8TnWhl1 + 725 0001:0021BA50 (partition_bucket.o)
Title: Re: Qt6 Application Testing
Post by: David McKenna on March 28, 2023, 10:35:07 pm
 Paul,

  Here, Dooble exits silently, but Simplebrowser traps just like Mike shows and the trap file shows the exact trap you show too.

Regards,
Title: Re: Qt6 Application Testing
Post by: roberto on March 29, 2023, 07:43:30 am
Is the same TRP.
saludos
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on March 29, 2023, 08:44:45 am
Thanks guys!
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on April 01, 2023, 01:53:44 am
Dooble 2023.04.01 release - https://smedley.id.au/tmp/dooble-2023.04.01-os2-qt6-20230401.zip

Having troubles getting it to render a page here, but I suspect that's a local issue
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on April 01, 2023, 03:51:23 am
The release notes,
Code: [Select]
Release Notes

    Added -Wformat-security, -fstack-clash-protection for Linux builds.
    Corrected widget buddies. Buddies are similar to mnemonics.
    Include the text (Private) in private Dooble window titles.
    New Private Window shortcut. GitHub ticket #165.
    Relative location character. Please see Settings -> Web. For example, suppose the special character is /. https://www.arduino.cc/reference/en/ will be transformed into https://www.arduino.cc. GitHub ticket #147.
    Retain proxy information if a proxy is disabled.
    Retrieve a complete locale name for translation file warning in Settings -> Display. GitHub ticket #176.
    The Linux bundle was created on KUbuntu 22.04.
Title: Re: Qt6 Application Testing
Post by: TeLLie on April 01, 2023, 12:32:06 pm
Hi All

Just updated Qttube for qt6

http://rpm.netlabs.org/test/QT6/Qttube-01-04-2023-os2.zip

For me its slow, but i can login and sounds play for some seconds (16 sec)

Do you testers also notice this??
Title: Re: Qt6 Application Testing
Post by: David McKenna on April 01, 2023, 02:39:02 pm
 Using QT6 6.2.4 with Paul's latest 6.2.4 QT6WEBEE build (with working AV1) both the latest Dooble and Tellie's QTTube work great. Thanks! Still get occasional system hangs, but so does the QT5 version of Dooble.

  The previous version of 6.2.4 QT6WEBEE did not give any system hangs here (but AV1 videos would freeze). Would be great if the last 2 could somehow be combined...

Regards,
Title: Re: Qt6 Application Testing
Post by: TeLLie on April 02, 2023, 10:43:03 am
Hi David,
This means you can login and watch video's??
Does it also crashes after some time ?

i also put Heimer to latest version.... http://rpm.netlabs.org/test/QT6/Heimer-4.1.0-os2-qt624.7z
Also  the latest biblioteq  @ http://rpm.netlabs.org/test/QT6/BiblioteQ-23-03-2023-os2-qt624.7z
Title: Re: Qt6 Application Testing
Post by: David McKenna on April 02, 2023, 02:34:36 pm
Hi Tellie,

 I didn't log in, just opened QTTube, typed in 'Cats' in the search bar, clicked on one of the videos offered (might need to do it twice) and it starts playing. I have not had QTTube crash yet, but have had system hangs...

Regards.
Title: Re: Qt6 Application Testing
Post by: Martin Iturbide on April 06, 2023, 12:36:01 am
Hi

It's time to test Qt 6.5 with the Qt 6 ported software: https://smedley.id.au/tmp/qt6-6.5.0-os2-20230405.zip
(Links on the first page)

Regards
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on April 10, 2023, 11:00:50 pm
https://smedley.id.au/tmp/dooble-2023.04.10-os2-qt6-20230411.zip - linked against Qt 6.2

Code: [Select]
Release Notes

    AdGuard DNS file processing. Dooble will now allow importing of https://adguardteam.github.io/AdGuardSDNSFilter/Filters/filter.txt. Basic interpretation is included. For example, ||url^ is blocked. All other entries are ignored. Please see Data/dooble_filter.txt. GitHub ticket #179.
    Include default HTTP agent string in About. GitHub ticket #186.
    Listen on fullScreenRequested() signal and accept the request. Address, menu bar, and status bar widgets will be hidden. Other widgets (find, page notifications, etc.) will remain visible. The Escape key may be used to exit a full-screen mode. GitHub ticket #185.
    Native dialogs.
    Non-modal import dialog on MacOS. The dialog offers a simple explanation of the import process.
    Qt 6.5 LTS.
    Replaced Q_OS_MAC with Q_OS_MACOS.
    Updated Data/dooble_accepted_or_blocked_domains.txt.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on April 22, 2023, 08:13:29 am
OK.. I finally got QtWebEngine 6.3.2 rebuilt - https://smedley.id.au/tmp/qt6-6.3.2-os2-20230422.zip

There is no other change to the broader Qt6 libs in this zip, but there are some small fixes to the WebEngine code. I'm still seeing silent exits trying to load sites that play video, I'll try and do some testing with my modified libcn0.dll to diagnose these.

This build does need the libvpx DLL I posted a while back, as well as the dav1d.dll from KO - https://www.os2.kr/komh/testcase/dav1d_test.zip
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on April 22, 2023, 08:34:23 am
Attached is an example of a repeatable trap I've had with sites playing video from simplebrowser.exe
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on April 22, 2023, 10:00:04 am
I think this relates to https://github.com/psmedley/qt6-webengine-os2/commit/1a5165ca5afda1659ceac38034bfd31e8402e928#diff-026166348f22701d691ab3cbf36ecb3671af1c268af72de28423edac45ef2800 - looking at different solutions now...
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on April 22, 2023, 12:11:22 pm
Not tested at all, but I built ffmpeg from the chromium code:
https://smedley.id.au/tmp/ffmpeg-chromium-6.3.2.zip
https://smedley.id.au/tmp/qt6webee-6.3.2-20230422.zip

I will test in the morning, I'm exhausted this evening.
Title: Re: Qt6 Application Testing
Post by: David McKenna on April 22, 2023, 02:30:36 pm
Hey Paul,

  When I try to start Dooble with this new QT6 6.3.2 and QT6Webee, I get a message that says it can't find SWRESA4. I have swresa1.dll and swresa3.dll on my system, but no swresa4.dll. Know where I can get this?

Regards,
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on April 22, 2023, 11:02:29 pm
Sorry about that - https://smedley.id.au/tmp/ffmpeg-chromium-6.3.2.zip has been refreshed to include this DLL.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on April 22, 2023, 11:08:04 pm
I now get a different repeatable trap within AudioManagerOS2::GetPreferredOutputStreamParameters(). Will go hunting for changes in this code between 6.2.x and 6.3.x later this morning

Edit: somehow related to:
Code: [Select]
[25691:8:0423/092627.622000:ERROR:audio_manager_os2.cc(103)] kaiOpen returned 5134 for sampling rate 48000 and channels 2
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on April 23, 2023, 03:09:17 am
Interesting, on another machine, the videoplayer example plays video. Now I think about it,  the machine I was testing on initially doesn't have working audio, so the kaiopen error makes sense.
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on April 23, 2023, 04:16:27 am
Interesting, on another machine, the videoplayer example plays video. Now I think about it,  the machine I was testing on initially doesn't have working audio, so the kaiopen error makes sense.

Still shouldn't result in a crash.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on April 23, 2023, 06:16:35 am
Interesting, on another machine, the videoplayer example plays video. Now I think about it,  the machine I was testing on initially doesn't have working audio, so the kaiopen error makes sense.

Still shouldn't result in a crash.

Agree, but not sure if its a regression, or if I've just never tried on that machine before...
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on April 23, 2023, 10:49:55 am
Not tested at all, but I built ffmpeg from the chromium code:
https://smedley.id.au/tmp/ffmpeg-chromium-6.3.2.zip
https://smedley.id.au/tmp/qt6webee-6.3.2-20230422.zip

I will test in the morning, I'm exhausted this evening.

OK - as mentioned - the videoplayer example is able to play the Qt video - but other video examples I've tried trigger a crash.

One example  which is repeatable trying to play a youtube video is attached:
   EBP     Address    Module     Obj:Offset    Nearest Public Symbol
 --------  ---------  --------  -------------  -----------------------
 Trap  ->  BDA3C21B   QT6WEBEE  0001:08DCC21B   __ZN5blink11V8CodeCache17SetCacheTimeStampEPNS_5mojom13CodeCacheHostEPNS_27SingleCachedMetadataHandlerE + 2B 0001:08DCC1F0 (core_jumbo_8.o)

Will try work this one out.
Title: Re: Qt6 Application Testing
Post by: roberto on April 23, 2023, 02:12:04 pm
Hello Paul
Thank you for your effort.
The FFPMEG is working very well, but in principle with the old version of 632 that I use, I cannot even open the new qt6webee.dll, it gives me a sigtrap. I have to try the last version of 632.
saludos
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on April 24, 2023, 11:45:13 am
Hi Roberto,
Thank you for your effort.
The FFPMEG is working very well, but in principle with the old version of 632 that I use, I cannot even open the new qt6webee.dll, it gives me a sigtrap. I have to try the last version of 632.

Not sure how you're testing the new ffmpeg if you're not using the new qt6webee, unless you're using dllrename to rename to DLL's? Can you please post the SIGTRAP from the new DLL?
Title: Re: Qt6 Application Testing
Post by: roberto on April 24, 2023, 03:47:32 pm
Hello Paul
I have been testing all the versions that I have installed with your last qt6webee.dll,
And only with one I could open some website, simple, but it immediately closed everything. I attach to you
Sigtrap But with this version I could never do anything.
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

To this version QT6.2.4 with Runtime 6.3.2, I made a patch to unlock the memory, QBRMAS2.Bas

Sometimes I have been able to watch full screen videos with the new version of the FFPMEG.
This QBRMAS2.Bas patch is almost the same as the QBRMAS3.bas, it only changes the way of managing ads,
In fact, I used it and used to use this version, by default, and modify it to use it with
the version of the QT5 that Dave publish the other day.
Applying the patch and using the appropriate version is very useful and the full screen works.
The two sigtrap are of each version

Saludos
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on May 14, 2023, 03:21:48 am
OK... Per notes in the Development thread, the DLL at https://smedley.id.au/tmp/qt6webee-6.3.2-20230514.zip plays some VP9 video using simplebrowser - ie the video at https://www.youtube.com/watch?v=YmtIva6SsVk - albeit with no sound (on the VM I tested with).

Feedback appreciated. This is a Qt  6.3.2 build - and should be installed on top of the last full Qt 6.3.2 package (ie https://smedley.id.au/tmp/qt6-6.3.2-os2-20230318.zip)
Title: Re: Qt6 Application Testing
Post by: roberto on May 14, 2023, 01:01:28 pm
Hello Paul
I have tried this version that you propose, and I only open HTTP websites:
 I can't open any HTTPS website:
If you want to generate Kaistop at will, you can when you are watching a video execute Mahjongg with
the sound on on., And the stops you need will be produced. I don't know if this is what you want.
saludos
Title: Re: Qt6 Application Testing
Post by: David McKenna on May 14, 2023, 02:27:44 pm
 Hi Paul,

  I tested using this new qt6webee-6.3.2-20230514 with the qt6-6.3.2-20230318 package and I can't load any web page without crashing. I can give you an exceptq report if you want, but I have a newer version qt6-6.3.2-20230422 that it does work (somewhat) with, so I tested with that.

  I always go to https://tools.woolyss.com/html5-audio-video-tester/ to test video and audio in the Dooble browser. WebM and ogv stuff mostly works with both video and audio (except if it uses OPUS, then no audio), MP4 doesn't work at all. Some audio formats don't work either, like flac, ogg, opus and some others.

  Can't open YouTube here - Dooble silently exits. Also see this in the console a lot : [120:40:0514/081531.955000:ERROR:cert_verify_proc_builtin.cc(600)] No net_fetcher for performing AIA chasing. No problem here with https:// though...

Regards,

EDIT: on some of the non-working tests at the test website I see this error in the console: [120:17:0514/083735.151000:ERROR:ssl_client_socket_impl.cc(981)] handshake failed; returned -1, SSL error code 1, net_error -201

Title: Re: Qt6 Application Testing
Post by: Paul Smedley on May 15, 2023, 12:04:17 am
Quick reply from phone...

The net_fetcher error is known but not sure how to fix it.

The ssl_client_socket_impl.cc one occurs in Double running on Linux as well

I'll have to investigate the opus and mp4 issues - perhaps the opus version required has increased, and it's fine from using the system opus to the chromium version? Perhaps the same with mp4 support .

I was time poort yesterday, so yes, qt6-6.3.2-20230422.zip is the latest, so happy that that is the best version to test with.

Interesting that you can't load YouTube - is that with double, simple browser or both?
Title: Re: Qt6 Application Testing
Post by: David McKenna on May 15, 2023, 01:15:56 am
Paul,

  Dooble immediately exits silently on YouTube, but it appears SimpleBrowser works for a little while, then the system locks up...

Regards,
Title: Re: Qt6 Application Testing
Post by: Martin Iturbide on May 15, 2023, 05:34:33 am
Hi Paul
OK... Per notes in the Development thread, the DLL at https://smedley.id.au/tmp/qt6webee-6.3.2-20230514.zip plays some VP9 video using simplebrowser - ie the video at https://www.youtube.com/watch?v=YmtIva6SsVk - albeit with no sound (on the VM I tested with).

Feedback appreciated. This is a Qt  6.3.2 build - and should be installed on top of the last full Qt 6.3.2 package (ie https://smedley.id.au/tmp/qt6-6.3.2-os2-20230318.zip)

I still have some special characters problems with some Qt6 tools like Heimer.
- http://rpm.netlabs.org/test/QT6/Heimer-4.1.0-os2-qt624.7z

Regards
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on May 15, 2023, 11:21:15 am
Hi Martin,

I still have some special characters problems with some Qt6 tools like Heimer.
- http://rpm.netlabs.org/test/QT6/Heimer-4.1.0-os2-qt624.7z

I'll be perfectly honest here, this is not even close to being on my radar. If/when this gets looked at, https://github.com/psmedley/qt6-base-os2/issues/13 will get updated.

I'm only one person, and I have a full time job.  I can't do everything on this project myself. I've tried hard to make sure all the source is checked into github, but so far there has been minimal interaction with other developers in the way of patches/fixes.

Right now, stabilising webengine is the focus, issues around keyboard input and qprocess are way on the backburner....
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on May 15, 2023, 11:36:24 am
I have tried this version that you propose, and I only open HTTP websites:
 I can't open any HTTPS website:

Guessing a profile issue - https working fine here (with simplebrowser)
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on May 15, 2023, 11:44:11 am
  Can't open YouTube here - Dooble silently exits. Also see this in the console a lot : [120:40:0514/081531.955000:ERROR:cert_verify_proc_builtin.cc(600)] No net_fetcher for performing AIA chasing. No problem here with https:// though...

Confirming I can reproduce a silent exit with Dooble and youtube.

re: opus - there is no change in the version of opus required (v1.3.1) so not sure what's wrong.

Edit: reading https://github.com/bitwiseworks/qtwebengine-chromium-os2/issues/24 the opus is likely due to my updated ffmpeg.... rebuilding it now with the rpm libopus
Title: Re: Qt6 Application Testing
Post by: Martin Iturbide on May 15, 2023, 05:26:23 pm
I'll be perfectly honest here, this is not even close to being on my radar. If/when this gets looked at, https://github.com/psmedley/qt6-base-os2/issues/13 will get updated.

I'm only one person, and I have a full time job.  I can't do everything on this project myself. I've tried hard to make sure all the source is checked into github, but so far there has been minimal interaction with other developers in the way of patches/fixes.
I understand this completely. We are doing this for fun and love for the platform. There is no pressure at all. I'm very happy and grateful that you can keep helping us with this port. 

Regards
Title: Re: Qt6 Application Testing
Post by: roberto on May 15, 2023, 06:30:45 pm
I have tried this version that you propose, and I only open HTTP websites:
 I can't open any HTTPS website:

Guessing a profile issue - https working fine here (with simplebrowser)
You are right if HTTPS opens, but at first glance, I fail all the websites I provide. In fact I can open this ticket, but I can't open the OS2World website. Aprox. https fail in 85% of webs.
saludos
Title: Re: Qt6 Application Testing
Post by: roberto on May 15, 2023, 07:22:58 pm
With SimpleBrowser everything improves. I can even see your favorite musicians on YouTube.
But when opening ww.os2World.com I showed me the message I attached. If I click on yes , I get a gray screen. I restart the simplebrowser open Os2world without problems or message.
I can not respond the forum with Simplebrowser.
saludos
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on May 16, 2023, 12:53:10 am
Edit: reading https://github.com/bitwiseworks/qtwebengine-chromium-os2/issues/24 the opus is likely due to my updated ffmpeg.... rebuilding it now with the rpm libopus

https://smedley.id.au/tmp/ffmpeg-chromium-6.3.2-20230516.zip should help with the no sound with opus.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on May 16, 2023, 04:46:53 am
With SimpleBrowser everything improves. I can even see your favorite musicians on YouTube.
But when opening ww.os2World.com I showed me the message I attached. If I click on yes , I get a gray screen. I restart the simplebrowser open Os2world without problems or message.
I can not respond the forum with Simplebrowser.

I will built Dooble against the QT 6.3 libs - which might help...
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on May 16, 2023, 05:57:11 am
With SimpleBrowser everything improves. I can even see your favorite musicians on YouTube.
But when opening ww.os2World.com I showed me the message I attached. If I click on yes , I get a gray screen. I restart the simplebrowser open Os2world without problems or message.
I can not respond the forum with Simplebrowser.

I will built Dooble against the QT 6.3 libs - which might help...

Curious if https://smedley.id.au/tmp/dooble-2023.04.10-os2-qt6.3.x-20230516.zip works any better with the latest 6.3.x Qt code.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on May 16, 2023, 10:24:22 am
Edit: reading https://github.com/bitwiseworks/qtwebengine-chromium-os2/issues/24 the opus is likely due to my updated ffmpeg.... rebuilding it now with the rpm libopus

https://smedley.id.au/tmp/ffmpeg-chromium-6.3.2-20230516.zip should help with the no sound with opus.

It doesn't - but I might know why now. bww ffmpeg is built with a whole bunch more configure flags than I'm using, rebuilding the chromium ffmpeg code now with the same configure flags as the last bww build.
Title: Re: Qt6 Application Testing
Post by: roberto on May 16, 2023, 11:02:45 am

https://smedley.id.au/tmp/ffmpeg-chromium-6.3.2-20230516.zip should help with the no sound with opus.
404 ?
saludos
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on May 16, 2023, 11:39:58 am

https://smedley.id.au/tmp/ffmpeg-chromium-6.3.2-20230516.zip should help with the no sound with opus.
404 ?
saludos
I removed the older link as it didn't work. I've just reinstated it and opus audio works correctly now. h264 still seems to get stuck...
Title: Re: Qt6 Application Testing
Post by: David McKenna on May 16, 2023, 12:16:40 pm
Paul,

  Yep, Opus now works. I also can't get h264 stuff to work on the https://tools.woolyss.com website - that website also detects that h264 is not supported (doesn't show as green).

  Also, none of the audio tests there from source 'dogphilosophpy.net' work, even though they are shown as supported. These ones give the 'ssl_client_socket' error and this one:

[102:30:0516/060632.356000:ERROR:cert_verify_proc_builtin.cc(678)] CertVerifyProcBuiltin for hpr.dogphilosophy.net failed:
----- Certificate i=0 (CN=hpr.dogphilosophy.net) -----
ERROR: Time is after notAfter


 Don't know if this is caused by QT or something at the source...

Regards,

EDIT: Tried the 'dogphilosophy.net' stuff with QT5 and I get a 'Certificate Expired' warning, then allow an exception and they work. Is it QT or Dooble who handles the 'Certificate Expired' notification?
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on May 16, 2023, 12:35:34 pm
Hi David,
  Yep, Opus now works. I also can't get h264 stuff to work on the https://tools.woolyss.com website - that website also detects that h264 is not supported (doesn't show as green).

  Also, none of the audio tests there from source 'dogphilosophpy.net' work, even though they are shown as supported. These ones give the 'ssl_client_socket' error and this one:

[102:30:0516/060632.356000:ERROR:cert_verify_proc_builtin.cc(678)] CertVerifyProcBuiltin for hpr.dogphilosophy.net failed:
----- Certificate i=0 (CN=hpr.dogphilosophy.net) -----
ERROR: Time is after notAfter


 Don't know if this is caused by QT or something at the source...

Regards,

EDIT: Tried the 'dogphilosophy.net' stuff with QT5 and I get a 'Certificate Expired' warning, then allow an exception and they work. Is it QT or Dooble who handles the 'Certificate Expired' notification?

AFAIK - it would be Qt that handles the certificate expired notification -  I definitely saw one of those come up in my testing earlier.  Let me go looking for clues on h264....

edit: this will do it:
Code: [Select]
Proprietary Codecs ..................... nowebengine-proprietary-codecs . WebEngine: Enables the use of proprietary codecs such as h.264/h.265 and MP3.
Title: Re: Qt6 Application Testing
Post by: roberto on May 16, 2023, 03:32:01 pm
Curious if https://smedley.id.au/tmp/dooble-2023.04.10-os2-qt6.3.x-20230516.zip works any better with the latest 6.3.x Qt code.
Now I am at work, doing a fast test.
With dooble from 10/04/23, when trying to open OS2World, I get the same Sigtrap error as with the Doble version of 05/16/23
dooble 16/05/23
 Trap  ->  BA9B82B9   QT6WEBEE  0001:074282B9   __ZN5blink31NonSharedCharacterBreakIterator23CreateIteratorForBufferEPKDsj + 1E9 0001:074280D0 (platform_jumbo_68.o)
dooble 10/04/23
Trap  ->  BA9B82B9   QT6WEBEE  0001:074282B9   __ZN5blink31NonSharedCharacterBreakIterator23CreateIteratorForBufferEPKDsj + 1E9 0001:074280D0 (platform_jumbo_68.o)
I don't see improvements.
With simplebrowser
In my work computer, when opening Os2world, the first time I open Os2World, it shows me the error of the other day but with error 5
The simplebrowser here also works quite well, and I can see some video.
saludos
Title: Re: Qt6 Application Testing
Post by: David McKenna on May 16, 2023, 10:38:31 pm
Curious if https://smedley.id.au/tmp/dooble-2023.04.10-os2-qt6.3.x-20230516.zip works any better with the latest 6.3.x Qt code.

Hey Paul,

  This one does seem a little better here... I can use YouTube for awhile, and most recent videos work (except a few want h264 - even html5test.com shows h264 is not supported). Eventually (maybe 10-15 minutes) I get either a silent exit or system hang. Am running with --ignore-certificate-errors and now am able to play the audio tests on 'https://tools.woolyss.com/audio-video-tests' (for some reason I do not get the 'Certificate Expired' error on QT6.3.2 - even with a new profile).

 BTW - there is a newer version of Dooble available: 2023.4.20.

Regards,
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on May 16, 2023, 10:53:52 pm
Curious if https://smedley.id.au/tmp/dooble-2023.04.10-os2-qt6.3.x-20230516.zip works any better with the latest 6.3.x Qt code.
Now I am at work, doing a fast test.
With dooble from 10/04/23, when trying to open OS2World, I get the same Sigtrap error as with the Doble version of 05/16/23
dooble 16/05/23
 Trap  ->  BA9B82B9   QT6WEBEE  0001:074282B9   __ZN5blink31NonSharedCharacterBreakIterator23CreateIteratorForBufferEPKDsj + 1E9 0001:074280D0 (platform_jumbo_68.o)
dooble 10/04/23
Trap  ->  BA9B82B9   QT6WEBEE  0001:074282B9   __ZN5blink31NonSharedCharacterBreakIterator23CreateIteratorForBufferEPKDsj + 1E9 0001:074280D0 (platform_jumbo_68.o)
I don't see improvements.
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
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on May 17, 2023, 05:08:25 am
edit: this will do it:
Code: [Select]
Proprietary Codecs ..................... nowebengine-proprietary-codecs . WebEngine: Enables the use of proprietary codecs such as h.264/h.265 and MP3.

Confirming this was the issue with mp4. https://smedley.id.au/tmp/qt6webee-6.3.2-20230517.zip fixes mp4 videos (with the latest ffmpeg build too).
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on May 17, 2023, 05:10:14 am
BTW - there is a newer version of Dooble available: 2023.4.20.

https://smedley.id.au/tmp/dooble-20230517-os2-20230517.zip is built from a git pull from today... so doesn't tie directly to a release...

Not tested by me.. YMMV

Cheers,

Paul
Title: Re: Qt6 Application Testing
Post by: David McKenna on May 17, 2023, 12:39:45 pm
Thanks Paul! Yes, the new QT6.3.2 QT6WebEE allows all tests to play now (except h263 and h265) so it is the same as QT5. The new Dooble also seems to work well.

YouTube still has trouble like before, but one time I tried YouTube, Dooble window disappeared and it got into an endless loop of exceptq report creation (beeping all the way). I couldn't kill the console window, so hit <ctrl><alt><del> and rebooted. I'll attach the first report created (out of about 20).

Regards,
Title: Re: Qt6 Application Testing
Post by: roberto 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
Title: Re: Qt6 Application Testing
Post by: Paul Smedley 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.
Title: Re: Qt6 Application Testing
Post by: Martin Iturbide 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
Title: Re: Qt6 Application Testing
Post by: roberto 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
Title: Re: Qt6 Application Testing
Post by: roberto 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
Title: Re: Qt6 Application Testing
Post by: Paul Smedley 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?
Title: Re: Qt6 Application Testing
Post by: roberto 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
Title: Re: Qt6 Application Testing
Post by: Paul Smedley 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.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley 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 :)
Title: Re: Qt6 Application Testing
Post by: roberto 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
Title: Re: Qt6 Application Testing
Post by: roberto 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.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley 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)
Title: Re: Qt6 Application Testing
Post by: Paul Smedley 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
Title: Re: Qt6 Application Testing
Post by: Paul Smedley 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...
Title: Re: Qt6 Application Testing
Post by: David McKenna 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,
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on May 21, 2023, 07:30:51 am
Thanks for testing Dave!

re: silent exits - I updated my libcn0 build at https://smedley.id.au/tmp/libcn0-silentexit-20230521.zip

By default, it will work exactly like a production built libcn0 and no product TRP files.

However, if the EXCEPTQ environment variable is set in a session, then it that session only, a TRP file will be produced whenever the _exit() function is called. These might help give clues as to where the 'silent' exit stems from.

Hangs are more problematic to debug....
Title: Re: Qt6 Application Testing
Post by: David McKenna on May 21, 2023, 02:28:49 pm
 Thanks Paul... attached is the first exit from Youtube after loading this libcn0.dll - it was found in C:\qt6\bin.

 Re: hangs - back in the March time frame, you created a QT 6.2 build that I never got any hangs from after you updated libvpx to not use AVX. The next build you started using dav1d6.dll and the hangs came back (although that made AV1 videos work properly). Is AVX disabled in dav1d6.dll - or is that just a coincidence?

Regards,
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on May 21, 2023, 10:53:07 pm
Hi David,
I'll take a look at the trip this evening.

Interesting, my recollection of the no-avx build was that it didn't make much difference to stability.

Komh build the dav1d dll so I'll have to check with him how he built it.

Are you able to confirm if the YouTube hangs occur with vp9 or av1 videos (or both)?
Title: Re: Qt6 Application Testing
Post by: David McKenna on May 22, 2023, 12:58:22 am
Paul,

  The no-avx build was the most stable one yet for me at the time, except AV1 videos still would hang (but not the whole system) and I could hit the 'back' button and keep browsing. I'll pay closer attention to the video format in future, but I'm almost positive they are AV1 (because most use that these days if they are new). It doesn't always happen when playing videos though...sometimes when browsing YouTube. But that may be because if you hover over a video, it shows scenes from it.

  My processor supports both AVX and AVX2 (and SSE up to 4.2). Don't know if that matters, but could be the difference from other people who don't see the system hangs?

Regards,
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on May 22, 2023, 01:10:57 am
What programs are supposed to do is query the CPU and the operating system for AVX+ support. I quickly looked at libdav1d and couldn't see where it tested for OS AVX support. It is also quite possible that libdav1d etc use assembly for AVX so harder to disable.
As most all current operating systems now support AVX, I wonder if some programs just don't bother to test for support anymore. I think that is what has happened with SSE+ as well so Warp V4 and earlier may have problems with SSE code. The problem is simply not saving the new/extended registers during a context switch.
I guess one fix would be to find where programs/libraries query the CPU support and patch it so it always reports no AVX support in the CPU.
Be nice to update exceptq's dissembler to support AVX code too.
Title: Re: Qt6 Application Testing
Post by: David McKenna on May 22, 2023, 01:53:16 am
 Hey Dave,

  What I'm thinking is that if the CPU reports it supports a thing (like AVX), but the OS kernel does not, then a hang is in store.

  I wonder if there is any way to either support AVX (through ACPI maybe?) or prevent detection of the CPU supporting it?

Regards,
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on May 22, 2023, 03:29:02 am
I just looked, from qt6\qt6-webengine-os2\src\3rdparty\dav1d\libdav1d\src\x86\cpu.c
Code: [Select]
#if ARCH_X86_64
        /* We only support >128-bit SIMD on x86-64. */
...
So AVX should never be used on any 32 bit platform by libdav1d. Greping for AVX in 3rdparty gives 1324 hits, some like openh264 which only says not supported yet, others like opus which looks like it needs to undefine OPUS_X86_MAY_HAVE_AVX for an example. I'd assume that Opus checks better if it needs to.
Hopefully everyone does it right.
Qt5 is simpler, global flag for no_avx, which hopefully is honoured everywhere.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on May 22, 2023, 04:11:12 am
  My processor supports both AVX and AVX2 (and SSE up to 4.2). Don't know if that matters, but could be the difference from other people who don't see the system hangs?

This could definitely the results, most of my testing is under Virtualbox.

Cheers,

Paul.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on May 22, 2023, 04:13:09 am
Hi Dave,

I just looked, from qt6\qt6-webengine-os2\src\3rdparty\dav1d\libdav1d\src\x86\cpu.c
Code: [Select]
#if ARCH_X86_64
        /* We only support >128-bit SIMD on x86-64. */
...
So AVX should never be used on any 32 bit platform by libdav1d. Greping for AVX in 3rdparty gives 1324 hits, some like openh264 which only says not supported yet, others like opus which looks like it needs to undefine OPUS_X86_MAY_HAVE_AVX for an example. I'd assume that Opus checks better if it needs to.
Hopefully everyone does it right.
Qt5 is simpler, global flag for no_avx, which hopefully is honoured everywhere.

Qt6 has the no_avx flag as well - but this doesn't seem to be respected by Chromium.

Opus we're using the system version - same with libvpx and dav1d. I've pinged komh to get a copy of the source he used to generate dav1d.dll - perhaps I can recompile it with different flags and see if it helps.

Cheers,

Paul.
Title: Re: Qt6 Application Testing
Post by: roberto on May 22, 2023, 09:43:20 am
Can you test with simplebrowser to open www.ebay.es ?
saludos
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on May 22, 2023, 10:26:15 am
I get a SIGTRAP here with http://www.ebay.es/

I tried it twice and got two different TRP files...
Title: Re: Qt6 Application Testing
Post by: roberto on May 22, 2023, 04:29:44 pm
I see the same error in ebay, but with the old libcn0 and other old version. And fail in single processor unmark, and no fail in single processor mark with Dooble.
[138:13:0522/162052.504000:FATAL:scoped_file.cc(43)] Check failed: . : Bad file
number (9)

saludos
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on May 25, 2023, 07:45:00 am
I see the same error in ebay, but with the old libcn0 and other old version. And fail in single processor unmark, and no fail in single processor mark with Dooble.
[138:13:0522/162052.504000:FATAL:scoped_file.cc(43)] Check failed: . : Bad file
number (9)

I created https://github.com/psmedley/qt6-webengine-os2/issues/15 for this.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on May 25, 2023, 10:36:54 am
https://smedley.id.au/tmp/qt6webee-6.3.2-20230525.zip contains a hack/workaround for the ebay.es issue
Title: Re: Qt6 Application Testing
Post by: Lars on May 26, 2023, 07:22:49 am
Why did you comment out the check? I think you should add OS2 to the IFDEF clause preceding the check (I would assume that our close resembles the UNIX/LINUX close).
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on May 26, 2023, 07:58:12 am
Why did you comment out the check? I think you should add OS2 to the IFDEF clause preceding the check (I would assume that our close resembles the UNIX/LINUX close).

I did try that - we are indeed getting an EBADF error - so adding OS2 to the ifdef at Line 33 doesn't help.
Title: Re: Qt6 Application Testing
Post by: Lars on May 26, 2023, 10:46:38 am
Can you enable the libc log and see what happens under the hoods ? It's either that Chromium tries to close file handles that have never been opened (judging from some Linux groups, quite a few apps are doing that or the libraries that they use and then, EBADF should indeed be ignored for good as you cannot make the distinction between good or bad) or the log will give a clue if the fd is completely out of bounds (indicating a programming error somewhere).
Title: Re: Qt6 Application Testing
Post by: roberto on May 26, 2023, 12:19:28 pm
I have caused it in two different computers.
The configuration that is best worked is 512MB Cache, single process unmark.
On the most modern computer I can't open YouTube. The rest works, but it is unstable. Especially when closing Tabs.
On the portable computer, I can open everything, everything works, sometimes I have to recharge some website,
But it is also unstable, but less.
Saludos
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on May 27, 2023, 07:17:09 am
@Martin can we please add https://www.os2.kr/komh/testcase/dav1d_test.zip to post 1, as newer 6.3.2 builds need it.
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on May 27, 2023, 07:41:26 am
Perhaps you should also make the txt files from git dooble/Data available, especially the blocklist, dooble_accepted_or_blocked_domains.txt which really helps stability. Then Martin can add them to post #1
Title: Re: Qt6 Application Testing
Post by: roberto on May 28, 2023, 11:52:11 am
These are some errors of the console, on eBay.
But sometimes it works well, and on other occasions it fails. Yesterday I made a complete purchase and payment with PayPal, without problems. Only refres the window.
Code: [Select]
js: [Report Only] Refused to connect to 'https://cas.avalon.perfdrive.com/jsdata
?' because it violates the following Content Security Policy directive: "connect
-src 'self' *.ebay.com *.ebay.es *.ebaystatic.com *.ebaystatic.es data: *.double
click.com *.doubleclick.net *.googlesyndication.com *.gstatic.com *.glance.net *
.adlightning.com www.google.com/recaptcha *.fontawesome.com *.adyen.com *.paypal
.com *.google-analytics.com *.googleapis.com wss://*.glance.net".

js: Exception in queued GPT command TypeError: Cannot read properties of undefin
ed (reading 'width')
js: [GPT] Exception in googletag.cmd function: TypeError: Cannot read properties
 of undefined (reading 'width').
js: Access to XMLHttpRequest at 'https://www.ebay.com/gss/v2' from origin 'https
://www.ebay.es' has been blocked by CORS policy: Response to preflight request d
oesn't pass access control check: The value of the 'Access-Control-Allow-Credent
ials' header in the response is '' which must be 'true' when the request's crede
ntials mode is 'include'. The credentials mode of requests initiated by the XMLH
ttpRequest is controlled by the withCredentials attribute.
It's all very irregular
saludos
Title: Re: Qt6 Application Testing
Post by: roberto on May 28, 2023, 10:40:05 pm
Here I leave a file with a patch that is not worth anything, and that does nothing.
For all others, execute if they can in 3 different sessions of "two" the same
File name QW5.bas. Then start dooble.
From the QW4 version, they are the first two log and except files
And I begin to be lost.
If someone can understand better than me, then better.
I don't know how to interpret those mistakes.
saludos
Title: Re: Qt6 Application Testing
Post by: Flashback on May 28, 2023, 11:33:16 pm
Here I leave a file with a patch that is not worth anything, and that does nothing.
For all others, execute if they can in 3 different sessions of "two" the same File name QW5.bas. Then start dooble.
There are always people believing in voodoo or some other strange religion. As pointed out in the other thread, there is no way that a program running in a VDM can modify global properties of the OS/2 system. The only thing it can affect is the timing by invalidating memory pages used by the other processes. Also it can access physical memory between 640K an 1M when defined as MEM_EXCLUDE_REGIONS in DOS memory settings. Everything else is simply impossible. The effects you attribute to the program are either coincidence or something that would happen just by starting a VDM running an arbitrary program in it.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on May 30, 2023, 11:31:11 am
Two discoveries for today:
1) On systems where dooble loads, but gets stuck loading a page - start it with 'dooble https://www.google.com' - the URL can be any valid URL. Here on two different machines, the URL loads and then subsequent sites/tabs also load
2) I cobbled together a local build of dav1d6.dll - based on the 1.2.0 source - download link is https://smedley.id.au/tmp/dav1d-1.2.0-os2-20230530.zip - It will be interesting to see how this compares to the previous build...
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on May 30, 2023, 11:50:48 am
Above build is rpm gcc - https://smedley.id.au/tmp/dav1d-1.2.0-os2-gcc12-20230530.zip is a gcc12 build.

New dooble - https://smedley.id.au/tmp/dooble-2023.05.31-os2-qt-6.3.x-20230530.zip
Title: Re: Qt6 Application Testing
Post by: Martin Iturbide on May 30, 2023, 02:26:52 pm
Hi Paul

I updated the first page of this thread.

Quote
- Qt6 libs (with Webengine) - https://smedley.id.au/tmp/qt6-6.3.2-os2-20230422.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-20230525.zip
- dav1d - https://smedley.id.au/tmp/dav1d-1.2.0-os2-gcc12-20230530.zip
- Dooble   -  https://smedley.id.au/tmp/dooble-2023.05.31-os2-qt-6.3.x-20230530.zip

Any correction is welcome.

Regards
Title: Re: Qt6 Application Testing
Post by: roberto on May 30, 2023, 09:08:53 pm
Hello Paul
I think it increases stability killing cupsd.exe
If someone else confirms it ...
saludos
Title: Re: Qt6 Application Testing
Post by: David McKenna on May 30, 2023, 10:30:58 pm
Hey Paul,

  Thanks for the new Dooble and libdav1d! I tried the RPM version with the new Dooble, and everything works about the same as before - still get the system hangs and occasional silent exit, but all tests seem to work as before. I'll try the gcc12 version next...

Regards,
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on May 30, 2023, 11:04:57 pm
  Thanks for the new Dooble and libdav1d! I tried the RPM version with the new Dooble, and everything works about the same as before - still get the system hangs and occasional silent exit, but all tests seem to work as before. I'll try the gcc12 version next...

I did a review of the dav1d code - I agree with Dave Yeo that AVX _shouldn't_ be being used on a 32bit platform. I did note some warnings from compiling the assembly, they should probably be cleaned up but I doubt they're causing the hangs.

re: silent traps - if you're still running my build of libcn0.dll - any TRP files with 'set EXCEPTQ=Z' might be interesting.

Cheers,

Paul
Title: Re: Qt6 Application Testing
Post by: David McKenna on May 31, 2023, 01:24:33 am
Paul,

 This time I got 2 *.TRP files at a silent exit - this happened as soon as I typed in 'https://www.youtube.com' and it started to render. This is also with the gcc12 version of dav1d6.dll - this version in general seems to be a little bit more stable though ( I don't always get an exit with YouTube with this one, but I did this time).

 If AVX is not the cause of system hangs, the only other thing that makes sense is Javascript. It is true that I get system hangs every once in a while when the system is sitting doing nothing, but the browser is open on some web page (like youtube), but mostly get hangs on busy websites with lots of video.It also happens very occasionally with the QT5 version of Dooble on those same sites.

Regards,
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on May 31, 2023, 03:08:04 am
Thanks David, the problem with the silent exits is that they seem to contain somewhat random information... Quite frustrating!
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on May 31, 2023, 11:58:40 am
I can't reproduce any hangs with youtube, testing on Virtualbox - weird stuff. I can definitely get 'silent exit's example attached - which will be quite different to David Mckennas (at least as far as I can tell).
Title: Re: Qt6 Application Testing
Post by: David McKenna on May 31, 2023, 12:16:15 pm
 Hey Paul,

  I'm no expert on traps, but the one you post sure looks a lot like the larger of the 2 I posted (0054_15.trp) when I put them side by side...

Regards,
Title: Re: Qt6 Application Testing
Post by: roberto on May 31, 2023, 09:02:19 pm
Hello
I leave a photo of 2 Reduced Full screen, and another EBAY website in the background. Applying the QW7.Bas patch, I need to try it more but it is very improving stability.
Since I started playing the Libcn0.dll that CUPSD's straight.
saludos
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on June 01, 2023, 09:59:04 am
Hey Dave,
  I'm no expert on traps, but the one you post sure looks a lot like the larger of the 2 I posted (0054_15.trp) when I put them side by side...

I was a little frustrated last night, and didn't phrase things very well. What I meant to say is that it's unlikely to be the same as yours, as it seems that no two traps are the same - which makes it terribly hard to fix things.

Further to this.... noting that the below is based on my understanding - as I'm far from an expert on Traps either!

With the silent exits, the reason they're silent is because some function has detected an error, and has called the exit() function. The modified libcn DLL forces an exceptq report every time exit() is called - so elements of almost every TRP will look the same - as they're all being generated from exit().

I've emailed Steven to confirm my understanding is correct (as he first gave me to the idea to build a modified libcn), but what I think is that the function below the exception handling, ie:
 055DA4FC  1E50319D   LIBCN0    0001:0008319D  exceptions.c#156 __libc_Back_exceptionHandler + 2AD 0001:00082EF0 (exceptions.obj)
 055DA58C  1FFCA2EE   DOSCALL1  0002:0000A2EE  between _xcptExecuteUserExceptionHandler + 46 and _xcptR3ExceptionHandler - 42
 055DA5AC  1FFCA330   DOSCALL1  0002:0000A330 _xcptR3ExceptionHandler
 055DA5BC  1FFC9F14   DOSCALL1  0002:00009F14  between _xcptR3ExceptionDispatcher + 88 and _xcptUnwindDispatcher - 100
 055DA5D0  1FFCA330   DOSCALL1  0002:0000A330 _xcptR3ExceptionHandler
 055DA61C  1FFC9D7C   DOSCALL1  0002:00009D7C  between DOS32R3EXCEPTIONDISPATCHER + 64 and _xcptR3ExceptionDispatcher - 110
is the trapping function.

ie in 0050_15.TRP, we have:
 055DA61C  1FFC9D7C   DOSCALL1  0002:00009D7C  between DOS32R3EXCEPTIONDISPATCHER + 64 and _xcptR3ExceptionDispatcher - 110
 055DA6E0  00010000   DOOBLE    0001:00000000  crt0.s#59 __text 0001:00000000 (D:\Temp\ccMCXzU3.s)
 055DA6E4  00014000   DOOBLE    0001:00004000 __ZN6dooble18slot_print_previewEv + 180 0001:00003E80 (dooble.obj)

so __ZN6dooble18slot_print_previewEv is the trapping function.

& for 0054_15.TRP:
 0581BC8C  1FFC9D7C   DOSCALL1  0002:00009D7C  between DOS32R3EXCEPTIONDISPATCHER + 64 and _xcptR3ExceptionDispatcher - 110
 0581BD7C  AD1765C0   QT6WEBEE  0001:02A665C0 __ZN5cppgc8internal15ObjectAllocator20AllocateFromFreeListERNS0_15NormalPageSpaceEjt + 150 0001:02A66470 (cppgc_base_jumbo_4.o)

so __ZN5cppgc8internal15ObjectAllocator20AllocateFromFreeListERNS0_15NormalPageSpaceEjt is the trapping function.

I'll post back here once Steven either confirms I'm right  or corrects me :)
Title: Re: Qt6 Application Testing
Post by: roberto on June 01, 2023, 04:10:53 pm
Hello
Here you are the expert and I am a simple user, but I see that your mistakes are very similar and
that I have seen.
I have only seen a problematic doscall1, when you have seen more.
And the way to solve it has been executing it 3 times, to be able to mark as non -REM, all the lines.

My doscall1 as you see is another point of memory different from yours, so many cannot execute my
Patches
In my case I continue with some unexpected closures. And I see two paths to continue cleaning Libcn0.dll, or start trying with
 Libcx0.dll

I include the detail of my extracted pokes of the QW5.bas to qw7.bas in preparation.
Code: [Select]
...
REM QTWEBENGINEPROCESS.EXE      10000 / 3C0   20000 / 1C0    30000 / 100000

 POKE &H0001020D, 1
 POKE &H000102C7, 1
 POKE &H00010353, 1

REM 30000/100000
 POKE &H00032E55, 1
 POKE &H00032F65, 1
 POKE &H0003311A, 1
 POKE &H0003320A, 1
 POKE &H000332A5, 1

   rem

POKE &H00033705, 1
REM POKE &H0003370A, 1
rem POKE &H0003397D, 1
POKE &H00033C15, 1
POKE &H00033EA9, 1
POKE &H00033EE6, 1
POKE &H00033F1B, 1
POKE &H00034005, 1
POKE &H00034082, 1
POKE &H000342E0, 1
rem POKE &H00034329, 1
REM POKE &H00034357, 1
POKE &H0003442D, 1
POKE &H0003449C, 1

   ...
   REM DOSCALL1 00009DAB
REM ------------------
POKE &H0000A912, 1                 ******** 1 ******

rem error libcn0 000158FC
rem ---------------------
POKE &H00015A04, 1
rem POKE &H00015A20, 1
 POKE &H00015A3B, 1
rem POKE &H00015A40, 1
 POKE &H00015A43, 1
 POKE &H00015AE2, 1
 POKE &H00015BD0, 1
 POKE &H00015CC9, 1
 POKE &H00015D7C, 1

rem POKE &H00015E90, 1
rem POKE &H00015EF1, 1
rem POKE &H00015F19, 1
 POKE &H00015F79, 1
rem POKE &H00015FA8, 1
 POKE &H000160A4, 1
 POKE &H00016121, 1
rem POKE &H00016548, 1
rem POKE &H00016790, 1
....
rem tras aprox. 1 hora video me manda error al doscall1 00009dab ??raro sigsev
rem Trap  ->  1FFC9DAB   DOSCALL1  0002:00009DAB  between DOS32R3EXCEPTIONDISPATCHER + 93 and _xcptR3ExceptionDispatcher - E1

rem doscall1.dll 00009dab el mismo de antes ***repetido ****
POKE &H0000A912, 1                 ******** 2 ******

 POKE &H0003397D, 1
    POKE &H00033C15, 1
    POKE &H00033EA9, 1
    POKE &H00033EE6, 1
    POKE &H00033F1B, 1
    POKE &H00034005, 1
REM    POKE &H00034082, 1
REM   POKE &H000342E0, 1
POKE &H00034329, 1

 POKE &H00034357, 1

...
rem tras aprox. 1 hora video me manda error al doscall1 00009dab ??raro sigsev
rem Trap  ->  1FFC9DAB   DOSCALL1  0002:00009DAB  between DOS32R3EXCEPTIONDISPATCHER + 93 and _xcptR3ExceptionDispatcher - E1

rem doscall1.dll 00009dab el mismo de antes ***repetido ****
POKE &H0000A912, 1                 ******** 3 ******

 POKE &H0003397D, 1
    POKE &H00033C15, 1
    POKE &H00033EA9, 1
    POKE &H00033EE6, 1
    POKE &H00033F1B, 1
    POKE &H00034005, 1
      POKE &H00034082, 1
      POKE &H000342E0, 1
POKE &H00034329, 1

 POKE &H00034357, 1


saludos
Title: Re: Qt6 Application Testing
Post by: David McKenna on June 01, 2023, 10:04:47 pm
Paul,

  Thanks for the explanation - I now see what you mean about the exception handling being the bulk of the messages and they will be the same. Be interesting to hear what Steven has to say...

Regards,
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on June 01, 2023, 11:24:56 pm
  Thanks for the explanation - I now see what you mean about the exception handling being the bulk of the messages and they will be the same. Be interesting to hear what Steven has to say...

The main intel from these TRPs is it tells us where exit() was called from - which can give clues as to where the issue is. Unfortunately, it's hard to find a pattern in most of the silent exit TRPs....
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on June 03, 2023, 10:20:37 am
Steven's analysis is attached... I'm still trying to work out how he does this..... my other issue is that there is no easy way to reproduce the same trap twice
Title: Re: Qt6 Application Testing
Post by: David McKenna on June 03, 2023, 04:25:11 pm
Paul,

  Thanks for uploading Steven's analysis - no doubt he has a special talent for this stuff...

  BTW, I just tried using your last 'Tor' with Dooble and it works great with the 'Socks5' proxy setting (using it now).

Regards,
Title: Re: Qt6 Application Testing
Post by: roberto on June 03, 2023, 11:24:09 pm
I'm glad you can use dooble, I'm already using 99% OK. Applying the QW13.bas patch. Now I will try to convert it, to be able to use it on another computer. Because here it seems that it doesn't work for anyone.
Saludos
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on June 03, 2023, 11:37:35 pm
Hi David,
  BTW, I just tried using your last 'Tor' with Dooble and it works great with the 'Socks5' proxy setting (using it now).

Wow! tor  - I didn't think anyone still used that. I could look at updating it if people see value in using it.

Cheers,

Paul
Title: Re: Qt6 Application Testing
Post by: David McKenna on June 04, 2023, 12:39:46 am
Paul,

  I had stopped using Tor because it wouldn't work with the last version of SeaMonkey due to faulty Socks5 support, but it works fine with Dooble...

Regards,
Title: Re: Qt6 Application Testing
Post by: TeLLie on June 04, 2023, 11:47:26 pm
Hi David
How do you setup Tor for doodle
I ported Vidalla not sure if this where allready done by Paul.

It says im connected to tor network, but no idea how it works with doodle..
Title: Re: Qt6 Application Testing
Post by: David McKenna on June 05, 2023, 12:44:41 am
Hi Tellie,

  I also use Vidalia with Tor - makes it easy to start and set up Tor and see your connections.

 In Dooble, go to 'Settings' -> 'Privacy' and towards the bottom of the page there is a 'Proxy' section. Switch to 'Socks5' and type in 'Host' = localhost and 'Port' = 9050 (assuming you kept the default Tor settings). Click 'Apply' at the bottom right of the page and if Tor is already connected, you should be able to browse anonymously - if you also have Vidalia running, you should see the network path on the Network Map.

  Just today I started getting a warning message the latest Tor is out of date, but it still works...

Regards,
Title: Re: Qt6 Application Testing
Post by: TeLLie on June 05, 2023, 07:08:30 pm
Thanks David
Works now, also get warning about outdated Tor version..
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on June 05, 2023, 11:44:21 pm
Completely untested.... https://smedley.id.au/tmp/tor-0.4.7.13-os2-20230606.zip
Title: Re: Qt6 Application Testing
Post by: David McKenna on June 06, 2023, 12:09:45 am
 Thanks Paul! Seems to be working just fine (using it to post this)...

Regards,
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on June 16, 2023, 10:06:20 am
Qt6 v6.5.1 (minus the webengine) for testing: https://smedley.id.au/tmp/qt6-6.5.1-os2-20230616.zip
Title: Re: Qt6 Application Testing
Post by: Martin Iturbide on June 16, 2023, 02:35:06 pm
Qt6 v6.5.1 (minus the webengine) for testing: https://smedley.id.au/tmp/qt6-6.5.1-os2-20230616.zip
Thanks Paul. I will be giving it a try.

Remember that you can show your appreciation to Paul at:
Quote
Paul's GitHub Sponsor page (https://github.com/sponsors/psmedley) or Paul's Arca Noae Sponsoring Page (https://www.arcanoae.com/shop/os2-ports-paul-smedley/).

Title: Re: Qt6 Application Testing
Post by: David McKenna on June 17, 2023, 02:53:00 am
 Thanks Paul! Far as I can tell, this build has the same limitations as other ones, but no new issues have showed up (still no QML or Quick stuff working with the examples - plugin 'workerscript' not found). Dooble doesn't work either, but probably because no webengine for 6.5.1 yet. I still have to try other apps with it... will do over the weekend.

Regards,
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on June 17, 2023, 09:41:07 am
Thanks Dave - I really need to spend some time trying to work out wtf is wrong with the workscript plugin...

Interesting - in Qt 5, bww simply set a short DLL name for the workerscriptplugin - see https://github.com/bitwiseworks/qtdeclarative-os2/commit/6fd7c791b6aa6f2c708715277e69b64812547ed5 and the scanges in workerscript.pro
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on June 18, 2023, 09:23:53 am
So interesting... I built QtDeclarative 6.3.x with -no-feature-qml-worker-script to disable the worker script plugin.

Now I get:
Code: [Select]
{0}[u:\dev\qt6-declarative-os2-6.3.x\build] examples\qml\dynamicscene\dynamicsceneexample.exe
qrc:/dynamicscene/dynamicscene.qml:52:1: module "QtQuick.Particles" plugin "particles" not found
     import QtQuick.Particles

hmmmm...

Edit - the lack of OS/2 code at https://github.com/psmedley/qt6-declarative-os2/blob/6.3.x/src/qml/qml/qqmlpluginimporter.cpp#L393 probably explains it....
...and https://github.com/psmedley/qt6-declarative-os2/commit/0693d1d996af0c04327163a59d22139695c5d988 will hopefully fix it

OK... I can now load the DLLs - next problem is that the generated qmldir files have the long DLL names, so I'll need to find the code that generates them and modify it to write the short DLL names.

Edit2: Interesting - qt5 seems to create a symlink from the long name to the short name - will need to think how to achieve this within the cmake system (qt5 usings qmake)
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on June 19, 2023, 11:46:42 am
OK... so I modified things so the generated qmldir uses the short DLL name where it is set. and most of the examples in examples/qml work now ;)

The ones in examples/quick fail with:
qrc:/affectors/affectors.qml:52:1: module "shared" is not installed
     import shared

Still need to work this out....

Also.... I need to work through and set the OS2_SHORT_NAME for *all* DLL's that are > 8 characters - even those where the cmake rules to shorten results in no clashes. Bit of work here, but should be a one off activity - and will hopefully apply cleanly to the newer code bases (I'm working on 6.3.2 right now).
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on June 21, 2023, 10:25:23 am
New build - most of the qml examples work now - https://smedley.id.au/tmp/qt6-6.3.2-os2-20230621.zip

The examples in \qt6\examples\quick still fail.... investigating - and still need to checkin the changes...
Title: Re: Qt6 Application Testing
Post by: David McKenna on June 23, 2023, 12:06:33 am
Hey Paul,

  This is some real progress - a breakthrough even! The QML examples stuff does indeed work, although it seems it exposes a new issue (QTCharts not installed) which it looks like you have added to your GitHub site. On a couple of QML tests I see a 'Button is not a type' error - is that a missing definition? The Quick stuff all seems to fail with 'Module 'Shared' not installed' - another short DLL name issue?

 Dooble seems to work as well as before - not really affected by this build.

 Thanks for keeping at it - if it was easy, everybody would do it!

Regards,
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on June 23, 2023, 11:26:51 am
Hi David!

Thanks for testing! qtcharts should be installed - I'll double check. Without the DLL for qtcharts, Dooble shouldn't start. Which examples gives the error about qtcharts? I have no idea (yet) why the quick examples given error about "shared" logically it's a DLL name issue, but I don't see where it's trying to load "shared" from.
Title: Re: Qt6 Application Testing
Post by: David McKenna on June 23, 2023, 11:58:10 am
Paul,

  All of the examples that start with 'QML...' in the 'Charts' directory will show the 'QTCharts not installed' error. Before they showed the 'workerscript not found' error.

Regards,
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on June 23, 2023, 11:07:13 pm
  All of the examples that start with 'QML...' in the 'Charts' directory will show the 'QTCharts not installed' error. Before they showed the 'workerscript not found' error.

OK I can reproduce this, will try and investigate later today.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on June 24, 2023, 12:04:41 am
My favourite fix - reconfigure and rebuild and it works. I must not have fullyrebuilt after patching things. https://smedley.id.au/tmp/qt6-6.3.2-os2-20230624.zip fixes the qml qtcharts examples, and some spurious logging messages in qtwebengine.
Title: Re: Qt6 Application Testing
Post by: David McKenna on June 24, 2023, 02:37:39 am
 Thanks Paul!

  The QMLCharts stuff does indeed work now. The 2 biggest problems I see now in the examples are the 'module 'shared' is not installed' message, and many errors like this:

'Button' is not a type
'TextField' is not a type
'Label' is not a type
'Drawer' is not a type etc. many others 'Something' is not a type - in the quick and quickcontrols directories.

 Of course no Multimedia examples work because no OS/2 backend for that.

 Do you know anything about setting up dbus on OS/2? I have it installed and I can start the daemon, but the dbus examples all say it can't connect to the session dbus - dbus is probably not configured correctly, but at this point I don't have a clue...

Regards,

Title: Re: Qt6 Application Testing
Post by: Paul Smedley on June 24, 2023, 03:11:10 am
Thanks David.... I think the "shared" error is coming from the following in (for example) animations.qml:
Code: [Select]
import shared as Examples
I need to work out what this is trying to do...

re: the 'is not a type' errors - right now I have no idea what's causing those :(

re: dbus - I thought in recent qt6-base builds I had disabled dbus - which may explain why it doesn't work - sorry, I haven't tried it at all.

re: qtmultimedia - it's on my list to try make a libkai backend - but tbh it may be beyond me - it requires actual coding not just hacking things until they work :P
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on June 24, 2023, 03:19:11 am
Thanks David.... I think the "shared" error is coming from the following in (for example) animations.qml:
Code: [Select]
import shared as Examples
I need to work out what this is trying to do...

OK it's *something* to do with loading the DLL in u:\qt6\examples\quick\animation\examples\quick\animation\shared - seems to try and load it as shared will need to think about this....
Title: Re: Qt6 Application Testing
Post by: David McKenna on June 25, 2023, 04:21:15 pm
Hey Paul,

  Poking around today in the 'quick' examples directory, I notice that all the examples that give a 'module 'XXXXX' is not installed' error have a directory called 'XXXXX' at the end of a chain of directories, and in that directory is a DLL and a file called 'qmldir'. It looks like the 'qmldir' file contains info about what DLL to use, but somehow the message isn't getting thru to the program. Possibly not using the correct shortened name, or not using *.DLL or something? Somehow that 'qmldir' file is the key.

 I also notice that the examples that have the '... is not a type' error - if you run them over and over, the type listed is different each time. The error usually looks something like this:

QQmlApplicationEngine failed to load component
qrc:/contactlist.qml:54:1: ApplicationWindow is not a type

  I can't find a 'contactlist.qml' file anywhere on my system - maybe just a case of missing files?

Regards,

Title: Re: Qt6 Application Testing
Post by: Paul Smedley on June 26, 2023, 10:55:23 am
  Poking around today in the 'quick' examples directory, I notice that all the examples that give a 'module 'XXXXX' is not installed' error have a directory called 'XXXXX' at the end of a chain of directories, and in that directory is a DLL and a file called 'qmldir'. It looks like the 'qmldir' file contains info about what DLL to use, but somehow the message isn't getting thru to the program. Possibly not using the correct shortened name, or not using *.DLL or something? Somehow that 'qmldir' file is the key.
Yeah it's related to that qmldir somehow. The bit I can't work out is why the reference is 'shared' I may need to run os2trace or something to understand what filepath it's trying to open and then work out why it's failing. Hmmm had a lightbulb moment as I was writing this.... it looks like a packaging issue.....

The file in (for example):
u:\qt6\examples\quick\animation\examples\quick\animation\shared\* should be in:
u:\qt6\examples\quick\animation\shared\* - then there is the issue of ensuring the names in qmldir match...

Still not *quite* working....

I also notice that the examples that have the '... is not a type' error - if you run them over and over, the type listed is different each time. The error usually looks something like this:

QQmlApplicationEngine failed to load component
qrc:/contactlist.qml:54:1: ApplicationWindow is not a type

  I can't find a 'contactlist.qml' file anywhere on my system - maybe just a case of missing files?

I believe the qml file is compiled into the executable..... so this isn't it :)

Cheers,

Paul
Title: Re: Qt6 Application Testing
Post by: Jochen Schäfer on June 26, 2023, 12:05:39 pm
My understanding of QML loading is, that QML files get compiled into the executable, if you reference them via resource files. But you can also reference them from the file system.
Title: Re: Qt6 Application Testing
Post by: David McKenna on June 26, 2023, 01:07:30 pm
Hey Paul!

The file in (for example):
u:\qt6\examples\quick\animation\examples\quick\animation\shared\* should be in:
u:\qt6\examples\quick\animation\shared\* - then there is the issue of ensuring the names in qmldir match...

 That's it! I moved the 'Shared' directory in \examples\quick\animation\examples\quick\animation to \examples\quick\animation, and now it works!
Tried a different one that didn't work at first, but when I changed the 'Optional Plugin' directive in 'qmldir' to match the shortened DLL name, that one started working too. So the quick stuff really does work.... need to check the '...is not a type' errors for something similar.

Regards,
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on June 27, 2023, 04:03:49 am
I'm guessing that somewhere in either cmake or Qt's cmake files, there is some needed code for relative/absolute paths that is missing support for drive letters - hence the path mangling.... I had a bit of a hunt last night to no avail - will try again when I get a minute.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on July 05, 2023, 11:36:24 am
OK so I was wrong about relative/absolute paths.

For some reason, in the examples dir, the following is being set:
set(CMAKE_INSTALL_PREFIX "/qt6/examples/quick/animation")

then later...
file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/examples/quick/animation/shared" TYPE FILE FILES "U:/dev/qt6-declarative-os2-6.3.x/build/examples/quick/animation/shared/qmldir")

so INSTALL_DESTINATION is set to /qt6/examples/quick/animation + /examples/quick/animation/shared = /qt6/examples/quick/animation/examples/quick/animation/shared

I believe CMAKE_INSTALL_PREFIX should just be /qt6 and manually changing it to this installs into the right place...
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on July 05, 2023, 11:38:40 am
I believe CMAKE_INSTALL_PREFIX should just be /qt6 and manually changing it to this installs into the right place...

Nope, cos then animationexample gets installed into /qt6..... hmmmmm
Title: Re: Qt6 Application Testing
Post by: Lars on July 05, 2023, 07:34:13 pm
and what happens if you adjust INSTALL_DESTINATION to strip to ${CMAKE_INSTALL_PREFIX}/shared only?
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on July 06, 2023, 10:55:17 am
Hey Lars,

and what happens if you adjust INSTALL_DESTINATION to strip to ${CMAKE_INSTALL_PREFIX}/shared only?

Yeah I'm sure that would work too. Interestingly, I checked cmake_install.txt from a linux build of qtdeclarative-6.5.1, which has:
Code: [Select]
# Set the install prefix
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
  set(CMAKE_INSTALL_PREFIX "/usr/local/Qt-6.5.1/examples/quick/animation")
endif()
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")

&

Code: [Select]
if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT)
  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/examples/quick/animation/shared" TYPE FILE FILES "/home/psmedley/qtdeclarative-everywhere-src-6.5.1/build/examples/quick/animation/shared/qmldir")
endif()

So i'm not sure how it works on linux either - there must be something I'm missing.....
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on July 09, 2023, 12:01:53 am
So.. or those with issues with special characters - I built a new qos2.dll which logs the keypresses - https://smedley.id.au/tmp/qos2-20230709.zip Backup the old \qt6\plugins\platform\qos2.dll and replace with this one.

Load a qt app (like tea) - each key press will log to the console, ie:
Code: [Select]
chm.chr = 0x24
chm.chr = 0x24
(for some reason, each keypress is logged twice).

Curious if anything shows up for the keycodes that don't appear in the app - like the Euro. Also, any tips on entering a Euro on a US English keyboard?
Title: Re: Qt6 Application Testing
Post by: Remy on July 09, 2023, 12:24:29 am
May be you can try:
"type the Euro sign by holding Alt and typing 0128 in the numerical pads on the right side of your keyboard"
Title: Re: Qt6 Application Testing
Post by: David McKenna on July 09, 2023, 01:25:00 am
 If you open AE.exe and type <alt>0213, you will get a euro symbol (it also shows in the 'Character Map' utility). But if you do it in FeatherNotes, you get nothing. So it seems there is some disconnect between the OS/2 850 codepage and whatever FeatherNotes expects... or maybe FeatherNotes needs more directives...

Regards,

EDIT: In the 'Character Map' utility, if you choose the 'Unicode (Plane 0)' display, there is no euro symbol offered that I can see. WTF? Does OS/2 not offer a euro symbol in Unicode!??
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on July 09, 2023, 01:34:39 am
I get Ç for ALT 0128, both in AE and here in SM. QE (Qt5) gives me nothing.
Looking at Charmap, I can't even find the Euro when in Unicode. Switching to codepage 850, I see the Euro at ALT 0213, and typing it into AE or here gives, €. Blank in QE.
Why the Euro doesn't show up in Unicode here and why ALT 0128 gives the Ç seems strange. Moziila apps should be unicode aware.
Tried a few different fonts as well. Maybe Alex can help
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on July 09, 2023, 01:52:44 am
Reading the documentation, x:\os2\book\readme.add,
Code: [Select]
NOTE: The Euro currency symbol is supported in codepage 850 and in
      the Windows 1252 codepage. The Euro currency symbol is not
      available in codepage 437 and in the US keyboard layout.
      Use codepage 850 and the US International keyboard instead.

most keyboards it is altgr-E in OS/2, varies a bit more in DOS or WINOS2 sessions.
US International is a bit weird on OS/2 IIRC, there was an issue recently about it. Actually only touched on it and it is a private issue but it did point to https://www.os2world.com/forum/index.php?topic=1656.0 (https://www.os2world.com/forum/index.php?topic=1656.0) which I think is what I remembered.
Alex and Alfredo seem to be the experts.
Title: Re: Qt6 Application Testing
Post by: Alex Taylor on July 09, 2023, 02:19:32 pm
I get Ç for ALT 0128, both in AE and here in SM. QE (Qt5) gives me nothing.
Looking at Charmap, I can't even find the Euro when in Unicode. Switching to codepage 850, I see the Euro at ALT 0213, and typing it into AE or here gives, €. Blank in QE.
Why the Euro doesn't show up in Unicode here and why ALT 0128 gives the Ç seems strange. Moziila apps should be unicode aware.
Tried a few different fonts as well. Maybe Alex can help

The Euro is available under Unicode in the character map.  But unlike codepage 850, it's not in the first 256 codepoints, so you need to select a leading byte of 20 (Euro is U+20AC).

(I should probably add a scrollbar next to the valueset so you can browse through leading byte wards more intuitively.)

I would expect Alt+128 to give you Ç no matter what the app, because it's coming in as direct keyboard input, not a pre-encoded text value.  Moz will store the value as Unicode internally after you enter it.
Title: Re: Qt6 Application Testing
Post by: roberto on July 09, 2023, 04:16:13 pm
It happens to me that with the CodePage 850, using the QT6-632, when I pulse and loose the ALT key, a while later pulse 'e', and jump to the edit of the dooble. It is as if the Alt key was pressed. That is not right.
Saludos
Title: Re: Qt6 Application Testing
Post by: David McKenna on July 09, 2023, 05:09:52 pm
 Thanks Alex - and indeed, if you copy the euro symbol at U+20AC in the 'character map' app, it will paste into feathernotes (but not AE). Probably a lot of effort would be needed to make the CP850 to unicode translation in QT....

Regards,
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on July 09, 2023, 05:26:25 pm
OK, makes sense that it needs a different leading byte, I tried a few but not  20 as depending on the font I tested, most of the glyphs were missing once the leading byte was not zero.
Testing here, I can paste the euro into Qt5 qe.exe fine, then copy and paste it to ae.exe.
Here, in the Qt6 Dooble, pasting from the charmap, gives a double euro, like €€€, hmm, now it is a triple euro. Copy and pasting from qe.exe gives € correctly and copy and pasting from qe.exe to ae.exe and then to here gives �
Seems Qt5 qe.exe handles the unicode, then ae.exe (Pascal?) accepts it but it gets converted to codepage 850 when copying from there.
Why I get double or triple euros when copying from charmap, I don't know but seems like a Qt6 bug.
@David, we have libraries to help with the conversion, namely ICU, which Mozilla also uses. I did have to restore codepage 850 to the list of codepages that Mozilla handled.
Edit: It is actually the behaviour of charmap that causes the doube/triple paste, visible when looking at the Copied characters box, each copied character is added to what is in the clipboard, makes sense for forming words.
Title: Re: Qt6 Application Testing
Post by: David McKenna on July 09, 2023, 05:43:03 pm
 Hey Dave,

  Interesting you can copy the Unicode euro to AE - here it does not work, I get: Ôé¼ when I try. What version of AE are you using? I have the latest 1.9.9.

 I don't see the multiple euros like this: € when I copy from the unicode character map to Dooble...

Regards,
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on July 09, 2023, 06:02:01 pm
Using AE ver 1.9.8 currently for testing. This only worked after I pasted into qe.exe, then copied and pasted from there to AE. Pasting directly I get the same results as you. I assume qe converted it to codepage 850. The double € was operator error.
Title: Re: Qt6 Application Testing
Post by: David McKenna on July 09, 2023, 07:09:22 pm
 OK, I see... I can also paste unicode into qe, then copy and paste into ae, thanks.

Regards,
Title: Re: Qt6 Application Testing
Post by: Alex Taylor on July 09, 2023, 11:57:01 pm
That sounds about right.

The character map copies characters to clipboard as both text/unicode and as codepage text.  Apps which are aware of the text/unicode clipboard format will paste that.  All other apps will paste the codepage text. 

When copying as codepage text, the character map converts into whatever encoding you are currently looking at; if you have Unicode selected, it will use UTF-8, in all other cases it will use the direct codepage byte values. 

You can thus force it to use the system codepage by changing the character map's selected encoding to System before pasting into AE.  (When you change encodings, the current contents of the clipboard panel are automatically re-copied based on the new selection.)

https://github.com/altsan/os2-ucharmap/blob/master/dbcsmap.c#L1720
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on July 10, 2023, 02:05:07 am
With the Tea editor, running it Qt6, I'm able to use the linux 'Characters' app to copy the Euro symbol to the clipboard and paste it into Tea and it displays find - but I can't input it from the keyboard. Note this could also be because I'm VNCing into the OS/2 box.

There is also an example character map util that is part of qt - \qt6\examples\widgets\widgets\charactermap\charactermap.exe
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on July 10, 2023, 11:38:33 am
Hey All,
and what happens if you adjust INSTALL_DESTINATION to strip to ${CMAKE_INSTALL_PREFIX}/shared only?

Yeah I'm sure that would work too. Interestingly, I checked cmake_install.txt from a linux build of qtdeclarative-6.5.1, which has:
Code: [Select]
# Set the install prefix
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
  set(CMAKE_INSTALL_PREFIX "/usr/local/Qt-6.5.1/examples/quick/animation")
endif()
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")

&

Code: [Select]
if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT)
  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/examples/quick/animation/shared" TYPE FILE FILES "/home/psmedley/qtdeclarative-everywhere-src-6.5.1/build/examples/quick/animation/shared/qmldir")
endif()

So i'm not sure how it works on linux either - there must be something I'm missing.....

Well... I ran the install on linux, and sure enough:
Code: [Select]
-- Up-to-date: /usr/local/Qt-6.5.1/examples/quick/animation/examples/quick/animation/shared/libanimation_shared.so

So it installs into a similar path to OS/2 - but linux is obviously able to find it.....
Title: Re: Qt6 Application Testing
Post by: Martin Iturbide on August 06, 2023, 11:15:01 pm
Hello

Tellie ported this two apps with Qt6 that you may try out:
- http://rpm.netlabs.org/test/QT6/connectagram-1.3.4-qt6.7z
- http://rpm.netlabs.org/test/QT6/focuswriter-1.8.5-qt6.7z

Regards
Title: Re: Qt6 Application Testing
Post by: Joop on August 06, 2023, 11:31:14 pm
Well... I ran the install on linux, and sure enough:
Code: [Select]
-- Up-to-date: /usr/local/Qt-6.5.1/examples/quick/animation/examples/quick/animation/shared/libanimation_shared.so

So it installs into a similar path to OS/2 - but linux is obviously able to find it.....
With finding out how Java programs works on OS/2 I had very frequent the problem that the complete file specification was too long for OS/2, there is a limit. May be this plays here too. The complete file specification wil then be truncated and if you don't have an error logger specific on that part you will never know.
Title: Re: Qt6 Application Testing
Post by: Martin Iturbide on August 27, 2023, 03:52:06 pm
Hello

I forgot to add the latest Qt6 Dooble - https://smedley.id.au/tmp/dooble-2023.07.15-os2-qt-6.3.x-20230724.zip

It is also now on the first page of the thread.

Regards
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on August 27, 2023, 06:07:48 pm
There's also now Version 2023.08.30,
Code: [Select]
Release Notes

    Create new page via double-click on a tab bar. GitHub ticket #196.
    OS/2 and QLocalServer::UserAccessOption corrections.
    Qt 6.5.2 LTS.
For Paul to build.
Title: Re: Qt6 Application Testing
Post by: Martin Iturbide on October 09, 2023, 11:43:19 pm
Hello.

Tellie just ported "uchmviewer", an epub book viewer, using Qt6.
It also requires the Qt6 ffmpeg DLLs (https://smedley.id.au/tmp/ffmpeg-chromium-6.3.2-20230516.zip).

- http://rpm.netlabs.org/test/QT6/uchmviewer-test.7z

Please test it out too.

Regards
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on October 13, 2023, 11:00:23 pm
Tellie asked me on IRC about a build of Qt 6.5.3 - so here it is - https://smedley.id.au/tmp/qt6-6.5.3-os2-20230930.zip

No OS/2 specific fixes over the previous builds  - and no webengine due to the issues with building the v8/javascript engine (see https://github.com/bitwiseworks/node-os2/issues/1)
Title: Re: Qt6 Application Testing
Post by: David McKenna on October 14, 2023, 02:18:05 pm
Thanks Paul,

  I gave it a try using the examples provided and notice right away that I get a lot of 'module 'workerscript' not found' messages with qml examples. That was a problem with earlier versions that you fixed at one point...

Regards,
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on October 15, 2023, 02:12:31 am
Yep, seems I forgot to configure qtdeclarative with '-no-feature-qml-worker-script' - rebuilding it now

https://smedley.id.au/tmp/qt6-6.5.3-os2-20231015.zip might fix the workerscript errors.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on October 17, 2023, 11:20:26 am
https://smedley.id.au/tmp/qt6-6.5.3-os2-20231017.zip  is rebuild using latest bww cmake. DLL names have changed so this will break compatability with any apps built against previous 6.5.x drops,  however it should make future maintenance easier (for me).
Title: Re: Qt6 Application Testing
Post by: David McKenna on October 17, 2023, 12:59:22 pm
Thanks Paul,

  Did a quick check of some examples with this one and I don't see the 'workerscript' error anymore, but now see things like:

'module "QtCharts" plugin "qtchartsqml2" not found', or 'module "QtQuick.particles" plugin "particles" not found' (many others too) with qml stuff. Don't remember if this happened before. Maybe more DLL name length adjustments needed?

 Also I commonly see: 'RangeError: Maximum call stack size exceeded' in failed tests.

 I'll do some more checking after work....

Regards,
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on October 17, 2023, 10:26:10 pm
'module "QtCharts" plugin "qtchartsqml2" not found', or 'module "QtQuick.particles" plugin "particles" not found' (many others too) with qml stuff. Don't remember if this happened before. Maybe more DLL name length adjustments needed?

Yep - I think this is the 'qmldir' issue - I need to work out how to write the 8.3 filename into qmldir...
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on October 30, 2023, 09:44:19 am
Some of the qml issues are almost certainly due to https://github.com/psmedley/qt6-declarative-os2/issues/2#issuecomment-1784224726

I've worked around these now and am rebuilding....
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on November 08, 2023, 03:01:15 am
Hey all, as I alluded to in the Development thread, I'd spent the last few days updating the Qt 6.2.x branch to the latest opensource release (6.2.6). The first public builds of this are available from https://smedley.id.au/tmp/qt6-6.2.6-os2-20231108.zip

The intent behind focussing on the 6.2.x is to try and get a stable(ish) build of the browser. Dave Mckenna and Tellie have done some limited testing of the non webengine components, but the webengine has been tested only as far as to see that a page loads (it did!).

No attempts (yet) to try youtube or to use the separate vpx and av1 dll's that helped with youtube previously.

The chromium version in this build is the same what was included in Qt 6.3.2.

Dooble build to match this will follow - hopefully today.

Cheers,

Paul.
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on November 08, 2023, 04:07:35 am
Have you checked out https://github.com/komh/dav1d-os2 (https://github.com/komh/dav1d-os2), there's also https://github.com/komh/libvpx-os2 (https://github.com/komh/libvpx-os2) at 1.8.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on November 08, 2023, 04:10:39 am
Dooble build at https://smedley.id.au/tmp/dooble-20230830-os2-qt62-20231108.zip
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on November 08, 2023, 04:12:10 am
Have you checked out https://github.com/komh/dav1d-os2 (https://github.com/komh/dav1d-os2), there's also https://github.com/komh/libvpx-os2 (https://github.com/komh/libvpx-os2) at 1.8.
Not yet.... I'd kinda like to understand why compiling the ASM as part of qtwebengine doesnt work - I did notice that nasm reports a warning whilst compiling the ASM - see https://github.com/psmedley/qt6-webengine-os2/issues/16 - which may be part of the issue...

Cheers,

Paul
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on November 08, 2023, 04:49:22 am
I see your zip files are still somewhat broken, File Commander won't unzip them and manually, lots of warnings about absolute path spec,
Code: [Select]
warning:  stripped absolute path spec from /dooble/README.md
  inflating: dooble/README.md         (160 bytes EAs)

YouTube is sure CPU intensive here, takes minutes before I can open a video and the homepage is only displaying the first few videos, rest are grey rounded rectangles.
Switched to single process mode, seems even slower and see this warning,
Code: [Select]
[153:1:1107/194354.214000:ERROR:system_network_context_manager.cpp(299)] Cannot
use V8 Proxy resolver in single process mode.

Hopefully not important. I'll add to this post whenever Dooble allows me to open a video.
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on November 08, 2023, 05:28:00 am
Eventually it locked up the system, twice. Starting with a new profile, Dooble would vanish when it started rendering YouTube.
For regular browsing it seems fine.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on November 08, 2023, 06:12:36 am
Eventually it locked up the system, twice. Starting with a new profile, Dooble would vanish when it started rendering YouTube.

This is probably the ASM - the last 6.3.x builds that had working youtube used external DLLs for av1 and vpx and were more stable....
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on November 08, 2023, 07:39:50 am
https://smedley.id.au/tmp/qt6-6.2.6-os2-20231108b.zip links dav1d and vpx against external DLLs rather than statically linking the versions from chromium.

ie the dlls from:
https://smedley.id.au/tmp/libvpx-1.13.0-os2-20230303.zip
https://smedley.id.au/tmp/dav1d-1.2.0-os2-20230530.zip
https://smedley.id.au/tmp/fmpeg-chromium-6.3.2-20230516.zip
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on November 08, 2023, 08:22:48 am
Quickly testing, much the same as the last drop. Test more tomorrow, it's bed time here.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on November 08, 2023, 08:34:41 am
Quickly testing, much the same as the last drop. Test more tomorrow, it's bed time here.

hmmm I wonder what's different.....

Edit: my  bad, I used my manual makedll.sh script to generate the DLL, but forgot to update it to reflect the new DLL name (compared to the older Qt 6.2.x  build)  - so both drops are effectively the same code <sigh> refreshed 20231108b.zip coming soon
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on November 08, 2023, 10:01:23 am
Might also be worth testing to see if https://www.os2.kr/komh/testcase/dav1d_test.zip works any better than my dav1d6.dll
Title: Re: Qt6 Application Testing
Post by: David McKenna on November 08, 2023, 12:54:49 pm
Thanks Paul! My experience with this QT6 Dooble is the same as Dave Y. - YouTube silently exits, most websites render fine (and fast) but a few (mostly newspaper websites) will eventually hang the system. I still need to add the ad blocker list though - might help. Also still can't use a private window - that also causes a silent exit.

Regards,
Title: Re: Qt6 Application Testing
Post by: Martin Iturbide on November 08, 2023, 01:03:08 pm
Hi Paul

For what I understand the strategy is to stabilize and test version 6.2.6 and try to get a solid webengine and browser experience with it.

What do you suggest me to edit the first page with? Should I remove 6.3.2 and 6.5.3 to focus on the testing of 6.2.6 ?

Regards



Title: Re: Qt6 Application Testing
Post by: Paul Smedley on November 08, 2023, 10:49:13 pm
Thanks Paul! My experience with this QT6 Dooble is the same as Dave Y. - YouTube silently exits, most websites render fine (and fast) but a few (mostly newspaper websites) will eventually hang the system. I still need to add the ad blocker list though - might help. Also still can't use a private window - that also causes a silent exit.
Thanks Dave - for silent exits, I'll post an updated libcn0.dll tonight that includes code to generate an exceptq report for silent exits.

I also realised this morning that I wasn't configuring the webengine with proprietary-codecs enabled - I started a build this morning with that enabled.
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on November 09, 2023, 12:45:07 am
Running without single process, Youtube crashes in some MMX code in libvpx (libvpx/source/libvpx/vp8/common/x86/dequantize_mmx.asm) if I'm reading the trp correctly.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on November 09, 2023, 02:46:18 am
Running without single process, Youtube crashes in some MMX code in libvpx (libvpx/source/libvpx/vp8/common/x86/dequantize_mmx.asm) if I'm reading the trp correctly.
That shouldn't happen with the refreshed https://smedley.id.au/tmp/qt6-6.2.6-os2-20231108b.zip which uses an external libvpx...
Title: Re: Qt6 Application Testing
Post by: David McKenna on November 09, 2023, 03:57:39 am
 Hey Paul... I'm getting a 'Not Found' on that link to the 1108b build...

Regards,
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on November 09, 2023, 04:03:36 am
Well, I deleted the Qt6 directory, unzipped it a new (thanks for fixing the zip), it wanted avcode59 so I copied over the FFmpeg DLLs and it started up without the external vpx113 or dav1d6.dll and is trying to run an AV YouTube video right now, got to about 20 seconds and stalled.
Searching, I do have KOMH's dav1d.dll in @nixroot\usr\local\lib from installing VLC, no vpx113 and it is not being used as I just renamed it.
Searching the qt6-6.2.x\lib directory for vpx, it is found in Qt6WebEe.dll, 262,231K 07/11/23/9:32PM
Dooble once again crashed in the same spot, though YouTube is still displayed with the video hung.
CPU usage is low too. Hmm, it is the main page crashing, the video I opened is still showing in its own tab.
I'd suggest others trying it without single-process.
OK, system hung, luckily SeaMonkey remembered this post after the boot.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on November 09, 2023, 04:49:00 am
Hey Paul... I'm getting a 'Not Found' on that link to the 1108b build...

Oops - forgot to copy it over. VPN'd in to home from the phone and have copied it over. Gotta love VNC :)
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on November 09, 2023, 06:13:41 am
Sorry, seems I had the older https://smedley.id.au/tmp/qt6-6.2.6-os2-20231108b.zip (https://smedley.id.au/tmp/qt6-6.2.6-os2-20231108b.zip)
Code: [Select]
L:\qt6-6.2.x\lib>bldlevel Qt6WebEe.dll
Build Level Display Facility Version 6.12.675 Sep 25 2001
(C) Copyright IBM Corporation 1993-2001
Signature:       @#cmake build system:0.0#@##1## 8 Nov 2023 17:54:57     ARCAOS-F0FD356::::0::@@WebEngineCore
Vendor:          cmake build system
Revision:        0.00
Date/Time:       8 Nov 2023 17:54:57
Build Machine:  ARCAOS-F0FD356
ASD Feature ID:  56
File Version:    0.0
Description:     WebEngineCore

Now,
Code: [Select]
Archive:  Z:/Mozprofiles/Downloads/qt6-6.2.6-os2-20231108b.zip
  inflating: qt6-6.2.x/lib/Qt6WebEe.dll

L:\qt6-6.2.x\lib>bldlevel Qt6WebEe.dll
Build Level Display Facility Version 6.12.675 Sep 25 2001
(C) Copyright IBM Corporation 1993-2001
Signature:       @#cmake build system:0.0#@##1## 8 Nov 2023 17:54:57     ARCAOS-
F0FD356::::0::@@WebEngineCore
Vendor:          cmake build system
Revision:        0.00
Date/Time:       8 Nov 2023 17:54:57
Build Machine:  ARCAOS-F0FD356
ASD Feature ID:  56
File Version:    0.0
Description:     WebEngineCore

Maybe I did have the refreshed build, pretty sure I do now.
Wonder where Revision is set, somewhere in CMake?
Edit: Fix typo
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on November 09, 2023, 07:26:33 am
That looks like the 'original' 20231108b.zip not the refreshed one.

md5sum should be per below:
\f0cef2050f20d5621460aa7c95fc14ed *\\qt6-6.2.6-os2-20231108b.zip

DLL name is now Qt6WebEn.dll NOT Qt6WebEe.dll

Edit: For the elimination of any confusion,  https://smedley.id.au/tmp/qt6-6.2.6-os2-20231109.zip is built  with -webengine-proprietary-codecs
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on November 09, 2023, 08:11:29 am
Ok, downloaded again, this time using wget. Same Qt6WebEe.dll. There is also
Code: [Select]
L:\qt6-6.2.x\lib>bldlevel Qt6WebEn.dll
Build Level Display Facility Version 6.12.675 Sep 25 2001
(C) Copyright IBM Corporation 1993-2001
Signature:       @#cmake build system:6.2.6#@##1## 07 Nov 2023 05:48:58     ARCAOS-803C4C0::::0::@@WebEngineCore
Vendor:          cmake build system
Revision:        6.02.6
Date/Time:       07 Nov 2023 05:48:58
Build Machine:   ARCAOS-803C4C0
ASD Feature ID:  4C0
File Version:    6.2
Description:     WebEngineCore

Took half an hour to download and bedtime, so will test tomorrow.
Oh,
Code: [Select]
Z:\Mozprofiles\Downloads>md5sum qt6-6.2.6-os2-20231108b.zip
f0cef2050f20d5621460aa7c95fc14ed *qt6-6.2.6-os2-20231108b.zip
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on November 09, 2023, 08:25:08 am
Grrrr  I'm removed that zip and 20231109.zip replaces it :)
Title: Re: Qt6 Application Testing
Post by: David McKenna on November 09, 2023, 12:19:48 pm
 Thanks for the new build Paul... can't seem to get it though - it starts to download at about 10 bits per sec, then stalls...

Regards,
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on November 09, 2023, 03:16:56 pm
Thanks for the new build Paul... can't seem to get it though - it starts to download at about 10 bits per sec, then stalls...

I'll investigate in the morning - the mesh wifi AP upstairs has played up like this a couple of times, right now, j can't even ping it (or the NAS which runs the web server).

Edit: I was able to reboot the upstairs router and it seems to be behaving now.... YMMV
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on November 09, 2023, 05:00:21 pm
Ok, this zip seems correct, 200MB's vs the last one at close to 500MB and needed vpx etc.
Unluckily seems much the same as the first one, YouTube giving high CPU and not finishing displaying the page, also see lots of,
Code: [Select]
[133:20:1109/073351.625000:ERROR:ssl_client_socket_impl.cc(981)] handshake failed; returned -1, SSL error code 1, net_error -3
New profile, back to the silent exit while displaying YouTube, happens early.
Title: Re: Qt6 Application Testing
Post by: David McKenna on November 09, 2023, 10:40:31 pm
 OK... got it now. Doesn't seem much different from the last build though, although I was able to get YouTube to work 1 time, but hung the system in 30 seconds - otherwise got a silent exit. Https://html5test.com gives a weird looping effect - maybe a javascript problem? Also, I was not able to post to OS2World from the QT6 Dooble - it kept asking me to login even though I already was every time I changed a page or tried to post a reply. Posting this from the QT5 port...

Regards,
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on November 09, 2023, 11:42:02 pm
Tha ks guys, I'll post a link to the custom libcn0.dll that can log a trap report for silent exits at some stage today my time.
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on November 09, 2023, 11:58:58 pm
@David, try a new profile. Here http://html5test.com/ works fine, score 472

Edit: html5test reports no H264 or AAC, which I thought the earlier builds supported. The Qt5 Dooble does support them.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on November 10, 2023, 01:23:15 am
Ill investigate the h264 later today. Enabling proprietary codecs  should have done it, obviously it didn't rebuild  the necessary code after enabling it.... hoping I don't need to do a full rebuild, as that takes ~24-36 hours....

Edit: found the problem - src\core\Release\i386\args.gn wasn't updated after re-runing configure. Did it manually and have set a  compile going.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on November 10, 2023, 03:46:14 am
As promised - https://smedley.id.au/tmp/libcn0-silentexit-20231108.zip

This is built from latest libcn git - with a small change to FORCE an exceptq even on a normal (or silent) exit - but only if 'set EXCEPTQ=Z'  is set.

It will generate a TRP file in the current working directory. These are generally helpful in giving clues which code triggered the  exit() to be called.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on November 10, 2023, 04:17:53 am
There some differences in the way asm is done in https://github.com/komh/dav1d-os2/commit/c7f3de39f8b0ba2a134f624d73fb51a4d3b5da5a - going to try this in other places too...
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on November 10, 2023, 05:37:38 am
Hmm, instant sigtrp in libcx with the libcn you posted. Might have to reboot to free some memory.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on November 10, 2023, 05:46:59 am
were you trying to use LIBPATHSTRICT? that doesn't work  unfortunately.... on my test machine, I put this DLL ahead of the installed version - but only set EXCEPT=Z in the session where I want TRP files....
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on November 10, 2023, 06:35:31 am
OK, without LIBPATHSTRICT, looks like the problem might be in Dooble, or else we triggered the Qt exception handler. Someone more knowledgeable needs to look at the trp
Tried the SimpleBrowser, results were similar to Dooble in multi-process mode, high CPU, YouTube page only partially rendered. Trp file seemed to vanish, have to try the Simplebrowser with the normal Libc.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on November 10, 2023, 07:11:36 am
I'd be very surprised if the 'normal' libcn behaves any differently...
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on November 10, 2023, 07:43:08 am
I'd be very surprised if the 'normal' libcn behaves any differently...

Spoke to quick, using set EXCEPTQ= is enough. Simplebrowser uses a lot of CPU, 2-3 cores and the page becomes unresponsive, still scrolls. After about 5 minutes, using less CPU, 30% average instead of over 50%. Closed fine except for complaints on the console,
Code: [Select]
[107:3:1109/222921.873000:ERROR:disk_data_allocator.cc(175)] DISK: Cannot write
to disk. written = -1 FILE_ERROR_FAILED
[107:4:1109/222921.873000:ERROR:disk_data_allocator.cc(175)] DISK: Cannot write
to disk. written = -1 FILE_ERROR_FAILED
Lots of room on the file systems.
It's interesting the difference between single and multi mode.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on November 10, 2023, 08:15:25 am
Yeah I've seen that message previously - it's on the TODO list to investigate one rainy day :)
Title: Re: Qt6 Application Testing
Post by: David McKenna on November 10, 2023, 02:07:21 pm
 Yep... needed a new profile, now html5test.com works and shows 472 (less than when running on QT6.3.2 - 522). Paul, I'm having trouble downloading from you again - really slow and stalls.

 One thing I've noticed with both QT5 and QT6 Doobles - if you go to 'Tools'-> 'Search Engines...' then click 'Add Checked' nothing happens. I know this used to work - maybe a Dooble regression? I tried the QT5 10.15.2022 version (the only old one I had around) and it worked. Anyone else see this?

Regards,
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on November 10, 2023, 09:18:02 pm
Per my post on the uniaud thread, I just restarted the upstairs router (again). I'll replace it with a spare this morningand hope that corrects it.
Title: Re: Qt6 Application Testing
Post by: David McKenna on November 10, 2023, 11:21:58 pm
 Thanks again! Got the 'silent exit' libcn version, added 'EXCEPTQ=3Z to the environment for Dooble6 and grabbed the 2 easiest traps - one for trying to open a private window, and one for trying to load YouTube - for your viewing pleasure :-) Be interesting to know if they match what you get...

Regards,
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on November 11, 2023, 01:04:59 am
Thanks again! Got the 'silent exit' libcn version, added 'EXCEPTQ=3Z to the environment for Dooble6 and grabbed the 2 easiest traps - one for trying to open a private window, and one for trying to load YouTube - for your viewing pleasure :-) Be interesting to know if they match what you get...

For Private window - I get a console message: "Single mode supports only single profile." So this may be a limitation of running in Single Mode....

https://smedley.id.au/tmp/qt6weben-6.2.6-20231111.zip  should support mp4/aac  -  the ABC News Channel (https://www.abc.net.au/news/newschannel) now plays here.  This build has vpx  and dav1d linked into the DLL  -  I've made some changes to the ASM code based on komh's commits.

VPX Youtube seems ok - example video https://www.youtube.com/watch?v=YmtIva6SsVk

AV1 seems ok too  - example video https://www.youtube.com/watch?v=UEEm61impBY (edit: video seems to pause/buffer with messages like '[67:6:1111/094423.293000:ERROR:platform_thread_posix.cc(149)] pthread_create: Not enough memory (12)'  on the console)
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on November 11, 2023, 03:17:12 am
Yes, private window does work without single-process mode.
This build did load YouTube OK, while scrolling trying to find something worth watching the desktop froze. Afterwards it was back to vanishing, crash in libvpx MMX code again I think, which is weird as MMX should be fine.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on November 11, 2023, 05:40:16 am
the libvpx crash is really weird, especially as it  doesn't  seem to happen if we load  the code from a DLL <shrug>

I'm guessing the high cpu/hang loading youtube is due to javascript, but that is a bit of a WAG...
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on November 11, 2023, 09:18:01 am
Test post  from Dooble with latest Qt6 WebEngine v6.2.6
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on November 11, 2023, 10:02:49 am
https://smedley.id.au/tmp/qt6weben-6.2.6-20231111b.zip makes similar asm changes to the last commit, to the code for openh264 and libaom - might help with h264 and h265 video  playback....
Title: Re: Qt6 Application Testing
Post by: David McKenna on November 11, 2023, 01:41:23 pm
 Paul,

  This one seems to support all the same video formats as QT5 - h264 works fine (no h265 though) on https://tools.woolyss.com/html5-audio-video-tester/ . Still can't get YouTube to work - usually crashes, sometimes hangs (but 1 time worked).

  One difference I noticed on that test page - using QT5, some of the audio tests present a 'certificate error' page that you have to accept an exception for it to play. On QT6 you never get the exception request, it just doesn't work unless you check the '-ignore certificate-errors' setting, then they work. (Edit: maybe related to https://github.com/psmedley/qt6-webengine-os2/issues/11)

  I also tried turning off single process mode and indeed could use private windows - thanks for the tip Dave! Not very usable though - rendering seems slow and jerky for some reason...

Regards,

Edit: attached a YouTube crash trap file using the new Webengine.
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on November 11, 2023, 06:19:29 pm
There's that MMX crash again. Is the libvpx that Sylvan uploaded to netlabs-exp new enough for Qt6? It's version 13.1, libvpx8.dll
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on November 11, 2023, 10:23:06 pm
There's that MMX crash again. Is the libvpx that Sylvan uploaded to netlabs-exp new enough for Qt6? It's version 13.1, libvpx8.dll

Yep - webengine needs >=  1.10... in checking this, also discovered that quite a few internal system libs  weren't being used - I probably ran configure before applying https://github.com/psmedley/qt6-webengine-os2/commit/a678cf7ed5e72b458e00c82e82e443e8aea8d49b
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on November 12, 2023, 07:30:49 am
https://smedley.id.au/tmp/qt6weben-6.2.6-20231112.zip uses libvpx8.dll from netlabs-exp
Title: Re: Qt6 Application Testing
Post by: David McKenna on November 12, 2023, 03:38:25 pm
Hey Paul,

  This one didn't seem to make any difference - examples on the test site play, but YouTube crashes. Trap log attached...
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on November 13, 2023, 02:58:48 am
Interesting.... does the exit occur after you click to load a video, or just loading youtube.com? I was able to play a bunch of videos (with sound) with ArcaOS 5.08 running in Virtualbox.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on November 13, 2023, 09:28:26 am
Confirming that 'dooble https://www.youtube.com' gives a silent exit for me too, example of my TRP attached....
Title: Re: Qt6 Application Testing
Post by: David McKenna on November 13, 2023, 01:23:25 pm
Paul,

  It happens just loading YouTube, before it even finishes rendering...

Regards,
Title: Re: Qt6 Application Testing
Post by: David McKenna on November 19, 2023, 06:13:16 pm
 Hey Paul,

 I reviewed this thread and back in the early March time frame you were having the exact same YouTube hang issues with ver 6.3 (and earlier with 6.2). Around reply #215 you posted a version of the webengine that you said had all AVX code disabled and then YouTube started working. I wonder if some AVX code has crept back in somehow in the meantime?

Regards,
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on November 20, 2023, 08:53:47 am
Hi Dave,
I reviewed this thread and back in the early March time frame you were having the exact same YouTube hang issues with ver 6.3 (and earlier with 6.2). Around reply #215 you posted a version of the webengine that you said had all AVX code disabled and then YouTube started working. I wonder if some AVX code has crept back in somehow in the meantime?

Well the interesting thing  is that I'm not really seeing the hangs anymore.  I do recall something similar where things worked reasonably well for me, but you still saw hangs. Out of curiosity, what HW are you running? In particular CPU type. The previous build/solution to remove avx was very hacky - so I reverted the changes. I'll look to do something more elegant to remove avx code.

Cheers,

Paul.
Title: Re: Qt6 Application Testing
Post by: David McKenna on November 20, 2023, 12:06:16 pm
 Hi Paul,

  My system is based on an Intel i5-9600K CPU and 16GB of RAM, with NVMe drive. I'll attach a testlog file. My symptoms now with your latest 6.2.6 webengine is identical to back then - if I go directly to a youtube video (via a google search) it works, but if I go to www.youtube.com it exits..

Regards,.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on November 21, 2023, 05:27:53 am
Hi David,
I don't believe the use of AVX instructions is the cause of the silent exit loading youtube.com - which appears to be an issue in javascript. I do have some analysis from Steven Levine, I'm just trying to identify where the issue occurs.

Cheers,

Paul
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on November 23, 2023, 10:39:49 am
I'm doing a presentation that will cover Qt6 for Warpstock  - whilst I have an outline/plan in mind and have developed slides in accordance with that, I thought I'd here what questions people may have, so I can ensure common questions are covered.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on November 25, 2023, 08:31:03 am
Interestingly, loading www.youtube.com with simplebrowser.exe seems to work...
Title: Re: Qt6 Application Testing
Post by: David McKenna on November 25, 2023, 02:45:55 pm
 Paul,

 Yes, never tried that before, but is does load here too. Soon as I try to play a video from the front page though it silently exits with a lot of 'can't write to disk' errors in the console.

 Good luck with your presentation - don't have any specific questions, but would be good if you can outline what you have done and what needs to be done and their priorities. Also any help you could use...

Regards,
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on November 25, 2023, 05:57:46 pm
Testing running simplebrowser as "simplebrowser --single-process-mode", first try gave me a trap 3 breakpoint crash. So I closed SeaMonkey and retried. 2nd try gave me the unable to write to disk errors like David had so I deleted \home\.cache\QtExamples\simplebrowser\ and 3rd time was a charm.
Youtube displayed fine, playing VP9 videos worked fine, AV1 videos hung after a few seconds with the browser still working, could go back to the main page. Exiting I see this on the console,
Code: [Select]
[92:27:1125/084545.803000:ERROR:database.cc(1764)] Quota SQLite error: code 779 errno 0: database disk image is malformed sql: UPDATE buckets SET last_modified = ? WHERE origin = ? AND type = ? AND name = ?

So amongst other problems, an issue with sqlite? It may be the cause of the not able to write errors
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on November 26, 2023, 09:58:51 am
Yes, never tried that before, but is does load here too. Soon as I try to play a video from the front page though it silently exits with a lot of 'can't write to disk' errors in the console.

 Good luck with your presentation - don't have any specific questions, but would be good if you can outline what you have done and what needs to be done and their priorities. Also any help you could use...
Interesting - I was able to search for a video and play it.  I think I have all those points covered, time will tell :)
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on November 26, 2023, 09:59:51 am
Testing running simplebrowser as "simplebrowser --single-process-mode", first try gave me a trap 3 breakpoint crash. So I closed SeaMonkey and retried. 2nd try gave me the unable to write to disk errors like David had so I deleted \home\.cache\QtExamples\simplebrowser\ and 3rd time was a charm.
Youtube displayed fine, playing VP9 videos worked fine, AV1 videos hung after a few seconds with the browser still working, could go back to the main page. Exiting I see this on the console,
Code: [Select]
[92:27:1125/084545.803000:ERROR:database.cc(1764)] Quota SQLite error: code 779 errno 0: database disk image is malformed sql: UPDATE buckets SET last_modified = ? WHERE origin = ? AND type = ? AND name = ?

So amongst other problems, an issue with sqlite? It may be the cause of the not able to write errors
No great surprise there - perhaps need to built a standalone sqlite from the chromium source, and try and run the test suite....
Title: Re: Qt6 Application Testing
Post by: roberto on December 03, 2023, 04:00:45 pm
I wanted to call them attention, to try to activate in the BIOS, the Hyper Threading. In my case the https://html5test.com failed me, and since it works for me. With the QT6 632.
Saludos
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on December 25, 2023, 12:36:41 am
Updated  Dooble for use with Qt  6.2.6: https://smedley.id.au/tmp/dooble-2023.12.25-os2-qt6.2-20231225.zip

Merry Christmas all!
Title: Re: Qt6 Application Testing
Post by: Martin Iturbide on December 25, 2023, 05:02:38 pm
Thanks Paul.

I updated the first page, can you quickly check to see if I have the latest links there, or if something is missing or unnecessary?

Regards
Title: Re: Qt6 Application Testing
Post by: Martin Iturbide on December 26, 2023, 05:15:22 pm
Hi Paul

https://smedley.id.au/tmp/qt6-6.2.6-os2-20231108b.zip links dav1d and vpx against external DLLs rather than statically linking the versions from chromium.

I can not longer find this download (dead link), is there any new qt6 6.2.6 build that I missed ?

Regards
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on December 26, 2023, 11:05:59 pm
Hi Paul

https://smedley.id.au/tmp/qt6-6.2.6-os2-20231108b.zip links dav1d and vpx against external DLLs rather than statically linking the versions from chromium.

I can not longer find this download (dead link), is there any new qt6 6.2.6 build that I missed ?

Regards

https://smedley.id.au/tmp/qt6-6.2.6-os2-20231109.zip is the latest
Title: Re: Qt6 Application Testing
Post by: Martin Iturbide on December 27, 2023, 12:11:05 am
Hi Paul

When running Dooble I'm missing avutil57.dll
I guess it is here: https://smedley.id.au/tmp/fmpeg-chromium-6.3.2-20230516.zip but it is dead link now. ´

I must forgot how to do the Qt6 testing or the DLLs changed name. I got this errors when trying to run other Qt 6 ported software:
- SYS1804: The system cannot find the file QT6WIDGS.
- SYS1804: The system cannot find the file POPPQ63.
Or all the Qt6 ports needs to be recompiled with the new DLLs??

Regards
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on December 27, 2023, 01:42:01 am
Hey Martin - ffmpeg-chromium-6.3.2-20230516.zip is definitely still sitting on my server...

POPPQ63 isn't part of any Qt6 disto afaik

Yes some of the Qt6 ports will need to be rebuilt -  for the ones I built,  I loosely have plans to do this whilst I'm on Christmas break (back to work on the 8th Jan)
Title: Re: Qt6 Application Testing
Post by: David McKenna on December 27, 2023, 01:53:58 am
 Merry Christmas Paul!

 This new Dooble is working well as it can with your most recent QT6.2.6 - thanks. Still have the usual hangs on some sites and silent exits on www.youtube.com...

Regards,
Title: Re: Qt6 Application Testing
Post by: Tom on December 27, 2023, 02:25:03 am
I guess it is here: https://smedley.id.au/tmp/fmpeg-chromium-6.3.2-20230516.zip but it is dead link now. ´

No it is not, because your URL is missing one 'f' at the start of the file name ;)
If you add that, the link works.
Title: Re: Qt6 Application Testing
Post by: Martin Iturbide on December 27, 2023, 03:47:30 am
Thanks Tom for letting me know my error.

Dooble is running here. The console is giving me this errors, but it keeps working.

Quote
[C:\qt6apps\dooble]dooble
[78:1:1226/214229.220000:ERROR:system_network_context_manager.cpp(299)] Cannot u
se V8 Proxy resolver in single process mode.
[78:1:1226/214229.254000:ERROR:system_network_context_manager.cpp(299)] Cannot u
se V8 Proxy resolver in single process mode.
js: Error with Permissions-Policy header: Unrecognized feature: 'ch-ua-full-vers
ion-list'.
js: Error with Permissions-Policy header: Unrecognized feature: 'ch-ua-wow64'.
js: Error with Permissions-Policy header: Unrecognized feature: 'ch-ua-form-fact
or'.
js: Error with Permissions-Policy header: Unrecognized feature: 'ch-ua-full-vers
ion-list'.
js: Error with Permissions-Policy header: Unrecognized feature: 'ch-ua-wow64'.
js: Error with Permissions-Policy header: Unrecognized feature: 'ch-ua-form-fact
or'.
js: The resource https://i.ytimg.com/generate_204 was preloaded using link prelo
ad but not used within a few seconds from the window's load event. Please make s
ure it has an appropriate `as` value and it is preloaded intentionally.


Regards
Title: Re: Qt6 Application Testing
Post by: Dave Yeo on December 27, 2023, 04:32:35 am
Those are all regular warnings with the Qt6 build. I also see the ytimg warning on Qt5.
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on December 27, 2023, 04:42:49 am
Here's an updated tea build - https://smedley.id.au/tmp/tea-qt-62.2.2-os2-qt6-20231227.zip
Title: Re: Qt6 Application Testing
Post by: Martin Iturbide on December 27, 2023, 10:23:07 pm
Yes, Tea works as expected with Qt6.

Regards
Title: Re: Qt6 Application Testing
Post by: Martin Iturbide on December 27, 2023, 10:39:07 pm
Hello

I just changed the first page, since now only Dooble and Tea are working with the latest Qt6 6.2.6, because of the DLLs name change.

Regards
Title: Re: Qt6 Application Testing
Post by: Paul Smedley on December 29, 2023, 09:40:30 am
OK I updated qtcreator binaries.... https://smedley.id.au/tmp/qtcreator-8.0.1-os2-qt6-20231229.zip

To  start it, I needed to do:
set  beginlibpath=u:\qtcreator\lib\qtcreator;u:\qtcreator\lib\qtcreator\plugins
qtcreator.exe

I get an error with loading one plugin (not sure why yet).
qmake.exe -  gcc.exe and gpp.exe can now be added.

I did get a SIGSEGV on closing - no time right now to investigate.

I also haven't tried  actually *doing*  anything with this :)
Title: Re: Qt6 Application Testing
Post by: David McKenna on December 29, 2023, 04:32:56 pm
Hi Paul,

  Gave QtCreator a quick try - it seems to work OK. I also get a plugin error on start: 'QmlProfiler initialization failed', but no crash on exit (yet). I don't see any help files - is that to be expected?

 EDIT: I see this in the console when clicking on the 'Help' icon: SOFT ASSERT: "index >= 0" in file U:/dev/qt-creator-os2/src/plugins/help/localhe
lpmanager.cpp, line 362

Regards,
Title: Re: Qt6 Application Testing
Post by: roberto on January 01, 2024, 02:11:35 pm
I am having a fantastic experience with your QT6 632. in Arcaos 5.1, with the new XWP1-0-16, and the ACPID.CFG configuration
To watch videos on YouTube, I advise first to open dbcsmap.exe, you can minimize it, but leave it open. Before open Dooble.
Then you open the dooble, I use the 05-30-2023.
And important to open the YouTube windows in a new window, not in a Tab.
Saludos
Title: Re: Qt6 Application Testing
Post by: roberto on January 03, 2024, 07:57:05 pm
I've been testing version 626, and I don't see any advantages over version 632.
 Version 626 eats up the shared low memory very fast, otherwise I see them as very similar.
You've removed the option to open file, which is very useful for having old bookmarks that are available in version 632, even if it only works on the Unixroot.
Thank you for your effort.
Saludos
Title: Re: Qt6 Application Testing
Post by: roberto on March 18, 2024, 06:48:28 pm
A question for Paul.
I've found that the Dooble qt6 632 works best for me is when I have very low shared memory.
 I would say below 32mb.
 I wanted to ask if you could do a build, limiting the use of shared low memory to a maximum of 32mb.
 As far as I can see, even when you get to 0 shared memory, it takes high memory and moves it to low,
  to keep working.
But if I have a lot of low memory available, Dooble uses it and tends to crash, more often.

Saludos