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 - Dariusz Piatkowski

Pages: 1 ... 9 10 [11] 12 13 ... 61
151
Setup & Installation / Re: Problem with SNAP resulution
« on: October 10, 2020, 07:48:19 pm »
Hi Martin,

In the \os2\drivers\snap\config\graphics directory there is a file 'graphics.log', that will have a log of SNAP initializing and figuring out what modes are available.

I'd start with that, if you want grab it and post it here we can work through it's contents. Take a look at what's included in mine (attached to this post).

Beyond this, whenever I've seen this type of a situation it almost always has been caused by a monitor EDID that SNAP interpreted as something that did not support a particular resolution you selected. The weird thing is that you actually do see that resolution shown but upon re-boot it does not become the active resolution. I would hope the graphics.log file will tell us a bit more about that.

One thing you could try is to turn OFF the DDC detection logic, you can do so by including the following in your CONFIG.SYS:

SET VCFG_NO_DDC=TRUE

That is supposed to force SNAP to using the resolution and settings you specified as opposed to checking the monitor capabilities at boot time.

152
Applications / Re: SAMBA Network access denied
« on: October 05, 2020, 09:47:58 pm »
Hi Neil,

I can verify that ndpsmb.dll 3.7.1 dated July 28, 2020 is in ArcaOS 5.0.6. I'm seeing the dates messed up, but the exact cause is unknown. I'll edit this message if I find the cause.

3.7.2 is out, maybe give that a try?

I went from 3.7.1 here to 3.7.2, no issues to report, but I wasn't specifically trying to address a particular problem as my OS/2 box is a CLIENT only to the LAN NAS box.

153
Internet / Re: FF 45.x and CPU spikes
« on: October 05, 2020, 09:41:50 pm »
Hi Dave,

...Occasionally here, I get high CPU usage after a long uptime, this doesn't go away until I revert to a backup of my profile. No idea what causes this. I did seem to fix it last time by killing the browser and restarting, needs more testing.
...Here is a test, http://www.gus.biysk.ru/os4/test/timerTest.html
Probably other issues as well.

I supposed there are other things that come into play here as well.

For example, I find that FF behaves somewhat differently depending on whether I have the following in my CONFIG.SYS:

SET NSPR_OS2_NO_HIRES_TIMER=1

Normally I do have it set as above in order to DISABLE the hires timer. The test you provided the link to (thanks, great reminder) produces pretty steady values and a whole bunch of misses (all RED) when I'm running with the hires timer enabled.

Now the curious thing is: does the /NOHLT option change that?

Yeah...somewhat. The hires timer will produces a steady set of good results provided that I have minimum of FF activity (actual in-browser use), the minute I start browsing that goes to all RED!

Either way all of this may be a moot point, as it turns out the results I was seeing with GMAIL are no longer present. Meaning, the spikes continue regardless of what application/tab have the focus. So much for that...LOL!

154
Internet / Re: FF 45.x and CPU spikes
« on: October 05, 2020, 09:18:46 pm »
Hi Doug,

I see that a lot. I have determined that it is the web site trying to force advertising on you. I use a HOSTS file to block a lot of that stuff, and it is pretty effective, but the web page authors seem to have discovered that they need to keep on retrying, constantly, until it works. That produces "spikes". When you go to a site, like GMail, they try to force as much advertising as possible, and most of it seems to consist of full length movies, which also causes spikes. Don't blame Firefox for that.

Yeah, I agree with you, which is the reason why I've been relying on the modified HOSTS file for a few years now, NoScript for at least a couple years, and most recently (about 6 months ago I would say) I deployed uBlock. So yeah, as best as I can tell I think I have the hatches pretty much locked down here...LOL!

I suspect the symptoms I'm seeing are primarily caused by the FF issues Dave highligted in his post. I know that killing off certainly web page images using the uBlock add-on gives you a bit more control. However, certain scripts that run in the back-end can be difficult to kill, and at times they flat-out break the site functionality.

...
Quote
However, a little over a month ago I was testing the 3.23.14 ACPI release on the AOS Testers list and found some weird stuff, specifically it was no longer possible to shut OFF a particular CPU core b/c the ACPI Power Manager would continually overwrite that change and effectively bring the core back on-line (that causes me a problem here, but that's a different story).

That has always been the case. You must use the parameter in CONFIG.SYS (and reboot to activate it). Trying to use the command will turn off one, or more, processors, but as soon at ACPI decides it needs more power (usually very quickly), it will turn them back on for you.

Ahh, now this I want to specifically comment on, because what you state is simply NOT quite the case.

Until the 3.23.14 TEST3 version was out, it was possible to run the ACPI drivers with the Power Manager in DISABLED status, which gave you control over actual CPU core status. You could bring any of them down or up as needed. I know, I have relied on this approach basically since going live with SMP and using the ACPI driver set. In fact, strangely enough, even if you had Power Manager ENABLED I still could control the CPU core activation. So I suspect that the previous versions of ACPI drivers wasn't quite able to manage/control something else in my hardware.

Like you, I expected that when the Power Manger is ENABLED the ACPI driver would completely control the CPU cores. However, when DISABLED the ACPI driver should NOT touch the CPU cures.

However, I reported my issue when TEST3 was out and never heard back. Eventually when the 3.23.14 was officially released the previously working functionality completely went away.

Again, keep in mind that when the Power Manager is DISABLED (OFF status) the ACPI driver should NOT be making any changes to the CPU cores.

155
Internet / FF 45.x and CPU spikes
« on: October 05, 2020, 05:28:21 pm »
So if there is one complaint I have here about FF (ignoring the other blatant problems such as inability to view certain sites) it is that certain sites which do render correctly cause the CPU to spike and stay at the consistent 25-40% level across all the cores on my machine.

I have been able to track this down to specific sites, for example GMAIL is one. So long as the browser window (tab) that has GMAIL opened is focused on the spikes continue. Even after I switch to a different window (I run the XPager here, so a total of 9 virtual Desktops) the CPU spikes continue UNLESS I first open a new TAB in the same browser window that has the GMAIL tab and leave that as the last focused tab.

So for the most part I ignore it, let the spikes continue and just live with it.

However, a little over a month ago I was testing the 3.23.14 ACPI release on the AOS Testers list and found some weird stuff, specifically it was no longer possible to shut OFF a particular CPU core b/c the ACPI Power Manager would continually overwrite that change and effectively bring the core back on-line (that causes me a problem here, but that's a different story).

I logged an issue for this, the root cause has not been identified so far, but I priodically check the status of the ticket.

Well, I was out there last night and spotted another issue that was logged regarding the msg passing delays that are being seen, see https://mantis.arcanoae.com/view.php?id=3019. In that update a suggestion was made that the /NOHLT option produces a different result, a better performing one.

I was curious, so I tried it out. To my suprise here is what I found (see attached screenshot): the normal FF usage shows the spikes, but the instant FF is no longer the foreground application with focus the spikes go away. This is very different from the symptoms I described at the start of my post. The result actually is that the minute I am done looking at my GMAIL and switch to another window, another application, the spikes completely go away.

156
Hardware / Re: Question about a sound card and GPU
« on: October 05, 2020, 04:38:13 am »
Helo Mr. X!

I was researching my options to move forward. And found a comfortably priced  ATI Radeon X800 XL 256MB PCI-E ...It comes with a dvi and vga. Will i be able to use a hdmi to dvi with no problems? I use a monitor with only hdmi connections. A 40 inch 4k monitor.

You should be fine there. I'm using the ATI X850 XT PE with a dual-head display (Dell U2412M panels: one through DVI, one through VGA), both running 1920x1200x32.

The biggest question will be whether the hdmi-to-dvi converter will work for you?

157
Applications / Re: FreeRDP - we have options!!!
« on: September 30, 2020, 07:59:18 pm »
Hey Doug,

Another option, that I haven't tried for a few years, is VNC. There are multiple platform versions at: https://www.realvnc.com/en/connect/download/vnc/. I know that it did work, when I tried it, but I don't know if the latest will still work with our old VNC viewer. There is an updated VNC viewer at https://hobbes.nmsu.edu/download/pub/os2/apps/internet/misc/vnc-wpi-20200917.zip which might be more usable.

Hmm...I've had VNC installed on my OS/2 box for a number of years now. Previously, before the RDesktop and FreeRDP was ported I was using VNC to do a full session VNC connection, but that was a FULL Desktop thing, not an application specific window mapping.

Andrey does have an updated version of VNC on his site as well (http://os2.snc.ru/product-VNC.html), I haven't tried it out yet, so I can't talk to what (if anything) has changed.

158
Applications / Re: FreeRDP - we have options!!!
« on: September 30, 2020, 07:52:28 pm »
Hi Andi,

Does this setup allow the "remote application" to store data on the local (read JFS) drive? Without lan shares (without samba)? ...

Well, the good (hopefully?) news is that the FreeRDP client does provide for mapping of remote devices, and something like HDD certainly applies. I haven't personally tried this having been sort-of eyeballs deep ;D into making the application-level RDP confgured and tested, but I'll give this a shot within the next couple of days.

I am going to venture a guess that if the mapping does work well enough, it'll probably be more of that seamless storage type of a "warm-hole" (ha ha, sorry couldn't resist the Space Geek temptation here) connection. I'm not sure that an application like FF would be able to use that, after all, it has to start up on the HOST side first I think.

159
Applications / FreeRDP - we have options!!!
« on: September 30, 2020, 03:34:00 pm »
So I thought I would summarize my experience with this particular approach to working around our platform issues, one of them being a badly out-of-date web browser.

Some of you may be aware of the excellent FreeRDP (http://os2.snc.ru/product-freerdp.html) port that Andrey Vasilkin has made available. I have been using his previous version of the RDesktop (http://os2.snc.ru/product-rdesktop.html) for a while now. When he made the FreeRDP available I jumped at it because it offered something significant: the ability to run a remote APPLICATION as if it was a local app.

Now let me detail some of the pre-requisites because this isn't one of these solutions that everyone can use. But, if you have a Winx box running on your LAN (or even WAN) you certainly could deploy this approach.

In short, if you have such a Windows installation accessible to you, you can serve a particular APPLICATION on that HOST machine. FreeRDP is the client side of the RDP solution that will allow you to effectively just RDP to that single application the host is sharing. This is the key difference between something like RDesktop, which does a whole session sharing where the whole Win Desktop is available. As much as sometimes that's the preferred way to access, at other times this introduces a significant amount of overhead.

Subsequently, with FreeRDP you can certainly be a single-click away from having access to a Firefox 'whatever version' you need that you have running on that remote HOST, and it being served up locally on your OS/2 WPS literally as if it was just another PM window.

BUT

...there is of course a caveat that comes with this.

In order to be able to serve that application on the HOST side you need to run a Win Server OS, such as 2008, etc., basically something that has the Terminal Server (Remote Desktop Services) component up and running. So what is one to do if this is not an option?

Well, there is an alternative. Take a look at Thinkstuff (https://www.thinstuff.com/products), and in particular their XP/VS Terminal Server. There are several options available as far as the licensing configuration. The lightest option is the 'Lite' configuration, and at $39.99 USD that's a pretty low-entry to a viable way of "running" (double-quotes there b/c you're NOT really running it locally, this is not ODIN, rather only serving the display) most Winx applications locally on your OS/2 box.

So how did this pan out for me?

My Windows server is a Win7 Pro 64-bit box. I installed the Lite version of the ThinStuff's 'XP/VS Terminal Server' and was able to configure a WPS object that invokes the Firefox browser on that Win7 machine and serves it out locally on my OS/2 box.

This is on a LAN (so pretty quick) and even watching YouTube videos that actually works. There are some audio issues I'm encountering, intermittend drop-outs, etc., but video and audio is already a heavy application, so the mere fact that I can get to numerous web-sites while still directly in front of my OS/2 screen is great!!!

Anyways, for what it's worth, there is an alternative some of us may be able to use.

160
Setup & Installation / Re: QT5
« on: September 27, 2020, 03:12:41 am »
...but QT4 and QT5 are NOT compatible, correct?

Meaning: they cannot be both installed...it's either one or the other.

161
Programming / Re: REXX and double quoted INPUT parameter strings
« on: September 26, 2020, 08:20:13 pm »
Alright you guys!!!

Andreas,
Thank you sir, I wholly took advantage of your sample code and made good use of it.

I've attached my current version of the rsync copy routine (rename the 'TXT' extension to 'CMD'). By all means, take a look, give me some feedback. Flip on the DEBUG flag in the code to get a pile more info on what's going on (as usual).

If you are going to run it keep in mind that the RSYNC '--dry-run' option is currently in-place to make sure that no actual changes are done. If you want RSYNC to actually modify the filesystem adjust accordingly by simply removing that one option.

Pretty usable at the moment, but the rsync options build could use a little refinement, so I'm going to re-work this to make it a little bit more self-explanatory to someone who does not know much about RSYNC.

Anyways, here is how you run it (sample params for my use here):

Code: [Select]
rsync_backup.cmd NAS "G:/DESKTOP/Misc Info" "V:/public/documents"

But to make it usable for the cron2 utility I simply tossed this into a two liner CMD file as follows:

Code: [Select]
@echo off
rsync_backup.cmd NAS "G:/DESKTOP/Misc Info" "V:/public/documents"

This is the output in the console:

Code: [Select]
[G:\util\misc]rsync_backup_AUTOMOTIVE.cmd
Starting RSYNC for LOCAL to NAS backup!

SOURCE_FOLDER => G:/DESKTOP/Automotive
TARGET_FOLDER => V:/public/documents

===============================================================================
RSYNC started:     09/26/20 - 13:58:59...

SOURCE_FOLDER => G:/DESKTOP/Automotive
TARGET_FOLDER => V:/public/documents

RSYNC completed:   09/26/20 - 14:00:16...

RSYNC took 77.260000 seconds to complete the NAS backup task!
===============================================================================

...while this gets sent to the rsync LOG:

Code: [Select]
===============================================================================
RSYNC started:     09/26/20 - 13:58:59...

SOURCE_FOLDER => G:/DESKTOP/Automotive
TARGET_FOLDER => V:/public/documents

RSYNC CLI =>--dry-run --archive --delete --progress --stats --whole-file --no-xattrs --human-readable --quiet --exclude-from=G:\mptn\etc\rsync_exclude --log-file=G:\tmp\log\rsync_NAS_backup.log  G:/DESKTOP/Automotive V:/public/documents

-----------------------------------------
2020/09/26 13:58:59 [516] building file list
2020/09/26 13:59:29 [516] .d..t...... Automotive/Mopar/Tech Info/ENGINE/Oil System/
2020/09/26 14:00:16 [516] Number of files: 7281
2020/09/26 14:00:16 [516] Number of files transferred: 5
2020/09/26 14:00:16 [516] Total file size: 14.42G bytes
2020/09/26 14:00:16 [516] Total transferred file size: 340.09K bytes
2020/09/26 14:00:16 [516] Literal data: 0 bytes
2020/09/26 14:00:16 [516] Matched data: 0 bytes
2020/09/26 14:00:16 [516] File list size: 195.46K
2020/09/26 14:00:16 [516] File list generation time: 0.001 seconds
2020/09/26 14:00:16 [516] File list transfer time: 0.000 seconds
2020/09/26 14:00:16 [516] Total bytes sent: 197.78K
2020/09/26 14:00:16 [516] Total bytes received: 2.32K
2020/09/26 14:00:16 [516] sent 197.78K bytes  received 2.32K bytes  2.55K bytes/sec  elapsed 00:01:18
2020/09/26 14:00:16 [516] total size is 14.42G  speedup is 72068.45 (DRY RUN)
-----------------------------------------

RSYNC completed:   09/26/20 - 14:00:16...

RSYNC took 77.260000 seconds to complete the NAS backup task!
===============================================================================

162
Web applications / Re: FF 45.x and resulting broken sites
« on: September 25, 2020, 01:52:10 pm »
Hi mauro,

downloaded Pmunimix installer and run its executable icon, it just shows properties, no file execution

run it from command line, most likely you are missing a required DLL, in that case you should see something along those lines about THAT specific missing DLL

163
Web applications / Re: FF 45.x and resulting broken sites
« on: September 21, 2020, 05:01:23 am »
Hi David,

Hi Dariusz,

  Any chance you are using a 'hosts' file that may be interfering with LinkedIn?

Regards,

Yeah, I thought about that as well. Checked, re-tried with couple of the entries commented out, no change.

I have a LOG of FF about:config changes I make, so I'll go back and see if something there screwed things up. It wasn't so long ago that I was able to log-in, although the site would completely peg the CPU cores to the max.

Thanks for the feedback you guys. If I come across a root cause I'll report-back!


164
Applications / Re: uBlock origin for Firefox 45 - which version?
« on: September 19, 2020, 07:26:52 pm »
OK, solved.

I had to open about:config. Then I've entered the filter xpinstall.signatures.required
..

Glad you got it, I just thought to myself "aha...about:config to the rescue" as I was reading your first response!!

165
Applications / Re: uBlock origin for Firefox 45 - which version?
« on: September 19, 2020, 04:23:58 pm »
Hi Andreas,

I have 1.16.4.25 working very well here. In fact I just upgraded to that version from a prior 1.16.4.20.

Pages: 1 ... 9 10 [11] 12 13 ... 61