GPv3 not rendering on macOS #113601

Closed
opened 2023-10-12 14:51:31 +02:00 by antonheg · 14 comments

System Information
Operating system: macOS Monterey 12.7
Graphics card: Intel HD Graphics 530 / Radeon Pro 450 (Metal is enabled by default)

Blender Version
Broken: All Blender 4.1 Alpha daily builds
Worked: Never (at least on macOS)

Short description of error
After I enable Experimental > Grease Pencil 3.0, restart Blender and try adding any Grease Pencil object, nothing shows up, no Stroke, no Suzanne, no Empty. When I switch to Draw mode, I can only see the cursor moving but nothing gets drawn.

Exact steps for others to reproduce the error
I guess the Grease Pencil 3.0 development is being done exclusively on Windows and no one has yet tested it on macOS.

Thank you for any feedback as to when GPv3 would be tackled to work on macOS.

**System Information** Operating system: macOS Monterey 12.7 Graphics card: Intel HD Graphics 530 / Radeon Pro 450 (Metal is enabled by default) **Blender Version** Broken: All Blender 4.1 Alpha daily builds Worked: Never (at least on macOS) **Short description of error** After I enable Experimental > Grease Pencil 3.0, restart Blender and try adding any Grease Pencil object, nothing shows up, no Stroke, no Suzanne, no Empty. When I switch to Draw mode, I can only see the cursor moving but nothing gets drawn. **Exact steps for others to reproduce the error** I guess the Grease Pencil 3.0 development is being done exclusively on Windows and no one has yet tested it on macOS. Thank you for any feedback as to when GPv3 would be tackled to work on macOS.
antonheg added the
Priority
Normal
Status
Needs Triage
Type
Report
labels 2023-10-12 14:51:31 +02:00

It doesn't work on Linux well as well, and last time I checked it didn't work on Windows as well. @filedescriptor do you need reports like this to track issues at this point?

It doesn't work on Linux well as well, and last time I checked it didn't work on Windows as well. @filedescriptor do you need reports like this to track issues at this point?
Richard Antalik added
Status
Needs Info from Developers
and removed
Status
Needs Triage
labels 2023-10-13 00:42:47 +02:00
Author

@iss, @filedescriptor, Grease Pencil 3.0 being arguably one of the most anticipated features of the upcoming 4.1 release, some transparency about its current status (what's working and what's not) would be greatly appreciated. Thank you.

@iss, @filedescriptor, Grease Pencil 3.0 being arguably one of the most anticipated features of the upcoming 4.1 release, some transparency about its current status (what's working and what's not) would be greatly appreciated. Thank you.
Member

@antonheg The project is still very much WIP. If you want to know what is already working I recommend looking at the bi-weekly meeting reports here: https://devtalk.blender.org/search?q=Grease%20Pencil%20%23meetings

@iss Yes, I will add this report to the list of open bug reports on the grease pencil workboard.

@antonheg The project is still very much WIP. If you want to know what is already working I recommend looking at the bi-weekly meeting reports here: https://devtalk.blender.org/search?q=Grease%20Pencil%20%23meetings @iss Yes, I will add this report to the list of open bug reports on the [grease pencil workboard](https://projects.blender.org/blender/blender/projects/6).
Falk David added this to the Grease Pencil project 2023-10-13 10:19:31 +02:00
Falk David changed title from GPv3: Is Grease Pencil 3.0 working on macOS yet? to Grease Pencil 3.0 not rendering on macOS 2023-10-13 10:20:04 +02:00
Falk David changed title from Grease Pencil 3.0 not rendering on macOS to GPv3 not rendering on macOS 2023-10-13 10:20:39 +02:00
Sergey Sharybin added
Status
Confirmed
Type
Bug
and removed
Status
Needs Info from Developers
Type
Report
labels 2023-10-13 10:27:46 +02:00

Can confirm on macOS Sonoma running on MacStudio M2.

Can confirm on macOS Sonoma running on MacStudio M2.
Jesse Yurkovich added the
Module
Grease Pencil
label 2023-10-16 19:54:28 +02:00
Contributor

Actually, I don't think GPv3 is broken on MacOS: I just reset my startup scene to factory settings, and now it seems to be working fine. The various UI elements that weren't showing up in Draw Mode are all there now, and most importantly I can draw. See attached screenshot.

So I'm betting that the real issue here is using a custom startup file saved from an older version of blender, which is a completely different problem and probably not OS-specific at all.

Edit: Sorry, this turned out not to be true. See my follow-up comment below.

~~Actually, I don't think GPv3 is broken on MacOS: I just reset my startup scene to factory settings, and now it seems to be working fine. The various UI elements that weren't showing up in Draw Mode are all there now, and most importantly I can draw. See attached screenshot.~~ ~~So I'm betting that the real issue here is using a custom startup file saved from an older version of blender, which is a completely different problem and probably not OS-specific at all.~~ Edit: Sorry, this turned out not to be true. See my follow-up comment below.
Author

@Douglas-Paul, from you screenshot, it seems like you're still using the legacy Grease Pencil. Can you please enable Experimental > Grease Pencil 3.0, and restart Blender first?

@Douglas-Paul, from you screenshot, it seems like you're still using the legacy Grease Pencil. Can you please enable Experimental > Grease Pencil 3.0, and restart Blender first?
Contributor

@antonheg Yeah, sorry, it turns out I got a bit ahead of myself: I was so excited when GP worked after a factory reset that I completely forgot that the factory reset disabled GPv3 in the experimental options. 🤦 So, apologies for the churn and the false information.

I do have a real update, though, that might actually be useful info: Some aspects of GPv3 do seem to work if I add more than one Grease Pencil object to my scene. To be specific:

  • If I add a GP Suzanne or Stroke to my scene, I can see its origin in the viewport but not the strokes or fills. And if I enter Draw Mode on this object, none of the strokes I add are visible. Basically nothing for this GP appears to get rendered in the viewport no matter what I do, but in the Outliner I can see the data exists.
  • If I add a second GP object to my scene, then I can see its strokes & fills, and I can also see the strokes I as I add them in Draw Mode.
  • Any additional GP objects I add also seem to work fine.
  • If I then remove the first GP object I added, then the second GP object added becomes invisible, and and any additional GP objects start displaying incorrectly.

For me, I think this gives me enough of a workaround that I can create the test scene I need for #102285.

@antonheg Yeah, sorry, it turns out I got a bit ahead of myself: I was so excited when GP worked after a factory reset that I completely forgot that the factory reset disabled GPv3 in the experimental options. 🤦 So, apologies for the churn and the false information. I do have a real update, though, that might actually be useful info: Some aspects of GPv3 do seem to work if I add more than one Grease Pencil object to my scene. To be specific: * If I add a GP Suzanne or Stroke to my scene, I can see its origin in the viewport but not the strokes or fills. And if I enter Draw Mode on this object, none of the strokes I add are visible. Basically nothing for this GP appears to get rendered in the viewport no matter what I do, but in the Outliner I can see the data exists. * If I add a second GP object to my scene, then I can see its strokes & fills, and I can also see the strokes I as I add them in Draw Mode. * Any additional GP objects I add also seem to work fine. * If I then remove the first GP object I added, then the second GP object added becomes invisible, and and any additional GP objects start displaying incorrectly. For me, I think this gives me enough of a workaround that I can create the test scene I need for #102285.
Member

I wonder if this issue is still present with the recent changes in the rendering? There were some changes to how we merge the depth buffer with the scene buffer, so maybe that fixed it?

I wonder if this issue is still present with the recent changes in the rendering? There were some changes to how we merge the depth buffer with the scene buffer, so maybe that fixed it?
Contributor

@filedescriptor No, sorry, I just pulled the latest on main and I'm still seeing the same issues.

From what I could tell in the time I spent fruitlessly investigating this a few weeks ago, the Metal shader is muddling up the material indexes. Here's what I see if I simply add a Stroke and then a Suzanne. Note how the Suzanne is being rendered with the Stroke object's materials, and the Stroke object isn't visible at all.

Screenshot 2023-12-09 at 9.53.04 PM.png

It seems to me like the sort of issue that might require the attention of a Metal expert like Michael Parkin-White.

@filedescriptor No, sorry, I just pulled the latest on `main` and I'm still seeing the same issues. From what I could tell in the time I spent fruitlessly investigating this a few weeks ago, the Metal shader is muddling up the material indexes. Here's what I see if I simply add a Stroke and then a Suzanne. Note how the Suzanne is being rendered with the Stroke object's materials, and the Stroke object isn't visible at all. ![Screenshot 2023-12-09 at 9.53.04 PM.png](/attachments/968968d7-2365-4aed-96f2-7eb9417e5b87) It seems to me like the sort of issue that might require the attention of a Metal expert like Michael Parkin-White.
Member

@Douglas-Paul Alright, thanks for checking.

@Douglas-Paul Alright, thanks for checking.
Member

This might be fixed with a3243172bf.

This might be fixed with https://projects.blender.org/blender/blender/commit/a3243172bf6ebb38ad657649ae15305e5bd77a2d.

@filedescriptor The rendering is indeed fixed by that commit. Tested both viewport and F12 renders.

@filedescriptor The rendering is indeed fixed by that commit. Tested both viewport and F12 renders.
Member

Thanks @Sergey. Closing.

Thanks @Sergey. Closing.
Blender Bot added
Status
Archived
and removed
Status
Confirmed
labels 2024-03-18 14:46:29 +01:00
Author

@filedescriptor Thank you for this! It's great to be able to follow GPv3 development along again on macOS.

@filedescriptor Thank you for this! It's great to be able to follow GPv3 development along again on macOS.
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#113601
No description provided.