Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Paul Smedley

Pages: 1 ... 32 33 [34] 35 36 ... 140
496
Programming / Re: Qt6 Application Testing
« 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.

497
Programming / Re: Qt6 Development
« on: February 28, 2023, 10:59:28 pm »
Got an interesting build error this morning...
Code: [Select]
In file included from gen/third_party/blink/renderer/modules/canvas/canvas_jumbo_1.cc:11:
./../../../../../src/3rdparty/chromium/third_party/blink/renderer/modules/canvas/canvas2d/canvas_image_source_util.cc:7:10: fatal error: ./../../../../../src/3rdparty/chromium/third_party/blink/renderer/modules/canvas/canvas2d/third_party/blink/renderer/bindings/modules/v8/v8_union_cssimagevalue_htmlcanvaselement_htmli
mageelement_htmlvideoelement_imagebitmap_offscreencanvas_svgimageelement_videoframe.h: Result too large
    7 | #include "third_party/blink/renderer/bindings/modules/v8/v8_union_cssimagevalue_htmlcanvaselement_htmlimageelement_htmlvideoelement_imagebitmap_offscreencanvas_svgimageelement_videoframe.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

I'm assuming 'result too large' means the path is too long?

498
Programming / Re: Qt6 Application Testing
« 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...

499
Programming / Re: Qt6 Application Testing
« 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..

500
Programming / Re: Qt6 Application Testing
« 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...

501
Programming / Re: Qt6 Application Testing
« 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...

502
Programming / Re: Qt6 Application Testing
« 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

503
Programming / Re: Qt6 Application Testing
« 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....

504
Programming / Re: Qt6 Application Testing
« 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..

505
Programming / Re: Qt6 Application Testing
« 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.

506
Programming / Re: Qt6 Application Testing
« 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?

507
Programming / Re: Qt6 Application Testing
« 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....

508
Programming / Re: Qt6 Application Testing
« on: February 27, 2023, 03:05:29 am »
Interesting! When it hangs, are you able to trigger a dump??

509
Programming / Re: Qt6 Application Testing
« 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...

510
Programming / Re: Qt6 Development
« on: February 26, 2023, 01:45:21 am »
OK the issue is that node.exe isn't sending output to stdout, so it thinks that popen has failed....

Edit:
Interesting, the command line that is run is:
Code: [Select]
node.exe U:/DEV/qt6-webengine-os2-6.3.x/src/3rdparty/chromium/third_party/devtools-frontend/src/node_modules/rollup/dist/bin/rollup --format iife -n InspectorOverlay --input gen/third_party/devtools-frontend/src/inspector_overlay/main.js --plugin ../../../../../src/3rdparty/chromium/third_party/devtools-frontend/src/inspector_overlay/loadCSS.rollup.js --plugin terser

Which produces no output. However, if I run:
Code: [Select]
node.exe U:/DEV/qt6-webengine-os2-6.3.x/src/3rdparty/chromium/third_party/devtools-frontend/src/node_modules/rollup/dist/bin/rollup --format iife -n InspectorOverlay --input gen/third_party/devtools-frontend/src/inspector_overlay/main.js --plugin ../../../../../src/3rdparty/chromium/third_party/devtools-frontend/src/inspector_overlay/loadCSS.rollup.js
Then I get output...

If I then run terser on the generated js - then this works.... so it's something about running multiple plugins that's failing...

Edit2: hacked around this for now, by not running terser, and not checking the size of the generated js (terser is there to reduce the file size of the generated js)

Pages: 1 ... 32 33 [34] 35 36 ... 140