Texture Offset between Cycles CPU and GPU render #43795

Closed
opened 2015-02-24 18:02:30 +01:00 by Hayes · 11 comments

Windows 7 64 bit
CPU: AMD 8320-fx
GPU: Sapphire AMD R7 260x
Video Driver: Catalyst Omega 14.12

Blender Version: 2.73a (bbf09d9)

There is a 1~ pixel offset in textures rendered between CPU and GPU rendering.
First discovered when rendering the BMW test, I used a difference layer effect to see if the pixels were identical (checking for artifacts).
Only the lights and plate showed up as different, zooming into the head light and rendering both engines revealed a slight shift in texture.
Can be recreated with a test grid default cube:
UVCPUGPU.jpg

Load default scene, Enable cycles (in this case cycles test environmental flag is set to all), Edit default cube, Create texture (without unwrap) 256x256 with Test Grid pattern, enable cycles preview, Zoom in on corner and switch between CPU and GPU rendering.

Texture_offset_Bug.blend

Windows 7 64 bit CPU: AMD 8320-fx GPU: Sapphire AMD R7 260x Video Driver: Catalyst Omega 14.12 Blender Version: 2.73a (bbf09d9) There is a 1~ pixel offset in textures rendered between CPU and GPU rendering. First discovered when rendering the BMW test, I used a difference layer effect to see if the pixels were identical (checking for artifacts). Only the lights and plate showed up as different, zooming into the head light and rendering both engines revealed a slight shift in texture. Can be recreated with a test grid default cube: ![UVCPUGPU.jpg](https://archive.blender.org/developer/F145674/UVCPUGPU.jpg) Load default scene, Enable cycles (in this case cycles test environmental flag is set to all), Edit default cube, Create texture (without unwrap) 256x256 with Test Grid pattern, enable cycles preview, Zoom in on corner and switch between CPU and GPU rendering. [Texture_offset_Bug.blend](https://archive.blender.org/developer/F145677/Texture_offset_Bug.blend)
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @SleepyMolecule

Added subscriber: @SleepyMolecule
Author

Might be related to some users UV issues re baked textures.

Might be related to some users UV issues re baked textures.

Added subscriber: @zeauro

Added subscriber: @zeauro

blender hash 60679a1
I cannot reproduceweird offset. Texture_offset_Bug.blend gives same result for CPU and GPU, here.
The margin due to linear interpolation of texture can be removed by switching to closest interpolation.
But I have still same result between CPU and GPU.

blender hash 60679a1 I cannot reproduceweird offset. Texture_offset_Bug.blend gives same result for CPU and GPU, here. The margin due to linear interpolation of texture can be removed by switching to closest interpolation. But I have still same result between CPU and GPU.

Added subscriber: @MikePan

Added subscriber: @MikePan

Cannot produce error either. Both render show the 1pixel border. GPU is a GTX970 running 347.09 Driver on Win7.

Cannot produce error either. Both render show the 1pixel border. GPU is a GTX970 running 347.09 Driver on Win7.

Added subscriber: @Sergey

Added subscriber: @Sergey

This is in fact the same exact issue as #43779, so will merge them now.

This is in fact the same exact issue as #43779, so will merge them now.

Closed as duplicate of #43779

Closed as duplicate of #43779
Author

In #43795#291778, @zeauro wrote:
blender hash 60679a1
I cannot reproduceweird offset. Texture_offset_Bug.blend gives same result for CPU and GPU, here.
The margin due to linear interpolation of texture can be removed by switching to closest interpolation.
But I have still same result between CPU and GPU.

Please post video card and CUDA / OpenCL, issue may be in either AMD kernel or OpenCL and I am unable to test that myself, thanks!

> In #43795#291778, @zeauro wrote: > blender hash 60679a1 > I cannot reproduceweird offset. Texture_offset_Bug.blend gives same result for CPU and GPU, here. > The margin due to linear interpolation of texture can be removed by switching to closest interpolation. > But I have still same result between CPU and GPU. Please post video card and CUDA / OpenCL, issue may be in either AMD kernel or OpenCL and I am unable to test that myself, thanks!
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
4 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#43795
No description provided.