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 - Dave Yeo

Pages: [1] 2 3 ... 332
1
Internet / Re: otter-browser, Qt5 build
« on: September 16, 2024, 05:21:25 pm »
Hi Martin. The Otter browser is definitely alpha quality at best, then our Qt port is also needing work. So crashes are expected and it sounds like even on supported platforms Otter is not the most stable.
I wouldn't bother uploading these trp reports, especially when there are no debug packages installed. I have lots generated here and don't have much skills at fixing them.

2
Programming / Re: Qt6 Application Testing
« on: September 16, 2024, 02:31:25 am »
Is there ad blocking for Otter? I wonder if ads are killing it...
Regards,

Lower right corner beside the download icon is an arrow pointing down, click it and there's active profiles. Mouse over and a menu comes up. Enable content Blocking and pick your filters.
Or better, under Tools, there's content blocking where you can set up your filters, how often they download and such. Also can import.
I haven't used them much so not sure if they work. I tried importing a dictionary and that seemed to fail.

3
Internet / Re: otter-browser, Qt5 build
« on: September 15, 2024, 10:36:51 pm »
Here's the contents of the icons directory plus an attempt at converting the Win icon to an OS/2 icon. Doesn't seem to display here.

4
Programming / Re: Qt6 Application Testing
« on: September 15, 2024, 10:12:51 pm »
Do we even need ACPIDAEMON running in a virtual machine? Seems redundant...

Regards,

Probably not, perhaps better to edit acpid.cfg and change this part to disable the power manager,
Code: [Select]
;############## Power Manager Settings ###################################
[PowerMan]

; Enable: 1=enabled, 0=disabled, default=1
Enable = 1

Untested.

5
Internet / Re: otter-browser, Qt5 build
« on: September 15, 2024, 10:08:46 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.

6
Internet / Re: otter-browser, Qt5 build
« on: September 15, 2024, 08:34:15 pm »
I should mention that running without acpidaemon doing power management is highly not recommended by David A. This computer's CPU was idling with 64C temperature and the danger is overheating the CPU.
I ended up changing \mptn\etc\acpid.cfg to PreferredMode=Power which on this box also allows Otter to run. It seems that using Power should not help as most computers don't support it and the daemon will fall back to None.
Note that the daemon has to be restarted to pick up changes to the PreferredMode, so rather kill it and run it detached again or reboot.

7
Programming / Re: Qt6 Application Testing
« on: September 15, 2024, 06:07:08 pm »
One thing is I haven't upgraded to the latest build. I'm using,
Code: [Select]
Signature:       @#cmake build system:6.2.9#@##1## 27 Aug 2024 14:08:56     ARCAOS-803C4C0::::0::@@WebEngineCore
Vendor:          cmake build system
Revision:        6.02.9
Date/Time:       27 Aug 2024 14:08:56
Build Machine:   ARCAOS-803C4C0
ASD Feature ID:  4C0
File Version:    6.2
Description:     WebEngineCore

8
Internet / otter-browser, Qt5 build
« on: September 15, 2024, 04:37:47 am »
Ok, up till now when I've built Otter, it crashes on startup. Andy reported success with Dooble and not running acpi-daemon. Testing, the otter browser starts up and runs fairly well without acpi-daemon running. It is crashy, I tried this post in Otter and probably uploading the file crashed the browser.
Anyways, for testing purposes, here is today's build of the Otter browser from the main repository, no OS/2 patches yet, it runs surprisingly well considering. It is using the same webengine as Dooble-Qt5 so some pages will not display correctly.
Edit: fix the markup

9
Programming / Re: Qt6 Application Testing
« on: September 15, 2024, 04:15:38 am »
After killing acpidaemon, both my Qt5 and your Qt6 builds of Otter run fine. Thanks to Andy for the suggestion, he also mentions that Dooble doesn't hang without apcpdaemon running, even without single-process. More testing to do here.
OK, YouTube comes up slowly, UI displays, video does not run. Closing otter results in a sigsegv.
Edit: the down side of not running acpidaemon is the computer runs hot, 64C instead of about 25C at idle.

Ok, retrying the Qt6 build of Otter sees the start page, DuckDuckGo, display but nothing else seems to draw the canvas. Also when hovering over a tab, the preview  thumbnail shows up in the upper left of the desktop. The Qt5 build, which I'm typing this in, the preview shows up over the tab. Niether seems to actually draw the preview.
I'll start a new thread on the Qt5 Otter browser.
Edit: Another difference is the Qt5 build, after a crash, starts up with a session restore window. The Qt6 build doesn't.

10
Programming / Re: Qt6 Application Testing
« on: September 15, 2024, 03:36:30 am »
After killing acpidaemon, both my Qt5 and your Qt6 builds of Otter run fine. Thanks to Andy for the suggestion, he also mentions that Dooble doesn't hang without apcpdaemon running, even without single-process. More testing to do here.
OK, YouTube comes up slowly, UI displays, video does not run. Closing otter results in a sigsegv.
Edit: the down side of not running acpidaemon is the computer runs hot, 64C instead of about 25C at idle.

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

I tried adding PRIORITY=ABSOLUTE to config.sys to see if it helped not giving the foreground app a boost. Didn't help.

12
Programming / Re: Qt6 Application Testing
« on: September 11, 2024, 05:34:29 pm »
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

That's from Paul's system and perfectly normal.

13
Programming / Re: Qt6 Application Testing
« on: September 10, 2024, 06:08:21 pm »
Hi

Maybe a stupid question, but how to use that script from Remy, save it as a sh or cmd
Tellie
A cmd file, here I have it as dooble.cmd

14
Programming / Re: Qt6 Application Testing
« on: September 10, 2024, 05:22:40 pm »
Hi Pete, what is your VIRTUALADDRESSLIMIT set at? Marked most of the needed DLL's to load the code high? Tried a new profile?

15
Programming / Re: Qt6 Application Testing
« on: September 09, 2024, 11:46:12 pm »
Hi Paul!
ill ffmpeg be usable if adding --enable-pthreads option ?

FFmpeg will automatically enable os2threads, less over head then pthreads.

Pages: [1] 2 3 ... 332