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 ... 89
1
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.

2
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!

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

..

4
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!

5
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!

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

7
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!

8
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

9
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).

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

11
Setup & Installation / Re: CUPS tripped up SeaMonkey and Firefox
« on: February 09, 2024, 11:38:03 pm »
...Pete, after reboot with the CUPS daemon removed from the Startup folder, trying to start SeaMonkey still gives the same error.

...Yes, the failures are indeed registered in popuplog.os2; here are the results of the latest attempts to start SeaMonkey and Firefox:

------------------------------------------------------------

02-09-2024  22:43:10  SYS3175  PID 0092  TID 0001  Slot 0086
F:\PROGRAMS\SEAMONKEY2\SEAMONKEY.EXE
c0000005
167507c7
P1=00000001  P2=00000001  P3=XXXXXXXX  P4=XXXXXXXX 
EAX=00000000  EBX=1731887c  ECX=5ad1e9f0  EDX=00000000
ESI=173187e4  EDI=00000000 
DS=0053  DSACC=d0f3  DSLIM=5fffffff 
ES=0053  ESACC=d0f3  ESLIM=5fffffff 
FS=150b  FSACC=00f3  FSLIM=00000030
GS=0000  GSACC=****  GSLIM=********
CS:EIP=005b:5e117d4b  CSACC=d0df  CSLIM=5fffffff
SS:ESP=0053:0013ff64  SSACC=d0f3  SSLIM=5fffffff
EBP=0013ff70  FLG=00010293

PSPRINT.DRV 0002:000107c7

------------------------------------------------------------

Aha...I think I know the root cause here, or at least a worthy attempt to fix this.

I have encountered this before while attempting to remove a FXPrint printer setup.

It would seem the application stores the printer selection from the last time you used that printer. However, if that printer is now no longer defined/present, the application may not gracefully handle that and it may subsequently crash.

This was some time ago, but I think I ultimately editted either the app INI settings, or the OS2.INI file for this specific application. By "editted" I mean I removed the reference to that printer which no longer existed on my system.

So in your case, given that Seamonkey is the culprit, check the appropriate entries that might reference the printer.

...in the meantime I'll scratch my head a little more to remember the specific of what I had encountered...

12
Applications / Re: libxml2 v2.11.5
« on: February 04, 2024, 11:15:47 pm »
ivan,

Excuse me for butting in but what is the difference between the i686 to pentium4 versions of any DLL and why is there the two versions?

The packages are built with CPU specific optimizations, and those will differ between i686 and P4. In particular for the P4 CPUs the focus is on using the MMX, SSE and SSE2 instruction set.

Keep in mind that this whole approach is applicable to multiple GCC compilation options, be it '-mtune' or '-march', and there are always the more generic options that just focus on generating either FASTER code, or SMALLER code.

13
Networking / Re: Updated Samba Client
« on: February 04, 2024, 12:09:53 am »
Client 20240127 seems to work fine...

...re-tried here and still getting a TRAP-D.

14
...not sure what else to try, but msg Andrey, I've worked with him on a few issues in the past and he's really good & attentive...so I'm guessing he'll give this things a try!

EDIT
====
No answers, but perhaps some more info to simplify the troubleshooting:

1) MS Info on Default Input Locales => https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-vista/cc766503%28v=ws.10%29?redirectedfrom=MSDN

2) FreeRDP issue tracker - 'Option to use the local keyboard layout' => https://github.com/FreeRDP/FreeRDP/issues/3121

- this is NOT quite what you are trying to do, but some of the comments reference the type of functionality that I think you are aiming to have

15
...
Code: [Select]
ofreerdp.exe /u:xxxx /p:xxxx /w:2100 /h:1800 /kdb:de /v:m92p or any other value I tried for /kdb including /kbd:0x409 does not. :-(

Could it be that you need to spec out the "lang" part of this as well?:

Code: [Select]
ofreerdp.exe /u:xxxx /p:xxxx /w:2100 /h:1800 /kdb:0x407,lang:0x407 /v:m92p


This should set both the keyboard layout AND language to be used. I'm assuming here both IDs are the same value for German setup.

Pages: [1] 2 3 ... 89