László Csontos
2015-May-18 06:34 UTC
[CentOS] Constant screen flicker with Firefox browser
Hi Thomas, Thanks for the hint. I'm trying to rebuild the original SRPM without the patch for know, but I'm getting the following error. rpmbuild --rebuild /tmp/clutter-1.14.4-12.el7.src.rpm ... checking for XIAllowTouchEvents... yes checking for XIScrollClassInfo.number... yes checking for XkbQueryExtension... yes checking for GDK_PIXBUF... no configure: error: Package requirements (gdk-pixbuf-2.0) were not met: Package libpng15 was not found in the pkg-config search path. Perhaps you should add the directory containing `libpng15.pc' to the PKG_CONFIG_PATH environment variable Package 'libpng15', required by 'GdkPixbuf', not found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables GDK_PIXBUF_CFLAGS and GDK_PIXBUF_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. error: Bad exit status from /var/tmp/rpm-tmp.o3QHFY (%build) ... I've checked that libpng15.pc is in /usr/lib/pkgconfig. Tried to set PKG_CONFIG_PATH to /usr/lib/pkgconfig manually, but the error is the same. Do you have any idea how to work this around? Cheers, Laszlo 2015-05-15 4:15 GMT+02:00 Thomas Eriksson <thomas.eriksson at slac.stanford.edu>:> On 05/14/2015 08:36 AM, L?szl? Csontos wrote: > > Hi Guys, > > > > I'm facing this issue: https://bugs.centos.org/view.php?id=8482 > > > > It came after upgrading to 7.1 and only Firefox is affected, Chrome is > > working. > > > > What I've tried so far: > > > > - Tried NVIDIA drivers 340.65, 346.59 and 346.72 > > - Upgraded Firefox to 38 > > - Tried Safe more / Refresh Firefox > > - Tried to turn HW accel. off in Firefox > > > > None of these has helped to eliminate the issue. > > > > Do you know how to work this around? > > > > Many thanks, > > L?szl? > > It sounds like you are experiencing this problem > https://bugzilla.gnome.org/show_bug.cgi?id=724788 > > The fix is a two line patch that is released against clutter 1.16, > but it applies cleanly against 1.14 (which is in CentOS 7, maybe this > gets fixed with the upcoming Gnome rebase). > > I rebuilt the clutter rpms with the patch and the flickering problem > went away. > > -Thomas > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >
Thomas Eriksson
2015-May-18 19:00 UTC
[CentOS] Constant screen flicker with Firefox browser
On 05/17/2015 11:34 PM, L?szl? Csontos wrote:> Hi Thomas, > > Thanks for the hint. > > I'm trying to rebuild the original SRPM without the patch for know, but I'm > getting the following error. > > rpmbuild --rebuild /tmp/clutter-1.14.4-12.el7.src.rpm > ... > checking for XIAllowTouchEvents... yes > checking for XIScrollClassInfo.number... yes > checking for XkbQueryExtension... yes > checking for GDK_PIXBUF... no > configure: error: Package requirements (gdk-pixbuf-2.0) were not met: > > Package libpng15 was not found in the pkg-config search path. > Perhaps you should add the directory containing `libpng15.pc' > to the PKG_CONFIG_PATH environment variable > Package 'libpng15', required by 'GdkPixbuf', not found > > Consider adjusting the PKG_CONFIG_PATH environment variable if you > installed software in a non-standard prefix. > > Alternatively, you may set the environment variables GDK_PIXBUF_CFLAGS > and GDK_PIXBUF_LIBS to avoid the need to call pkg-config. > See the pkg-config man page for more details. > error: Bad exit status from /var/tmp/rpm-tmp.o3QHFY (%build) > ... > > I've checked that libpng15.pc is in /usr/lib/pkgconfig. Tried to set > PKG_CONFIG_PATH to /usr/lib/pkgconfig manually, but the error is the same. > > Do you have any idea how to work this around? > > Cheers, > Laszlo >Hi Lazlo, To build almost any src.rpm package you will need some *-devel packages installed. And if you are going to modify a build you need to install the src.rpm into a build area first. http://wiki.centos.org/HowTos/SetupRpmBuildEnvironment https://fedoraproject.org/wiki/Mock?rd=Subprojects/Mock The spec file contains a set BuildRequires statements that will be a starting point. The clutter.spec file contains these: BuildRequires: glib2-devel mesa-libGL-devel pkgconfig pango-devel BuildRequires: cairo-gobject-devel gdk-pixbuf2-devel atk-devel BuildRequires: cogl-devel >= %{cogl_version} BuildRequires: gobject-introspection-devel >= 0.9.6 BuildRequires: gtk3-devel BuildRequires: json-glib-devel >= 0.12.0 BuildRequires: libXcomposite-devel BuildRequires: libXdamage-devel BuildRequires: libXi-devel -Thomas
On 05/18/2015 02:00 PM, Thomas Eriksson wrote:> > On 05/17/2015 11:34 PM, L?szl? Csontos wrote: >> Hi Thomas, >> >> Thanks for the hint. >> >> I'm trying to rebuild the original SRPM without the patch for know, but I'm >> getting the following error. >> >> rpmbuild --rebuild /tmp/clutter-1.14.4-12.el7.src.rpm >> ... >> checking for XIAllowTouchEvents... yes >> checking for XIScrollClassInfo.number... yes >> checking for XkbQueryExtension... yes >> checking for GDK_PIXBUF... no >> configure: error: Package requirements (gdk-pixbuf-2.0) were not met: >> >> Package libpng15 was not found in the pkg-config search path. >> Perhaps you should add the directory containing `libpng15.pc' >> to the PKG_CONFIG_PATH environment variable >> Package 'libpng15', required by 'GdkPixbuf', not found >> >> Consider adjusting the PKG_CONFIG_PATH environment variable if you >> installed software in a non-standard prefix. >> >> Alternatively, you may set the environment variables GDK_PIXBUF_CFLAGS >> and GDK_PIXBUF_LIBS to avoid the need to call pkg-config. >> See the pkg-config man page for more details. >> error: Bad exit status from /var/tmp/rpm-tmp.o3QHFY (%build) >> ... >> >> I've checked that libpng15.pc is in /usr/lib/pkgconfig. Tried to set >> PKG_CONFIG_PATH to /usr/lib/pkgconfig manually, but the error is the same. >> >> Do you have any idea how to work this around? >> >> Cheers, >> Laszlo >> > > Hi Lazlo, > > To build almost any src.rpm package you will need some *-devel packages > installed. And if you are going to modify a build you need to install > the src.rpm into a build area first. > > http://wiki.centos.org/HowTos/SetupRpmBuildEnvironment > https://fedoraproject.org/wiki/Mock?rd=Subprojects/Mock > > The spec file contains a set BuildRequires statements that will be a > starting point. The clutter.spec file contains these: > > BuildRequires: glib2-devel mesa-libGL-devel pkgconfig pango-devel > BuildRequires: cairo-gobject-devel gdk-pixbuf2-devel atk-devel > BuildRequires: cogl-devel >= %{cogl_version} > BuildRequires: gobject-introspection-devel >= 0.9.6 > BuildRequires: gtk3-devel > BuildRequires: json-glib-devel >= 0.12.0 > BuildRequires: libXcomposite-devel > BuildRequires: libXdamage-devel > BuildRequires: libXi-develI am happy to build this an stick it in a non standard place where people who have this problem can get it. I will build the new clutter and link it to your bug now. Thanks, Johnny Hughes -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: OpenPGP digital signature URL: <http://lists.centos.org/pipermail/centos/attachments/20150519/e9d0012a/attachment-0001.sig>