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: September 17, 2024, 12:14:11 pm »
Hi Paul !

I could get 2 trp files using my priority settings (close when runing several times the nperf process from nperf selecting a server instead of using default one)
Do you find them usefull ?

I'll take a look later in the week....

2
Internet / Re: otter-browser, Qt5 build
« on: September 17, 2024, 12:10:17 pm »
Last time I checked Otter is not support with QT 6. Dmitry from BWW skipped Otter Browser as it was crashing because the multi process code is not stable. This is one the key reasons at the time the Otter Browser was not selected. It crashes more then Doobke.

There is a port of otter to qt6 at https://github.com/Chiitoo/otter-browser/commits/qt6/ - PR to merge it is still in work.

3
Programming / Re: Qt6 Application Testing
« on: September 16, 2024, 11:27:04 pm »
Unzip QT6 package into a directory, eg d:\apps, keeping the directory structure - avoid mixing with existing *nix directory structure
Use a CMD file to set environment and start a qt6 app - see earlier post by Remy on page 39
Keep reading this thread for fine tuning/future releases - Martin updates page 1 with new releases

@Martin perhaps we need a wiki page on setting up Qt6 that could be referenced from page 1? Also a copy of Remy's script  to start dooble on page 1?

4
Programming / Re: Qt6 Application Testing
« on: September 16, 2024, 02:46:33 am »
EDIT: Tried creating a script for Otter similar to the one Remy made for Dooble, and it does help some, but still get a lot of SIGSEGV errors in WebEngineProcess and Otter. Is there ad blocking for Otter? I wonder if ads are killing it...

If the SIGSEGV are repeatable and generate a TRP file - please create a github ticket at https://github.com/psmedley/qt6-webengine-os2/issues

It's too hard to keep track of attachments here.

5
Internet / Re: otter-browser, Qt5 build
« on: September 15, 2024, 11:13:54 pm »
Hi David, interesting it runs fine for you. Seems to be a timing issue for starting up. I have seen the socket messages but not always. I also see messages about Unimplemented code and just now Pixmap being null,
Code: [Select]
Unimplemented code.
QPixmap::scaled: Pixmap is a null pixmap
QPixmap::scaled: Pixmap is a null pixmap

Grepping for Unimplemented in Otters source came up blank so perhaps originating in the webengine.

Looks like it's from here: https://github.com/bitwiseworks/qtwebengine-chromium-os2/blob/113f13d3f1bf0ec996bd626e05324a0a17d39490/chromium/v8/src/base/logging.h#L50 but not particularly helpful as that's just a definition, and there are a number of  places that UNIMPLEMENTED(); can be called from.

6
Programming / Re: Qt6 Application Testing
« on: September 15, 2024, 11:30:39 am »
interesting.... on two different machines (1x virtualised, 1x  real  hardware) I've managed to get otter-qt6 to render a page once.

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

8
Programming / Re: Qt6 Application Testing
« on: September 14, 2024, 11:24:26 pm »
  Tried using the Otter browser you built, but got the same results you did - it seems to work but doesn't render anything. I was even able to save a page and then open it in Dooble, so it is getting the info, just not displaying it.

  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?
I'll have to build/install it under linux so I can compare.  I did browse https://github.com/bitwiseworks/otter-browser-os2 looking for any OS/2 specific changes but didn't see anything notable.

9
Programming / Re: Qt6 Application Testing
« on: September 14, 2024, 11:35:15 am »
I built otter for qt6, using the code from https://github.com/Chiitoo/otter-browser/tree/qt6

Here, pages seem to load,  but not render in the window. Possibly due to me using Qt6.2, when the qt6 port was targetting 6.5.3

YMMV https://smedley.id.au/tmp/otter-browser-os2-20240914.zip

10
Programming / Re: Qt6 Application Testing
« on: September 12, 2024, 10:52:18 pm »
  Did a quick test before work, and I can't get to YouTube with this one - get a silent exit every time. The last build worked. Playing embedded videos on websites is also flakey - sometimes it works, and sometimes get a silent exit. I'll test more later today...

  BTW - the QTWebengine DLL is not marked to load high...

It's probably some incompatibilty with the newer ffmpeg - I figured it was worth a try :)

11
Programming / Re: Qt6 Application Testing
« on: September 12, 2024, 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.

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

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

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

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

Pages: [1] 2 3 ... 149