Page MenuHome

Freestyle + EEVEE render not working
Closed, ResolvedPublic

Description

System Information
Operating system: Arch Linux
Graphics card: core i5 3210M...

Blender Version
Broken : 2.80 beta, 2018-12-02 (and even since the first 2.80)
worked : 2.79

Short description of error
Can't render freestyle in eevee or workbench engine

Exact steps for others to reproduce the error
open a new file -> activate freestyle in scene settings -> render

Event Timeline

Freestyle does work but I believe there are at least two issues:

  1. Freestyle takes the mesh from the current view port only and doesn't update if an animation is rendered.
  2. including/excluding collections isn't functioning correctly.
Brecht Van Lommel (brecht) renamed this task from Can't render freestyle anymore in 2.80 :( to Freestyle + EEVEE render not working.Dec 18 2018, 4:00 PM
Brecht Van Lommel (brecht) triaged this task as Confirmed, Medium priority.

If you open a new file, activate freestyle, then render, the image turns black when freestyle runs. If you switch to 'relative' line thickness mode, it segfaults blender instead. Changing to Cycles fixes the problem (though freestyle is quite slow on cycles, just like 2.7).

Using macOS and a recent build.

Now I get a segfault instead of a black render when opening a new file, activating freestyle, then rendering. Still macOS.

Works correctly for me with Windows 10.

Now I get a segfault instead of a black render when opening a new file, activating freestyle, then rendering. Still macOS.

This can be a driver problem, submit a new bugreport?
Works perfectly also in Linux:

working for me too even on "old" 2.79 project files.
Thank you very much !

Operating system: Arch Linux
Graphics card: core i5 3210M...

Nevermind, if I load factory defaults, the current default works fine with freestyle. Something is wrong with how the collections interact with freeing FreeStyle in the old file. (There might be a bug hidden in here, but it could just be a bug in the old defaults file). Thanks for fixing this by the way, it's great!

In 2.80 (git built within the week (168a6a4bfc1)).
Linux (Debian stable).
Official Nvidia drivers. Geforce 970. Driver Version: 390.48

(New project or existing objects appended from a 2.79 project.)
Freestyles then enabled.

...Results in a black render. The render layer also appears black in the compositor -- and only when Freestyles is enabled -- the objects show fine when freestyles is disabled.
I'm not sure if other nvidia information would be helpful or not. I can paste the nvidia-settings data for GLX/OpenGL if it helps.

.blend is attached.

Updating blender2.8 -> master in my local repo, and rebuilding, showed the problem is resolved. :)