OS2 World Community Forum

OS/2, eCS & ArcaOS - Technical => Internet => Topic started by: Dave Yeo on December 29, 2021, 04:30:20 am

Title: Simple Browser revisited.
Post by: Dave Yeo on December 29, 2021, 04:30:20 am
Starting a new thread about the latest simple browser as the last one got long and wandering.
I just realized that if you install qt5-qtwebengine-examples 5.15.2-1 (netlabs-rel) along with its dependencies (I'd suggest the corresponding debuginfo files as well), we get,
@unixroot\usr\lib\qt5\examples\webenginewidgets\simplebrowser\widgets\simplebrowser\simplebrowser.exe.
This is a newer one then the one that escaped and at least supports copy and paste for passwords and such. Still a simple browser with no bookmarks, url completion and so on but it displays a lot of sites that our other browsers puke on.
You will have to mark as much to load high as possible. I started with (in @unixroot\usr\lib)
Code: [Select]
highmem -c qt5*dll
Then discovered trying to play a youtube video consistently crashed with a sigtrap from code protecting allocating too much memory or such, so I did,
Code: [Select]
highmem -c av*dll
to mark all the FFmpeg DLL's to load high, this includes the ones used by Mozilla, probably a good idea on its own. There's likely a few more I haven't got around to as they're small.
The browser is still unstable, and it is slow, too slow on this 3.1Ghz I5 to play Youtube videos. Still for looking at the occasional page, it seems to work.
I'd also advise setting the VIRTUALADDRESSLIMIT as high as possible, 3072 here. The first simplebrowser came with a script that set a couple of environment variables, "KAI_AUTOMODE=DART" which is likely already set in ArcaOS and "QTWEBENGINE_CHROMIUM_FLAGS=--single-process" which could be set in the program object. I've tried with and without the "--single-process" and didn't notice much difference in my limited testing.
As said, it is crashy and has crashed silently a few times as well as locking up the computer. Also depressing when sites still complain that it is old and unsupported, while rendering the page fine.
 
Title: Re: Simple Browser revisited.
Post by: Eugene Tucker on December 29, 2021, 05:46:17 pm
David where do we get this if we are allowed?
Title: Re: Simple Browser revisited.
Post by: Dave Yeo on December 29, 2021, 05:57:50 pm
David where do we get this if we are allowed?

It's an RPM, use ANPM or do "yum install  qt5-qtwebengine-examples"
Title: Re: Simple Browser revisited.
Post by: Eugene Tucker on December 30, 2021, 03:25:15 pm
Thank you Dave!
Title: Re: Simple Browser revisited.
Post by: Martin Iturbide on December 30, 2021, 04:56:04 pm
Thanks Dave. I'm trying it right now.

Just a little note. The simplebrowser.exe gets installed on "X:\USR\LIB\QT5\EXAMPLES\WEBENGINEWIDGETS\SIMPLEBROWSER" , so it is not on the path.

Regards
Title: Re: Simple Browser revisited.
Post by: mauro on December 31, 2021, 03:30:41 pm
Starting a new thread about the latest simple browser as the last one got long and wandering.
I just realized that if you install qt5-qtwebengine-examples 5.15.2-1 (netlabs-rel) along with its dependencies (I'd suggest the corresponding debuginfo files as well),...............

Hi, I'd like to ask if someone of you can see the reason why have no such rpm package listed in netlabs-rel category (my ANPM connects and download packages database as started).
Do you think I'm missing some important update of ANPM version so that it can't sincronize with the latest repository database?
Thank you
Title: Re: Simple Browser revisited.
Post by: Martin Iturbide on December 31, 2021, 04:07:26 pm
Hi Mauro.

My only guess is that the package is only for the "pentium4" platform and your installation is for the "i686".

Quote
[C:\]yum list qt5-qtwebengine-examples
arcanoae-rel         | 1.9 kB  00:00
netlabs-rel          | 2.9 kB  00:00
netlabs-rel/primary_ | 2.6 MB  00:03     - ] 476 kB/s | 2.4 MB  00:00 ETA
Installed Packages
qt5-qtwebengine-examples.pentium4            5.15.2-1.oc00             installed

For what I understand Qt5 and all new stuff will be compiled for "pentium4".

Check you are using the latest ANPM (1.0.7) (https://www.arcanoae.com/resources/downloadables/arca-noae-package-manager/). Open ANPM and select "Manage  - Platform..." and check that pentium4 is on top of the list.

Check again to see if that helped in something.

The file is also here: http://rpm.netlabs.org/release/00/pentium4/pentium4/qt5-qtwebengine-examples-5.15.2-1.oc00.pentium4.rpm

Regards
Title: Re: Simple Browser revisited.
Post by: mauro on December 31, 2021, 04:34:25 pm
Hi Mauro.

My only guess is that the package is only for the "pentium4" platform and your installation is for the "i686".


Right Martin, that was the point, only i686 platform setted, now I've added P4 and found what I was looking for.
Never noticed this platform separation in ANPM before, I'm pretty sure they were given both by default at least in a previous ANPM version, do not understand the reason for switch having just one at ANPM start.
Thank you
Title: Re: Simple Browser revisited.
Post by: mauro on December 31, 2021, 05:07:00 pm
ok, installed both qt5-qtwebengine-examples and qt5-qtwebengine-debuginfo with yum install command because using ANPM GUI stopped the installation at the end with a long list of missing packages, while the yum install command completed the process (then also appearing as packages installed in ANPM GUI).
But could not start simplebrowser.exe, in the image you can see the error message I get.
Title: Re: Simple Browser revisited.
Post by: Dave Yeo on December 31, 2021, 06:04:24 pm
Looks like you have to upgrade libgcc1 to 9.2.0-5, possibly libstdc++ too to the same version. My ones are still i686.
As for the need to use the Pentium M repo for the simplebrowser, it seems to need SSE2 support.
Title: Re: Simple Browser revisited.
Post by: mauro on January 01, 2022, 06:41:50 pm
Looks like you have to upgrade libgcc1 to 9.2.0-5, possibly libstdc++ too to the same version.

Hi Dave, among the installed packages I have libgcc (not libgcc1) 9.2.0-5 for Pentium 4, and also libstdc++ 9.2.0-5 for Pentium 4 , while in the downloadable package I have libgcc1 4.9.2.1-3. If I go for yum install libgcc1 as terminal command, the answer is "the package libgcc1-4.9.2.1-3.oC00.pentium4 is made obsolete by libgcc to 9.2.0-5.oC00.pentium4 which is already installed, nothing to do" . I read this situation as if I already have what needed

Quote
My ones are still i686.
As for the need to use the Pentium M repo for the simplebrowser, it seems to need SSE2 support.
do not exactly understand if is there something I should do here.
Thank you
Title: Re: Simple Browser revisited.
Post by: Dave Yeo on January 01, 2022, 11:34:32 pm
Sorry, I should have said libgcc, stupid memory of mine.
If they're up to date, not sure why you got the sys2070, it is always a missing export in the 2nd DLL listed IIRC.
Possibilities include not rebooting after upgrading, other versions of the DLL installed, or perhaps a bad RPM install. You could try reinstalling libgcc and libstdc++ and then rebooting.
About the SSE requirement, not sure if yuo have to do anything. You could change the QT5 libs to Pentium4 by right clicking them in ANPM and using the Get Specific Release menu.
Title: Re: Simple Browser revisited.
Post by: Tom on January 02, 2022, 01:42:33 pm
Sorry, I should have said libgcc, stupid memory of mine.
If they're up to date, not sure why you got the sys2070, it is always a missing export in the 2nd DLL listed IIRC.
Possibilities include not rebooting after upgrading, other versions of the DLL installed, or perhaps a bad RPM install. You could try reinstalling libgcc and libstdc++ and then rebooting.
About the SSE requirement, not sure if yuo have to do anything. You could change the QT5 libs to Pentium4 by right clicking them in ANPM and using the Get Specific Release menu.

Doesn't the error lie inside stdcpp6.dll, which is part of the package libstdc++ ? It reports a problem with the procedure "GCC1.___gthread_os2_mutex_lock" inside stdcpp6.dll.
Gcc1.dll (which is part of the package libgcc) does not look like the culprit.

It may indeed be that the problem is being caused by another version of stdcpp6.dll somewhere else on mauro's  system.
Title: Re: Simple Browser revisited.
Post by: mauro on January 02, 2022, 02:22:00 pm
ok, I have restored a clean virtual machine at the state just before to begin this task, and have started again first with the Dave's last suggestions (reinstalling libgcc and libstdc++ at their latest version for Pentium 4 platform), then qt5-qtwebengine-examples and qt5-qtwebengine-debuginfo. Each installation process made by yum install, and confirmed as successfully. Rebooted the system after each one.
Now I get a different kind of error details, as per attached screenshot.
Title: Re: Simple Browser revisited.
Post by: Tom on January 02, 2022, 03:13:37 pm
ok, I have restored a clean virtual machine at the state just before to begin this task, and have started again first with the Dave's last suggestions (reinstalling libgcc and libstdc++ at their latest version for Pentium 4 platform), then qt5-qtwebengine-examples and qt5-qtwebengine-debuginfo. Each installation process made by yum install, and confirmed as successfully. Rebooted the system after each one.
Now I get a different kind of error details, as per attached screenshot.

That new error message indicates that qtweb5c.dll cannot find the procedure LIBCX0._shmem_close .

Just guessing now: did you perhaps *only* install qt5-qtwebengine-examples and qt5-qtwebengine-debuginfo ? That is not enough! You should install these packages (although the first one is already enough - the debuginfo is only needed when writing a support ticket) *in addition to* a normal install of qt5. At the very least you need the packages qt5-qtbase , qt5-qtbase-gui , qt5-qtbase-common. Plus additional dependencies for libc, libcx and many more.
Title: Re: Simple Browser revisited.
Post by: Tom on January 02, 2022, 03:43:17 pm
At the very least you need the packages qt5-qtbase , qt5-qtbase-gui , qt5-qtbase-common. Plus additional dependencies for libc, libcx and many more.

And of course also qt5-qtwebengine-os2 and qt5-qtwebengine-chromium-os2.
Title: Re: Simple Browser revisited.
Post by: mauro on January 02, 2022, 05:55:24 pm


That new error message indicates that qtweb5c.dll cannot find the procedure LIBCX0._shmem_close .

Just guessing now: did you perhaps *only* install qt5-qtwebengine-examples and qt5-qtwebengine-debuginfo ? That is not enough!

YES, I'm sorry having understood that those two QT5 packages could install every QT5 (and libs) package-dependency needed for working. That is how I expected an rpm installation behaves.

Quote
You should install these packages (although the first one is already enough - the debuginfo is only needed when writing a support ticket) *in addition to* a normal install of qt5. At the very least you need the packages qt5-qtbase , qt5-qtbase-gui , qt5-qtbase-common.

Ok, I would go for it but.....

Quote
Plus additional dependencies for libc, libcx and many more.

....go nowhere if I don't know exactly what to do here.  Any guide or how to that I can read to get ready for running the simple browser?

Quote

And of course also qt5-qtwebengine-os2 and qt5-qtwebengine-chromium-os2

ok, after all above.
Thank you
Title: Re: Simple Browser revisited.
Post by: Dave Yeo on January 02, 2022, 06:59:10 pm

Doesn't the error lie inside stdcpp6.dll, which is part of the package libstdc++ ? It reports a problem with the procedure "GCC1.___gthread_os2_mutex_lock" inside stdcpp6.dll.
Gcc1.dll (which is part of the package libgcc) does not look like the culprit.

It may indeed be that the problem is being caused by another version of stdcpp6.dll somewhere else on mauro's  system.

Stdcpp6 is trying to load the export ___gthread_os2_mutex_lock from libgcc and not finding it. This is usually caused by mismatched DLL versions
Title: Re: Simple Browser revisited.
Post by: Dave Yeo on January 02, 2022, 10:26:04 pm
Was wondering it I screwed up and used netlabs-exp at some point, so a new install of ArcaOS 5.0.6.16 EN, which is actually a beta of 5.1 and includes the QT5 libs and now defaults to Pentium4.
Doing yum install qt5-qtwebengine-examples resulted in
Code: [Select]
Installing:
 qt5-qtwebengine-examples    pentium4    5.15.2-1.oc00     netlabs-rel    754 k
Installing for dependencies:
 ffmpeg-libs                 pentium4    4.2.2-4.oc00      netlabs-rel    8.6 M
 lame-libs                   pentium4    3.100-1.oc00      netlabs-rel    392 k
 libevent                    pentium4    2.1.11-4.oc00     netlabs-rel    344 k
 libogg                      pentium4    2:1.3.4-1.oc00    netlabs-rel     27 k
 libtheora                   pentium4    1:1.1.1-1.oc00    netlabs-rel    351 k
 libvorbis                   pentium4    1:1.3.7-2.oc00    netlabs-rel    233 k
 libvpx                      pentium4    1.8.2-1.oc00      netlabs-rel    1.4 M
 libwebp                     pentium4    1.1.0-1.oc00      netlabs-rel    385 k
 libxslt                     pentium4    1.1.34-1.oc00     netlabs-rel    257 k
 minizip                     pentium4    1.2.11-2.oc00     netlabs-rel     26 k
 opus                        pentium4    1.3.1-2.oc00      netlabs-rel    238 k
 qt5-qtwebchannel            pentium4    5.15.2-1.oc00     netlabs-rel    109 k
 qt5-qtwebengine             pentium4    5.15.2-1.oc00     netlabs-rel     84 M
 x264-libs                   pentium4    0.160-1.oc00      netlabs-rel    930 k
 xvidcore                    pentium4    1.3.7-2.oc00      netlabs-rel    304 k

And after marking everything to load high resulted in a working simplebrowser that is much more stable and where I am posting this from.
Not sure why mauro is getting so many sys2070's as netlabs_rel should be up to date enough. Guess I should compare to a new install of 5.0.7 later.
Title: Re: Simple Browser revisited.
Post by: mauro on January 02, 2022, 10:48:05 pm
Was wondering it I screwed up and used netlabs-exp at some point, so a new install of ArcaOS 5.0.6.16 EN, which is actually a beta of 5.1 and includes the QT5 libs and now defaults to Pentium4.

Not sure why mauro is getting so many sys2070's as netlabs_rel should be up to date enough. Guess I should compare to a new install of 5.0.7 later.

Consider I'm on a Warp 4.52 VirtualBox machine, if it may take difference
Title: Re: Simple Browser revisited.
Post by: Igor on January 02, 2022, 11:08:53 pm
I installed all libraries, but I get an error when downloading a page:
Code: [Select]

______________________________________________________________________

 Exception Report - created 2022/01/03 01:04:35
______________________________________________________________________

 LIBC: Killed by SIGSEGV

 Hostname:         OS2HOME
 OS2/eCS Version:  2.45
 # of Processors:  4
 Physical Memory:  3535 mb
 Virt Addr Limit:  2944 mb
 Exceptq Version:  7.11.5-shl BETA8 (Jun  1 2020 18:37:02)

______________________________________________________________________

 Exception C0000005 - Access Violation
______________________________________________________________________

 Process:  C:\USR\LIB\QT5\EXAMPLES\WEBENGINEWIDGETS\SIMPLEBROWSER\SIMPLEBROWSER.EXE (09/25/2021 20:47:10 85,172)
 PID:      103 (259)
 TID:      07 (7)
 Priority: 200

 Filename: C:\USR\LIB\QT5WEBC.DLL (09/25/2021 20:47:11 92,191,016)
 Address:  005B:A903F5B8 (0001:00ACF5B8)
 Cause:    Unknown access fault

______________________________________________________________________

 Failing Instruction
______________________________________________________________________

 A903F5AF  MOV     EBX, [EBP+0x10]  (8b5d 10)
 A903F5B2  MOV     EDX, ECX         (89ca)
 A903F5B4  MOV     EAX, EDI         (89f8)
 A903F5B6  MOV     ESI, ECX         (89ce)
 A903F5B8 >DB 0xc5                  (c5)
 A903F5B9  STD                      (fd)
 A903F5BA  OUTSD                    (6f)
 A903F5BB  CMP     EAX, 0xa906dfb0  (3d b0df06a9)

Title: Re: Simple Browser revisited.
Post by: Tom on January 02, 2022, 11:26:03 pm
Ok, I would go for it but.....

Quote
Plus additional dependencies for libc, libcx and many more.

....go nowhere if I don't know exactly what to do here.  Any guide or how to that I can read to get ready for running the simple browser?

Sorry, I don't have that information. I had to use trial and error when a testversion became available beginning of 2021 (based on the readme.txt in that package).

One way is what Dave describes below: install the latest version of ArcaOS.
Another way is to use ANPM to install the metapackage QT5: that installs an obsolete version of QT5 (I think 5.11.x ?) and after that use ANPM to update the installed QT5-packages to their latest  versions (5.15-2) which also pulls in required versions of other packages.

After that exercise, check with a tool like pmdll or check32dll which required dlls simplebrowser.exe needs.

Quite a bit of work! Sorry I cannot be of more help.
Title: Re: Simple Browser revisited.
Post by: Dave Yeo on January 02, 2022, 11:52:52 pm
Hi Mauro, the yum/rpm environment should still work on Warp 4.52, everything will need to be up to date, including the QT5 libs and make sure that your @unixroot\usr\lib is at the front of LIBPATH, even having a dot first can cause problems if something loads an old DLL.
You will have problems due to the kernel, leaking high memory for example and everything that can be (not libc, libcx, libgcc) loaded high needs to be.

Hi Igor, yea it is crashy and sometimes just vanishes. Need as much marked to load high as possible. After doing the *turbo install, which marks all the DLLs that Mozilla uses to load high, I did this to load most everything I could think of to load high,
Code: [Select]
highmem -c av*dll
highmem -c evnt*dll
highmem -c xvidcore.dll xslt1.dll xslt.dll vorbis0.dll vorbise2.dll vorbisf3.dll webp7.dll webpdec3.dll webpdem2.dll webpmux3.dll
highmem -c swresa1.dll swresa3.dll swscal3.dll swscal5.dll x264160.dll sqlite30.dll qt5*dll
highmem -c theora0.dll theorad1.dll theorae1.dll opus0.dll ogg0.dll libvpx6.dll libvpx4.dll libvpx2.dll kai1.dll hunspel0.dll
need to check if highmem.exe accepts response files, it should, then turn this into a response file.
I also killed ffturbo here as I don't use Firefox much, killing other xxturbo programs might be a good idea to free memory. And of course have the minimal running when testing.
Title: Re: Simple Browser revisited.
Post by: mauro on January 03, 2022, 06:51:33 pm
Quote


That new error message indicates that qtweb5c.dll cannot find the procedure LIBCX0._shmem_close .

Just guessing now: did you perhaps *only* install qt5-qtwebengine-examples and qt5-qtwebengine-debuginfo ? That is not enough!

YES, I'm sorry having understood that those two QT5 packages could install every QT5 (and libs) package-dependency needed for working. That is how I expected an rpm installation behaves.

Quote
You should install these packages (although the first one is already enough - the debuginfo is only needed when writing a support ticket) *in addition to* a normal install of qt5. At the very least you need the packages qt5-qtbase , qt5-qtbase-gui , qt5-qtbase-common.

in fact now, after having checked which dependencies those two packages have installed, I found qt5-qtbase , qt5-qtbase-gui , qt5-qtbase-common there, with other QT5 stuff.
As it should be.
No qt5-qtwebengine-os2 and qt5-qtwebengine-chromium-os2 packages available.
Title: Re: Simple Browser revisited.
Post by: Dave Yeo on January 03, 2022, 08:42:28 pm
I see qt5webengine and qt5webengine-examples installed, it should be good enough as long as your LIBPATH is correct.
Title: Re: Simple Browser revisited.
Post by: Tom on January 03, 2022, 09:28:34 pm
Quote

Just guessing now: did you perhaps *only* install qt5-qtwebengine-examples and qt5-qtwebengine-debuginfo ? That is not enough!

YES, I'm sorry having understood that those two QT5 packages could install every QT5 (and libs) package-dependency needed for working. That is how I expected an rpm installation behaves.

Quote
You should install these packages (although the first one is already enough - the debuginfo is only needed when writing a support ticket) *in addition to* a normal install of qt5. At the very least you need the packages qt5-qtbase , qt5-qtbase-gui , qt5-qtbase-common.

in fact now, after having checked which dependencies those two packages have installed, I found qt5-qtbase , qt5-qtbase-gui , qt5-qtbase-common there, with other QT5 stuff.
As it should be.
No qt5-qtwebengine-os2 and qt5-qtwebengine-chromium-os2 packages available.

My mistake: I meant qt5-qtwebengine and qt5-qtwebengine-chromium (without '-os2' at the end). I looked up those names on bitwisework's qt5-os2 repository at github.com, and there they have that '-os2' part at the end of their names, but apparently that is not included in the names of the rpm-packages.

I tried to install qt5-qtwebengine-examples on a laptop, and the list of packages that were to be installed or updated mentioned

dbus-libs
libc
libkai
pcre2-syntax
pcre2-utf16
qt5-qtbase
qt5-qtbase-common
qt5-qtbase-gui
qt5-qtdeclarative
qt5-qtwebchannel
qt5-qtwebengine
qt5-qtwebengine-examples

Several other packages that are needed were not mentioned because they were already installed and at their latest versions (like libxslt and minizip).

So apparently qt5-qtwebengine-chromium is not needed, although I expected that it would be needed.
Title: Re: Simple Browser revisited.
Post by: mauro on January 04, 2022, 08:17:16 pm
I see qt5webengine and qt5webengine-examples installed, it should be good enough as long as your LIBPATH is correct.

I discovered LIBPATH line in config.sys a bit messed (yes: there was a dot just after the = ) and I corrected it as you wrote, with C:\USR\LIB as first call.
But no improve.
In addition, if it means something, Firefox does not run anymore, see error message image.  It can't load anymore its xul.dll , faulty module LIBVPX4
Title: Re: Simple Browser revisited.
Post by: Pete on January 04, 2022, 10:26:57 pm
Hi

Firefox cannot run because you have removed it's ability to find it's dll files.
Reinstate the "." at the start of libpath eg:-
   LIBPATH=.;
Then Firefox (and other apps?) can find required dll files.

The "." in LIBPATH means an app looks in it's own/current directory for supporting dll files.


Regards

Pete
 
Title: Re: Simple Browser revisited.
Post by: Dave Yeo on January 04, 2022, 10:53:11 pm
Hi Pete, Firefox can find its program DLLs without LIBPATH. All the others should be in @unixroot\usr\lib which should be close to the beginning of the LIBPATH, often @unixroot\usr\local\lib is in front and by default is empty.

Hi Mauro, sounds like you don't have libvpx-legacy-4 installed. It also sounds like you have a mess, guessing, from installing the DLL's needed by Firefox manually. Things like libvpx4.dll should not be in the Firefox program directory.
Here's a which2.exe which can list DLL's in the libpath, eg
Code: [Select]
which2 -la libvpx4.dll
Do similar for other DLL's that give you a sys2070
Title: Re: Simple Browser revisited.
Post by: mauro on January 05, 2022, 09:40:00 am

Here's a which2.exe which can list DLL's in the libpath, eg
Code: [Select]
which2 -la libvpx4.dll
Do similar for other DLL's that give you a sys2070

@Pete, I've restored the line LIBPATH=.; ......      as it was before, keeping C:\USR\LIB as first call

@Dave , in the actual system (after the qt5-qtwebengine-examples installation) :

[C:\OS2\WHICH2]which2 -la libvpx4.dll
libvpx4.dll is NOT FOUND in:
 ., c:/usr/lib, c:/usr/local/lib, c:/ibmlan/netlib, c:/muglib/d
 c:/ibmgsk50/lib, c:/ibmgsk40/lib, c:/ibmgsk/lib, c:/mptn/dll,
 c:/ibmcom/dll, c:/os2/mdos, c:/, c:/os2/apps/dll, c:/mmos2/dll
 c:/vlc2/usr/local/lib, c:/ndfs, c:/odin/system32, c:/office51

in the previous state system, the one I've cloned for working with this task:

[C:\OS2\WHICH2]which2 -la libvpx4.dll
c:/usr/lib/libvpx4.dll

and of course Firefox runs.

While for libcx0.dll , mentioned in the latest error message when trying to start simplebrowser.exe
[C:\OS2\WHICH2]which2 -la libcx0.dll
c:/usr/lib/libcx0.dll

appears to be in the right place
Title: Re: Simple Browser revisited.
Post by: Dave Yeo on January 05, 2022, 05:45:20 pm
Weird if it is a clone of a working system. Does ANPM show libvpx-legacy-4 as installed?
I guess you could reinstall all failing packages, right click in ANPM and choose reinstall. Make sure you reboot after doing libc and libcx which should be done first.
As for the dot in LIBPATH, there's been quite a bit of discussion whether it should be first or after @unixroot\usr\lib. Some say yes and some say no. The danger is that something starts and has an old version of a DLL in its program directory and that DLL is the one used.
Title: Re: Simple Browser revisited.
Post by: mauro on January 05, 2022, 08:55:35 pm
Weird if it is a clone of a working system. Does ANPM show libvpx-legacy-4 as installed?

no, it wasn't, found it among the available packages. Once installed, then Firefox runs well.

Still untested your latest suggestions.

Thank you
Title: Re: Simple Browser revisited.
Post by: mauro on January 06, 2022, 10:17:14 am

I guess you could reinstall all failing packages, right click in ANPM and choose reinstall. Make sure you reboot after doing libc and libcx which should be done first.


done this as well.  First of all have to say that libcx (not considered till now) showed to be as previuously existing for i686 arc , then making reinstall for Pentium 4, went ok. Have reinstalled also libc and libstdc++ rebooting each time, went ok.
Then reinstalled every single qt5 package which was taken together with qt5-qtwebengine-example ; all went well except for qt5-qtwebengine, in the attached image you can see the error message that appears when the reinstallation begins. Same now is appearing as I try to run simplebrowser.exe
Title: Re: Simple Browser revisited.
Post by: ivan on January 06, 2022, 04:22:03 pm
Looking at this with my Project Engineers hat on it appears the real BIG problem is that we don't have a Qt5 runtime environment, like we have for Qt4, that all the Qt5 programs are run against.  At the moment we have a mish mash of bits of Qt5 that seem to change with the weather - not a way for getting Qt5 programs to run reliably because one program might run but another requires a changed part of the Qt5 environment to run so the program that once ran now stops running.
Title: Re: Simple Browser revisited.
Post by: Tom on January 06, 2022, 05:27:43 pm
in the attached image you can see the error message that appears when the reinstallation begins. Same now is appearing as I try to run simplebrowser.exe

You are missing icuuc.dll version 68.1-1 - to be found in package libicu (which must match with package icu).
Title: Re: Simple Browser revisited.
Post by: mauro on January 06, 2022, 06:52:45 pm
in the attached image you can see the error message that appears when the reinstallation begins. Same now is appearing as I try to run simplebrowser.exe

You are missing icuuc.dll version 68.1-1 - to be found in package libicu (which must match with package icu).
--
ok, I've found had libicu 56.1-2  i686 installed, and upgraded to 68.1-1 Pentium 4, went ok.
Then rebooted, reinstalled qt5-qtwebengine and went ok, rebooted, run simplebrowser.exe and finally the browser window appeared!!
 :) :)
now, it would be great if it opened webpages as well, it seems not connecting (see first image) for any given url, no matter if I choose YES or NO, it remains blank (second image) .  I also applied Dave's suggestions for highmem loading module in \usr\lib : highmem -c qt5*dll  and   highmem -c av*dll .
But something happens again if I open a New Incognito Window and enter an URL there , here's the next error message (third image)
Title: Re: Simple Browser revisited.
Post by: Dave Yeo on January 06, 2022, 07:09:25 pm
Yes, qt.io seems to be down quite a bit, it is currently not loading for me.
Try doing CTRL-T to open a new tab and enter https://google.com. If you get the rendering error, just click the try again.
This is a really basic browser so you have to enter the whole address, not just google.com, but https://google.com, and if a site needs www, you have to enter it to.
Glad it came up for you.
Title: Re: Simple Browser revisited.
Post by: mauro on January 06, 2022, 07:24:38 pm
Yes, qt.io seems to be down quite a bit, it is currently not loading for me.
Try doing CTRL-T to open a new tab and enter https://google.com. If you get the rendering error, just click the try again.
This is a really basic browser so you have to enter the whole address, not just google.com, but https://google.com, and if a site needs www, you have to enter it to.
Glad it came up for you.

it remains blank as well with the "no entrance" symbol, both normal and Incongnito window.

Also have to say that system traps every time I close the simplebrowser window
Title: Re: Simple Browser revisited.
Post by: Dave Yeo on January 06, 2022, 07:29:07 pm
Try pressing the reload button, and yes it is crashy.
Title: Re: Simple Browser revisited.
Post by: mauro on January 06, 2022, 09:03:39 pm
so strange: just worked once among +/-  25 attempts, only with Google.com and only with http (no https) prefix, in Incongnito Window.
Then, starting a research from there, no listed url is selectable since the arrow pointer does not become a hand
Title: Re: Simple Browser revisited.
Post by: Dave Yeo on January 06, 2022, 09:49:17 pm
Nothing fancy like hand pointers here, try right clicking on one of the links on Google
Title: Re: Simple Browser revisited.
Post by: Martin Iturbide on January 07, 2022, 07:18:04 pm
Just in case. Element is working on Simple Browser.

Element is an Chat client for Matrix. It also has bridges to Libera.Chat IRC and discord.
- Link to some OS/2 Chatrooms: https://matrix.to/#/!gzUtuLkytgQxQPsKNj:matrix.org?via=matrix.aventer.biz&via=matrix.org (https://matrix.to/#/!gzUtuLkytgQxQPsKNj:matrix.org?via=matrix.aventer.biz&via=matrix.org).

Regards
Title: Re: Simple Browser revisited.
Post by: roberto on January 08, 2022, 10:42:58 pm
During the process of going to high memory some dlls gives me these errors:
Code: [Select]
(C:\USR\lib)highmem -c xvidcore.dll xslt1.dll xslt.dll vorbis0.dll vorbise2.dll
vorbisf3.dll webp7.dll webpdec3.dll webpdem2.dll webpmux3.dll
Processing module : xvidcore.dll
Processing module : xslt1.dll  MODIFIED
Error: "xslt.dll" is not LX format 32bit EXE/DLL module.
Processing module : vorbis0.dll  MODIFIED
Processing module : vorbise2.dll  MODIFIED
Processing module : vorbisf3.dll  MODIFIED
Processing module : webp7.dll  MODIFIED
Processing module : webpdec3.dll  MODIFIED
Processing module : webpdem2.dll  MODIFIED
Processing module : webpmux3.dll  MODIFIED

(C:\USR\lib)highmem -c swresa1.dll swresa3.dll swscal3.dll swscal5.dll x264160.d
ll sqlite30.dll qt5*dll
Error: "swresa1.dll" cannot be opened, rc=110.
Processing module : swresa3.dll  MODIFIED
Error: "swscal3.dll" cannot be opened, rc=110.
Processing module : swscal5.dll  MODIFIED
Processing module : x264160.dll  MODIFIED
Error: "sqlite30.dll" cannot be opened, rc=32.
Processing module : Qt5Cncr.dll

(C:\USR\lib)highmem -c theora0.dll theorad1.dll theorae1.dll opus0.dll ogg0.dll
libvpx6.dll libvpx4.dll libvpx2.dll kai1.dll hunspel0.dll
Processing module : theora0.dll  MODIFIED
Processing module : theorad1.dll  MODIFIED
Processing module : theorae1.dll  MODIFIED
Processing module : opus0.dll  MODIFIED
Processing module : ogg0.dll  MODIFIED
Processing module : libvpx6.dll  MODIFIED
Error: "libvpx4.dll" cannot be opened, rc=32.
Error: "libvpx2.dll" cannot be opened, rc=110.
Error: "kai1.dll" cannot be opened, rc=32.
Processing module : hunspel0.dll  MODIFIED


Saludos
Title: Re: Simple Browser revisited.
Post by: Dave Yeo on January 08, 2022, 11:29:55 pm
Hi, the ones that can't be opened are locked due to already being opened. Use unlock to unlock them and then set the highmem status. After rebooting (no rush), the highmem status will take affect. For example,
Code: [Select]
unlock sqlite30.dll
highmem -c sqlite30.dll
The xslt.dll error I also saw, ignore it as a non-lx file probably can't be marked high and is small enough not to matter.
Title: Re: Simple Browser revisited.
Post by: mike on January 09, 2022, 12:14:06 am
Yes, qt.io seems to be down quite a bit, it is currently not loading for me.
Try doing CTRL-T to open a new tab and enter https://google.com. If you get the rendering error, just click the try again.
This is a really basic browser so you have to enter the whole address, not just google.com, but https://google.com, and if a site needs www, you have to enter it to.
Glad it came up for you.

Here the browser starts then tries to load a page and simply quits with 2 beeps, so its living only for 4secs. Nothing in the logs and it makes no difference what URL is given.
Title: Re: Simple Browser revisited.
Post by: Dave Yeo on January 09, 2022, 12:28:31 am
Did you look in x:\var\log\app for trp files, X: is likely your boot drive. Also check popupos2.log.
Also have you set your VIRTUALADDRESSLIMIT to a high number, 3072 ideally, maybe 2560.
Title: Re: Simple Browser revisited.
Post by: mike on January 09, 2022, 12:51:27 pm
thanks for the hint, the reason was an older NSS. Now Firefox doesn't work anymore but simplebrowser works.
Once it crashed in pmmerge.dll and a reboot was required.
Title: Re: Simple Browser revisited.
Post by: mauro on January 09, 2022, 02:13:28 pm
thanks for the hint, the reason was an older NSS.

could you please explain the details? I would try to resurvive the simplebrowser installation which actually opens the GUI but then remains mostly inoperable

Quote
Now Firefox doesnt work anymore but simplebrowser works.
Once it chrashed in pmmerge.dll and a reboot was required.

after all pakages + dll necessary installation for simplebrowser, my Firefox did not start anymore, also posted in this thread, It returned working again after having installed libvpx-legacy-4 by ANPM
Title: Re: Simple Browser revisited.
Post by: mike on January 09, 2022, 03:00:20 pm
thanks for the hint, the reason was an older NSS.

could you please explain the details? I would try to resurvive the simplebrowser installation which actually opens the GUI but then remains mostly inoperable

I just updated NSS from 3.23.0 to 3.47.0. That did fix the startup crash here. Is there a known mechanism in rpm how to have different version of one dll installed that is required be different apps?

Now Firefox doesnt work anymore but simplebrowser works.
Once it chrashed in pmmerge.dll and a reboot was required.

after all pakages + dll necessary installation for simplebrowser, my Firefox did not start anymore, also posted in this thread, It returned working again after having installed libvpx-legacy-4 by ANPM

Funny thing is that after installing libvpx-legacy-4 firefox works again,  thanks  ;)  Can somebody tell if audio playback works in simplebrowser?
Title: Re: Simple Browser revisited.
Post by: Dave Yeo on January 09, 2022, 05:12:49 pm
Yes, sound works here in the Simplebrowser. You might need "KAI_AUTOMODE=DART" set in your environment. Might already be set for Firefox.
Title: Re: Simple Browser revisited.
Post by: mauro on January 09, 2022, 07:51:50 pm

thanks for the hint, the reason was an older NSS.

I just updated NSS from 3.23.0 to 3.47.0. That did fix the startup crash here.


very well; this now makes my simplebrowser opening most of url pages (only in Incognito Window mode). *Sometime during browsing the system traps but is an effective improvement from the previous situation

*Edit: traps all the times after some minutes of browsing
Title: Re: Simple Browser revisited.
Post by: mauro on January 09, 2022, 08:03:11 pm
Yes, sound works here in the Simplebrowser. You might need "KAI_AUTOMODE=DART" set in your environment. Might already be set for Firefox.

"SYS1195 The statement KAI_AUTOMODE on line 188 of the config.sys is not recognized. Line 188 is ignored.  Press Enter to continue"
Have to say that I tried to work with this some time ago for fixing the multimedia play without audio in Firefox -while no problem with a media player-.  It has something to do with the audio drivers compatibility in Virtualbox, it is setted on Suondblaster 16 which I believe are the standard audio drivers given with OS2, I did not succeed to obtain any result with the Uniaud drivers installation (KAI_AUTOMODE goes with Uniaud right?) even changing the virtualbox audio filter possibilities
Title: Re: Simple Browser revisited.
Post by: Dave Yeo on January 09, 2022, 09:27:23 pm
You need, SET KAI_AUTOMODE=DART in your config.sys, the SET command puts it in your environment. It is actually for libkai, to quote, "K Audio Interface v2.1.0. DART/UNIAUD implementation library." it can use DART or Uniaud but the Uniaud support is broken.
The browser itself seems to be awfully memory hungry. Might help to SET QTWEBENGINE_CHROMIUM_FLAGS=--single-process.
As for needing to use incognito mode, sounds like your profile is damaged. Delete the files in home,
".local/share/QtExamples/simplebrowser/QtWebEngine" and ".cache/QtExamples/simplebrowser/QtWebEngine". Without the quotes, home is usually in your boot disk under x:\home.
Title: Re: Simple Browser revisited.
Post by: mauro on January 10, 2022, 02:57:01 pm
You need, SET KAI_AUTOMODE=DART in your config.sys, the SET command puts it in your environment. It is actually for libkai, to quote, "K Audio Interface v2.1.0. DART/UNIAUD implementation library." it can use DART or Uniaud but the Uniaud support is broken.

yes, my mistake, I missed to type SET in the command line. Now system boots with no error messages, but still no audio when playing video in Firefox (or simplebrowser now)

Quote
The browser itself seems to be awfully memory hungry. Might help to SET QTWEBENGINE_CHROMIUM_FLAGS=--single-process.

this makes simplebrowser behaving as described by Tom before: the browser window quit itself just two seconds away from opening.  Better without this line, in my system.

Quote
As for needing to use incognito mode, sounds like your profile is damaged.
 Delete the files in home,
".local/share/QtExamples/simplebrowser/QtWebEngine" and ".cache/QtExamples/simplebrowser/QtWebEngine". Without the quotes, home is usually in your boot disk under x:\home.

found C:/.local/share/QtExamples/simplebrowser/QtWebEngine and removed all contents inside QtWebEngine directory (subfolders and files inside, then rebooted, now all same as before)  but no path exists in my system as C:/.cache/QtExamples/simplebrowser/QtWebEngine.
Title: Re: Simple Browser revisited.
Post by: Tom on January 10, 2022, 05:05:48 pm
As for needing to use incognito mode, sounds like your profile is damaged.
 Delete the files in home,
".local/share/QtExamples/simplebrowser/QtWebEngine" and ".cache/QtExamples/simplebrowser/QtWebEngine". Without the quotes, home is usually in your boot disk under x:\home.

found C:/.local/share/QtExamples/simplebrowser/QtWebEngine and removed all contents inside QtWebEngine directory (subfolders and files inside, then rebooted, now all same as before)  but no path exists in my system as C:/.cache/QtExamples/simplebrowser/QtWebEngine.

In the testversion from 1 year ago was a script cleanup-caches.sh to do that. Looking inside that script I see the directories %HOME%/.local/share/QtExamples/simplebrowser/QtWebEngine and %HOME%/.cache/QtExamples/simplebrowser/QtWebEngine . So it depends upon where your environment variable HOME points to. Usually not the root directory of a drive.
Title: Re: Simple Browser revisited.
Post by: Dave Yeo on January 10, 2022, 06:46:38 pm
Exactly, these are in your home directory. To find it, at a cmd line do "set home" without the quotes
Code: [Select]
H:\tmp>set home
HOME=W:\Home
Title: Re: Simple Browser revisited.
Post by: Martin Iturbide on January 17, 2022, 04:23:42 pm
Hi

Does anybody knows if Qt5 or the Simple Browser is working to access the OS/2 Uniaud Mic (or audio input)? I know that an USB camera don't work.

I would like to test if some Audio webmeeting browser tools.
Jitsi ( https://meet.jit.si/ (https://meet.jit.si/) ) crashes the browser when you want to login to a chat room. I don't know if you know some other that are mostly web native.

Regards
Title: Re: Simple Browser revisited.
Post by: David McKenna on January 17, 2022, 05:15:26 pm
 Hi Martin,

  Not likely, as audio input is not implemented in chromium yet... see here:

https://github.com/bitwiseworks/qtwebengine-chromium-os2/issues/28

Regards,
Title: Re: Simple Browser revisited.
Post by: Martin Iturbide on January 17, 2022, 06:56:38 pm
  Not likely, as audio input is not implemented in chromium yet... see here:

https://github.com/bitwiseworks/qtwebengine-chromium-os2/issues/28

Too bad. Thanks for the pointer David.