I can only use 4 UDIM textures #73133

Closed
opened 2020-01-15 12:40:59 +01:00 by Thura Thein Tin · 13 comments

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce GTX 970/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 388.13

Blender Version
Broken: version: 2.82 (sub 6), branch: master, commit date: 2020-01-14 23:08, hash: 3edd8d5b07
Worked: (optional)

Short description of error
In a material only 4 UDIM Textures work. The 5th UDIM cause error. Box Test.zip

Exact steps for others to reproduce the error

  1. Please unzip the attached file .
  2. Open attached blend file.
  3. The box is pink ( error due to 5 UDIM texture)
  4. Please remove any UDIM texture in shader window. No error.
  5. So, I think blender can only handle maximum 4 UDIM textures.

Thanks you.

**System Information** Operating system: Windows-10-10.0.18362-SP0 64 Bits Graphics card: GeForce GTX 970/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 388.13 **Blender Version** Broken: version: 2.82 (sub 6), branch: master, commit date: 2020-01-14 23:08, hash: `3edd8d5b07` Worked: (optional) **Short description of error** In a material only 4 UDIM Textures work. The 5th UDIM cause error. [Box Test.zip](https://archive.blender.org/developer/F8279639/Box_Test.zip) **Exact steps for others to reproduce the error** 1. Please unzip the attached file . 2. Open attached blend file. 3. The box is pink ( error due to 5 UDIM texture) 4. Please remove any UDIM texture in shader window. No error. 5. So, I think blender can only handle maximum 4 UDIM textures. Thanks you.

Added subscriber: @Thura

Added subscriber: @Thura

This issue was referenced by 7d8a186335

This issue was referenced by 7d8a186335400cb7ad69d24aab89e7a215a70348
Member

Added subscribers: @fclem, @LukasStockner, @lichtwerk

Added subscribers: @fclem, @LukasStockner, @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'
Member

I am getting:

GPUShader: error: too many samplers in shader.

The max number reported for me (nvidia 970m) is:

GPU_max_textures 192

Afaics, there are 5 UDIM textures (with 5 2048px x 2048px tiles each) in place here.
Not sure how/if these are split up internally here.

@fclem, @LukasStockner : why are we reaching the limit with this shader?

I am getting: ``` GPUShader: error: too many samplers in shader. ``` The max number reported for me (nvidia 970m) is: ``` GPU_max_textures 192 ``` Afaics, there are 5 UDIM textures (with 5 2048px x 2048px tiles each) in place here. Not sure how/if these are split up internally here. @fclem, @LukasStockner : why are we reaching the limit with this shader?

This is a limitation @LukasStockner is planning to lift with some patch. Should be included for final release.

The reason is because eevee also use many samplers on its own before using user textures. Also you should look at GPU_max_textures_frag which is around 24 on high end hardware.

This is a limitation @LukasStockner is planning to lift with some patch. Should be included for final release. The reason is because eevee also use many samplers on its own before using user textures. Also you should look at GPU_max_textures_frag which is around 24 on high end hardware.
Member
@fclem: thx for clarification, it is this patch [D6456: Use 2D texture arrays for UDIM drawing in Eevee to avoid texture limit](https://archive.blender.org/developer/D6456)

Added subscriber: @brecht

Added subscriber: @brecht

Tagging with 2.82 since there is an accepted fix, so I guess there is no reason to leave it out.

Tagging with 2.82 since there is an accepted fix, so I guess there is no reason to leave it out.
Member

Changed status from 'Needs Developer To Reproduce' to: 'Confirmed'

Changed status from 'Needs Developer To Reproduce' to: 'Confirmed'
Member

Added subscriber: @EAW

Added subscriber: @EAW
Member

Just adding the bug subtype tag since it is confirmed with an accepted dif, in order to match the others on the work board.

Just adding the bug subtype tag since it is confirmed with an accepted dif, in order to match the others on the work board.
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Lukas Stockner self-assigned this 2020-01-16 02:13:48 +01:00
Thomas Dinges added this to the 2.82 milestone 2023-02-08 16:41:33 +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
7 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#73133
No description provided.