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 [2] 3 4 ... 90
16
Applications / Re: XWP v1.0.16
« on: April 29, 2024, 02:32:53 am »
Hello Martin,

...I think that XWPProgramFile Class (or is it some other WPS Class?) has already something implemented (See picture) on the "Module" tab. But I have no idea how to have the same information for DLLs files...

Hmm...so for some reason I do not see this being populated for some EXEs, such as the NewView.exe, where at CLI there certainly is BLDLEVEL info showing.

DLL wise, turns out that not all DLLs are classified as XWPProgramFile object, which is perhaps why so it happened that the DLLs I was looking at showed no such Module tab.

So at a follow-up, two actually, I'm curious:
1) DLL object type conversion
- reading that other thread you shared, it seems like this was a manual process that needed to be done for every new DLL, is that correct?

2) re: XWP NEW Feature request: now that I understand what's already there (or should be there), I would like to just stick to the menu selection which would simply show that BLDLEVEL info in it's own pop-up

17
Applications / Re: XWP v1.0.16
« on: April 29, 2024, 12:52:50 am »
Rich,

New feature request: would you consider implementing BLDLEVEL file object pop-up functionality?

What I'm envisioning is the ability to right click on a DLL, or any object that does contain the BLDLEVEL information, and have this stuff either pop-up directly under some sort of 'Version' or 'BldLevel' menu entry, or perhaps another place such as under 'Properties'???

18
Multimedia / Re: mplayer - just stopped working...sort of...
« on: April 28, 2024, 08:01:50 pm »
Hello KO!

...
3. What's the value of '2D Acceleration' ?


"YES" on my machine


Then, your system should play a movie with 2D acceleration, that is, SNAP mode. Nevertheless, if it fails, your system or SNAP driver seem not to support 1080p with 2D acceleration. In order to verify this, how about other smaller clips than 1080p, such as 720p ?

Great pointer!!!

Sure enough, finding a few other videos I was able to play them through SNAP config, although that's not to say all 720s played, some would, some would not.

Then I remembered: the SNAP vidmem size is something I had tweaked in the past in order to free up max ram for my JFS cache (1G)...sure enough, I had it set to 18M, which for regular use was perfectly sufficient (1920x1200 x 2 heads). However, in this case, whether its the double-buffering or something else, perhaps this was causing me a problem?

I doubled up to 36M, and YUP...all of my 1080 vides play back just fine!!!

Eventually settled on 24M, which also happens to be the previous setting I had in place for a very long time...not sure why I had moved away from that, was probably experimenting with a larger JFS cache and just never remembered to bump that back up.

Anyways...sir: thank you for that spot-on remark!!!

19
Applications / Re: LarsenCommander - new test version
« on: April 28, 2024, 06:05:07 pm »
Hi Andi,
...
File xfer performance wise, here are the results for movement of a test 800M AVI file:

1) from SAMBA share to ramdisk
OLD:  Peak=58,270K, Avg=43,550K
NEW: Peak=56,220K, Avg=46,516K

...so I'm thinking this is more about being network bound (1G LAN, but of course the Samba share box - NAS is the limitation here)

2) from ramdisk to SSD drive (Samsung 860 Evo, SATA)
OLD:  Peak= 82,788K, Avg=  45,545K
NEW: Peak=310,118K, Avg=220,910K
...

Repeat of the same performance tests for the newest version:

1) from SAMBA share to ramdisk
OLD: Peak=56,220K, Avg=46,516K
NEW: Peak=51,367K, Avg=45,832K

2) from ramdisk to SSD drive (Samsung 860 Evo, SATA)
OLD: Peak=310,118K, Avg=220,910K
NEW: Peak=503,901K, Avg=311,825K

...which naturally made my eyeballs nearly pop out b/c let's be honest, my SSD isn't that fast!!!

So a re-do produced the following NEW:
NEW: Peak=430,674K, Avg=183,007K

...which while still pretty high for a Peak, I suspect this has everything to do with my crazy ass JFS cache, which is 1G in size.

Couple more tests later though the higher Peak appears to be sustained, so perhaps there is a little bit more improvement here Andi!!!?

Thank you again!

20
Multimedia / Re: mplayer - just stopped working...sort of...
« on: April 19, 2024, 02:40:44 am »

3. What's the value of '2D Acceleration' ?


"YES" on my machine

21
Networking / Re: Netdrive and ArcaOS
« on: April 08, 2024, 03:57:18 am »
Neil, everyone...

You can just run the NetDrive installer on ArcaOS, and it will replace the Arca Noae version with the full version. It even keeps your NetDrive settings the same.

Slightly different outcome here, although this is OS/2 SMP 4.52, so not an out-of-the-box AN install.

Anyways...I have been using NetDrive for some years now, and have installed in the same configuration the AN ArcapMapper stuff, primarily for testing purposes.

Both work, one does not replace the other (as far as binaries go), from functionality perspective that is somewhat the case (with the already mentioned shortcomings of the AN solution), but the programs are different.

So Glenn, you should be able to install NetDrive and have it functioning on it's own...but as mentioned, carefully navigate as both of these solutions attempt to deliver the same functionality.

22
Multimedia / Re: mplayer - just stopped working...sort of...
« on: April 08, 2024, 12:58:32 am »
Hello KO!

...Try -msglevel vo=9 for detailed message, please.

OK, done...here are the snippets for both SNAP & VMAN (where VMAN did actually work and SNAP did not):

1) SNAP
Code: [Select]
MPlayer 1.5-9.1.0 (C) 2000-2022 MPlayer Team

Playing G:\tmp\AUTO\20210130_210808.mp4.
libavformat version 59.17.102 (internal)
libavformat file format detected.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x2f4cf0]Protocol name not provided, cannot determine if input is local or a network protocol, buffers and access patterns cannot be configured optimally without knowing the protocol
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac), -aid 0, -alang eng
VIDEO:  [H264]  1920x1080  24bpp  30.000 fps  16946.1 kbps (2068.6 kbyte/s)
KVA: Selected video mode = SNAP
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 59.21.100 (internal)
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
Clip info:
 major_brand: mp42
 minor_version: 0
 compatible_brands: isommp42
 creation_time: 2021-01-31T02:08:22.000000Z
 location: +42.2680-083.0048/
 location-eng: +42.2680-083.0048/
 com.android.version: 10
 com.android.capture.fps: 30.000000
Load subtitles in G:\tmp\AUTO\
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, floatle, 256.0 kbit/8.33% (ratio: 32006->384000)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
KAI: Open failed!!!
AO: [null] 48000Hz 2ch floatle (4 bytes per sample)
Starting playback...
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [kva] 1920x1080 => 1920x1080 Planar YV12
KVA: Using 0x32315659 (Planar YV12) image format, vo_config_count = 0
KVA: Selected FOURCC = YV12
KVA: Setup failed!!!
FATAL: Cannot initialize video driver.

2) VMAN
Code: [Select]
MPlayer 1.5-9.1.0 (C) 2000-2022 MPlayer Team

Playing G:\tmp\AUTO\20210130_210808.mp4.
libavformat version 59.17.102 (internal)
libavformat file format detected.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x2f4cf0]Protocol name not provided, cannot determine if input is local or a network protocol, buffers and access patterns cannot be configured optimally without knowing the protocol
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac), -aid 0, -alang eng
VIDEO:  [H264]  1920x1080  24bpp  30.000 fps  16946.1 kbps (2068.6 kbyte/s)
KVA: Selected video mode = VMAN
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 59.21.100 (internal)
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
Clip info:
 major_brand: mp42
 minor_version: 0
 compatible_brands: isommp42
 creation_time: 2021-01-31T02:08:22.000000Z
 location: +42.2680-083.0048/
 location-eng: +42.2680-083.0048/
 com.android.version: 10
 com.android.capture.fps: 30.000000
Load subtitles in G:\tmp\AUTO\
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, floatle, 256.0 kbit/8.33% (ratio: 32006->384000)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
KAI: Open failed!!!
AO: [null] 48000Hz 2ch floatle (4 bytes per sample)
Starting playback...
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [kva] 1920x1080 => 1920x1080 Planar YV12
KVA: Using 0x32315659 (Planar YV12) image format, vo_config_count = 0
[swscaler @ 0x79d2b0]bicubic scaler, from yuv420p to bgra using MMXEXT
[swscaler @ 0x79d2b0]using unscaled yuv420p -> bgra special converter
KVA: Selected FOURCC = BGR4
Fontconfig error: Cannot load default config file
Selected font is fixed-width.
Selected font is fixed-width.
A:   nan V:   0.0 A-V:    nan ct:    nan   0/  0 ??% ??% ??,?% 0 0

I truncated the remaining LOG entries because they are just repeating as the file continues to be read.

The only strange thing (perhaps?) which I noticed is that VMAN also shows "KAI: Open failed!!!" log entry, however it does produce actual video playback.

...How about trying to launch mplayer with default options, that is, just [mplayer mp4-file] ? In this case, you should rename your ini file.

Finally, this is true for VLC ?

In order to rule out any of my config options I ran from CLI having previously renamed smplyer's CONFIG file so that it wouldn't be pulled in.

Yes, this is consistent in VLC as well (3.0.18 here), which I have set to VMAN previously (at some point in time).

Thanks!

23
Multimedia / Re: mplayer - just stopped working...sort of...
« on: March 30, 2024, 07:49:35 pm »
OK, so DIVE made no difference, but as I looked into this more I noted that my mplayer version was a little old.

So off I went deploying the most recent release, alas, same result:

Quote
[G:\test\mplayer]mplayer.exe -xy 1 G:\tmp\AUTO\20210128_201140.mp4
MPlayer 1.5-9.1.0 (C) 2000-2022 MPlayer Team
Setting process priority: realtime

Playing G:\tmp\AUTO\20210128_201140.mp4.
Cache fill:  0.00% (0 bytes)

libavformat version 59.17.102 (internal)
libavformat file format detected.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x2f4cf0]Protocol name not provided, cannot determine
 if input is local or a network protocol, buffers and access patterns cannot be
configured optimally without knowing the protocol
[lavf] stream 0: video (h264), -vid 0
VIDEO:  [H264]  1920x1080  24bpp  30.000 fps  34089.8 kbps (4161.4 kbyte/s)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 59.21.100 (internal)
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
Clip info:
 major_brand: mp42
 minor_version: 0
 compatible_brands: isommp42
 creation_time: 2021-01-29T01:14:08.000000Z
 location: +42.2680-083.0048/
 location-eng: +42.2680-083.0048/
 com.android.version: 10
 com.android.capture.fps: 30.000000
Load subtitles in G:\tmp\AUTO\
Audio: no sound
Starting playback...
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [kva] 1920x1080 => 1920x1080 Planar YV12
KVA: Setup failed!!!
FATAL: Cannot initialize video driver.

..

24
Multimedia / mplayer - just stopped working...sort of...
« on: March 30, 2024, 07:23:15 pm »
I've been using mplayer for years...only recently (yesterday in fact) noticed that when attempting to play a MP4 file it looks like no actual video is created, although the app itself starts.

So looking into this I found the following in the LOG:

Quote
MPlayer SVN-r38083-9.1.0 (C) 2000-2021 MPlayer Team
Setting process priority: realtime

Playing G:\tmp\AUTO\20210128_201140.mp4.
Cache fill:  0.00% (0 bytes)

libavformat version 58.65.101 (internal)
libavformat file format detected.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x307b00]Protocol name not provided, cannot determine
 if input is local or a network protocol, buffers and access patterns cannot be
configured optimally without knowing the protocol
[lavf] stream 0: video (h264), -vid 0
VIDEO:  [H264]  1920x1080  24bpp  30.000 fps  34089.8 kbps (4161.4 kbyte/s)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 58.118.100 (internal)
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
Clip info:
 major_brand: mp42
 minor_version: 0
 compatible_brands: isommp42
 creation_time: 2021-01-29T01:14:08.000000Z
 location: +42.2680-083.0048/
 location-eng: +42.2680-083.0048/
 com.android.version: 10
 com.android.capture.fps: 30.000000
Load subtitles in G:\tmp\AUTO\
Audio: no sound
Starting playback...
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [kva] 1920x1080 => 1920x1080 Planar YV12
KVA: Setup failed!!!
...

...indeed, the "KVA: Setup failed!!!" is reporting out a problem initiating the video outout.

OK, so I went back to my startup CMD, which is:

Code: [Select]
@mode 80,60
G:\apps\multimedia\mplayer\mplayer.exe -xy %1 %2 %3 %4 %5 %6

And here is what my mplayer.ini file looks like:

Quote
# Write your default config options here!
# VIDEO
vo=kva:snap

# 'geometry' settings, where '+0+0' is the top left
# 'x:y' will put the display at this specific location
# 'x%;y%' will put the display at this percentage of the overall screen location (50%:50% would be center of screen)

# slightly moved from LEFT and TOP sides, good for 720 playback
#geometry=10%

# full-screen-width for 1080 playback (fits on HEAD-0 window)
geometry=0%

#aspect=16:9
double=yes              # double buffering(recommended for subtitles)
autoq=100               # AUTO control the video quality
#vf=pp=de,hqdn3d        # additional post-processing options
#vf=pp                  # additional post-processing options
#framedrop="1"          # For slow machines
#hardframedrop="0"      # Make sure hard frame drop is off but can turn on easily now

# AUDIO
ao=kai:dart
#ao=kai:uniaud
#srate=48000
softvol-max=300

#font=g:\psfonts\verdana.ttf
#subfont=g:\psfonts\verdana.ttf

codecpath=g:\apps\multimedia\mplayer\codecs

# OTHER CONTROLS
msglevel:all=5          # set the DEBUG level (5 = DEFAULT)
cache=20480             # set the TOTAL cache size
cache-min=50            # fill xx% of TOTAL cache before playback start
autosync=30             # sync up video/audio by adjusting the algorithm
#mc=1.0                 # up to how many seconds/frame to adjust
priority=realtime       # set the priority of mplayer (idle,belownormal,normal,abovenormal,high,realtime)

# Video Overlay Options and VIO Message Window Options
#really-quiet=yes       # limit what the VIO window shows
#fixed-vo=yes           # keep display output window open between different feeds
colorkey=0x000001       # change the background to off-black, instead of bright green

# Setting for Browser User Agent response
user-agent=NSPlayer/4.1.0.3856

Is anything jumping out at anyone here? Like I said above, this is the config I've been running for somet time now, heck, my last update of anything is about 2022 timeframe.

Going to try with DIVE next to see if that results in something different...

As always: thanks everyone!

25
Applications / Re: Windows Key - Custom Key Combination
« on: March 29, 2024, 07:23:15 pm »
Hi Martin,

Have you tried using win95key to do what you want?  There are quite a number of options there.

Perfect...you beat me to it ivan...I just responded to Martin's XWP thread with the same suggestion!

26
Applications / Re: XWP v1.0.16
« on: March 29, 2024, 07:22:05 pm »
When I add a hotkey, on the "Hotkey" field, I can only make key combinations that starts with the "Ctrl" and "Shift" key. ex:  "Ctrl+Shift+Alt+A" or "Shift+Alt+A" (Pic_001)
There can not be combinations that start or uses the "Windows key" or "Win Menu" key.

On OS/2, the Win and Menu keys are just "character" keys not "shift" keys. What you're asking for is equivalent to asking "Why can't I use '<Tab>-9' or <F3>-Q' as a hotkey combo?". Shift/Ctrl/Alt set flags to indicate they were down when some other key was pressed. There just isn't a Win or Menu flag in OS/2.

OK, but the Win95Key utility readily recognizes my WINeverything keys as separate objects: LWIN, RWIN & WINMENU, so while w/o looking at it's code it's hard to tell whether these are just internal definitions (for it's own purposes) or actual key values, the point remains: these keys are recognized as being unique keys different from all the other keyboard keys.

...Maybe using an "Object Hotkey" which lets you set a key-combo to open an object will serve some of your needs. You can set this on the 'Icon' page of any object's notebook (e.g. have Dooble open when you press "Alt-Shift-D').

Martin,
I realize this isn't the XWP answer you are looking for, but the Win95Key util could be used to define such combinations and in a sense 'introduce' the functionality you are looking at into XWP...further research needed though as I haven't played with this. I simply use my WIN keys to map to frequently used OS/2 & WPS functions.

27
Programming / Re: REXX IDE recommendations?
« on: March 27, 2024, 01:23:38 am »
Does anyone have a recommendation for a REXX IDE, and preferably one that runs on traditional OS/2 (i.e as opposed to one that needs the libraries included with ArcaOS)?

IDE is perhaps the wrong word, I really just mean something that has good syntax highlighting or can even highlight errors...

My personal favourite is VSE (Visual SlickEdit). The only problem being: commercial software that was never released to the public domain after the OS/2 version releases were stopped.

Having said that, look around and you'll find it. The benefit, serious amount of not just syntax highlighting, but the abilityt organize things into Projects, etc, etc.

Truly a programmer's editor!

28
Programming / Re: fatal error: sys/cdefs.h: No such file or directory
« on: March 12, 2024, 03:30:54 am »
Do you know which package is needed to add the missing header files? This is the gcc from netlabs-rel (9.2.0-4.oc00)

'yum provides */sys/cdefs.h' at CLI will list a bunch of RPM packages...I'm thinking you'd pick the most appropriate one for your situation

29
Applications / Re: XWP v1.0.16
« on: March 03, 2024, 08:23:02 pm »
Rich & Martin,

Query os2.ini->PM_SystemFonts->WindowText to get the font name & size, then use it.

Which specific lswitch282.ini key are we talking about here?

I see the following:

1) TitleFont
2) ButtonFont (which I suspect is the TaskBar button)
3) HintsFont

...haven't tried any of them yet as none seem to imply the PopUp font control, which is what I'm interested in changing (b/c the TaskBar seems to be just fine).

30
Setup & Installation / Re: CUPS tripped up SeaMonkey and Firefox
« on: February 10, 2024, 02:55:12 pm »
...Press CTRL-P and in the printing dialog box, change your printer to no printer or IBMNULL, close the browser and retry. If it works, repeat with SeaMonkey.
If it doesn't work, report how far along you got, we may have to edit your prefs.js file.
Of course the simplest is if you have a backup from before you played with printing, if so if so, let me know and I'll explain how to replace prefs.js

Dave's right on the money here if you can start the application in safe mode.

I believe the actual config preference that points to the ACTIVE printer (basically the last selected one) is "print_printer", so if the applications are unusable it may be necessary to look for that in prefs.js and adjust it there accordingly.

In my case, here is what that looks like in prefs.js:

Code: [Select]
user_pref("print_printer", "PSPRINT.Brother HL-5470DW");

You will see other printers listed in your prefs.js, you could simply pick a value that represents such a valid printer and put that into the "print_printer".

For example, the above printer is actually defined as:

Code: [Select]
user_pref("print.printer_PSPRINT.Brother HL-5470DW.printer_description", "Brother HL-5470DW BR-Script3 OS (PSPRINT)");

If that does not work, it may be possible to just set that to a NULL value, perhaps just "", but I haven't tried that.

Pages: 1 [2] 3 4 ... 90