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 - Remy

Pages: 1 2 [3] 4 5 ... 51
31
Programming / Re: Qt6 Application Testing
« on: September 15, 2024, 03:40:10 am »
  Tried changing settings, but nothing helped. One thing I noticed in 'Tools'->'Preferences'->'All settings' there is a 'Backends' selection where it shows 'qtwebkit' is the backend in use. When clicking on that to change it, it changes to 'Blink (experimental)' and qtwebkit is not a choice. Clicking again it changes to 'qtwebkit'. Wonder if this indicates confusion in the code about what backend to be using?

This behaves the same on linux -  and linux can render a page.

Also,  on OS/2  -  I do often see a bunch of these in the console:
Code: [Select]
[warn] select: Socket operation on non-socket

Could it be some kind of initialization problem (sockets or vars)  ::)   

32
Programming / Re: Qt6 Application Testing
« on: September 11, 2024, 04:44:29 pm »
Working youtube video:
Germany (lot of snow for this week-end !):  https://www.youtube.com/watch?v=U6u9J27lnZA

And having a nice surprise seen following link working very well:
https://www.windy.com/?48.855,2.547,5

33
Programming / Re: Qt6 Application Testing
« on: September 11, 2024, 04:16:06 pm »
Thanks Paul,

  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...

Regards,

Hi David,
Replacing the single line by following both lines seems to be better for me.
rc=SysSetPriority(3,10)
rc=SysSetPriority(1,3)

34
Programming / Re: Qt6 Application Testing
« on: September 11, 2024, 03:56:43 pm »
Hi Paul

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.

This is a url that causes the above problem  https://www.youtube.com/watch?v=0SomJLPR3Fk&pp=ygUKYWwgc3Rld2FydA%3D%3D

I've had a rummage through the mainboard BIOS and turned SMT (AMD HyperThreading) back on - turned off to see if that was causing problems. Now dooble loads youtube.com without exiting/hanging/locking system solid.


Had a lot of fun importing the dooble_accepted_or_blocked_domains.txt file as dooble locked solid requiring reboot, worked on the 3rd attempt - no idea why...


Had another try with the above url, page almost loaded and playback almost started then dooble did a silent exit. However, we got a TRP this time attached as 66e19bff-003b_15-DOOBLE-exceptq.txt



Regards

Pete

I tried the youtube url,
It start playing, then video stops and 2 to 4 seconds later, audio sound stops, I was able to click on an other video immediatly, the new one started to play and then system hung (power off/on to recover)

When playing youtube, the system hung generally occurs a few seconds (or starting an other video) after sound goes off while playing the selected video
It looks like something goes wrong between OS/2 audio and Dooble !  (how will ffmpeg chromium work with pthread disabled ?)     

When a kill just before the hung, saw something strange into the trps !
00AFFF5C  00010027   DOOBLE    0001:00000027  crt0.s#90 __text + 27 0001:00000000 (D:\Temp\cc7CpCIv.s)
00AFFF6C  00010030   DOOBLE    0001:00000030  crt0.s#94 __text + 30 0001:00000000 (D:\Temp\cc7CpCIv.s)
or
00B8FF58  00010021   DOOBLE    0001:00000021  crt0.s#94 __text + 21 0001:00000000 (D:\Temp\ccqVZDcA.s)
00B8FF4C  00010018   DOOBLE    0001:00000018  crt0.s#90 __text + 18 0001:00000000 (D:\Temp\ccqVZDcA.s)
00B8FF5C  00010021   DOOBLE    0001:00000021  crt0.s#94 __text + 21 0001:00000000 (D:\Temp\ccqVZDcA.s)
But not only Dooble !
00B8FFD4  9FE3004B   QT6CHRTS  0001:0000004B  dll0.s#99 __text + 4B 0001:00000000 (D:\Temp\ccvnLdQd.s)

 

Why and from where did it get this information for a drive D:\  ?   I have no D: drive

35
Programming / Re: Qt6 Application Testing
« on: September 11, 2024, 02:55:54 pm »
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?!

Hi Paul,

I went to cloudflare site:
https://www.cloudflare.com/products/turnstile/

Then, I click on Get started for free button.
New page opens and then Dooble closes ! (perhaps this link could be more helpfull then the Athena forum) 

Regards

updt: got a trap opening https://dash.cloudflare.com/sign-up?to=/:account/turnstile

36
Programming / Re: Qt6 Application Testing
« on: September 11, 2024, 01:56:05 pm »
Paul,

  It displays fine with no issue. Remy said something about a Captcha, but I don't see one - maybe the blocker I use blocks it? Also, I wonder if the user agent has an effect - I'm using 'Mozilla/5.0 (OS/2; OS/2 i386) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.126 Safari/537.36', a slight modification of the default.

  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....

Regards,

The forum about athena has a security check before going into the site.
I put a screenshot (taken under firefox which is slow with this process) of the expected display during this security check (there is a turning circle which should change to a checkbox to confirm been human and not a robot. once it is accepted (sometimes, it requires to reply more than one time), the request is routed to the site.
This process is part of cloudflare security check (see bottom of the screenshot) to prevent cyber attacks and is more and more used by web sites

Sometimes, it didn't display (may be number of ip country issuer or host ip request dependent !)

Regards

updt:
- Cloudflare Captcha differs from those of google
  https://www.cloudflare.com/products/turnstile/
  when clicking on getting free, you go through the verification !
- Google captcha:
I found a link to test them reCaptcha (v2, v3)
https://recaptcha-demo.appspot.com/
(tested v2 which is very slow and not sure to go through...

V3 score is correct.

37
Programming / Re: Qt6 Application Testing
« on: September 10, 2024, 01:09:10 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


38
Programming / Re: Qt6 Application Testing
« on: September 09, 2024, 06:57:06 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 ?

39
Programming / Re: Qt6 Application Testing
« on: September 09, 2024, 05:32:28 pm »
Remy.

  I haven't noticed any strange mouse movement during video play, but will pay attention. I have had Dooble eventually hang during playback, but usually (about 4 out of 5 times) can still use the WPS, but it is not killable so have to reboot.

Regards,

Kill Dooble and close the prompt window from which dooble was started.

40
Programming / Re: Qt6 Application Testing
« on: September 09, 2024, 05:28:02 pm »
Same here,

https://www.os2world.com/cms/index.php/past-news/79-news/general/23815-arcaos-nlv-national-language-version-poll
Opening the strawpoll link and then show result (dooble closes)

 ------------------------------------------------

I tried an other setting of the priority which seems good too or a little better

SysSetPriority(3,8) instead of  SysSetPriority(1,3)

Changing Time-critical priority instead of Idle-time priority
By curiosity, is it possible to have priority set on the ffmpeg part only instead of all the process ?

I'm able to open a new tab while playing youtube but the requested newlink will not display and may stuck dooble after several seconds

41
Programming / Re: Qt6 Application Testing
« on: September 09, 2024, 01:11:48 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 ?

42
Programming / Re: Qt6 Application Testing
« on: September 09, 2024, 12:54:02 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 

43
Programming / Re: Qt6 Application Testing
« on: September 09, 2024, 12:47:55 pm »
Remy's cmd seems to work fairly well, on the 2nd try youtube works as expected for a while then the UI gets kind of stuck needing to close Dooble.

Hi Dave,
How is it responding when you do not move the mouse and than, when you move it a lot during youtube play ?

44
Programming / Re: Qt6 Application Testing
« on: September 09, 2024, 04:15:31 am »
What version of OS/2 are you running? Older kernels have bugs affecting release of memory. Latest ArcaOS kernel has patches to mitigate this.

Arca OS 5.1
All at latest build.

Once storage is taken, about 20M aren't returned at dooble exit time
(reused if restarting dooble)

I tried something and youtube is working with qt6.2.9 - dooble qt6 !!!!   
Instead of start the environment like most do I suppose, I change my batch file to rexx batch file and added a priority setting:

/* */
call RxFuncAdd 'SysSetPriority', 'RexxUtil', 'SysSetPriority'
rc=SysSetPriority(1,3)
'@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=W:'
'set PATH=%QT6_DIR%\qt6-6.2.x\bin;%PATH%'
'set BEGINLIBPATH=%QT6_DIR%\qt6-6.2.x\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%\qt6-6.2.x'
/*
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"'
'SET EXCEPTQ=D'
'Dooble.exe'
/*
REM echo Now run Dooble from this VIO session
*/

May be you could give a try and check if youtube site will play.

After some time, video controls where no more available but it continues to play.

45
Programming / Re: Qt6 Application Testing
« on: September 09, 2024, 03:26:32 am »
Hi Paul,


Q: how to get back shared low storage used by dooble at dooble exit time ?

After been able to run youtube, I saw that the "removed" message I previously listed always appears (not the culprit)

Pages: 1 2 [3] 4 5 ... 51