Page MenuHome

macOS viewport lagging
Open, Confirmed, HighPublic

Description

System Information
Operating system: macOS Mojave
Graphics card:
NVIDIA GeForce GT 650M 1024 MB
Intel HD Graphics 4000 1536 MB

Blender Version
Broken: Blender 2.80 Beta, 2018-12-31
Hash : 4d795cee4938
Branch : blender2.7

Short description of error
Intense lags (not fluid) when moving, grabbing object, sculpting, on this computer with the 2.8 Blender Beta. Even with only a cube on the scene.
These lags doesn't exist on the 2.79 version and on older Macbooks I have.

Exact steps for others to reproduce the error
Sculpting, grabbing objet, moving in the scene. Lags (not fluid) pretty much everywhere.

Details

Type
Bug

Event Timeline

Sebastian Parborg (zeddb) triaged this task as Needs Information from User priority.Jan 24 2019, 4:04 PM

Is this still an issue with the latest blender beta?

Still an issue (2019-01-23 23:36 / Hash:7f77961f1c38) on my MacBook on macOS Mojave / NVIDIA GeForce GT 650 M 1024MB and INTEL HD Graphics 4000 1536 MB.

Can you attach the output of --debug-gpu (as a file) and also try --debug-gpu-force-workarounds and see if that helps?

Can you attach the output of --debug-gpu (as a file) and also try --debug-gpu-force-workarounds and see if that helps?

Don't know how to achieve that. Can you explain me ? Thanks

I'm really sorry Sebastian but I'm not really good at this kind of tech things... Don't understand even with the documentation. --' Hope I could understand !

Do you have any experience using the terminal?

Nop never --'
But If you give me the right code to enter, I could maybe help you !
Sorry !

Ok, open up the terminal.

The three basic commands you need to know is:

cd Change Directory

ls List Directory (contents)

pwd Print name of current/Working Directory

Open up the terminal and type pwd

It probably tell you that you are in your home directory.

Use cd to navigate to the directory were you installed blender 2.8. (Use cd <folder-name-here> to move into <folder-name-here>, cd .. to move up a folder)
Use ls to list the files and folders in the current directory

After you navigated to the folder you got in the .zip file of the blender beta, simply type ./blender.app/Contents/MacOS/blender in the terminal and blender should start.

Now you can pass arguments to blender ./blender.app/Contents/MacOS/blender --debug-gpu.

You can use > to save the output to a file: ./blender.app/Contents/MacOS/blender --debug-gpu > output.txt

Here's the file !
Hope it will help you to fix that bug !
Sorry for the wait, I tried to do the command a few times and didn't work. !

There doesn't seem to be anything odd in the output.

@Clément Foucault (fclem) any ideas? I think this might be hard to fix as I doubt any of the developers will be able to reproduce this.

We had some similar reports. Using debug print was making the lag vanish.

@Camille (Ekiwnox) Can you try launching blender using :

./blender.app/Contents/MacOS/blender --debug-value 23

Hi Clément, I already changed the value to 23 directly on blender and it was really smooth. Can try again through de Terminal if it's different.
Tell me how I can help you ! :-)

Sebastian Parborg (zeddb) raised the priority of this task from Needs Information from User to Normal.Jan 30 2019, 2:51 PM

Is there an other issue I should merge this into?

Still an issue on the 2.90 2019-02-08 !
Does anyone need some help to find where the lags come from ? :-o

Brecht Van Lommel (brecht) renamed this task from Lagging to macOS viewport lagging.Tue, Mar 19, 10:50 AM

Basically there is a "missing" glFlush (or glFinish) somewhere that seems to create a performance issue on those macs. But without access to the faulty hardware I cannot know where to put it. Or I can put it at random and hope for the best...

Brecht Van Lommel (brecht) raised the priority of this task from Normal to Confirmed, High.Mon, Mar 25, 12:14 PM

Have not confirmed the issue myself, but marking as high priority since this has been reported many times.