Hello, I can't use firefox with hardware acceleration which it was built with gentoo but www-client/firefox-bin package works fine with hardware acceleration "www-client/firefox-42.0 about:support graphics log Graphics Asynchronous Pan/Zoom none GPU Accelerated Windows 0/1 Basic (OMTC) Blocked for your graphics driver version. Try updating your graphics driver to version <Anything with EXT_texture_from_pixmap support> or newer. Supports Hardware H264 Decoding false WebGL Renderer Blocked for your graphics card because of unresolved driver issues. windowLayerManagerRemote true AzureCanvasBackend cairo AzureContentBackend cairo AzureFallbackCanvasBackend none AzureSkiaAccelerated 0 CairoUseXRender 1" www-client/firefox-bin-42.0 about:support graphics log Graphics Adapter Description ATI Technologies Inc. -- AMD Radeon R9 200 Series Asynchronous Pan/Zoom none Device ID AMD Radeon R9 200 Series Driver Version 4.5.13399 Compatibility Profile Context 15.201.1151 GPU Accelerated Windows 0/1 Basic (OMTC) Supports Hardware H264 Decoding false Vendor ID ATI Technologies Inc. WebGL Renderer ATI Technologies Inc. -- AMD Radeon R9 200 Series windowLayerManagerRemote true AzureCanvasBackend cairo AzureContentBackend cairo AzureFallbackCanvasBackend none AzureSkiaAccelerated 0 CairoUseXRender 1 Reproducible: Always ~ $ www-client/firefox-42.0::gentoo was built with the following: USE="dbus egl gmp-autoupdate gstreamer gtk3 jemalloc3 jit minimal pulseaudio startup-notification wifi -bindist -custom-cflags -custom-optimization -debug -gstreamer-0 -hardened (-neon) (-pgo) (-selinux) -system-cairo -system-icu -system-jpeg -system-libvpx -system-sqlite -test" ABI_X86="64" LINGUAS="tr -af -ar -as -ast -be -bg -bn_BD -bn_IN -br -bs -ca -cs -cy -da -de -el -en_GB -en_ZA -eo -es_AR -es_CL -es_ES -es_MX -et -eu -fa -fi -fr -fy_NL -ga_IE -gd -gl -gu_IN -he -hi_IN -hr -hu -hy_AM -id -is -it -ja -kk -km -kn -ko -lt -lv -mai -mk -ml -mr -nb_NO -nl -nn_NO -or -pa_IN -pl -pt_BR -pt_PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv_SE -ta -te -th -uk -vi -xh -zh_CN -zh_TW" CFLAGS="-march=haswell -pipe" CXXFLAGS="-march=haswell -pipe ============================================================================ ~ $ emerge --info Portage 2.2.24 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop/gnome/systemd, gcc-4.9.3, glibc-2.22-r1, 4.2.5-gentoo x86_64) ================================================================= System uname: Linux-4.2.5-gentoo-x86_64-Intel-R-_Core-TM-_i7-4770_CPU_@_3.40GHz-with-gentoo-2.2 KiB Mem: 16378572 total, 13489796 free KiB Swap: 16777212 total, 16777212 free Timestamp of repository gentoo: Fri, 06 Nov 2015 16:00:01 +0000 sh bash 4.3_p42 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 app-shells/bash: 4.3_p42::gentoo dev-java/java-config: 2.2.0::gentoo dev-lang/perl: 5.22.0::gentoo dev-lang/python: 2.7.10::gentoo, 3.4.3::gentoo dev-util/cmake: 3.3.2-r1::gentoo dev-util/pkgconfig: 0.29::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.18.3::gentoo sys-apps/sandbox: 2.9::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r1::gentoo sys-devel/automake: 1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo sys-devel/binutils: 2.25.1-r1::gentoo sys-devel/gcc: 4.9.3::gentoo sys-devel/gcc-config: 1.8::gentoo sys-devel/libtool: 2.4.6-r1::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 4.2::gentoo (virtual/os-headers) sys-libs/glibc: 2.22-r1::gentoo Repositories: gentoo location: /run/media/olci/XBASEX/gentoo/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 yerel location: /usr/local/portage masters: gentoo Installed sets: @steam ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=haswell -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=haswell -O2 -pipe" DISTDIR="/run/media/olci/XBASEX/gentoo/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://ftp.linux.org.tr/gentoo/" LANG="tr_TR.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j8" PKGDIR="/run/media/olci/XBASEX/gentoo/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp/portage" USE="X a52 aac acl acpi aes alsa amd64 berkdb bluetooth branding btrfs bzip2 cairo cdda cdr cleartype cli colord corefonts cracklib crypt cups cxx dbus dri dts dvb dvd dvdr eds egl emboss encode evo exif f2fs fam fat firefox flac fortran freetype gdbm gdm gif glamor gnome gnome-keyring gnome-online-accounts gphoto2 gstreamer gtk gtk3 hfs iconv icu introspection ipv6 java jpeg lame lcd lcms ldap libkms libnotify libsecret lzo mad matroska mmx mmxext mng modules mono mp3 mp4 mpeg mtp multilib nautilus ncurses networkmanager nls nptl nsplugin ntfs ogg oggvorbis openal opencl opengl openmp opus pam pango pcre pdf plymouth png policykit ppds pulseaudio qt3support qt4 rar readline sdl seccomp session shotwell spell sse sse2 ssh ssl startup-notification svg symlink systemd tahoma tcpd tiff tracker truetype udev udisks unicode upnp upower usb v4l v4l2 vaapi vala vdpau vorbis webgl wifi wxwidgets x264 x265 xattr xcb xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="tr" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="fglrx radeonsi radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
OMTC is known broken on linux even with upstream builds. You are gonna be in same boat most other users are in including myself.
(In reply to Jory A. Pratt from comment #1) > OMTC is known broken on linux even with upstream builds. You are gonna be in > same boat most other users are in including myself. yes you're right i just run the bench from https://developer.mozilla.org/media/uploads/demos/p/a/paulrouget/8bfba7f0b6c62d877a2b82dd5e10931e/hacksmozillaorg-achi_1334270447_demo_package/HWACCEL/ fps was 29/27 both builds broken i got that thanks anyway
Created attachment 416810 [details] emerge --info firefox I was able to turn on hardware acceleration (at least judging by about:support output) by setting USE='-egl' for firefox. With USE='egl' I was unable to convince firefox to enable hardware acceleration even through various 'force-*' preferences. about:support info: Graphics -------- Adapter Description: Intel Open Source Technology Center -- Mesa DRI Intel(R) Ironlake Mobile Asynchronous Pan/Zoom: none Device ID: Mesa DRI Intel(R) Ironlake Mobile Driver Version: 2.1 Mesa 11.0.4 GPU Accelerated Windows: 1/1 OpenGL (OMTC) Supports Hardware H264 Decoding: false Vendor ID: Intel Open Source Technology Center WebGL Renderer: Intel Open Source Technology Center -- Mesa DRI Intel(R) Ironlake Mobile windowLayerManagerRemote: true AzureCanvasBackend: cairo AzureContentBackend: cairo AzureFallbackCanvasBackend: none AzureSkiaAccelerated: 0 CairoUseXRender: 1 about:config changes: layers.acceleration.force-enabled: true webgl.force-enabled: true
I wonder if rebuilding with USE='-egl' solves this issue in general. Olcay, Jory could you test it and provide feedback, please?
(In reply to Coacher from comment #4) > I wonder if rebuilding with USE='-egl' solves this issue in general. > Olcay, Jory could you test it and provide feedback, please? It will not fix it for the majority of users. The option in the mozilla overlay should be about ready to move to the tree in next few days.
(In reply to Jory A. Pratt from comment #5) > It will not fix it for the majority of users. Can you please elaborate on this one? > The option in the mozilla overlay should be about ready to move to the tree in next few days. Are you referring to this: https://github.com/gentoo-mirror/mozilla/commit/d6bfb5bd999fef763c3dadfaf155a588ac5c2c5a ? Because I have hardware acceleration + stable, working OMTC with cairo[X,xcb,xlib-xcb].
(In reply to Coacher from comment #6) > (In reply to Jory A. Pratt from comment #5) > > It will not fix it for the majority of users. > > Can you please elaborate on this one? > > > The option in the mozilla overlay should be about ready to move to the tree in next few days. > > Are you referring to this: > https://github.com/gentoo-mirror/mozilla/commit/ > d6bfb5bd999fef763c3dadfaf155a588ac5c2c5a ? > > Because I have hardware acceleration + stable, working OMTC with > cairo[X,xcb,xlib-xcb]. The only way you do not have a crash with this when opening a new tab is using newtab instead of the default newtabpage.
(In reply to Jory A. Pratt from comment #7) > The only way you do not have a crash with this when opening a new tab is > using newtab instead of the default newtabpage. What do you mean by "using newtab instead of the default newtabpage"? My newtabpage is the default about:newtab.
there is no hardware accel at about:support output but i got 60+ fps with radeonsi from https://developer.mozilla.org/media/uploads/demos/p/a/paulrouget/8bfba7f0b6c62d877a2b82dd5e10931e/hacksmozillaorg-achi_1334270447_demo_package/HWACCEL/ it was 27 fps with fglrx
(In reply to Coacher from comment #3) > Created attachment 416810 [details] > emerge --info firefox > > I was able to turn on hardware acceleration (at least judging by > about:support output) by setting USE='-egl' for firefox. With USE='egl' I > was unable to convince firefox to enable hardware acceleration even through > various 'force-*' preferences. > > about:support info: > > Graphics > -------- > > Adapter Description: Intel Open Source Technology Center -- Mesa DRI > Intel(R) Ironlake Mobile > Asynchronous Pan/Zoom: none > Device ID: Mesa DRI Intel(R) Ironlake Mobile > Driver Version: 2.1 Mesa 11.0.4 > GPU Accelerated Windows: 1/1 OpenGL (OMTC) > Supports Hardware H264 Decoding: false > Vendor ID: Intel Open Source Technology Center > WebGL Renderer: Intel Open Source Technology Center -- Mesa DRI Intel(R) > Ironlake Mobile > windowLayerManagerRemote: true > AzureCanvasBackend: cairo > AzureContentBackend: cairo > AzureFallbackCanvasBackend: none > AzureSkiaAccelerated: 0 > CairoUseXRender: 1 > > > about:config changes: > > layers.acceleration.force-enabled: true > webgl.force-enabled: true Thanks for this! I was able to turn on hwaccel with -egl emerge --info is here: https://564918.bugs.gentoo.org/attachment.cgi?id=416900 Basically, with hwaccel I get 9fps instead of 5fps without, with system-cairo; and with -system-cairo, with hwaccel 5fps instead of 16fps without(yes, without is way faster!) tested firefox 42.0-r1 Prior to -egl, so with egl, I had this: 0/1 Basic (OMTC) Blocked for your graphics driver version. Try updating your graphics driver to version <Anything with EXT_texture_from_pixmap support> or newer.
(In reply to Olcay from comment #9) > there is no hardware accel at about:support output > but i got 60+ fps with radeonsi from > https://developer.mozilla.org/media/uploads/demos/p/a/paulrouget/ > 8bfba7f0b6c62d877a2b82dd5e10931e/hacksmozillaorg- > achi_1334270447_demo_package/HWACCEL/ > > it was 27 fps with fglrx Are these results with or without 'egl' USE enabled?
(In reply to Coacher from comment #11) > (In reply to Olcay from comment #9) > > there is no hardware accel at about:support output > > but i got 60+ fps with radeonsi from > > https://developer.mozilla.org/media/uploads/demos/p/a/paulrouget/ > > 8bfba7f0b6c62d877a2b82dd5e10931e/hacksmozillaorg- > > achi_1334270447_demo_package/HWACCEL/ > > > > it was 27 fps with fglrx > > Are these results with or without 'egl' USE enabled? with egl enabled
(In reply to Olcay from comment #12) > (In reply to Coacher from comment #11) > > (In reply to Olcay from comment #9) > > > there is no hardware accel at about:support output > > > but i got 60+ fps with radeonsi from > > > https://developer.mozilla.org/media/uploads/demos/p/a/paulrouget/ > > > 8bfba7f0b6c62d877a2b82dd5e10931e/hacksmozillaorg- > > > achi_1334270447_demo_package/HWACCEL/ > > > > > > it was 27 fps with fglrx > > > > Are these results with or without 'egl' USE enabled? > > with egl enabled Would you care to test firefox with egl disabled?
(In reply to Coacher from comment #13) > (In reply to Olcay from comment #12) > > (In reply to Coacher from comment #11) > > > (In reply to Olcay from comment #9) > > > > there is no hardware accel at about:support output > > > > but i got 60+ fps with radeonsi from > > > > https://developer.mozilla.org/media/uploads/demos/p/a/paulrouget/ > > > > 8bfba7f0b6c62d877a2b82dd5e10931e/hacksmozillaorg- > > > > achi_1334270447_demo_package/HWACCEL/ > > > > > > > > it was 27 fps with fglrx > > > > > > Are these results with or without 'egl' USE enabled? > > > > with egl enabled > > Would you care to test firefox with egl disabled? without egl 48 fps
-egl, 60+
(In reply to Olcay from comment #14) > (In reply to Coacher from comment #13) > > (In reply to Olcay from comment #12) > > > (In reply to Coacher from comment #11) > > > > (In reply to Olcay from comment #9) > > > > > there is no hardware accel at about:support output > > > > > but i got 60+ fps with radeonsi from > > > > > https://developer.mozilla.org/media/uploads/demos/p/a/paulrouget/ > > > > > 8bfba7f0b6c62d877a2b82dd5e10931e/hacksmozillaorg- > > > > > achi_1334270447_demo_package/HWACCEL/ > > > > > > > > > > it was 27 fps with fglrx > > > > > > > > Are these results with or without 'egl' USE enabled? > > > > > > with egl enabled > > > > Would you care to test firefox with egl disabled? > > without egl 48 fps Thank you for the info. See, Anarchy? '-egl' does help.
If you feel I have closed your bug and it is still a current issue, please reopen and update it completely. We will not work bugs that have no ebuild in tree any longer or can not be reproduced with a current system. Thank You for your support and understanding The Mozilla Team