Blender 2.8 macOS Mojave - viewport lag in Eevee #62560

Closed
opened 2019-03-13 21:27:51 +01:00 by Frederik Storm · 23 comments

System Information
Operating system: macOS Mojave - Macbook Pro
Graphics card: NVIDIA GeForce GT 750M 2048 MB + Intel Iris Pro 1536 MB
Processor: 2,6 GHz Intel Core i7
Ram: 16 GB 1600 MHz DDR3

Blender Version
Broken: 2.80, bf9904ec80, 2019-03-13
Worked: Not sure if it ever worked in 2.8 but I noticed first time maybe 1-2 months ago

Short description of error
The viewport is slow and laggy when in Eevee or workbench, runs smooth when turning off overlays or switching to cycles.
It seems to be somewhat related to having an object selected (even if just a standard cube).
The smaller the 3D view is the smoother it runs.

Exact steps for others to reproduce the error
I open blender and rotate the view.

**System Information** Operating system: macOS Mojave - Macbook Pro Graphics card: NVIDIA GeForce GT 750M 2048 MB + Intel Iris Pro 1536 MB Processor: 2,6 GHz Intel Core i7 Ram: 16 GB 1600 MHz DDR3 **Blender Version** Broken: 2.80, bf9904ec8018, 2019-03-13 Worked: Not sure if it ever worked in 2.8 but I noticed first time maybe 1-2 months ago **Short description of error** The viewport is slow and laggy when in Eevee or workbench, runs smooth when turning off overlays or switching to cycles. It seems to be somewhat related to having an object selected (even if just a standard cube). The smaller the 3D view is the smoother it runs. **Exact steps for others to reproduce the error** I open blender and rotate the view.
Author

Added subscriber: @FrederikStorm

Added subscriber: @FrederikStorm

Added subscriber: @WilliamReynish

Added subscriber: @WilliamReynish

The report is not so clearly written. Are you saying that Solid mode is slow when the renderer is set to Eevee, but fast if the renderer is set to Cycles? As if Eevee is making it lag even if it isn’t set to Rendered or LookDev mode?

The report is not so clearly written. Are you saying that Solid mode is slow when the renderer is set to Eevee, but fast if the renderer is set to Cycles? As if Eevee is making it lag even if it isn’t set to Rendered or LookDev mode?
Author

Sorry about that, the lag happens in the viewport regardless of it being in solid mode or wireframe or not, the only time it doesn't happen is if

  1. I turn off all display overlays
  2. make the window super tiny
  3. set it to cycles render in viewport.
    All this is just in the startup scene with a cube and nothing else.
    And like I said, having the cube selected makes the lag worse (unless overlays are turned off)

Also this is when rotating, panning or zooming or moving the object. doing things in edit mode like extruding, runs smoothly.

Hope that makes it more clear, otherwise I will try to upload a video later today.

Sorry about that, the lag happens in the viewport regardless of it being in solid mode or wireframe or not, the only time it doesn't happen is if 1. I turn off all display overlays 2. make the window super tiny 3. set it to cycles render in viewport. All this is just in the startup scene with a cube and nothing else. And like I said, having the cube selected makes the lag worse (unless overlays are turned off) Also this is when rotating, panning or zooming or moving the object. doing things in edit mode like extruding, runs smoothly. Hope that makes it more clear, otherwise I will try to upload a video later today.

Added subscriber: @fclem

Added subscriber: @fclem

A video could be useful.

@fclem: any idea why Solid mode could be slower when Eevee is selected vs Cycles? You wouldn’t think it would make a difference. Could it be something like shader compilation in the background or material previews being generated?

A video could be useful. @fclem: any idea why Solid mode could be slower when Eevee is selected vs Cycles? You wouldn’t think it would make a difference. Could it be something like shader compilation in the background or material previews being generated?
Author

Sorry It would seem I might not have expressed it clearly, cycles in solid is still slow, it is when switching to viewport render using cycles it speeds up.

Sorry It would seem I might not have expressed it clearly, cycles in solid is still slow, it is when switching to viewport render using cycles it speeds up.

Ah ok. Yes in that case it was not clearly written.

So let me try and understand. You get lag in Solid mode, always? How about Wireframe Mode? And turning off Overlays makes it fast, but in rendered view there’s no lag?

Ah ok. Yes in that case it was not clearly written. So let me try and understand. You get lag in Solid mode, always? How about Wireframe Mode? And turning off Overlays makes it fast, but in rendered view there’s no lag?
Author

Wireframe is also a problem.
When switching to cycles viewport rendering (like the actual raytracinging rendered in the viewport) it runs smoothly though.

I will try to do a video when I am home.

It feels like it is something with the overlays, as selection highlight is not visible when cycles viewport rendering.

Wireframe is also a problem. When switching to cycles viewport rendering (like the actual raytracinging rendered in the viewport) it runs smoothly though. I will try to do a video when I am home. It feels like it is something with the overlays, as selection highlight is not visible when cycles viewport rendering.

Selection highlights ARE available while in Cycles rendered view, so that’s incorrect.

Selection highlights ARE available while in Cycles rendered view, so that’s incorrect.
Author

Yes, sorry you are right disregard that.

Yes, sorry you are right disregard that.

Ok, well, in that case it's not so easy to debug this. It's hard to say if this is an actual bug, or if you are simply experiencing poor performance based on the fact that the viewport in 2.8 could be more performant, combined with the fact that you are using relatively high screen resolution on a laptop.

However, on a Macbook Pro here, I do get 'normal' smooth performance, at lease in simple scenes.

Just to clarify, is the default scene with just a cube also laggy?

Ok, well, in that case it's not so easy to debug this. It's hard to say if this is an actual bug, or if you are simply experiencing poor performance based on the fact that the viewport in 2.8 could be more performant, combined with the fact that you are using relatively high screen resolution on a laptop. However, on a Macbook Pro here, I do get 'normal' smooth performance, at lease in simple scenes. Just to clarify, is the default scene with just a cube also laggy?
Author

blender_Lag_smaller.mov

Okay so I hope it is visible here, the thing is, it is very obvious when you sit with it, but maybe less clear in the video.

Notice that the lag, if ex you focus on the grid is almost gone when in cycles.
And that it feels much smoother when all overlays are turned off.

If it is still not clear, feel free to specify what else you might need.

It feels like for the half to first second I rotate in the view it is fast and smooth, but then immediately slows down.

  • sorry did not see your message, I have tested on a macbook with AMD card and it runs super smooth there as well. Notice that mine has nvidia.
[blender_Lag_smaller.mov](https://archive.blender.org/developer/F6820929/blender_Lag_smaller.mov) Okay so I hope it is visible here, the thing is, it is very obvious when you sit with it, but maybe less clear in the video. Notice that the lag, if ex you focus on the grid is almost gone when in cycles. And that it feels much smoother when all overlays are turned off. If it is still not clear, feel free to specify what else you might need. It feels like for the half to first second I rotate in the view it is fast and smooth, but then immediately slows down. - sorry did not see your message, I have tested on a macbook with AMD card and it runs super smooth there as well. Notice that mine has nvidia.
Author

I think the problem is might be related to something about blender not triggering my nvidia 750, unless I activate cycles.

I reached this conclusion after working on something with two windows. One rendering in cycles and one just solid shaded. The viewport runs smooth when I start the progressive rendering and stops running smoothly when I pause the render. If this is a bug with blender or my computer I am not smart enough to say.

Viewport_performance.mov

Screenshot 2019-03-14 at 20.21.37.png

Screenshot 2019-03-14 at 20.21.31.png

  • I tried to force it to use the 750 by turning off automatic switching in the OS, but didn't help with the lag.
I think the problem is might be related to something about blender not triggering my nvidia 750, unless I activate cycles. I reached this conclusion after working on something with two windows. One rendering in cycles and one just solid shaded. The viewport runs smooth when I start the progressive rendering and stops running smoothly when I pause the render. If this is a bug with blender or my computer I am not smart enough to say. [Viewport_performance.mov](https://archive.blender.org/developer/F6824959/Viewport_performance.mov) ![Screenshot 2019-03-14 at 20.21.37.png](https://archive.blender.org/developer/F6825005/Screenshot_2019-03-14_at_20.21.37.png) ![Screenshot 2019-03-14 at 20.21.31.png](https://archive.blender.org/developer/F6825004/Screenshot_2019-03-14_at_20.21.31.png) - I tried to force it to use the 750 by turning off automatic switching in the OS, but didn't help with the lag.

Interesting. Yes, I believe macOS does automatic GPU switching based on load, especially on the older Macbook Pros.

I believe you can use the app gfxCardStatus to monitor this and force it to use a specified GPU: https://gfx.io

Interesting. Yes, I believe macOS does automatic GPU switching based on load, especially on the older Macbook Pros. I believe you can use the app gfxCardStatus to monitor this and force it to use a specified GPU: https://gfx.io
Author

Thanks for the link! Just gave it a go, and the problem is the opposite of what I thought, the nvidia card is the one causing the lag, while the integrated one runs smoothly.

And reading up on it, it seems like Apple have just left us Nvidia users hanging with no drivers on Mojave - But at least with gfxCardStatus I can choose to use the intel one.

Thanks for the link! Just gave it a go, and the problem is the opposite of what I thought, the nvidia card is the one causing the lag, while the integrated one runs smoothly. And reading up on it, it seems like Apple have just left us Nvidia users hanging with no drivers on Mojave - But at least with gfxCardStatus I can choose to use the intel one.

Added subscriber: @aetharr

Added subscriber: @aetharr

Just to corroborate, I have a Macbook Pro, same specs as the original poster and I too have the same issue. While the performance is indeed better when forcing the laptop to use the Iris Pro integrated GPU, it unfortunately doesn't change the fact that it's the weaker GPU and that Blender 2.79 didn't have this issue. I've attached a video that clearly shows the difference between the two versions.
Blender.mp4

Just to corroborate, I have a Macbook Pro, same specs as the original poster and I too have the same issue. While the performance is indeed better when forcing the laptop to use the Iris Pro integrated GPU, it unfortunately doesn't change the fact that it's the weaker GPU and that Blender 2.79 didn't have this issue. I've attached a video that clearly shows the difference between the two versions. [Blender.mp4](https://archive.blender.org/developer/F6857833/Blender.mp4)

This might be a duplicate of #60043. Does using Debug value of 23 fixes the issue?

This might be a duplicate of #60043. Does using Debug value of 23 fixes the issue?

Performance does seem better when enabling debug value 23, the sporadic lag spikes seem to be gone, performance overall isn't as smooth as 2.79 still, but it definitely helped.

Performance *does* seem better when enabling debug value 23, the sporadic lag spikes seem to be gone, performance overall isn't as smooth as 2.79 still, but it definitely helped.

Hang on a moment... So something weird just happened, when the cube is selected the performance is worse than when deselected, weird..
When deselected, performance is like that of 2.79.

Hang on a moment... So something weird just happened, when the cube is *selected* the performance is worse than when *deselected*, weird.. When deselected, performance is like that of 2.79.

Also as that value does seem to improve the performance enough to make the software usable again, is there any way to keep the value enabled and hide the extra stats shown in the viewport? Thanks

Also as that value *does* seem to improve the performance enough to make the software usable again, is there any way to keep the value enabled and hide the extra stats shown in the viewport? Thanks

Closed as duplicate of #60043

Closed as duplicate of #60043
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#62560
No description provided.