Verify macOS implementation of the SpaceMouse integration.

175 görüntüleme
İlk okunmamış mesaja atla

Markus Bonk

okunmadı,
10 Ağu 2022 06:27:5910.08.2022
alıcı dev...@kicad.org

Hi,

 

We are trying to verify and QA the SpaceMouse integration in the macOS nightly build. It would appear that the nightly builds are built without it.

Can you please enable it, or confirm that it is definitely enabled.

 

Markus

 

 

 

 


Markus Bonk
Senior Software Engineer

Clarita-Bernhard-Str. 18
81249 München
Germany

marku...@3dconnexion.com
www.3dconnexion.com

Geschäftsführer: Antonio Pascucci
Sitz der Gesellschaft: München
Registergericht: München HRB 99232

This email and any files transmitted with are from 3Dconnexion GmbH. The contents of this email and any attachments are confidential to the intended recipient. They may not be disclosed to or used by or copied in any way by anyone other than the intended recipient. If this email is received in error, please contact 3Dconnexion GmbH by calling +49 89 8974542-0 and then delete it. Please note that neither 3Dconnexion GmbH nor the sender accepts any responsibility for viruses and it is your responsibility to scan or otherwise check this email and any attachments. Any opinion expressed in this email are those of the individual and not necessarily those of 3Dconnexion GmbH.
3Dconnexion GmbH processes and stores for commercial purposes your personal data, collected upon your consent, in accordance with its privacy policy available at https://www.3dconnexion.eu/privacy.html, which has been drafted in accordance with Regulation (EU) no. 679/2016 and all applicable local data protection laws and regulations of the countries where the company operates. To revoke your consent or exercise all your rights with regards to personal data, please contact us at pri...@3dconnexion.com.

Jon Evans

okunmadı,
10 Ağu 2022 08:09:0110.08.2022
alıcı KiCad Developers, Adam Wolf
I will defer to @Adam Wolf for details, but my guess would be it is not enabled, because:

1) KICAD_USE_3DCONNEXION defaults to off, so must be turned on per-platform.

2) It is not referenced in kicad-mac-builder, so there is nothing turning it on.

I know Adam is working on Mac build changes this week so I'm hesitant to change the build settings myself -- Adam, do you want to?

-Jon

--
You received this message because you are subscribed to the Google Groups "KiCad Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to devlist+u...@kicad.org.
To view this discussion on the web visit https://groups.google.com/a/kicad.org/d/msgid/devlist/GV1P192MB17851B24778C65B3541573DEDF659%40GV1P192MB1785.EURP192.PROD.OUTLOOK.COM.

Markus Bonk

okunmadı,
14 Eyl 2022 01:01:5914.09.2022
alıcı KiCad Developers, j...@craftyjon.com, Adam Wolf
The code freeze is coming up fast. Is there any chance of enabling this on the macOS nightly builds? If not please explain why not and what we can do to have it enabled.

- Markus

Jon Evans

okunmadı,
15 Eyl 2022 11:16:4215.09.2022
alıcı dev...@kicad.org, Markus Bonk
I've enabled this for the next build, I'll report back if it has any troubles (I'm currently unable to test locally).

But, in any case, the upcoming code freeze is for new features only.  Since 3Dconnexion driver support has already been merged, any bugfixes for it on macOS would not be considered new features and do not need to happen by the end of this month.

-Jon

Jon Evans

okunmadı,
15 Eyl 2022 21:54:5115.09.2022
alıcı dev...@kicad.org, Markus Bonk
Hi Markus,

I think the build at https://kicad-downloads.s3.cern.ch/osx/nightly/kicad-unified-20220914-003354-f304e2d4f6.dmg should have this enabled.  Let me know if you find it does not.

-Jon

Markus Bonk

okunmadı,
19 Eyl 2022 01:05:5419.09.2022
alıcı Jon Evans, dev...@kicad.org

Hi Jon,

 

I have asked our Mac team to check, and they say that kicad-unified-20220914-003354-f304e2d4f6.dmg still has no 3D Mouse support.

 

- Markus

 


Markus Bonk
Senior Software Engineer

Clarita-Bernhard-Str. 18
81249 München
Germany

marku...@3dconnexion.com
www.3dconnexion.com

Geschäftsführer: Antonio Pascucci
Sitz der Gesellschaft: München
Registergericht: München HRB 99232

This email and any files transmitted with are from 3Dconnexion GmbH. The contents of this email and any attachments are confidential to the intended recipient. They may not be disclosed to or used by or copied in any way by anyone other than the intended recipient. If this email is received in error, please contact 3Dconnexion GmbH by calling +49 89 8974542-0 and then delete it. Please note that neither 3Dconnexion GmbH nor the sender accepts any responsibility for viruses and it is your responsibility to scan or otherwise check this email and any attachments. Any opinion expressed in this email are those of the individual and not necessarily those of 3Dconnexion GmbH.
3Dconnexion GmbH processes and stores for commercial purposes your personal data, collected upon your consent, in accordance with its privacy policy available at https://www.3dconnexion.eu/privacy.html, which has been drafted in accordance with Regulation (EU) no. 679/2016 and all applicable local data protection laws and regulations of the countries where the company operates. To revoke your consent or exercise all your rights with regards to personal data, please contact us at pri...@3dconnexion.com.

Jon Evans

okunmadı,
19 Eyl 2022 09:58:1719.09.2022
alıcı Markus Bonk, dev...@kicad.org
The build logs show that KICAD_USE_3DCONNEXION is enabled and the SDK stub is built:

[  2%] Building C object thirdparty/3dxware_sdk/CMakeFiles/TDxNavlib.dir/src/navlib_stub.c.o
[  2%] Building CXX object thirdparty/3dxware_sdk/CMakeFiles/TDxNavlib.dir/src/navlib_load.cpp.o
[  2%] Linking CXX static library libTDxNavlib.a
[  2%] Built target TDxNavlib

I am not sure what else I can debug at the moment as I do not have a SpaceMouse to test with.

-Jon

Markus Bonk

okunmadı,
21 Eyl 2022 04:45:5321.09.2022
alıcı Jon Evans, dev...@kicad.org

Hi Jon,

 

We have set up a build environment and used the kicad-mac-builder (but we had to manually brew install harfbuzz)to build.

The builder appears to be enabling NL support:

[...]

-- Including 3Dconnexion SpaceMouse navigation support in pcbcommon

-- S3DSG version: 2.0.0

-- Including 3Dconnexion SpaceMouse navigation support in 3d-viewer

-- Including 3Dconnexion SpaceMouse navigation support in eeschema

[...]

[  2%] Building C object thirdparty/3dxware_sdk/CMakeFiles/TDxNavlib.dir/src/navlib_stub.c.o

[  2%] Building CXX object thirdparty/3dxware_sdk/CMakeFiles/TDxNavlib.dir/src/navlib_load.cpp.o

[  2%] Linking CXX static library libTDxNavlib.a

[  2%] Built target TDxNavlib

[...]

 

and the build works out of the box with 3D Mouse support.

 

Can we have a copy of your build log so that we can compare what the differences are?

 

Markus

Jon Evans

okunmadı,
21 Eyl 2022 08:46:3721.09.2022
alıcı Markus Bonk, dev...@kicad.org

Markus Bonk

okunmadı,
22 Eyl 2022 03:33:1222.09.2022
alıcı Jon Evans, dev...@kicad.org

Hi Jon,

 

Thank you. This is resolved, now.

The logs are fairly identical and the latest nightly kicad-unified-20220920-105554-7e8b6083f4.dmg has 3D Mouse support.

Jon Evans

okunmadı,
18 Ara 2022 11:19:4218.12.2022
alıcı Markus Bonk, dev...@kicad.org
Hi Markus,

We recently switched to providing universal builds on macOS to support arm64, in case your team wants to repeat any testing to see if there are any issues with the SpaceMouse support.

We also just got a bug report where it looks like the navlib driver is hung on exit, do you have any advice?


Best,
Jon

Markus Bonk

okunmadı,
19 Ara 2022 01:03:5219.12.2022
alıcı Jon Evans, dev...@kicad.org

Hi Jon,

 

I have forwarded your email to the mac team and will get back to you as soon as possible.

Markus Bonk

okunmadı,
19 Ara 2022 09:38:2619.12.2022
alıcı dev...@kicad.org, Jon Evans

Hi Jon,

 

The mac team have responded with the following:

 

The currently shipped navlib is built as Universal Binary with x86_64 and arm64.

 

We’ve played a little in KiCAD 6.99.0-5015-g618347ef50 on the MacMini (M1):

- macOS 12.6 (3DxMacCore 1.3.0 b18)

- macOS 13.01 (3DxWareMac v. 10.7.3 r3469 and v. 10.7.4 r3493)

- macOS 13.1 (3DxWareMac v.10.7.4 r3493)

 

We cannot see / reproduce a hang or crash.

Neither on start, during “work” with a PCB (removing / relocationg parts) and viewing in the 3D Viewer, nor on exit.

No crash logs were generated either.

 

 

--Markus

--

You received this message because you are subscribed to the Google Groups "KiCad Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to devlist+u...@kicad.org.

Jon Evans

okunmadı,
19 Ara 2022 09:59:3319.12.2022
alıcı Markus Bonk, dev...@kicad.org
Hello Markus,

Thanks for the info, it sounds like there is something particular going on with that one user.
Does the backtrace below indicate that the user has the 3DxWare software installed, or would this occur on any machine with or without the software installed?

CNavLibImpl::~CNavLibImpl()  (in 3DconnexionNavlib) + 12  [0x11c10d860]
    +               2367 CNavLibImpl::~CNavLibImpl()  (in 3DconnexionNavlib) + 32  [0x11c10d82c]
    +                 2367 tdx::CDirectoryMonitor<nav::CSettingsMonitor, 17u>::~CDirectoryMonitor()  (in 3DconnexionNavlib) + 20  [0x11c10de88]
    +                   2367 tdx::CDirectoryMonitor<nav::CSettingsMonitor, 17u>::Close()  (in 3DconnexionNavlib) + 68  [0x11c10df5c]
    +                     2367 std::thread::join()  (in libc++.1.dylib) + 36  [0x1ad89b274]
    +                       2367 _pthread_join  (in libsystem_pthread.dylib) + 444  [0x1ad943394]

--Jon

Jon Evans

okunmadı,
19 Ara 2022 12:27:5719.12.2022
alıcı Markus Bonk, dev...@kicad.org
An update from the user (see https://gitlab.com/kicad/code/kicad/-/issues/13196 ) indicates they do have the 3Dconnexion software installed, version 10.7.4, and it only happened on the first run.

Maybe there is something about whether or not the navlib settings exist yet that matters (are they created on first use?)

-Jon

Markus Bonk

okunmadı,
21 Ara 2022 03:08:1721.12.2022
alıcı Jon Evans, dev...@kicad.org

We have tried with a clean install as well as with a drifting device and cannot reproduce the reported issue.

 

-Markus

Jon Evans

okunmadı,
21 Ara 2022 08:55:3621.12.2022
alıcı Markus Bonk, dev...@kicad.org
OK, thank you for looking into this. 

Best,
Jon
Tümünü yanıtla
Yazarı yanıtla
Yönlendir
0 yeni ileti