No space mouse support in --debug mode #110409

Open
opened 2023-07-24 09:22:01 +02:00 by Hanesu · 7 comments

System Information
Operating system: macOS 12.6.7
Graphics card: Apple M1 Max GPU

Blender Version
Broken: 3.6.1

Short description of error
Connexion Space Mouse does not work if Blender is launched with --debug.
Normal launch works.
Is this related to #93170 ?

Exact steps for others to reproduce the error
Launch Blender with --debug
Try to use Space Mouse

**System Information** Operating system: macOS 12.6.7 Graphics card: Apple M1 Max GPU **Blender Version** Broken: 3.6.1 **Short description of error** Connexion Space Mouse does not work if Blender is launched with --debug. Normal launch works. Is this related to #93170 ? **Exact steps for others to reproduce the error** Launch Blender with --debug Try to use Space Mouse
Hanesu added the
Type
Report
Status
Needs Triage
Priority
Normal
labels 2023-07-24 09:22:02 +02:00
Iliya Katushenock added the
Interest
Platforms, Builds & Tests
Interest
User Interface
labels 2023-07-24 14:27:21 +02:00
Author

Ok, now it's getting really weird!
I figured out that the actual issue is if I call blender or Blender in the terminal, it doesn't matter if it is in debug mode or not:

blender --> no space mouse support
Blender --> space mouse support

This is strange because there is only one executable in /Applications/Blender.app/Contents/MacOS/ and that is Blender.

Ok, now it's getting really weird! I figured out that the actual issue is if I call `blender` or `Blender` in the terminal, it doesn't matter if it is in debug mode or not: `blender` --> no space mouse support `Blender` --> space mouse support This is strange because there is only one executable in `/Applications/Blender.app/Contents/MacOS/` and that is `Blender`.
Member

Not sure if that's a bug in blender or MacOS configurations

Not sure if that's a bug in blender or MacOS configurations
Member

@Sergey hi, can you check? (guess you have Mac + space mouse)

@Sergey hi, can you check? (guess you have Mac + space mouse)

I can reproduce the issue.

Weirdly enough the axis data in the messages from the 3Dconnexion is all zero when starting Blender as blender.

Changing the RegisterConnexionClient to use winld-card for the client match makes blender to work, but this is not the configuration we want to have (at least from my understanding of the API). It might be some window-matching logic happening on the driver side, although a bit weird that it sends messages, and only some of the fields of them are zero.

Curious if FreeCAD has the same behavior (I don;t have Rosetta configured, and not sure it'll allow driver to work there even).

I can reproduce the issue. Weirdly enough the axis data in the messages from the 3Dconnexion is all zero when starting Blender as `blender`. Changing the `RegisterConnexionClient` to use winld-card for the client match makes `blender ` to work, but this is not the configuration we want to have (at least from my understanding of the API). It might be some window-matching logic happening on the driver side, although a bit weird that it sends messages, and only some of the fields of them are zero. Curious if FreeCAD has the same behavior (I don;t have Rosetta configured, and not sure it'll allow driver to work there even).
Author

Just out of curiosity, does the system run a different executable if one calls blender? Or what else could possibly be different?

Just out of curiosity, does the system run a different executable if one calls `blender`? Or what else could possibly be different?

It is the same executable. The file system by default is case-insensitive.

It is possible that the driver uses executable name for the application/window matching. Depending on how the actual executable name is presented to the appliation runtime, and how it is used later it possible that it makes some things to not find a match.

That is a speculation, as I am not really familiar with the exact rules inside of the driver.

It is the same executable. The file system by default is case-insensitive. It is possible that the driver uses executable name for the application/window matching. Depending on how the actual executable name is presented to the appliation runtime, and how it is used later it possible that it makes some things to not find a match. That is a speculation, as I am not really familiar with the exact rules inside of the driver.
Member

I'll confirm then? (even root cause is not clear yet: driver or else)

I'll confirm then? (even root cause is not clear yet: driver or else)
Brecht Van Lommel added
Priority
Low
Type
Bug
and removed
Priority
Normal
Type
Report
labels 2024-02-07 18:04:44 +01:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#110409
No description provided.