All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 76919] New: Random junk at the bottom of non-multiple-of-4 compressed textures (original or mipmapped)
@ 2014-04-01 20:07 bugzilla-daemon
  2014-04-01 20:08 ` [Bug 76919] " bugzilla-daemon
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: bugzilla-daemon @ 2014-04-01 20:07 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1602 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=76919

          Priority: medium
            Bug ID: 76919
          Assignee: dri-devel@lists.freedesktop.org
           Summary: Random junk at the bottom of non-multiple-of-4
                    compressed textures (original or mipmapped)
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: bugspam@moreofthesa.me.uk
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: Drivers/Gallium/r600
           Product: Mesa

Created attachment 96745
  --> https://bugs.freedesktop.org/attachment.cgi?id=96745&action=edit
Example image (with mipmaps), the height of which triggers the problem

There seems to be a problem with some compressed textures. When the height of
the image (more specifically, of the mipmap level used) is not a multiple of 4,
it appears that the bottom part of the image – as rendered – contains random
junk, apparently set at image load time.

The example image will show the problem at its original size. I've also played
with its height (initially 570px): increasing it to a multiple of 4 would
remove the problem if it's rendered using the full-size version, but since when
reduced by one level the height is again not a multiple of 4, the problem
re-appears. Setting the full-size height to 576px moves the problem down
further.

(We're using http://crunch.googlecode.com/svn/trunk/ for image
(de)compression.)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 3288 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 76919] Random junk at the bottom of non-multiple-of-4 compressed textures (original or mipmapped)
  2014-04-01 20:07 [Bug 76919] New: Random junk at the bottom of non-multiple-of-4 compressed textures (original or mipmapped) bugzilla-daemon
@ 2014-04-01 20:08 ` bugzilla-daemon
  2014-04-02 10:02 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2014-04-01 20:08 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 489 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=76919

Darren Salt <bugspam@moreofthesa.me.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Hardware|Other                       |x86-64 (AMD64)
                 OS|All                         |Linux (All)
            Version|unspecified                 |10.1

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1421 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 76919] Random junk at the bottom of non-multiple-of-4 compressed textures (original or mipmapped)
  2014-04-01 20:07 [Bug 76919] New: Random junk at the bottom of non-multiple-of-4 compressed textures (original or mipmapped) bugzilla-daemon
  2014-04-01 20:08 ` [Bug 76919] " bugzilla-daemon
@ 2014-04-02 10:02 ` bugzilla-daemon
  2014-04-06  1:27 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2014-04-02 10:02 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 606 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=76919

--- Comment #1 from Tapani Pälli <lemody@gmail.com> ---
I don't know details of the problem here but I got interested and went to read
the spec ..

EXT_texture_compression_s3tc specification states in "Implementation Note":

"If the width or height is not a multiple of four, there will be 4x4 blocks at
the edge of the image that contain "extra" texels that are not part of the
image."

I'm not sure though what should happen if one samples/reads such texel.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1509 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 76919] Random junk at the bottom of non-multiple-of-4 compressed textures (original or mipmapped)
  2014-04-01 20:07 [Bug 76919] New: Random junk at the bottom of non-multiple-of-4 compressed textures (original or mipmapped) bugzilla-daemon
  2014-04-01 20:08 ` [Bug 76919] " bugzilla-daemon
  2014-04-02 10:02 ` bugzilla-daemon
@ 2014-04-06  1:27 ` bugzilla-daemon
  2014-04-06  1:34 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2014-04-06  1:27 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 434 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=76919

Darren Salt <bugspam@moreofthesa.me.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #96745|text/plain                  |application/octet-stream
          mime type|                            |

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1131 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 76919] Random junk at the bottom of non-multiple-of-4 compressed textures (original or mipmapped)
  2014-04-01 20:07 [Bug 76919] New: Random junk at the bottom of non-multiple-of-4 compressed textures (original or mipmapped) bugzilla-daemon
                   ` (2 preceding siblings ...)
  2014-04-06  1:27 ` bugzilla-daemon
@ 2014-04-06  1:34 ` bugzilla-daemon
  2014-05-09  2:04 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2014-04-06  1:34 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 306 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=76919

--- Comment #2 from Darren Salt <bugspam@moreofthesa.me.uk> ---
I'm not sure either, but I'd (naïvely) expect the image height not being a
multiple of 4 not to matter.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1186 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 76919] Random junk at the bottom of non-multiple-of-4 compressed textures (original or mipmapped)
  2014-04-01 20:07 [Bug 76919] New: Random junk at the bottom of non-multiple-of-4 compressed textures (original or mipmapped) bugzilla-daemon
                   ` (3 preceding siblings ...)
  2014-04-06  1:34 ` bugzilla-daemon
@ 2014-05-09  2:04 ` bugzilla-daemon
  2014-05-19 12:09 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2014-05-09  2:04 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 327 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=76919

--- Comment #3 from Darren Salt <bugspam@moreofthesa.me.uk> ---
Turns out that the bug also affects the right edges of textures.

(Evergreen, in case there's something hardware-specific about this.)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1187 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 76919] Random junk at the bottom of non-multiple-of-4 compressed textures (original or mipmapped)
  2014-04-01 20:07 [Bug 76919] New: Random junk at the bottom of non-multiple-of-4 compressed textures (original or mipmapped) bugzilla-daemon
                   ` (4 preceding siblings ...)
  2014-05-09  2:04 ` bugzilla-daemon
@ 2014-05-19 12:09 ` bugzilla-daemon
  2014-12-31  9:04 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2014-05-19 12:09 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 573 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=76919

Tapani Pälli <lemody@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lemody@gmail.com

--- Comment #4 from Tapani Pälli <lemody@gmail.com> ---
Are you able to reproduce this bug with simple program using a standard dds
file? If this is possible, please attach such example.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2035 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 76919] Random junk at the bottom of non-multiple-of-4 compressed textures (original or mipmapped)
  2014-04-01 20:07 [Bug 76919] New: Random junk at the bottom of non-multiple-of-4 compressed textures (original or mipmapped) bugzilla-daemon
                   ` (5 preceding siblings ...)
  2014-05-19 12:09 ` bugzilla-daemon
@ 2014-12-31  9:04 ` bugzilla-daemon
  2015-03-16 12:32 ` bugzilla-daemon
  2019-09-18 19:15 ` bugzilla-daemon
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2014-12-31  9:04 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 291 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=76919

--- Comment #5 from Eero Tamminen <eero.t.tamminen@intel.com> ---
Bug 86747 (on Intel GPU) could also be due to DXT texture mipmap levels not
being multiple of 4.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1287 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 76919] Random junk at the bottom of non-multiple-of-4 compressed textures (original or mipmapped)
  2014-04-01 20:07 [Bug 76919] New: Random junk at the bottom of non-multiple-of-4 compressed textures (original or mipmapped) bugzilla-daemon
                   ` (6 preceding siblings ...)
  2014-12-31  9:04 ` bugzilla-daemon
@ 2015-03-16 12:32 ` bugzilla-daemon
  2019-09-18 19:15 ` bugzilla-daemon
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2015-03-16 12:32 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 459 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=76919

Tapani Pälli <lemody@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #6 from Tapani Pälli <lemody@gmail.com> ---
please attach a test case

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1921 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 76919] Random junk at the bottom of non-multiple-of-4 compressed textures (original or mipmapped)
  2014-04-01 20:07 [Bug 76919] New: Random junk at the bottom of non-multiple-of-4 compressed textures (original or mipmapped) bugzilla-daemon
                   ` (7 preceding siblings ...)
  2015-03-16 12:32 ` bugzilla-daemon
@ 2019-09-18 19:15 ` bugzilla-daemon
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2019-09-18 19:15 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 840 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=76919

GitLab Migration User <gitlab-migration@fdo.invalid> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|---                         |MOVED

--- Comment #7 from GitLab Migration User <gitlab-migration@fdo.invalid> ---
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been
closed from further activity.

You can subscribe and participate further through the new bug through this link
to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/503.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2566 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2019-09-18 19:15 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-01 20:07 [Bug 76919] New: Random junk at the bottom of non-multiple-of-4 compressed textures (original or mipmapped) bugzilla-daemon
2014-04-01 20:08 ` [Bug 76919] " bugzilla-daemon
2014-04-02 10:02 ` bugzilla-daemon
2014-04-06  1:27 ` bugzilla-daemon
2014-04-06  1:34 ` bugzilla-daemon
2014-05-09  2:04 ` bugzilla-daemon
2014-05-19 12:09 ` bugzilla-daemon
2014-12-31  9:04 ` bugzilla-daemon
2015-03-16 12:32 ` bugzilla-daemon
2019-09-18 19:15 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.