Summary: | Pixelated shadow in Compiz | ||||||
---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Gianluca Pettinello <g_pet> | ||||
Component: | Driver/intel | Assignee: | Chris Wilson <chris> | ||||
Status: | RESOLVED FIXED | QA Contact: | Intel GFX Bugs mailing list <intel-gfx-bugs> | ||||
Severity: | normal | ||||||
Priority: | medium | CC: | g_pet | ||||
Version: | unspecified | ||||||
Hardware: | x86-64 (AMD64) | ||||||
OS: | Linux (All) | ||||||
Whiteboard: | |||||||
i915 platform: | i915 features: | ||||||
Attachments: |
|
Description
Gianluca Pettinello
2016-04-23 17:18:08 UTC
Created attachment 123189 [details]
Screenshots of the pixelated shadow
Limited precision bug. What hardware? Please attach your Xorg.0.log. Hmm. Actually it may be that the second pass is being clipped unexpectedly so the horizontal outside areas are not being smoothed. A little bit of investigation, and the issue is the quantization artefacts. I put a cap in so that the shadow doesn't become too pixellated: commit bca4e0e35e4ac27f2dcd1a8e5fcbf7ce69cec358 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Sat Apr 23 21:42:12 2016 +0100 sna: Limit generic convolution to smallish kernels Since the naive implementation uses an 8bit temporary, we can only support so many passes before the quantization artefacts become apparent. We have to be extra conservation in order to support multi-pass convolution algorithms (notable 2-pass separable Gaussian kernels). References: https://bugs.freedesktop.org/show_bug.cgi?id=95091 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> It's a tradeoff that hopefully should allow small drop shadows (~15 pixels) to be naively acceleration without looking atrocious. It would be possible to fully support convolution kernels on recent hardware, might be an interesting challenge. Hi Chris, I recompiled and tested: works like a charm! You are really a master. It is a teaching lesson for me of how nice is the concept of free open source community: there is always somebody there to help you and you on your turn can help somebody. I will cascade to compiz community Thanks again Gianluca |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.