Lagging when rotating the view #56996

Closed
opened 4 years ago by PawelBzyl · 50 comments

System Information
iMac 4k 2017
Mac OS Mojave
Radeon Pro 560

Blender Version
Broken: 2.8 daily build
Worked: 2.79 and in render view (cycles) in 2.8 daily build

When you rotate the view with the middle mouse button, the view in the blender is slightly jammed. The problem does not occur on daily build 2.79 and when in 2.8 we enable the render view (ctrl + z) but only in cycles.

**System Information** iMac 4k 2017 Mac OS Mojave Radeon Pro 560 **Blender Version** Broken: 2.8 daily build Worked: 2.79 and in render view (cycles) in 2.8 daily build When you rotate the view with the middle mouse button, the view in the blender is slightly jammed. The problem does not occur on daily build 2.79 and when in 2.8 we enable the render view (ctrl + z) but only in cycles.
Poster

Added subscriber: @PawelBzyl

Added subscriber: @PawelBzyl
Collaborator

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Collaborator

Hi there!

Could you be more specific in regards to "slightly jammed"? (maybe a screenshot or some further explanation would help...)
I can only imagine you are talking about overlays (wireframes, outlines etc) drawing very fast, whereas pixels rendered in cycles come in with some sort or delay? This would be expected behaviour I guess [and can only be improved upon if you lower Start Pixels under Properties Editor > Render > Performance > Viewport]

Marking as incomplete until we know a bit better what is meant here...

Hi there! Could you be more specific in regards to "slightly jammed"? (maybe a screenshot or some further explanation would help...) I can only imagine you are talking about overlays (wireframes, outlines etc) drawing very fast, whereas pixels rendered in cycles come in with some sort or delay? This would be expected behaviour I guess [and can only be improved upon if you lower `Start Pixels` under Properties Editor > Render > Performance > Viewport] Marking as incomplete until we know a bit better what is meant here...
Poster

Hi! Thank you for your answer. It's about something else. Watch the video that I attached and tell if you know what's going on right now. Rotating the view with the mouse in blender 2.79 runs smoothly, and in 2.8 no.
problem.mov

Hi! Thank you for your answer. It's about something else. Watch the video that I attached and tell if you know what's going on right now. Rotating the view with the mouse in blender 2.79 runs smoothly, and in 2.8 no. [problem.mov](https://archive.blender.org/developer/F4908068/problem.mov)
Collaborator

OK, needs further investigation then...

Could you run blender with the --debug-gpu option and upload the output as .txt file here?

OK, needs further investigation then... Could you run blender with the `--debug-gpu` option and upload the output as .txt file here?
Poster

This comment was removed by @PawelBzyl

*This comment was removed by @PawelBzyl*
Poster

There was only so much information when the terminal switched on:

iMac-Pawel:MacOS pawelbzyl$ ./blender --debug-gpu
Read prefs: /Users/pawelbzyl/Library/Application Support/Blender/2.80/config/userpref.blend
OpenGL debug callback is not available on Apple.
found bundled python: /Users/pawelbzyl/downloads/blender/blender.app/Contents/Resources/2.80/python
Saved session recovery to '/tmp/quit.blend'

Blender quit

There was only so much information when the terminal switched on: iMac-Pawel:MacOS pawelbzyl$ ./blender --debug-gpu Read prefs: /Users/pawelbzyl/Library/Application Support/Blender/2.80/config/userpref.blend OpenGL debug callback is not available on Apple. found bundled python: /Users/pawelbzyl/downloads/blender/blender.app/Contents/Resources/2.80/python Saved session recovery to '/tmp/quit.blend' Blender quit
Collaborator

Hm, my bad (forgot debug is not available on Apple).
Out of ideas for the time being... back to "Needs Triage"

Hm, my bad (forgot debug is not available on Apple). Out of ideas for the time being... back to "Needs Triage"
Poster

This has not been corrected yet. Will anyone fix it?

This has not been corrected yet. Will anyone fix it?
mont29 commented 4 years ago
Owner

Added subscribers: @fclem, @brecht, @mont29

Added subscribers: @fclem, @brecht, @mont29
mont29 commented 4 years ago
Owner

Most certainly a GPU/driver issue… @fclem, @brecht, maybe you know more and/or have clues here?

Most certainly a GPU/driver issue… @fclem, @brecht, maybe you know more and/or have clues here?
fclem commented 4 years ago
Collaborator

This report is a bit vague.
@PawelBzyl Can you enable the profiling option (F3 > Search "Debug Menu" > set to 23) and rotate the view until the numbers are more or less stable. Then take a screenshot and upload it here.

It should look like this : Capture d’écran du 2018-10-15 12-03-13.png

This report is a bit vague. @PawelBzyl Can you enable the profiling option (F3 > Search "Debug Menu" > set to 23) and rotate the view until the numbers are more or less stable. Then take a screenshot and upload it here. It should look like this : ![Capture d’écran du 2018-10-15 12-03-13.png](https://archive.blender.org/developer/F5075810/Capture_d_écran_du_2018-10-15_12-03-13.png)
Poster

Okay, I did what you told me. You have the results in the attachment. But I noticed one thing. The moment I turn on the debug mode at 23, the problem is solved and when I rotate the view with the mouse, everything runs smoothly. After the restart blender, the problem returns.
Zrzut ekranu 2018-10-15 o 17.10.06.png

Okay, I did what you told me. You have the results in the attachment. But I noticed one thing. The moment I turn on the debug mode at 23, the problem is solved and when I rotate the view with the mouse, everything runs smoothly. After the restart blender, the problem returns. ![Zrzut ekranu 2018-10-15 o 17.10.06.png](https://archive.blender.org/developer/F5078602/Zrzut_ekranu_2018-10-15_o_17.10.06.png)
Poster

Does anyone already know what is the reason for this problem?

Does anyone already know what is the reason for this problem?
Poster

I have further conclusions about why this is happening. If I open the application not just on the whole screen, I will only scale it, everything works smoothly. The problem only occurs if the blender is displayed on the full screen.

In the monitor settings, if I set the resolution to the default for the monitor, it also works fine. I have the resolution set to scale: "more space". As I wrote earlier in 2.79, everything is fine. I can test this on previous versions 2.8 and check where it was good.

I hope someone will fix this problem because i can't work on it.

I have further conclusions about why this is happening. If I open the application not just on the whole screen, I will only scale it, everything works smoothly. The problem only occurs if the blender is displayed on the full screen. In the monitor settings, if I set the resolution to the default for the monitor, it also works fine. I have the resolution set to scale: "more space". As I wrote earlier in 2.79, everything is fine. I can test this on previous versions 2.8 and check where it was good. I hope someone will fix this problem because i can't work on it.
Poster

Does anyone work on this problem? It is very disruptive, and it seems to me that it is not difficult to repair. @brecht

Does anyone work on this problem? It is very disruptive, and it seems to me that it is not difficult to repair. @brecht
brecht commented 4 years ago
Owner

We need to optimize drawing on macOS more still. It's unfortunately not simple to fix things like this, someone will likely need to spend a few weeks investigating macOS performance issues before the final 2.80 release.

We need to optimize drawing on macOS more still. It's unfortunately not simple to fix things like this, someone will likely need to spend a few weeks investigating macOS performance issues before the final 2.80 release.
Poster

@brecht Thank you for your response. It seems to me that the problem is not difficult to solve. I wrote above that after switching to the debuge mode set to 23, the problem disappears.

@brecht Thank you for your response. It seems to me that the problem is not difficult to solve. I wrote above that after switching to the debuge mode set to 23, the problem disappears.

Added subscriber: @Abrases

Added subscriber: @Abrases

I have the same problem on a MacBook Pro 2016 i5 and Intel Iris Graphics 540 1536 MB. Latest macOS and latest blender 2.8 (Both on latest beta and latest git update (4ee29d3fdf) that I've built). I can confirm that enabling the debug menu to 23 does smooth the fps and running a more complex scene doesn't seems to slow down more the viewport. I'm available for further debugging.

I have the same problem on a MacBook Pro 2016 i5 and Intel Iris Graphics 540 1536 MB. Latest macOS and latest blender 2.8 (Both on latest beta and latest git update (4ee29d3fdff) that I've built). I can confirm that enabling the debug menu to 23 does smooth the fps and running a more complex scene doesn't seems to slow down more the viewport. I'm available for further debugging.

Screen Recording 2018-12-02 at 10.48.43 AM.mov

Because of the screen recording it's much worse that it is normally but you get the idea

[Screen Recording 2018-12-02 at 10.48.43 AM.mov](https://archive.blender.org/developer/F5790854/Screen_Recording_2018-12-02_at_10.48.43_AM.mov) Because of the screen recording it's much worse that it is normally but you get the idea
Collaborator

This issue was referenced by cf18eb2de3

This issue was referenced by cf18eb2de39fd1e4c35e1cf545092834b34e000d
fclem commented 4 years ago
Collaborator

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
fclem closed this issue 4 years ago
Poster

In today's compilation, it's better, but still in the debug mode set to 23, the blender is smoother.

In today's compilation, it's better, but still in the debug mode set to 23, the blender is smoother.

Pawel on my end it's doesn't make any difference but you have faster and different hardware. I recorded a small video of the demonstration with and without the debug menu, it's difficult to see with the lag that it create but even without the record I don't see any difference.

Screen Recording 2018-12-03 at 7.33.28 AM.mov

Pawel on my end it's doesn't make any difference but you have faster and different hardware. I recorded a small video of the demonstration with and without the debug menu, it's difficult to see with the lag that it create but even without the record I don't see any difference. [Screen Recording 2018-12-03 at 7.33.28 AM.mov](https://archive.blender.org/developer/F5800195/Screen_Recording_2018-12-03_at_7.33.28_AM.mov)
Poster

@Abrases I understand. I thought that in this build from December 3 this is not yet corrected, but it probably is. I also checked the imac 27 inch 2015 and MacBook Pro 2017 and there the problem also occurs. Can I check it on your build?

@Abrases I understand. I thought that in this build from December 3 this is not yet corrected, but it probably is. I also checked the imac 27 inch 2015 and MacBook Pro 2017 and there the problem also occurs. Can I check it on your build?

@PawelBzyl I'm not sure to understand but what I can tell you for sure is that the fix is in the latest macOS build : 63ac7c799c
I only have the MacBook Pro 2016 to test it on, I will try it with latest build version on the website tonight, the one I try so far was the one I built with the fix.

@PawelBzyl I'm not sure to understand but what I can tell you for sure is that the fix is in the latest macOS build : 63ac7c799c8 I only have the MacBook Pro 2016 to test it on, I will try it with latest build version on the website tonight, the one I try so far was the one I built with the fix.
Poster

Changed status from 'Resolved' to: 'Open'

Changed status from 'Resolved' to: 'Open'
PawelBzyl reopened this issue 4 years ago
Poster

@Abrases I checked on this build. So the problem, however, not solved: /

@Abrases I checked on this build. So the problem, however, not solved: /

@PawelBzyl Alright, will check that later I don't have my Macbook with me. Either the problem is still here in some case or the build doesn't really contain the fix for some reason...

@PawelBzyl Alright, will check that later I don't have my Macbook with me. Either the problem is still here in some case or the build doesn't really contain the fix for some reason...

@PawelBzyl So I check and it work properly on my mac in build 63ac7c799c. If you want to help track that bug I think you should go to blendercoders and setup a dev environnement to be able to test it with the blender coders (What I did) they don't have the proper hardware.

@PawelBzyl So I check and it work properly on my mac in build 63ac7c799c8. If you want to help track that bug I think you should go to blendercoders and setup a dev environnement to be able to test it with the blender coders (What I did) they don't have the proper hardware.
Poster

@Abrases Okay, I can help. How can you configure this environment?

@Abrases Okay, I can help. How can you configure this environment?

@PawelBzyl Honnestly if you follow this page it should go quite fast, the longest is to install xcode https://wiki.blender.org/wiki/Building_Blender/Mac. Keep in mind that you don't need cuda and also that for the make command to work you need to put cmake in your PATH (export PATH=$PATH:/path/to/cmake/bin/in/his/content/folder) If you need futher assistance go to blendercoders on freenode I'm sure they will be people to help you and I might be here as well as Abrases

@PawelBzyl Honnestly if you follow this page it should go quite fast, the longest is to install xcode https://wiki.blender.org/wiki/Building_Blender/Mac. Keep in mind that you don't need cuda and also that for the make command to work you need to put cmake in your PATH (export PATH=$PATH:/path/to/cmake/bin/in/his/content/folder) If you need futher assistance go to blendercoders on freenode I'm sure they will be people to help you and I might be here as well as Abrases

Added subscriber: @bopieds

Added subscriber: @bopieds

hi,

Same issue with the latest build as of today :

2.80 Beta macOS 64 bit
December 20, 17:13:49 - 9ebd309e2b

On a macbook Pro Retina 15' late 2013 running Mojave

hi, Same issue with the latest build as of today : 2.80 Beta macOS 64 bit December 20, 17:13:49 - 9ebd309e2b96 On a macbook Pro Retina 15' late 2013 running Mojave

Added subscriber: @cataalinux

Added subscriber: @cataalinux

One quick tip to make blender run fast on retina displays: open Blender's info.plist file and disable:
High Resolution Capable and Supports Automatic Graphics Switching.
This is the main setting change for opengl apps on my mac.
Right click on the Blender app and click show package contents.

One quick tip to make blender run fast on retina displays: open Blender's info.plist file and disable: High Resolution Capable and Supports Automatic Graphics Switching. This is the main setting change for opengl apps on my mac. Right click on the Blender app and click show package contents.
Poster

For me after the introduction of these exchanges is all right.

For me after the introduction of these exchanges is all right.

Added subscriber: @Ekiwnox

Added subscriber: @Ekiwnox

I've the same issue ! I tried the debug thing and it works smoothly with (with 23)
Don't understand what I should change in the info.plist file. Should I delete the line of code or change the "true" to something else ?

I've the same issue ! I tried the debug thing and it works smoothly with (with 23) Don't understand what I should change in the info.plist file. Should I delete the line of code or change the "true" to something else ?
Poster

@Ekiwnox Should you change "true" to "false" in these two lines

@Ekiwnox Should you change "true" to "false" in these two lines

Still an issue with the 2.80 Beta macOS 64 bit, 2826c2be54.
It works on two of my Apple device on macOS Mojave smoothly.
I only have the problem with my Macbook retina on macOS Mojave with Intel HD Graphics 4000 1536 MB.

Still an issue with the 2.80 Beta macOS 64 bit, 2826c2be545e. It works on two of my Apple device on macOS Mojave smoothly. I only have the problem with my Macbook retina on macOS Mojave with Intel HD Graphics 4000 1536 MB.
nexuz6 commented 4 years ago

Added subscriber: @nexuz6

Added subscriber: @nexuz6

For me it doesn't change anything with the changes on the info.plist file !
Hope to have a solution soon for this issue !

For me it doesn't change anything with the changes on the info.plist file ! Hope to have a solution soon for this issue !

Added subscriber: @stefmalawi

Added subscriber: @stefmalawi

I might have some insight that may help debug the problem. I am using macOS 10.14.2 on a MacBook Pro late 2013 (model 11,2), with Intel Iris Pro 1536 MB and Blender 2.80 2019-01-22. It seems as though the problem is related to displaying (or rather not displaying) certain Overlays. Steps to reproduce:

  1. Open a new scene with the Sculpting template. By default most overlays are toggled off. The 3D view lags when rotating with either the trackpad or Alt and mouse rotation (have three button mouse emulation enabled).
  2. Toggle on the Grid and X and Y axes Overlays (these seem to have the largest effect in my testing). Now rotation with both trackpad and Alt plus mouse are much smoother.

I have attached a screen recording showing the bug (did a quick sculpt to better illustrate but this is not necessary. Screen recording also reduces performance, without it rotation with said overlays toggled is smooth) :
Blender 2.80 macOS slow rotation bug.mov

I might have some insight that may help debug the problem. I am using macOS 10.14.2 on a MacBook Pro late 2013 (model 11,2), with Intel Iris Pro 1536 MB and Blender 2.80 2019-01-22. It seems as though the problem is related to displaying (or rather not displaying) certain Overlays. Steps to reproduce: 1. Open a new scene with the Sculpting template. By default most overlays are toggled off. The 3D view lags when rotating with either the trackpad or Alt and mouse rotation (have three button mouse emulation enabled). 2. Toggle on the Grid and X and Y axes Overlays (these seem to have the largest effect in my testing). Now rotation with both trackpad and Alt plus mouse are much smoother. I have attached a screen recording showing the bug (did a quick sculpt to better illustrate but this is not necessary. Screen recording also reduces performance, without it rotation with said overlays toggled is smooth) : [Blender 2.80 macOS slow rotation bug.mov](https://archive.blender.org/developer/F6366840/Blender_2.80_macOS_slow_rotation_bug.mov)

Added subscriber: @RoranKladivo

Added subscriber: @RoranKladivo

Alright, not really sure if this will help with MAC, but I had similar problem on my laptop on Windows. I have 4k screen, so I thought that might affect it. After changing my screen resolution in the Intel settings to 1920x1080 blender started running smoothly, just like the 2.79.

Alright, not really sure if this will help with MAC, but I had similar problem on my laptop on Windows. I have 4k screen, so I thought that might affect it. After changing my screen resolution in the Intel settings to 1920x1080 blender started running smoothly, just like the 2.79.
Poster

Yes, in mac when changing the resolution also helps. Are the creators going to do something about it?

Yes, in mac when changing the resolution also helps. Are the creators going to do something about it?
brecht commented 4 years ago
Owner

Closed as duplicate of #60043

Closed as duplicate of #60043
brecht closed this issue 4 years ago
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/Collada
Interest/Compositing
Interest/Core
Interest/Cycles
Interest/Dependency Graph
Interest/Development Management
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/Modeling
Interest/Modifiers
Interest/Motion Tracking
Interest/Nodes & Physics
Interest/Overrides
Interest/Performance
Interest/Performance
Interest/Physics
Interest/Pipeline, Assets & I/O
Interest/Platforms, Builds, Tests & Devices
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
legacy module/Animation & Rigging
legacy module/Core
legacy module/Development Management
legacy module/Eevee & Viewport
legacy module/Grease Pencil
legacy module/Modeling
legacy module/Nodes & Physics
legacy module/Pipeline, Assets & IO
legacy module/Platforms, Builds, Tests & Devices
legacy module/Python API
legacy module/Rendering & Cycles
legacy module/Sculpt, Paint & Texture
legacy module/Triaging
legacy module/User Interface
legacy module/VFX & Video
legacy project/1.0.0-beta.2
legacy project/Asset Browser (Archived)
legacy project/BF Blender: 2.8
legacy project/BF Blender: After Release
legacy project/BF Blender: Next
legacy project/BF Blender: Regressions
legacy project/BF Blender: Unconfirmed
legacy project/Blender 2.70
legacy project/Code Quest
legacy project/Datablocks and Libraries
legacy project/Eevee
legacy project/Game Animation
legacy project/Game Audio
legacy project/Game Data Conversion
legacy project/Game Engine
legacy project/Game Logic
legacy project/Game Physics
legacy project/Game Python
legacy project/Game Rendering
legacy project/Game UI
legacy project/GPU / Viewport
legacy project/GSoC
legacy project/Infrastructure: Websites
legacy project/LibOverrides - Usability and UX
legacy project/Milestone 1: Basic, Local Asset Browser
legacy project/Nodes
legacy project/OpenGL Error
legacy project/Papercut
legacy project/Pose Library Basics
legacy project/Retrospective
legacy project/Tracker Curfew
legacy project/Wintab High Frequency
Meta/Good First Issue
Meta/Papercut
migration/requires-manual-verification
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 & Devices
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 Information 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
13 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#56996
Loading…
There is no content yet.