Bug 43649 - Clipping in libreoffice welcome screen
Summary: Clipping in libreoffice welcome screen
Status: CLOSED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Chris Wilson
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords: regression
: 42557 43201 43776 43887 44210 47701 48626 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-12-08 17:35 UTC by Bryce Harrington
Modified: 2012-04-13 00:01 UTC (History)
8 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Screenshot showing the clipping problem (138.85 KB, image/png)
2011-12-08 17:39 UTC, Bryce Harrington
no flags Details
BootDmesg.txt (61.75 KB, text/plain)
2011-12-08 17:40 UTC, Bryce Harrington
no flags Details
CurrentDmesg.txt (36.37 KB, text/plain)
2011-12-08 17:41 UTC, Bryce Harrington
no flags Details
XorgLog.txt (38.76 KB, text/plain)
2011-12-08 17:41 UTC, Bryce Harrington
no flags Details

Description Bryce Harrington 2011-12-08 17:35:51 UTC
Forwarding this bug from Ubuntu (sounds like it affects Fedora too):
http://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/901959

When launching LibreOffice, a welcome panel is displayed.  On Intel video drivers the left and right edges of this window are unpainted.  See attached screenshot.

I reproduced the bug on Ubuntu Precise (12.04) by running `libreoffice` from a terminal window.

Michael Stahl (RedHat) originally found this issue (found in Fedora 16), and did some further analysis:

< mst_> we set up a clipping region with XSetRegion that has 4 rects
< mst_> then we paint about 40 polygons for the gradient, covering the entire window
< mst_> but somehow only the stuff that lands in the first of the 4 clipping rects actually shows up
< mst_> so i have a gradient along the top of the window, but other 3 borders are un-painted (very ugly)
< mst_> as i already mentioned earlier today just removing the clipping lets whole window be painted
< mst_> actually it is broken in LO 3.4, master, AOOo 3.4, havent tried anything older
< mst_> could it be it's an X problem?
< mst_> am running on F16 which is probably some bleeding edge stuff
< mst_> if i start it in Xephyr i get all gradients

DistroRelease: Ubuntu 12.04
Package: xorg 1:7.6+7ubuntu7
ProcVersionSignature: Ubuntu 3.2.0-2.6-generic-pae 3.2.0-rc3
Uname: Linux 3.2.0-2-generic-pae i686
.tmp.unity.support.test.0:

ApportVersion: 1.90-0ubuntu1
Architecture: i386
CompizPlugins: [core,bailer,detection,composite,opengl,decor,imgpng,gnomecompat,regex,place,snap,vpswitch,mousepoll,grid,compiztoolbox,animation,move,session,resize,unitymtgrabhandles,workarounds,wall,expo,fade,ezoom,scale,unityshell]
CompositorRunning: None
Date: Thu Dec  8 17:21:31 2011
DistUpgraded: Fresh install
DistroCodename: precise
DistroVariant: ubuntu
GraphicsCard:
Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a42] (rev 07) (prog-if 00 [VGA controller])
Subsystem: Fujitsu Limited. Device [10cf:1458]
Subsystem: Fujitsu Limited. Device [10cf:1458]
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha i386 (20111121)
MachineType: FUJITSU LifeBook T4410
PccardctlIdent:
Socket 0:
no product info available
PccardctlStatus:
Socket 0:
no card
ProcEnviron:
PATH=(custom, no user)
LANG=en_US.UTF-8ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-2-generic-pae root=UUID=74b73169-6ac4-4698-bb5e-1f9b21250507 ro quiet splash vt.handoff=7
SourcePackage: xorg
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 09/30/2009
dmi.bios.vendor: FUJITSU // Phoenix Technologies Ltd.
dmi.bios.version: Version 1.05
dmi.board.name: FJNB206
dmi.board.vendor: FUJITSU
dmi.chassis.type: 10
dmi.chassis.vendor: A40R8CE708EA1001
dmi.modalias: dmi:bvnFUJITSU//PhoenixTechnologiesLtd.:bvrVersion1.05:bd09/30/2009:svnFUJITSU:pnLifeBookT4410:pvr:rvnFUJITSU:rnFJNB206:rvr:cvnA40R8CE708EA1001:ct10:cvr:
dmi.product.name: LifeBook T4410
dmi.sys.vendor: FUJITSU
version.compiz: compiz 1:0.9.6+bzr20110929-0ubuntu7
version.libdrm2: libdrm2 2.4.27-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 7.11-0ubuntu4
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 7.11-0ubuntu4
version.xserver-xorg-core: xserver-xorg-core 2:1.10.4-1ubuntu5
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.6.0-1ubuntu13
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.99~git20110811.g93fc084-0ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.15.901-1ubuntu3
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110411+8378443-1
Comment 1 Bryce Harrington 2011-12-08 17:39:39 UTC
Created attachment 54257 [details]
Screenshot showing the clipping problem
Comment 2 Bryce Harrington 2011-12-08 17:40:02 UTC
Created attachment 54258 [details]
BootDmesg.txt
Comment 3 Bryce Harrington 2011-12-08 17:41:12 UTC
Created attachment 54259 [details]
CurrentDmesg.txt
Comment 4 Bryce Harrington 2011-12-08 17:41:30 UTC
Created attachment 54260 [details]
XorgLog.txt
Comment 5 Chris Wilson 2011-12-09 01:39:27 UTC
Yet another bug present in UXA but not SNA ;-p
Comment 6 Chris Wilson 2011-12-09 01:57:47 UTC
commit 429a36f7481b9bfd5ed137642d2916d69a713557
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Fri Dec 9 09:54:12 2011 +0000

    uxa: Fix clip processing for uxa_fill_spans()
    
    Fixes regression from e0066e77e026b0dd0daa0c3765473c7d63aa6753
    (uxa: Simplify Composite solid acceleration for spans by only clipping
    once) [2.15.901]
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=43649
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Comment 7 Michael Stahl 2011-12-09 08:43:18 UTC
hi Bryce,

thanks for reporting the bug, but you could have just saved me a bit of pointless work by putting me on CC: on this, or even just forwarding me a mail...

thanks Chris for fixing it so quickly :)
Comment 8 Björn Michaelsen 2011-12-09 11:21:44 UTC
@mst: Sorry, I should have pinged you about it, but it came up spontaneous on IRC yesterday at 2am local and I didnt bother. Bryce was really proactive on this one ;)
Comment 9 Bryce Harrington 2011-12-09 11:30:14 UTC
Think this might be the first time I've seen someone complain when a bug got fixed *too* fast.  ;-)
Comment 10 Chris Wilson 2011-12-13 01:54:31 UTC
*** Bug 43776 has been marked as a duplicate of this bug. ***
Comment 11 Michael Stahl 2011-12-19 03:19:02 UTC
*** Bug 43887 has been marked as a duplicate of this bug. ***
Comment 12 Caolán McNamara 2011-12-19 04:39:01 UTC
*** Bug 43201 has been marked as a duplicate of this bug. ***
Comment 13 Stephan Bergmann 2012-01-15 23:35:59 UTC
*** Bug 44210 has been marked as a duplicate of this bug. ***
Comment 14 Jean-Baptiste Faure 2012-01-16 00:35:10 UTC
That is strange. Is this bug really fixed ? I cannot find the commit in master and libreoffice-3-5 branches.
My bug report bug 44210 has been done *after* this one has been closed and on my own build LO 3.5.0 beta.
Please, could you provide the link to the commit?

Thank you very much.
Comment 15 Jean-Baptiste Faure 2012-01-16 00:43:06 UTC
(In reply to comment #14)
> That is strange. Is this bug really fixed ? I cannot find the commit in master
> and libreoffice-3-5 branches.
> My bug report bug 44210 has been done *after* this one has been closed and on
> my own build LO 3.5.0 beta.
> Please, could you provide the link to the commit?
> 
> Thank you very much.

Sorry I should have read more carefully the comment by Stephan Bergmann in bug 44210.
So it is a bug in X not in LibreOffice and resolution should have been NotOurBug.

No workaround possible in LO ?

Best regards. JBF
Comment 16 Michael Stahl 2012-01-16 03:54:44 UTC
Jean-Baptiste Faure:

please note that this bugtracker is used not only for LibreOffice but also for X.org, and its drivers, where this bug has been fixed.

in Fedora 16 the driver is fixed now.
Comment 17 Jean-Baptiste Faure 2012-01-16 04:25:57 UTC
(In reply to comment #16)
> Jean-Baptiste Faure:
> 
> please note that this bugtracker is used not only for LibreOffice but also for
> X.org, and its drivers, where this bug has been fixed.
> 
> in Fedora 16 the driver is fixed now.

Oups, sorry. I did not see that a bug LibreOffice was marked as duplicate of a bug X.

Best regards. JBF
Comment 18 se_massey 2012-01-16 12:18:15 UTC
*** Bug 42557 has been marked as a duplicate of this bug. ***
Comment 19 Stephan Bergmann 2012-03-22 01:40:10 UTC
*** Bug 47701 has been marked as a duplicate of this bug. ***
Comment 20 Stephan Bergmann 2012-04-13 00:01:23 UTC
*** Bug 48626 has been marked as a duplicate of this bug. ***


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.