Keyed animations slow in blenderplayer on OS X #37514
Labels
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
10 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#37514
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Computer 1: 13" Macbook Air
Computer 2: 15" Macbook Pro
Blender Version
Broken: Blender 2.69 (64-bit)
Worked: Don't know (difficult to test as I have to use a friend's computer)
Short description of error
On OS X, animations in the blenderplayer run slowly - apparently about 5fps - even when the rest of the game has a (much) higher refresh rate. On Windows and Linux, keyed animations in blenderplayer are fine.
Exact steps for others to reproduce the error
osx_anim_test1.blend
The test file above contains 5 animated objects. From left to right:
- Result: All five animations should play with the same frame rate.
./blenderplayer.app/Contents/MacOS/blenderplayer osx_anim_test1.blend
- Result: The first three animations display poorly, at only 5fps or so. The two on the right (Python and Physics) display well, probably at 60fps.
Changed status to: 'Open'
Added subscriber: @z0r
Here it works fine, they are all equally smooth.
I even forced my OSX to use my integrated display (Intel HD Graphics 3000) and no problems either
The above test was performed with a Mac Book Pro, OSX 10.8.5, Vanilla/official 2.69 blenderplayer, processor i7. Tested with AMD Radeon HD 6750M and the integrated intel)
Added subscriber: @dfelinto
Thanks for testing it. Very strange that the results are different - you have quite a similar system to the one my colleague has. And it's not just this file; it also happens on my big game.
Hi
Made the test on MacPro with AMD 7970 -> all @ 60fps here, in Blender == Player
Jens
Added subscriber: @jensverwiebe
Discussed with @jensverwiebe in IRC; we think we need to test again on Computer 2 to confirm that the nVidia card is being used. Jens suspects that the issue is related to running on Intel HD.
To check which card is in use, check About this Mac > System Information > Graphics/Monitors. Select a graphics card from the list on the right, and the monitors that it uses will be listed below.
Questions about this:
See also:
Added subscriber: @tonialatalo
Works fine here also, all animations play with the same good framerate in official Blender 2.69.0 release's blenderplayer (started from cmdline)
MacBook Pro Retina, 13-inch, Late 2012
Intel HD Graphics 4000 1024 MB
Thanks for testing! Well, I guess I will have to test further on my friends' computers to find out what is different about them.
Hi
I think this issue shouldn't be a biggie as it works when played in Blender directly.
Must check if we have a slightly other situation when playing in standalone player.
Would be nice if ppl with MacBooks, expecially with Intel gfx could check and comment.
My guess atm.: player somehow uses Intel gfy always and we must push it to switch to
dedicated NVidia gfx somehow.
Jens
Can't a software like gfxCardStatus be used to identify which graphic card is used at the moment?
Tested on two more Macs:
As expected, the bug is only present on the second computer (the one with the Intel graphics card). This is despite the first computer being much older. The second one is almost the same configuration as "Computer 2" in the issue description.
For the second computer, we checked which graphics card was in use as described in #37514#16. A screenshot of the Activity Monitor is included below.
The row for BlenderPlayer is listed as requiring high-performance graphics; therefore it seems that blenderplayer is using the nVidia GPU for drawing, however the bug is still present. This suggests that the presence of the Intel card triggers the bug, even when it isn't being used - or the bug is triggered by something else entirely.
Added subscriber: @Moguri
Could you try running the attached file (glinfo.blend) and comparing the console output between Blender and the Blenderplayer?
Added subscriber: @JJDeveloper
Don't know if anyone can help, but I am using a VERY high poly model, and I've HIDDEN it, so that the computer doesn't need to process it, but that does not help. I try to manipulate the armature for animations and it still is not moving with my mouse in realtime, it is delayed by several seconds, which is frustrating because I don't know what position my bones are in and it is very hard to edit. I have downloaded the latest NVIDIA driver for Mac, which may help you guys out for your other problems. Still, my armature is slow and I want to make animations, but this makes it next to impossible, especially since Blender moves my bones every which way instead of following my mouse cursor, which would not be so bad if I got realtime feedback to adjust my mouse cursor to Blender's strange xyz coordinate system. I have
OS: OS X Mountain Lion (latest)
CPU: 2.6 GHz i7
RAM: 8GB
GPU: Nvidia GeForce GT 650M
Driver: Latest NVIDIA for Mac
Hi JJDeveloper,
I don't think your issue is related to this bug report, because this ticket is about the game engine. Have a look on BlenderArtists, e.g:
http://blenderartists.org/forum/archive/index.php/t-177183.html
If that doesn't help please open a new ticket.
I don't know how to post on here. Also, sorry, but ticket? I just have a 4 million vert model I wish to export.
Added subscriber: @brita
@JJDeveloper the bug tracker (this website) is used to report bugs. A bug report is also called a ticket.
You should ask for help using blender somewhere else, like the link z0r suggested. If something is malfunctioning with the export, you should fill in a new report/ticket.
@z0r did you do what moguri suggested?
Added subscriber: @Elijah-37
ok so... The problem i'm having is after i make my Armatures and Meshes i make a few animations for the Armature, everything is running smoothly in the Standalone Player.
BUT! When i save my file and reopen Blender...... I press the Standalone Player in BGE and what happens? My armature is moving very choppy! This happens for all my Creatures/Characters/EVERYTHING THAT MOVES WITH ARMATURES!
...... Please help me.....
(I use low Textures and LowPoly Meshes, I even delete the Meshes and Textures and it's still very choppy, and i also use IK Rigs as well{F161093})
Let me know if i should put this commit elsewhere :) ty
I'm also using a 2012 Macbook Pro
Hi @Elijah-37,
Could you please open the original test file osx_anim_test1.blend and run it once in the embedded player and once in standalone - do you see the same behaviour described in the first comment?
Yes! Only with the Armature Keyed and Armature IK
Removed subscriber: @jensverwiebe
Added subscriber: @panzergame
@z0r: Which time category is the slowest ?
Added subscriber: @brecht
Changed status from 'Open' to: 'Archived'
Archiving since we no longer support the game engine in 2.8.