Joystick is not working on Linux #43647

Closed
opened 2015-02-13 01:59:40 +01:00 by Vincent Girès · 11 comments

System Information
Ubuntu 14.04 64bits / Windows 7 64bits

Blender Version
Broken: 2.73
Worked: 2.72 and before

Short description of error
Joystick doesn't work on Linux but is working on Windows in Blender 2.73.
Joystick Sensor does nothing and bge.logic.joysticks returns None.

**System Information** Ubuntu 14.04 64bits / Windows 7 64bits **Blender Version** Broken: 2.73 Worked: 2.72 and before **Short description of error** Joystick doesn't work on Linux but is working on Windows in Blender 2.73. Joystick Sensor does nothing and bge.logic.joysticks returns None.
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @VincentGires

Added subscriber: @VincentGires
Aaron Carlisle self-assigned this 2015-02-13 02:10:35 +01:00
Aaron Carlisle removed their assignment 2015-02-13 02:11:06 +01:00
Member

Added subscriber: @Blendify

Added subscriber: @Blendify
Author

Actually, it doesn't work that well in Windows either : if I have only one Blender open, the joystick is not recognized. If I launch a second Blender application, the Joystick is recognized the first time I run the BGE, but if I run it a second time, or more, it is not recognized anymore.

Actually, it doesn't work that well in Windows either : if I have only one Blender open, the joystick is not recognized. If I launch a second Blender application, the Joystick is recognized the first time I run the BGE, but if I run it a second time, or more, it is not recognized anymore.
Sybren A. Stüvel self-assigned this 2015-02-15 13:15:27 +01:00

Here is an example blend file that shows the issue: #43647-joystick.blend
The cube should move on mouse & joystick input.

Tested on Kubuntu 14.10, self-compiled Blender 2.73 (0ff56ca2aa), and it works fine there. However, testing with the official 2.73a shows that it doesn't work there. Joystick also doesn't work on https://builder.blender.org/download/blender-2.73-bf157ce-linux-glibc211-x86_64.tar.bz2

It seems to be a build issue, I'll investigate that.

Here is an example blend file that shows the issue: [#43647-joystick.blend](https://archive.blender.org/developer/F143493/T43647-joystick.blend) The cube should move on mouse & joystick input. Tested on Kubuntu 14.10, self-compiled Blender 2.73 (0ff56ca2aa1cc258ee2bd88b7676fbfd0482777f), and it works fine there. However, testing with the official 2.73a shows that it doesn't work there. Joystick also doesn't work on https://builder.blender.org/download/blender-2.73-bf157ce-linux-glibc211-x86_64.tar.bz2 It seems to be a build issue, I'll investigate that.

The joystick sensor requires SDL 2.0 to be installed on your system. Could you try sudo apt-get install libsdl2-2.0-0 (or in any other way install the libsdl2-2.0-0 package) and try again?

The joystick sensor requires SDL 2.0 to be installed on your system. Could you try `sudo apt-get install libsdl2-2.0-0` (or in any other way install the libsdl2-2.0-0 package) and try again?

PS: I'm focusing on the Linux issue right now, as that's what you reported initially. The Windows issue is probably a different one than this issue, so please report that in a separate ticket.

PS: I'm focusing on the Linux issue right now, as that's what you reported initially. The Windows issue is probably a different one than this issue, so please report that in a separate ticket.
Author

Yes it's working now fine with SDL 2.0 installed.
I will try to reproduce the issue I had on Windows and report it.

Yes it's working now fine with SDL 2.0 installed. I will try to reproduce the issue I had on Windows and report it.
Member

Removed subscriber: @Blendify

Removed subscriber: @Blendify

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

Marking this as resolved. D1112 is a start to get cases like this easier to diagnose.

Marking this as resolved. [D1112](https://archive.blender.org/developer/D1112) is a start to get cases like this easier to diagnose.
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#43647
No description provided.