31
Multimedia / Re: AVX safe FFmpeg
« on: March 01, 2021, 06:39:05 pm »
I believe that a successful build with AVX is an accident and I suggest disabling the AVX code until the link is fixed.
OS2World.com Forum is back !!!
Remember to visit OS2World at:
http://www.os2world.com
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.
There's a new version uploaded to netlabs-exp. To quote,QuoteI've uploaded a new version 4.2.2-4 to netlabs-exp with -fno-common --disable-avx2 --disable-avx512. Note that I still use --disable-avx2 because of my current assumption that it is not safe to generate AVX2 code w/o a proper alignment support from GCC (see my comment above). I guess that it works for you now just by accident.untested here.
Closing this. Please feel free to reopen if the new RPMs don't work for you.
This FFmpeg plays videos fine on my system, CPU supports AVX, OS/2 kernel which doesn't.Yes of course. So everything will be, if the kernel does not support AVX, then this code is not included and another algorithm works that does not require special alignment.
Hi Igor,
Do you have a quick pre-requisites summary?
I ask b/c trying on non OS4 kernel (assuming here that it runs w/o the AVX instructions in such a scenario) shows the following:Code: [Select][G:\test\ffmpeg_avx]ffmpeg
SYS1804: The system cannot find the file VORBIS0.
...so clearly a missing DLL.
Thanks!
I found that one as well, but when installed it claimed to be expired. So not sure if I got ahold of a bad one?I'm sorry, but I have no way to check it at all. No equipment available...
@Igor, looks like you don't have libevent installed.Thank you very much! Started!
______________________________________________________________________
Exception Report - created 2021/01/21 13:57:58
______________________________________________________________________
OS2/eCS Version: 2.45
# of Processors: 4
Physical Memory: 3542 mb
Virt Addr Limit: 2752 mb
Exceptq Version: 7.11.3-shl (Jul 5 2016)
______________________________________________________________________
Exception C0000005 - Access Violation
______________________________________________________________________
Process: I:\3\SIMPLEBROWSER.EXE (10/13/2020 18:33:21 1,837,431)
PID: 38 (56)
TID: 01 (1)
Priority: 200
Filename: C:\USR\LIB\QT5GUI.DLL (10/18/2019 07:37:27 3,996,145)
Address: 005B:16948443 (0001:00008443)
Cause: Unknown access fault
______________________________________________________________________
Failing Instruction
______________________________________________________________________
16948435 JZ 0x16948581 (0f84 46010000)
1694843B MOV EBX, [ESP+0x2c] (8b5c24 2c)
1694843F MOV ESI, EAX (89c6)
16948441 XOR EDX, EDX (31d2)
16948443 >DB 0xc5 (c5)
16948444 STD (fd)
16948445 OUTSD (6f)
16948446 AND EAX, 0x1694d4b0 (25 b0d49416)
______________________________________________________________________
Registers
______________________________________________________________________
EAX : 20060F80 EBX : 2004CB60 ECX : 00000090 EDX : 00000000
ESI : 20060F80 EDI : 00000089
ESP : 0083DB10 EBP : 0083DB88 EIP : 16948443 EFLG : 00010246
CS : 005B CSLIM: FFFFFFFF SS : 0053 SSLIM: FFFFFFFF
EAX : read/write memory allocated by LIBCN0
EBX : read/write memory allocated by LIBCN0
ECX : not a valid address
EDX : not a valid address
ESI : read/write memory allocated by LIBCN0
EDI : not a valid address
______________________________________________________________________
Loading DLL 'libcx0' --> C:\USR\LIB\LIBCX0.DLL.
Loading DLL 'libcn0' --> C:\USR\LIB\LIBCN0.DLL.
Loading DLL 'stdcpp6' --> C:\USR\LIB\STDCPP6.DLL.
Loading DLL 'Qt5Core' --> C:\USR\LIB\QT5CORE.DLL.
Loading DLL 'Qt5Wdgt' --> C:\USR\LIB\QT5WDGT.DLL.
Loading DLL 'Qt5WebW' --> NOT loaded!
Unable to load DLL 'Qt5WebW'. DosLoadModule returned: 2
OS/2 reports 'EVNT217' contributed to the failure.
Loading DLL 'Qt5Gui' --> C:\USR\LIB\QT5GUI.DLL.
Loading DLL 'Qt5Net' --> C:\USR\LIB\QT5NET.DLL.
Loading DLL 'Qt5WebC' --> NOT loaded!
Unable to load DLL 'Qt5WebC'. DosLoadModule returned: 2
OS/2 reports 'EVNT217' contributed to the failure.
Loading DLL 'gcc1' --> C:\USR\LIB\GCC1.DLL.
2) I use frequently my Lotus Smart Suite (last version 1.73), but I can't open or use a Spread SheetI repeated this in a virtual machine(OS/4 guest in OS/4 host). I have correctly worked Lotus 123 with the OS / 4 kernel. But the virtual machine has 1 processor. Try turning off a lot of cpu for the test. It's interesting to check it out. If it works, then you can mark the executable files to run on one processor.
with your kernel, because the system hang almost immediately, and I have to reboot manually CAD
don't function.
I can use WordPro (from the same suite) without hang the system.
Try to disable dos=umbMany big thanks!
set
DOS=HIGH,NOUMB
in config.sys
and check in vdm settings of each dos session shotcut , incl win/os2 sessions
Ps dos+emm386 runs on this motherboard with
device=c:\dos\emm386.exe /nomovexbda noems ram
Are you with UEFI support enabled and with a latest ArcaOS on this machine. As far as I understood there were some changes/updated on the drivers to run VDM (Virtual DOS) on UEFI mode. Maybe the issue goes on that side.
If the issue is happening on ArcaOS 5.0.6 with UEFI mode, I think it will be good to open a ticket.
19.11.2020 22:58:30 SYS 0 PID 0038 TID 0001 Slot 00A7
C:\OS2\PMSHELL.EXE
16D7FFFF
EEF3FFFF
P1=FB92E113 P2=2F0CE14B P3=FF62F000 P4=FEE2E10E
EAX=00006247 EBX=0000FFFF ECX=0000E118 EDX=0000FEC2
ESI=000091C3 EDI=00001240
DS=0348 DSACC=1092 DSLIM=00010FFF
ES=FFFF ESACC=0000 ESLIM=00000000
FS=0000 FSACC=0000 FSLIM=00000000
GS=0000 GSACC=0000 GSLIM=00000000
CS:EIP=EB00:00000313 CSACC=0000 CSLIM=00000000
SS:ESP=FFFF:00000A74 SSACC=0000 SSLIM=00000000
EBP=00000A6A FLG=000A6212