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] 2 3 ... 149
1
Programming / Re: Qt6 Application Testing
« on: Today at 12:00:10 pm »
Curious if the following works for anyone - video in particular:
https://smedley.id.au/tmp/ffmpeg-n7.0.2-os2-20240912.zip
https://smedley.id.au/tmp/qt6-6.2.9-qtwebengine-6.2.6-os2-20240912-gcc14.zip

Basically webengine is linked against latest ffmpeg which includes http://www.slackware.com/~alien/slackbuilds/ffmpeg/build/patches/add-av_stream_get_first_dts-for-chromium.patch for compatibility with chromium.

2
Programming / Re: Qt6 Application Testing
« on: Today at 03:17:55 am »
Hey Pete,

Yes, I set EXCEPT=Z before starting dooble.

'set EXCEPT=Z' or 'set EXCEPTQ=Z' ? the latter is the correct one.

3
Programming / Re: Qt6 Application Testing
« on: September 11, 2024, 11:31:59 pm »
It looks like something goes wrong between OS/2 audio and Dooble !  (how will ffmpeg chromium work with pthread disabled ?)     

As Dave and I have both mentioned, ffmpeg has native OS/2 code for threads - the lack of pthreads is not the issue here.

4
Programming / Re: Qt6 Application Testing
« on: September 11, 2024, 11:29:48 pm »
No TRP file - don't get these when the system locks solid, no popuplog.os2 entry either. Yes, I have the Silent Exit version of libcn0.dll installed but it has not produced any TRP files for silent exits so far.

You will *only* get TRP files if you have set 'set EXCEPT=Z' before starting dooble.exe The TRP will be in the directory where dooble is run from.

5
Programming / Re: Qt6 Application Testing
« on: September 11, 2024, 11:28:41 pm »
  The priority change is definitely what helps here - without it I get the usual hangs and silent exits regularly.  Much rarer with the priority change - any idea why that might be? Related to the processor optimization maybe? Or an interaction between that and the processor I'm using? Wish I knew more about the settings too - maybe it can be tweaked even more....

I think it's some issue with thread priorities - perhaps how they're mapped to the OS/2 API results in too low a priority and timing issues. Some of the silent exits Steven and I investigated a while back appeared to be due to variables having been freed whilst another thread was still expecting them to be valid.

I'll have to ask Steven for his thoughts. It's a fantastic discovery - we just need to work out *why* it's required and see if we can fix it in the codebase.

6
Programming / Re: Qt6 Application Testing
« on: September 11, 2024, 11:25:26 pm »
That's from Paul's system and perfectly normal.
Dmitry's in this case as it's from crt0.s which is part of libc

7
Programming / Re: Qt6 Application Testing
« on: September 11, 2024, 11:00:27 am »
Hi David,
  Gave the new ffmpeg a quick try and it seems to work fine. Since using Remy's script and adding a second CPU to my virtual machine, QT6 Dooble has been better than ever with videos and heavy Javascript websites. I have yet to get a hard hang, or even a silent exit. The Athena website mentioned works fine here. I'll keep testing...
The Athena site working is bizarre - perhaps I should try Remy's script! Maybe the priority makes a difference somehow?!

8
Programming / Re: Qt6 Application Testing
« on: September 10, 2024, 10:19:21 pm »
Hi Pete,

My experience is very much the opposite to David's.

I have yet to use Dooble QT6 for longer than a few minutes as it crashes almost straight away. Not uncommon to start Dooble and have it lock up the system immediately requiring a push of the Power Off button to reboot. Loading youtube.com can cause it to lock up the system. If I manage to select a video playback may attempt to start which then locks up the system. Visiting os2world can cause Dooble to lock up solid.

As it seems to work for others I can only guess that I have something missing or not at the right level somewhere...

I have Pauls latest builds installed and use Remys script, slightly modified for my system, to start Dooble. Checking ANPM all libs seem to be at current release level, no netlabs-exp packages involved. Any ideas what else to check?

Any TRP files or popuplog.os2 entries?

Cheers,

Paul

9
Programming / Re: Qt6 Application Testing
« on: September 10, 2024, 11:21:02 am »
https://smedley.id.au/tmp/libcn0-0.1.13-silentenxit.zip has the patch to generate a trp for silent exits.

To enable this, 'set EXCEPTQ=Z'  in the session where dooble is running.

For Remy's site (https://forum.audiogon.com/discussions/denafrips-athena-is-damn-good), example TRPs are attached

10
Programming / Re: Qt6 Application Testing
« on: September 10, 2024, 03:10:33 am »
When opening a link requesting Cloudflare verification, it start and close (no message, no information)
catchap from Performance & security by Cloudflare (a more and more used process)

One link to check:
https://forum.audiogon.com/discussions/denafrips-athena-is-damn-good

For silent exits, I need to rebuild libcn0.dll with my patch to generate an exceptq log for any exit,  which should give some clues as to why the process is exiting.  I'll try do this tonight.

11
Programming / Re: Qt6 Application Testing
« on: September 10, 2024, 02:57:38 am »
https://smedley.id.au/tmp/ffmpeg-chromium-6.3.2-20240910.zip is rebuilt with --disable-avx and using gcc14.  It also includes an updates gnutls dll which has a different name to the original one I built. blame autotools (aka autohell!)

12
Programming / Re: Qt6 Application Testing
« on: September 09, 2024, 11:01:52 pm »
I'll double check the flags which are set in the gn build file for ffmpeg this evening.

OK,  so I forgot I built ffmpeg separately as DLLs.

I configured with:
dash ./configure --arch=pentium4 --disable-avx2 --disable-avx512 --enable-bzlib --disable-crystalhd --enable-fontconfig --enable-gnutls --enable-libfreetype --enable-libmp3lame --enable-libopenjpeg --enable-libopus --disable-decoder=opus --disable-encoder=opus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libxvid --enable-avfilter --enable-postproc --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --cpu=pentium4 --enable-runtime-cpudetect

adding --disable-avx to this now, and will rebuild with GCC 14.

Hi Paul!

will ffmpeg be usable if adding --enable-pthreads option ?

We already use the os2threads code in https://github.com/psmedley/qt6-webengine-os2/blob/main/src/3rdparty/chromium/third_party/ffmpeg/compat/os2threads.h

13
Programming / Re: Qt6 Application Testing
« on: September 09, 2024, 10:51:33 pm »
I wonder if it's the change in priority or the QTWEBENGINE_CHROMIUM_FLAGS that makes the difference? If it's priority, we could consider setting this in dooble.

Hi Paul,
Do you think about something like -webengine-proprietary-codecs ?
This is already enabled when building qtwebengine:
Code: [Select]
dash /qt6-6.2.x/bin/qt-configure-module .. -webengine-proprietary-codecs 2>&1 | tee configure.log

14
Programming / Re: Qt6 Application Testing
« on: September 09, 2024, 10:49:22 pm »
I'll double check the flags which are set in the gn build file for ffmpeg this evening.

OK,  so I forgot I built ffmpeg separately as DLLs.

I configured with:
dash ./configure --arch=pentium4 --disable-avx2 --disable-avx512 --enable-bzlib --disable-crystalhd --enable-fontconfig --enable-gnutls --enable-libfreetype --enable-libmp3lame --enable-libopenjpeg --enable-libopus --disable-decoder=opus --disable-encoder=opus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libxvid --enable-avfilter --enable-postproc --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --cpu=pentium4 --enable-runtime-cpudetect

adding --disable-avx to this now, and will rebuild with GCC 14.

Hi Paul,
is there a reason to enable, disable:

--enable-libopus --disable-decoder=opus --disable-encoder=opus

Is --enable-avresample parm supported ?

Regards

From memory, I copied these configure parameters from the bww ffmpeg builds. I've attached the full list of supported configure parameters (this is from the ffmpeg embedded in the qtwebengine codebase). looks like --enable-avresample isn't supported

15
Programming / Re: Qt6 Application Testing
« on: September 09, 2024, 10:25:10 am »
I'll double check the flags which are set in the gn build file for ffmpeg this evening.

OK,  so I forgot I built ffmpeg separately as DLLs.

I configured with:
dash ./configure --arch=pentium4 --disable-avx2 --disable-avx512 --enable-bzlib --disable-crystalhd --enable-fontconfig --enable-gnutls --enable-libfreetype --enable-libmp3lame --enable-libopenjpeg --enable-libopus --disable-decoder=opus --disable-encoder=opus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libxvid --enable-avfilter --enable-postproc --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --cpu=pentium4 --enable-runtime-cpudetect

adding --disable-avx to this now, and will rebuild with GCC 14.

Pages: [1] 2 3 ... 149