MacOS lines that should be thick are green instead #81827

Closed
opened 2020-10-19 07:48:48 +02:00 by Andrei Nadin · 26 comments

System Information
Operating system: macOS 10.15.7
Graphics card: Radeon Pro Vega 20 4 GB & Intel UHD Graphics 630 1536 MB

Blender Version
Broken:
2.91.0 Alpha, 48c48a22e04 downloaded from Blender.org
2.91.0 Alpha, master, built from source (clean build), b2e067d98c

Worked: 2.90.1, 3e85bb34d0 downloaded from Blender.org

Short description of error
Screenshot 2020-10-22 at 18.42.51.png

Screenshot 2020-10-22 at 18.41.08.png

Screenshot 2020-10-22 at 18.55.57.png

Exact steps for others to reproduce the error
In user preferences choose thick lines.

**System Information** Operating system: macOS 10.15.7 Graphics card: Radeon Pro Vega 20 4 GB & Intel UHD Graphics 630 1536 MB **Blender Version** Broken: 2.91.0 Alpha, 48c48a22e04 downloaded from Blender.org 2.91.0 Alpha, master, built from source (clean build), b2e067d98ccf Worked: 2.90.1, 3e85bb34d0d7 downloaded from Blender.org **Short description of error** ![Screenshot 2020-10-22 at 18.42.51.png](https://archive.blender.org/developer/F9036624/Screenshot_2020-10-22_at_18.42.51.png) ![Screenshot 2020-10-22 at 18.41.08.png](https://archive.blender.org/developer/F9036625/Screenshot_2020-10-22_at_18.41.08.png) ![Screenshot 2020-10-22 at 18.55.57.png](https://archive.blender.org/developer/F9036631/Screenshot_2020-10-22_at_18.55.57.png) **Exact steps for others to reproduce the error** In user preferences choose thick lines.
Author

Added subscriber: @AnadinX

Added subscriber: @AnadinX

#81970 was marked as duplicate of this issue

#81970 was marked as duplicate of this issue

Added subscriber: @mano-wii

Added subscriber: @mano-wii

I can't repro.


Operating system: Windows-10-10.0.18941 64 Bits
Graphics card: Radeon (TM) RX 480 Graphics ATI Technologies Inc. 4.5.13596 Core Profile/Debug Context 20.10 27.20.1034.6

I can't repro. --- **Operating system:** Windows-10-10.0.18941 64 Bits **Graphics card:** Radeon (TM) RX 480 Graphics ATI Technologies Inc. 4.5.13596 Core Profile/Debug Context 20.10 27.20.1034.6
Member

Added subscriber: @Harley

Added subscriber: @Harley
Member

Haven't checked but...

Many Macs are not able to draw a regular gl line with a width greater than 1. And I think some of those lines are a mixture of single and double-width. Fairly recently Clement added support for a line shader that does AA and supports any width line, including on Mac. I think I remember a commit where those lines changed to the new method.

So it could very well be that the complainant is seeing a difference between an old and new version that is behavior that everyone else has always seen.

Haven't checked but... Many Macs are not able to draw a regular gl line with a width greater than 1. And I think some of those lines are a mixture of single and double-width. Fairly recently Clement added support for a line shader that does AA and supports any width line, including on Mac. I *think* I remember a commit where those lines changed to the new method. So it could very well be that the complainant is seeing a difference between an old and new version that is behavior that everyone else has always seen.

Added subscriber: @iss

Added subscriber: @iss

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'

VSE uses UI_view2d_constant_grid_draw to draw a grid which is shared across editors. The function has not been changed for a long time. So please check if this happens in other editors like timeline/dopesheet or graph editor.

Also check if line thickness reflects change in User Preferences > Interface > Line Width.

In #81827#1038025, @Harley wrote:
Haven't checked but...

Many Macs are not able to draw a regular gl line with a width greater than 1. And I think some of those lines are a mixture of single and double-width. Fairly recently Clement added support for a line shader that does AA and supports any width line, including on Mac. I think I remember a commit where those lines changed to the new method.

So it could very well be that the complainant is seeing a difference between an old and new version that is behavior that everyone else has always seen.

Wasn't this done in 2.83? or perhaps 2.90? Also this would not explain green color.

VSE uses `UI_view2d_constant_grid_draw` to draw a grid which is shared across editors. The function has not been changed for a long time. So please check if this happens in other editors like timeline/dopesheet or graph editor. Also check if line thickness reflects change in User Preferences > Interface > Line Width. > In #81827#1038025, @Harley wrote: > Haven't checked but... > > Many Macs are not able to draw a regular gl line with a width greater than 1. And I think some of those lines are a mixture of single and double-width. Fairly recently Clement added support for a line shader that does AA and supports any width line, including on Mac. I *think* I remember a commit where those lines changed to the new method. > > So it could very well be that the complainant is seeing a difference between an old and new version that is behavior that everyone else has always seen. Wasn't this done in 2.83? or perhaps 2.90? Also this would not explain green color.
Author

This is in 2.91, it does not happen in 2.83 or 2.90

So I opened all the editors and have discovered that if you change the size of the VSE Sequencer the lines change colour and they are nor present in any of the other editors.

There is a certain (small) height where the VSE Sequencer does not have the lines. See attached video.

VSEPlusOthers.mp4

This is in 2.91, it does **not** happen in 2.83 or 2.90 So I opened all the editors and have discovered that if you change the size of the VSE Sequencer the lines change colour and they are nor present in any of the other editors. There is a certain (small) height where the VSE Sequencer does not have the lines. See attached video. [VSEPlusOthers.mp4](https://archive.blender.org/developer/F9026880/VSEPlusOthers.mp4)
Author

Also Line width set to auto (I have factory reset)
image.png

Fiddling with line width does lead to it changing, in particular thin seems to eradicate it
LineThickness.mp4

Also Line width set to auto (I have factory reset) ![image.png](https://archive.blender.org/developer/F9026901/image.png) Fiddling with line width does lead to it changing, in particular thin seems to eradicate it [LineThickness.mp4](https://archive.blender.org/developer/F9026916/LineThickness.mp4)

Changed status from 'Needs User Info' to: 'Needs Triage'

Changed status from 'Needs User Info' to: 'Needs Triage'

Thanks, I re-checked and I must correct myself - UI_view2d_constant_grid_draw is only used by VSE

Thanks, I re-checked and I must correct myself - `UI_view2d_constant_grid_draw` is only used by VSE
Member

Wish I could recreate the issue - not seeing it on Windows here. But I can't see anything obviously weird in that UI_view2d_constant_grid_draw().

Wish I could recreate the issue - not seeing it on Windows here. But I can't see anything obviously weird in that UI_view2d_constant_grid_draw().
Author

I've just had another run though changing Line Width between Auto, Thin and Thick
2.83.5 no extra green lines in VSE
2.90.1 no extra green lines in VSE

2.91.0-baa24f1c91d2 - extra green lines in VSE when using Auto and Thick (not visible with Thin)
2.92 Alpha (built from source) - extra green lines in VSE when using Auto and Thick (not visible with Thin)

If I set the Resolution Scale to 3 and the line width to Thick..

image.png

You can see the lines are separate to the vertical grey lines in the Sequencer, sometimes there is a single line and sometimes its a double line.

I am also confused by this since it is NOT happening on any build prior to 2.91. I am kind of hoping now the beta is out there may be more Mac users seeing it :(

I've just had another run though changing Line Width between Auto, Thin and Thick 2.83.5 no extra green lines in VSE 2.90.1 no extra green lines in VSE 2.91.0-baa24f1c91d2 - extra green lines in VSE when using Auto and Thick (not visible with Thin) 2.92 Alpha (built from source) - extra green lines in VSE when using Auto and Thick (not visible with Thin) If I set the Resolution Scale to 3 and the line width to Thick.. ![image.png](https://archive.blender.org/developer/F9043646/image.png) You can see the lines are separate to the vertical grey lines in the Sequencer, sometimes there is a single line and sometimes its a double line. I am also confused by this since it is NOT happening on any build prior to 2.91. I am kind of hoping now the beta is out there may be more Mac users seeing it :(

Added subscribers: @FilipMond, @jenkm, @HooglyBoogly

Added subscribers: @FilipMond, @jenkm, @HooglyBoogly

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'

Even not being able to reproduce, I am confirming the bug since the same problem has been reported again.

Even not being able to reproduce, I am confirming the bug since the same problem has been reported again.

This comment was removed by @FilipMond

*This comment was removed by @FilipMond*
Richard Antalik changed title from VSE in 2.91 has much thicker vertical green lines to MacOS lines that should be thick are green instead 2020-10-23 17:14:05 +02:00

Added subscriber: @ckerr

Added subscriber: @ckerr

I ran into the same issue as @AnadinX in the VSE with the green lines in the 2.91.0 beta. I can confirm that changing Interface>Line Width from 'Auto' to 'Thin' makes the green lines go away.

It's also present in the latest daily build (2.92.0 alpha), although the 'Auto' Line Width is now called 'Default'.

System Information
Operating system: Darwin-19.6.0-x86_64-i386-64bit 64 Bits (MacOS 10.15.7)
Graphics card: AMD Radeon Pro 5500M OpenGL Engine ATI Technologies Inc. 4.1 ATI-3.10.18

Blender Version
Broken: version: 2.91.0 Beta, branch: master, commit date: 2020-10-27 16:38, hash: bee5921e82
Broken: version: 2.92.0 Alpha, branch: master, commit date: 2020-11-06 19:20, hash: d2c102060d

I ran into the same issue as @AnadinX in the VSE with the green lines in the 2.91.0 beta. I can confirm that changing Interface>Line Width from 'Auto' to 'Thin' makes the green lines go away. It's also present in the latest daily build (2.92.0 alpha), although the 'Auto' Line Width is now called 'Default'. **System Information** Operating system: Darwin-19.6.0-x86_64-i386-64bit 64 Bits (MacOS 10.15.7) Graphics card: AMD Radeon Pro 5500M OpenGL Engine ATI Technologies Inc. 4.1 ATI-3.10.18 **Blender Version** Broken: version: 2.91.0 Beta, branch: master, commit date: 2020-10-27 16:38, hash: `bee5921e82` Broken: version: 2.92.0 Alpha, branch: master, commit date: 2020-11-06 19:20, hash: `d2c102060d`

Added subscriber: @fclem

Added subscriber: @fclem

@fclem since it's 2.91.0, I think it's a high priority.

@fclem since it's 2.91.0, I think it's a high priority.
Clément Foucault self-assigned this 2020-11-07 18:40:50 +01:00

I found that the issue has a rather complex dependence on Resolution Scale (as previously hinted), but also on the window size and is present for both 'Thick' and 'Thin' Line Width.

Version: 2.92.0 Alpha, branch: master, commit date: 2020-11-06 19:20, hash: d2c102060d
Screen Recording 2020-11-07 at 1.17.05 PM.mov

I found that the issue has a rather complex dependence on Resolution Scale (as previously hinted), but also on the window size and is present for *both* 'Thick' and 'Thin' Line Width. Version: 2.92.0 Alpha, branch: master, commit date: 2020-11-06 19:20, hash: `d2c102060d` [Screen Recording 2020-11-07 at 1.17.05 PM.mov](https://archive.blender.org/developer/F9229943/Screen_Recording_2020-11-07_at_1.17.05_PM.mov)

This issue was referenced by 82b8c15684

This issue was referenced by 82b8c156841f7202a4ca806968a782e517201d81

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Thomas Dinges added this to the 2.91 milestone 2023-02-08 16:20:09 +01:00
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
9 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#81827
No description provided.