Public bug reported:

1.) lsb_release -rd
    Description:        Ubuntu 12.04.1 LTS
    Release:    12.04

2.) apt-cache policy libXrender1
        libxrender1:
          Installed: 1:0.9.6-2build1
          Candidate: 1:0.9.6-2build1
          Version table:
         *** 1:0.9.6-2build1 0
                        500 http://archive.ubuntu.com/ubuntu/ precise/main 
amd64 Packages
                        100 /var/lib/dpkg/status

apt-cache policy libXrender1:i386
        libxrender1:i386:
          Installed: 1:0.9.6-2build1
          Candidate: 1:0.9.6-2build1
          Version table:
         *** 1:0.9.6-2build1 0
                        500 http://archive.ubuntu.com/ubuntu/ precise/main i386 
Packages
                        100 /var/lib/dpkg/status

3.) What you expected to happen: Eclipse window rendering would be working at 
the similar speed as in Oneric.
4.) What happened instead: Eclipse was terribly slow.


Conditions: WID 6.2 Linux version is 32-bit. Ubuntu 12.04 64-bit version 
installed with latest updates. ia32-libs and libstdc++5:i386 package to make 
WID 6.2 working.

WID 6.2 was running smoothly on Ubuntu 11.10 (Oneiric) but that stopped
directly after upgrade to Ubuntu 12.04. The problem is that window
rendering (BPEL editor) started to be terribly slow (CPU at 100%).

I tried to investigate the problem and finally after a few days and nights I've 
find out that the problem is in libXrender package.
Since code has not been changed between the two Ubuntu releases, it's somehow 
related to how the package is build.

5.) My analysis of the problem:

5.1) Some simple tests first
    - Usage of different window environment had no effect (Unity, Gnome Shell, 
Gnome Classic, XFCE).
    - Usage of latest Xorg versions (xorg-edgers) had also no effect.
    - Usage of older/newer nvidia drivers had no effect.
    - Usage of xserver-xorg-video-noveau had no effect.

5.2) Compare versions and changelog
     http://lino.ubuntuupdates.org/pm/libxrender
   precise      main    base    1:0.9.6-2build1 
   oneiric      main    base    1:0.9.6-2

      Change Log:
          Version: 1:0.9.6-2build1      2012-03-02 07:04:57 UTC
          libxrender (1:0.9.6-2build1) precise; urgency=low
            * No-change rebuild against current pkgbinarymangler to fix broken 
              md5sums. (see LP #875466)
           -- Martin Pitt Wed, 29 Feb 2012 17:58:51 +0100

5.3) Locate file
  Precise: /usr/lib/i386-linux-gnu/libXrender.so.1.3.0
  Oneiric: /usr/lib32/libXrender.so.1.3.0

5.4) Compare libXrender library dependency
    => By using ldd utility
    => nearly same output (ie.just addresses are different)

5.5) Filesize comparison (Result: Size differ significantly)
 Precise size: 34424
 Oneiric size: 38520

5.6) Compare using "file" utility (Result: hashes are different)
     Precise: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), 
dynamically linked, BuildID[sha1]=0x62c06ccdf7ede559a439ac33ac35dec40f035a9c, 
stripped
     Oneiric: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), 
dynamically linked, BuildID[sha1]=0x05ad8f548663c542361448564b6f1c6f881f9e65, 
stripped

5.7) Compare libXrender path in loaded libraries (Result: path differs)
     Find all dynamic libraries
         lsof -p <eclipse process> | grep -E "\.so\.|\.so" | cut -c74-
     List library dependency (using ldd) for every loaded library

     Result:
         - Precise: All used libraries have following dependency: 
libXrender.so.1 => /usr/lib/i386-linux-gnu/libXrender.so.1 (0xf69bd000)
         - Oneiric: Not tested (already upgraded to Precise). Very likely 
/usr/lib32/libXrender.so.1.


5.8) libXrender is used by following loaded libraries
     
/opt/IBM/WID62/configuration/org.eclipse.osgi/bundles/2282/1/.cp/libswt-atk-gtk-3453.so:
     
/opt/IBM/WID62/configuration/org.eclipse.osgi/bundles/2282/1/.cp/libswt-cairo-gtk-3453.so:
     
/opt/IBM/WID62/configuration/org.eclipse.osgi/bundles/2282/1/.cp/libswt-pi-gtk-3453.so:
     /usr/lib/i386-linux-gnu/gtk-2.0/2.10.0/engines/libclearlooks.so:
     /usr/lib/i386-linux-gnu/gtk-2.0/2.10.0/immodules/im-ibus.so:
     
/usr/lib/i386-linux-gnu/gtk-2.0/2.10.0/printbackends/libprintbackend-cups.so:
     
/usr/lib/i386-linux-gnu/gtk-2.0/2.10.0/printbackends/libprintbackend-file.so:
     /usr/lib/i386-linux-gnu/gtk-2.0/modules/libcanberra-gtk-module.so:
     /usr/lib/i386-linux-gnu/libcairo.so.2.11000.2:
     /usr/lib/i386-linux-gnu/libcanberra-gtk.so.0.1.8:
     /usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0.2400.10:
     /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0.2400.10:
     /usr/lib/i386-linux-gnu/libpangocairo-1.0.so.0.3000.0:
     /usr/lib/i386-linux-gnu/libXcursor.so.1.0.2:
     /usr/lib/i386-linux-gnu/libXrandr.so.2.2.0:


6.) Workaround (use Oneiric libXrender library version):
6.1) Copy /usr/lib32/libXrender* from Oneiric to 
/opt/IBM/WID62/oneiric/usr/lib32/
6.2) Make WID startup script /opt/IBM/WID62/runwid.sh with following content:
    LD_LIBRARY_PATH=/opt/IBM/WID62/oneiric/usr/lib32:$LD_LIBRARY_PATH
    /opt/IBM/WID62/wid.bin $*
6.3) chmod +x /opt/IBM/WID62/runwid.sh
6.4) /opt/IBM/WID62/runwid.sh

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: libxrender1:i386 1:0.9.6-2build1
ProcVersionSignature: Ubuntu 3.2.0-29.46-generic 3.2.24
Uname: Linux 3.2.0-29-generic x86_64
.tmp.unity.support.test.1:
 
ApportVersion: 2.0.1-0ubuntu12
Architecture: amd64
CompizPlugins: 
[core,composite,opengl,compiztoolbox,decor,vpswitch,snap,mousepoll,resize,place,move,wall,grid,regex,imgpng,session,gnomecompat,animation,fade,unitymtgrabhandles,workarounds,scale,expo,ezoom,unityshell]
CompositorRunning: None
Date: Sun Aug  5 19:31:24 2012
DistUpgraded: 2012-08-05 17:27:48,819 DEBUG enabling apt cron job
DistroCodename: precise
DistroVariant: ubuntu
GraphicsCard:
 NVIDIA Corporation G86 [Quadro NVS 140M] [10de:0429] (rev a1) (prog-if 00 [VGA 
controller])
   Subsystem: Lenovo ThinkPad T61 [17aa:20d8]
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
MachineType: LENOVO 6458VH5
PackageArchitecture: i386
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.2.0-29-generic 
root=UUID=abf540ab-8c67-422c-b770-ad0020b9b70b ro gfxpayload=1024x768 
crashkernel=384M-2G:64M,2G-:128M quiet splash vt.handoff=7
SourcePackage: libxrender
UpgradeStatus: Upgraded to precise on 2012-08-05 (0 days ago)
dmi.bios.date: 04/08/2010
dmi.bios.vendor: LENOVO
dmi.bios.version: 7LETC7WW (2.27 )
dmi.board.name: 6458VH5
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: 
dmi:bvnLENOVO:bvr7LETC7WW(2.27):bd04/08/2010:svnLENOVO:pn6458VH5:pvrThinkPadT61:rvnLENOVO:rn6458VH5:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 6458VH5
dmi.product.version: ThinkPad T61
dmi.sys.vendor: LENOVO
version.compiz: compiz 1:0.9.7.8-0ubuntu1.3
version.ia32-libs: ia32-libs 20090808ubuntu36
version.libdrm2: libdrm2 2.4.32-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 8.0.3-0ubuntu0.1
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 8.0.3-0ubuntu0.1
version.xserver-xorg-core: xserver-xorg-core 2:1.11.4-0ubuntu10.7
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.0-0ubuntu1.2
version.xserver-xorg-video-ati: xserver-xorg-video-ati N/A
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.17.0-1ubuntu4
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau N/A

** Affects: libxrender (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 patch precise ubuntu

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to libxrender in Ubuntu.
https://bugs.launchpad.net/bugs/1033253

Title:
  WebSphere Integration Developer 6.2 (Eclipse 3.4) - BPEL editor is
  slow for large windows

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libxrender/+bug/1033253/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to