Color management difference when using multiple and different GPUs together #52107

Closed
opened 2017-07-18 14:12:06 +02:00 by Maxime Michel · 18 comments

System Information
Windows 10 64-bits
Intel Core i7-2600K
CUDA Rendering with GTX 560 Ti (sm_21) and GTX 780 (sm_35)

Blender Version
Broken: latest builds from Blender Buildbot, GraphicAll.org, and my own compiled builds (all of them 2.78.5)
Worked: official 2.78.1 release

Short description of error

I tried to use my older GTX 560 Ti with my GTX 780 to get faster renders, but I encountered this strange behavior when combining them: [Picture here ]], [ http:*i.imgur.com/6kzMT8l.jpg | Another example
I thought that the different CUDA kernels (sm_35 and sm_21) were the cause of this weird tiling effect. However, this does not happen when I use only one GPU at a time (and I get exactly the same results for both GPUs, no problem).

May have something to do with color management when using multiple GPUs, the problem disappears when I mute the Image texture node here: rouleaustarwars.blend

Original post @Blender StackExchange

**System Information** Windows 10 64-bits Intel Core i7-2600K CUDA Rendering with GTX 560 Ti (sm_21) and GTX 780 (sm_35) **Blender Version** Broken: latest builds from Blender Buildbot, GraphicAll.org, and my own compiled builds (all of them 2.78.5) Worked: official 2.78.1 release **Short description of error** I tried to use my older GTX 560 Ti with my GTX 780 to get faster renders, but I encountered this strange behavior when combining them: [Picture here ]], [[ http:*i.imgur.com/6kzMT8l.jpg | Another example ](https:*i.stack.imgur.com/98xSX.jpg) I thought that the different CUDA kernels (sm_35 and sm_21) were the cause of this weird tiling effect. However, this does not happen when I use only one GPU at a time (and I get exactly the same results for both GPUs, no problem). May have something to do with color management when using multiple GPUs, the problem disappears when I mute the Image texture node here: [rouleaustarwars.blend](https://archive.blender.org/developer/F670832/rouleaustarwars.blend) Original post [@Blender StackExchange ](https://blender.stackexchange.com/questions/84747/hue-difference-when-using-multiple-and-different-gpus-together)
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @maximemichel

Added subscriber: @maximemichel
Maxime Michel changed title from Hue difference when using multiple and different GPUs together to Color management difference when using multiple and different GPUs together 2017-07-18 14:12:36 +02:00

Added subscribers: @Stefan_Werner, @brecht

Added subscribers: @Stefan_Werner, @brecht

@Stefan_Werner, I'm guessing this is due to ec25060a0, mixing cases with bindless texture support and not. Not sure if there's a good way to make this work.

@Stefan_Werner, I'm guessing this is due to ec25060a0, mixing cases with bindless texture support and not. Not sure if there's a good way to make this work.
Member

The attached scene is missing its textures. Can you please pack them and upload it again?

The attached scene is missing its textures. Can you please pack them and upload it again?
Member

@brecht You're probably right. I think it needs to use the same texture IDs for all CUDA architectures and then map back to SM_2x on the kernel side. I'll go dig out my GTX 460...

@brecht You're probably right. I think it needs to use the same texture IDs for all CUDA architectures and then map back to SM_2x on the kernel side. I'll go dig out my GTX 460...
Author

Sorry I forgot to pack the textures indeed, should be okay now: rouleaustarwars.blend

Sorry I forgot to pack the textures indeed, should be okay now: [rouleaustarwars.blend](https://archive.blender.org/developer/F671862/rouleaustarwars.blend)
Stefan Werner self-assigned this 2017-07-20 09:19:49 +02:00

This issue was referenced by blender/cycles@ebe981d932

This issue was referenced by blender/cycles@ebe981d9327488670d596ff3e8ec9a45d5b00a2b

This issue was referenced by 4bc6faf9c8

This issue was referenced by 4bc6faf9c838084b23740c8749759f0c0b956c2b
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Member

@maximemichel if you could please verify that this is fixed with the upcoming automated builds.

@maximemichel if you could please verify that this is fixed with the upcoming automated builds.
Author

I can't get the kernel to be compiled :

ptxas fatal   : More than 128 textures used in entry function 'kernel_cuda_branched_path_trace'

Full log here

I can't get the kernel to be compiled : ``` ptxas fatal : More than 128 textures used in entry function 'kernel_cuda_branched_path_trace' ``` Full log [here ](https://pastebin.com/iyba1JJU)

Added subscriber: @SteffenD

Added subscriber: @SteffenD

In #52107#447031, @maximemichel wrote:
I can't get the kernel to be compiled :

ptxas fatal   : More than 128 textures used in entry function 'kernel_cuda_branched_path_trace'

Same here. Win10 x64

> In #52107#447031, @maximemichel wrote: > I can't get the kernel to be compiled : > ``` > ptxas fatal : More than 128 textures used in entry function 'kernel_cuda_branched_path_trace' > ``` Same here. Win10 x64
Member

Thanks, will take another look. Give me a couple of minutes.

Thanks, will take another look. Give me a couple of minutes.
Author

Will test your new commit ASAP ;)

Will test your new commit ASAP ;)
Member

Should be working in c1ca3c8.

Should be working in c1ca3c8.
Author

Seems to be working fine now! Thanks a lot ;)

Seems to be working fine now! Thanks a lot ;)
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#52107
No description provided.