Walk/fly navigation doesn't work with graphic tablets #65559

Closed
opened 2019-06-06 13:29:53 +02:00 by Michał · 11 comments

System Information
Operating system: Windows 10
Graphics card: GTX1070
Tablet: Wacom Intuos4 L

Blender Version
Broken: (example: 2.80, 0efe89bdd8, 2019-06-03), 2.79

Short description of error
When using fly or walk navigation with a graphic tablet (in absolute mode, not mouse mode) the controls don't respond properly, the view just rotates chaotically. For reference, Unreal Engine interprets pen input well for FPS-type control, using offset from initial pen position.

Exact steps for others to reproduce the error
In 2.8 press shift-tilde, try navigating with the mouse, then do the same using a graphic tablet.

**System Information** Operating system: Windows 10 Graphics card: GTX1070 Tablet: Wacom Intuos4 L **Blender Version** Broken: (example: 2.80, 0efe89bdd810, 2019-06-03), 2.79 **Short description of error** When using fly or walk navigation with a graphic tablet (in absolute mode, not mouse mode) the controls don't respond properly, the view just rotates chaotically. For reference, Unreal Engine interprets pen input well for FPS-type control, using offset from initial pen position. **Exact steps for others to reproduce the error** In 2.8 press shift-tilde, try navigating with the mouse, then do the same using a graphic tablet.
Author

Added subscriber: @MichalDresner

Added subscriber: @MichalDresner

Added subscribers: @brecht, @ZedDB

Added subscribers: @brecht, @ZedDB
Brecht Van Lommel was assigned by Sebastian Parborg 2019-06-14 10:30:40 +02:00

@brecht can you reproduce this?

@brecht can you reproduce this?
Brecht Van Lommel removed their assignment 2019-09-25 16:38:55 +02:00

Added subscriber: @stephane

Added subscriber: @stephane

Update 2020-06-15 - The problem I described below is not related to my Wacom tablet in any way. I finally pinned the root cause to be a custom Xorg "Coordinate Transform Matrix" mapping the mouse DPI to the monitor.

The Xorg bug can be found here: https://gitlab.freedesktop.org/xorg/xserver/-/issues/633

To summarize, a custom coordinate transform matrix affects relative mouse move events sent by Xorg. A fixed offset is added to those relative move events, while they should be 'centered' around (0,0) on average. This creates the rotation drag effect in Blender walk mode that I described below, but it's definitely not a Blender problem.


Hi,

I have a similar problem on Ubuntu 18.04, but somehow my Wacom tablet seems to temporarily solve the problem instead of causing it.

I can't use the walk navigation mode with my Logitech mouse: moving the mouse results in some fast and uncontrolled up/right field of view rotation. Fly mode is not affected, only Walk mode is.
When I connect my Wacom tablet and use the pen for a fraction of a second, "something" is reset and the mouse then functions correctly, without the initial rotational drift.
If I leave the walk navigation mode and re-enable it, the drift occurs again until I move the tablet pen a bit.

I suspect that the absolute vs relative mouse coordinates handling is the source of the trouble.
As a side note, I've experienced the same kind of issues with the mouse handling of the SDL graphic library in the past, on both Linux and MacOS.

This weird behavior happens with Blender 2.80 and 2.81 beta. Versions 2.79 and older are working fine in Walk mode.
Since the normal 3D view and the Fly mode are not affected, something must be done differently with the mouse input in the Walk mode that causes the issue.

Edit: mouse input is indeed read in absolute mode after using the tablet pen, with no wrapping happening (mouse is not recentered after a move event is received). Would the relative position (used before using the table pen) be returned with a non zero (x,y) value to start with, that would induce the observed rotational drift.

**Update 2020-06-15** - The problem I described below is **not related to my Wacom tablet** in any way. I finally pinned the root cause to be a custom Xorg "Coordinate Transform Matrix" mapping the mouse DPI to the monitor. The Xorg bug can be found here: https://gitlab.freedesktop.org/xorg/xserver/-/issues/633 To summarize, a custom coordinate transform matrix affects relative mouse move events sent by Xorg. A fixed offset is added to those relative move events, while they should be 'centered' around (0,0) on average. This creates the rotation drag effect in Blender walk mode that I described below, but it's definitely not a Blender problem. ----- Hi, I have a similar problem on Ubuntu 18.04, but somehow my Wacom tablet seems to temporarily solve the problem instead of causing it. I can't use the walk navigation mode with my Logitech mouse: moving the mouse results in some fast and uncontrolled up/right field of view rotation. Fly mode is not affected, only Walk mode is. When I connect my Wacom tablet and use the pen for a fraction of a second, "something" is reset and the mouse then functions correctly, without the initial rotational drift. If I leave the walk navigation mode and re-enable it, the drift occurs again until I move the tablet pen a bit. I suspect that the absolute vs relative mouse coordinates handling is the source of the trouble. As a side note, I've experienced the same kind of issues with the mouse handling of the SDL graphic library in the past, on both Linux and MacOS. This weird behavior happens with Blender 2.80 and 2.81 beta. Versions 2.79 and older are working fine in Walk mode. Since the normal 3D view and the Fly mode are not affected, something must be done differently with the mouse input in the Walk mode that causes the issue. Edit: mouse input is indeed read in absolute mode after using the tablet pen, with no wrapping happening (mouse is not recentered after a move event is received). Would the relative position (used before using the table pen) be returned with a non zero (x,y) value to start with, that would induce the observed rotational drift.

I can confirm walk/fly doesn't work well for tablets, probably it was never really tested or tweaked for that case.

I can confirm walk/fly doesn't work well for tablets, probably it was never really tested or tweaked for that case.

Added subscriber: @PrototypeNM1

Added subscriber: @PrototypeNM1

@MichalDresner can you test if the issue still exists in Blender 2.92 Alpha ?

With the above build, can you check with the Tablet API set to Wintab and again set to Windows Ink?

@MichalDresner can you test if the issue still exists in [Blender 2.92 Alpha ](https://builder.blender.org/download/blender-2.92.0-316a5914bcc6-windows64.zip)? With the above build, can you check with the `Tablet API` set to `Wintab` and again set to `Windows Ink`?
Nicholas Rishel self-assigned this 2020-11-02 22:52:13 +01:00

Changed status from 'Confirmed' to: 'Needs User Info'

Changed status from 'Confirmed' to: 'Needs User Info'

No activity for more than a week. As per the tracker policy we assume the issue is gone and can be closed.

Thanks again for the report. If the problem persists please open a new report with the required information.

No activity for more than a week. As per the tracker policy we assume the issue is gone and can be closed. Thanks again for the report. If the problem persists please open a new report with the required information.

Changed status from 'Needs User Info' to: 'Archived'

Changed status from 'Needs User Info' to: 'Archived'
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
5 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#65559
No description provided.