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 - KO Myung-Hun

Pages: [1] 2 3 ... 5
1
Programming / Re: GCC - updates
« on: Today at 12:54:33 pm »
Thanks, but I checked and -Zomf is definitely being used :(

That's too bad. Then how about trying to build with kLIBC ? This could be a regression of LIBCn.

2
Programming / Re: GCC - updates
« on: February 18, 2025, 12:20:54 pm »
One interesting nit is that when attempting to build something with cmake/ninja in parallel mode, I get:
Code: [Select]
c++.exe: fatal error: cannot execute 'C:/usr/local1501/bin/../libexec/gcc/i686-pc-os2-emx/15/cc1plus.exe': spawnv: Resource busy
compilation terminated.

'ninja -j 1' seems to work OK.

I've encountered this when building gcc v14.2.0 with 'ld.exe'. In my case, adding '-Zomf' to LDFLAGS when building gcc fixed this problem.

3
Multimedia / Re: uniaud.dll test
« on: February 06, 2025, 03:30:22 pm »
Hi/2.


Quote
How did you test?
I test it by running a .mp4 file and applause.wav. Before changing the DLL and after. In my case I hear no difference changing the DLL or not. But my issue is that I had never been someone that can appreciate the sound fidelity of audio at low level.

What's your player to play a .mp4 file and applause.wav?

Quote
I tried kaidemo.
- https://youtu.be/z-fIzcGf7-M
It sound to me like a pause in applause.wav. But I don't see any difference on the system sound.

System sounds don't use Uniaud APIs at all. Testing with it is irrelavant.

You should test with apps using Uniaud APIs such as MPlayer, VLC, fluidsynth, KMP and so on.

To test with kaidemo correctly, do like:

Code: [Select]
1. Run kaidemo with the original uniaud.dll.
2. Replace the original uniaud.dll with the new uniaud.dll. You don't have to reboot.
3. Then, run kaidemo again.

Nevertheless if there are no differences, you're lucky. It's fine to use the original uniaud.dll.

4
Multimedia / Re: uniaud.dll test
« on: February 06, 2025, 09:17:41 am »
What do you mean by 'no difference'? Both has no problems or both has problems?

How did you test?

You can use the attached program for test like:

Code: [Select]
kaidemo wav-file 2

'2' means UNIAUD mode.

You can use any *.wav files in \MMOS2\SOUNDS\.

5
Programming / Re: GCC - updates
« on: February 05, 2025, 03:19:11 pm »
No problems here, thanks!

6
Applications / Re: XWP v1.0.17
« on: February 05, 2025, 03:18:46 pm »
I've installed and been using without any problems.

Thanks!

7
Multimedia / Re: uniaud.dll test
« on: February 04, 2025, 04:37:56 am »
Oh, good!

If it works, I recommend to use UNIAUD mode with setting KAI_AUTOMODE=UNIAUD. UNIAUD mode is more stable than DART mode.

8
Multimedia / uniaud.dll test
« on: February 03, 2025, 05:35:06 am »
Hi/2.

If you are using Uniaud audio drivers, test the attached dll, please.

This should fix the ugly audio problems such as choppy, stutterring and distorted when using UNIAUD APIs directly not DART interface.

To use UNIAUD APIs, you should unset KAI_AUTOMODE or set KAI_AUTOMODE=UNIAUD.

You can use MPlayer or VLC to test.

9
Hi/2.

Execution Engine:            native API
Nested Paging:               Inactive
Unrestricted Execution:       Inactive
Execution Cap:                100
Paravirtualization Interface:   None

Your VM is not using HW acceleration. Is the green turtle shown on an earlier macOS version with VirtualBox 6 ?

Quote
      
Acceleration:
   Paravirtualization Interface:   Native
   Hardware Virtualization:      YES - Enable Nested Paging

I recommend to use 'default' for 'Paravirtualization Interface'.

10
Here are my test result:

Code: [Select]
                                          1CPU              2CPUs
configuring of liba52(autotools):       00:13.75          01:08.00
building of liba52(make):               00:06.64          00:12.82
configuring of fluidsynth(cmake):       00:49.88          03:46.80
building of fluidsynth(make):           00:46.57          01:59.65

However, building time of dav1d using meson and ninja with 2 CPUs is as half as 1 CPU.

If there are any ways to improve performance on VirtualBox SMP, please share them.

** ADDED **
Code: [Select]
                               1CPU          2CPUs
configuring of dav1d(meson): 00:11.65      00:18.48
building of dav1d(ninja):    01:30.84      00:53.35

11
@DavidR Check if your hardware virtualization is activated. You can check if a turtle() or a V() is on the status line for this. And if moving mouse cursor over it, you can see the detailed status for virtualizaiton.

12
In my cases, setting CPU count to 1 increased performance. More CPUs than 1 decreased performance to 5x to 10x, especially when using autotools and cmake and so on.

13
Programming / Re: Qt6 Development
« on: January 31, 2025, 03:04:49 am »
What I meant is your build instruction has no problems at all.  :)

Thanks!

14
Programming / Re: Qt6 Development
« on: January 30, 2025, 02:52:45 pm »
I've built Qt6 from the main branch successfully.

The reason why I failed:

1. '-release' should be before '--'.
2. The buld failure of Qt6Gui is due to my own build environment preferring static libs.
3. The failure of AutoUic is due to wrong BEGINLIBPATH setting. Thanks Rich Walsh!

15
Programming / Re: Qt6 Development
« on: January 28, 2025, 05:15:25 pm »
I failed to build.

First, building QtGui failed due to missing -lexpat.

Second, AutoUic failed. Here are the logs:

Quote
ninja.log
[1/1550] Automatic MOC and UIC for target Widgets
FAILED: src/widgets/Widgets_autogen/timestamp src/widgets/Widgets_autogen/mocs_compilation.cpp G:/lang/work/qt6/qt6-base-os2/build/src/widgets/Widgets_autogen/timestamp G:/lang/work/qt6/qt6-base-os2/build/src/widgets/Widgets_autogen/mocs_compilation.cpp
cd G:/lang/work/qt6/qt6-base-os2/build/src/widgets && G:/usr/bin/cmake.exe -E cmake_autogen G:/lang/work/qt6/qt6-base-os2/build/src/widgets/CMakeFiles/Widgets_autogen.dir/AutogenInfo.json Release && G:/usr/bin/cmake.exe -E touch G:/lang/work/qt6/qt6-base-os2/build/src/widgets/Widgets_autogen/timestamp && G:/usr/bin/cmake.exe -E cmake_transform_depfile Ninja gccdepfile G:/lang/work/qt6/qt6-base-os2 G:/lang/work/qt6/qt6-base-os2/src/widgets G:/lang/work/qt6/qt6-base-os2/build G:/lang/work/qt6/qt6-base-os2/build/src/widgets G:/lang/work/qt6/qt6-base-os2/build/src/widgets/Widgets_autogen/deps G:/lang/work/qt6/qt6-base-os2/build/CMakeFiles/d/68873ff9d4a34f96e6fe7c1b463e2d689445426afcacf9f41c63bb398df41066.d
AutoMoc: G:/lang/work/qt6/qt6-base-os2/src/widgets/kernel/qwidgetrepaintmanager.cpp:0:1: note: No relevant classes found. No output generated.

AutoUic subprocess error
------------------------
The uic process failed to compile
  "SRC:/src/widgets/dialogs/qfiledialog.ui"
into
  "SRC:/build/src/widgets/Widgets_autogen/include/ui_qfiledialog.h"
included by
  "SRC:/src/widgets/dialogs/qfiledialog.cpp"
libuv process spawn failed: no such file or directory

Command
-------
G:/lang/work/qt6/qt6-base-os2/build/bin/uic.exe -o G:/lang/work/qt6/qt6-base-os2/build/src/widgets/Widgets_autogen/include/ui_qfiledialog.h G:/lang/work/qt6/qt6-base-os2/src/widgets/dialogs/qfiledialog.ui

Output
------


ninja: build stopped: subcommand failed.

Quote
config.opt
-prefix
/qt6-6.2.x
-no-opengl
-system-sqlite
-openssl-linked
-no-pch
--
-DQT_BUILD_EXAMPLES=ON
-DQT_BUILD_TESTS=OFF

Quote
config.summary

Building for: os2-g++ (i386, CPU features: )
Compiler: gcc 14.2.0
Build options:
  Mode ................................... release
  Optimize release build for size ........ no
  Fully optimize release builds (-O3) .... no
  Building shared libraries .............. yes
  Using C standard ....................... C11
  Using C++ standard ..................... C++17
  Relocatable ............................ yes
  Using precompiled headers .............. no
  Using LTCG ............................. no
  Target compiler supports:
    SSE .................................. SSE2 SSE3 SSSE3 SSE4.1 SSE4.2
    AVX .................................. AVX AVX2
    AVX512 ............................... F ER CD PF DQ BW VL IFMA VBMI
    Other x86 ............................ AES F16C RDRAND SHA
    Intrinsics without compiler architecture option  yes
  Sanitizers:
    Addresses ............................ no
    Threads .............................. no
    Memory ............................... no
    Fuzzer (instrumentation only) ........ no
    Undefined ............................ no
  Build parts ............................ libs examples tools
Qt modules and options:
  Qt Concurrent .......................... yes
  Qt D-Bus ............................... yes
  Qt D-Bus directly linked to libdbus .... no
  Qt Gui ................................. yes
  Qt Network ............................. yes
  Qt PrintSupport ........................ yes
  Qt Sql ................................. yes
  Qt Testlib ............................. yes
  Qt Widgets ............................. yes
  Qt Xml ................................. yes
Support enabled for:
  Using pkg-config ....................... yes
  udev ................................... no
  Using system zlib ...................... yes
  Zstandard support ...................... no
  Thread support ......................... yes
Common build options:
  Linker can resolve circular dependencies  yes
Qt Core:
  backtrace .............................. no
  DoubleConversion ....................... yes
    Using system DoubleConversion ........ no
  GLib ................................... yes
  ICU .................................... yes
  Using system libb2 ..................... no
  Built-in copy of the MIME database ..... yes
  cpp/winrt base ......................... no
  Tracing backend ........................ <none>
  Logging backends:
    journald ............................. no
    syslog ............................... no
    slog2 ................................ no
  PCRE2 .................................. yes
    Using system PCRE2 ................... no
Qt Sql:
  SQL item models ........................ yes
Qt Network:
  getifaddrs() ........................... yes
  IPv6 ifname ............................ no
  libproxy ............................... no
  OpenSSL ................................ yes
    Qt directly linked to OpenSSL ........ yes
  OpenSSL 1.1 ............................ yes
  DTLS ................................... yes
  OCSP-stapling .......................... yes
  SCTP ................................... no
  Use system proxies ..................... yes
  GSSAPI ................................. no
  Brotli Decompression Support ........... no
Qt Gui:
  Accessibility .......................... yes
  FreeType ............................... yes
    Using system FreeType ................ yes
  HarfBuzz ............................... yes
    Using system HarfBuzz ................ no
  Fontconfig ............................. yes
  Image formats:
    GIF .................................. yes
    ICO .................................. yes
    JPEG ................................. yes
      Using system libjpeg ............... yes
    PNG .................................. yes
      Using system libpng ................ yes
  Text formats:
    HtmlParser ........................... yes
    CssParser ............................ yes
    OdfWriter ............................ yes
    MarkdownReader ....................... yes
      Using system libmd4c ............... no
    MarkdownWriter ....................... yes
  EGL .................................... no
  OpenVG ................................. no
  OpenGL:
    Desktop OpenGL ....................... no
    OpenGL ES 2.0 ........................ no
    OpenGL ES 3.0 ........................ no
    OpenGL ES 3.1 ........................ no
    OpenGL ES 3.2 ........................ no
  Vulkan ................................. no
  Session Management ..................... yes
Features used by QPA backends:
  evdev .................................. no
  libinput ............................... no
  INTEGRITY HID .......................... no
  mtdev .................................. no
  tslib .................................. no
  xkbcommon .............................. no
  X11 specific:
    XLib ................................. no
    XCB Xlib ............................. no
    EGL on X11 ........................... no
    xkbcommon-x11 ........................ no
    xcb-sm ............................... no
QPA backends:
  DirectFB ............................... no
  EGLFS .................................. no
  EGLFS details:
    EGLFS OpenWFD ........................ no
    EGLFS i.Mx6 .......................... no
    EGLFS i.Mx6 Wayland .................. no
    EGLFS RCAR ........................... no
    EGLFS EGLDevice ...................... no
    EGLFS GBM ............................ no
    EGLFS VSP2 ........................... no
    EGLFS Mali ........................... no
    EGLFS Raspberry Pi ................... no
    EGLFS X11 ............................ no
  LinuxFB ................................ no
  VNC .................................... no
  VK_KHR_display ......................... no
  QNX:
    lgmon ................................ no
    IMF .................................. no
  XCB:
    Using system-provided xcb-xinput ..... no
    GL integrations:
      GLX Plugin ......................... no
        XCB GLX .......................... no
      EGL-X11 Plugin ..................... no
  Windows:
    Direct 2D ............................ no
    Direct 2D 1.1 ........................ no
    DirectWrite .......................... no
    DirectWrite 3 ........................ no
Qt Widgets:
  GTK+ ................................... no
  Styles ................................. Fusion Windows
Qt Testlib:
  Tester for item models ................. yes
Qt PrintSupport:
  CUPS ................................... yes
Qt Sql Drivers:
  DB2 (IBM) .............................. no
  InterBase .............................. no
  MySql .................................. no
  OCI (Oracle) ........................... no
  ODBC ................................... no
  PostgreSQL ............................. no
  SQLite ................................. yes
    Using system provided SQLite ......... yes
Core tools:
  qmake tool ............................. yes
Note: When linking against OpenSSL, you can override the default library names through OPENSSL_LIBS. For example: OPENSSL_LIBS='-L/opt/ssl/lib -lssl -lcrypto' ./configure -openssl-linked

Pages: [1] 2 3 ... 5