Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 569036 - x11-drivers/ati-drivers Can't find symbol 'EGLImageTargetRenderbufferStorageOES' and empty window when launching www-client/firefox-43.0
Summary: x11-drivers/ati-drivers Can't find symbol 'EGLImageTargetRenderbufferStorageO...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal with 3 votes (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
: 590716 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-12-21 19:18 UTC by xela
Modified: 2017-02-23 22:58 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Empty firefox window (Screenshot.png,30.45 KB, image/png)
2015-12-21 19:18 UTC, xela
Details
emerge --info (emerge-info.txt,5.52 KB, text/plain)
2015-12-21 19:19 UTC, xela
Details
emerge --info (emerge-info,5.64 KB, text/plain)
2016-03-27 01:50 UTC, Cengiz Gunay
Details

Note You need to log in before you can comment on or make changes to this bug.
Description xela 2015-12-21 19:18:37 UTC
Created attachment 420062 [details]
Empty firefox window

I've got a hybrid (ATI+Intel) graphics laptop and used open drivers most of the time, but yesterday I've managed to get fglrx running. Everything is nice and smooth except firefox which seems to link against mesa:

$ firefox
Can't find symbol 'EGLImageTargetRenderbufferStorageOES'.
Can't find symbol 'EGLImageTargetRenderbufferStorageOES'.


$ ldd /usr/lib64/firefox/components/libmozgnome.so | grep EGL
	libEGL.so.1 => /usr/lib64/libEGL.so.1 (0x00007ffa2e0c1000)


# eselect opengl list
Available OpenGL implementations:
  [1]   ati *
  [2]   xorg-x11

$ eix -e firefox
[I] www-client/firefox
     Available versions:  (~)38.0.5[1] 38.4.0^d (~)38.5.0^d (~)39.0[1] (~)40.0_beta1[1] (~)43.0^d {bindist custom-cflags custom-optimization dbus debug egl +gmp-autoupdate (+)gstreamer gstreamer-0 gtk3 hardened +hwaccel +jemalloc3 +jit linguas_af linguas_ar linguas_as linguas_ast linguas_be linguas_bg linguas_bn_BD linguas_bn_IN linguas_br linguas_bs linguas_ca linguas_cs linguas_cy linguas_da linguas_de linguas_el linguas_en_GB linguas_en_ZA linguas_eo linguas_es_AR linguas_es_CL linguas_es_ES linguas_es_MX linguas_et linguas_eu linguas_fa linguas_fi linguas_fr linguas_fy_NL linguas_ga_IE linguas_gd linguas_gl linguas_gu_IN linguas_he linguas_hi_IN linguas_hr linguas_hu linguas_hy_AM linguas_id linguas_is linguas_it linguas_ja linguas_kk linguas_km linguas_kn linguas_ko linguas_lt linguas_lv linguas_mai linguas_mk linguas_ml linguas_mr linguas_nb_NO linguas_nl linguas_nn_NO linguas_or linguas_pa_IN linguas_pl linguas_pt_BR linguas_pt_PT linguas_rm linguas_ro linguas_ru linguas_si linguas_sk linguas_sl linguas_son linguas_sq linguas_sr linguas_sv_SE linguas_ta linguas_te linguas_th linguas_tr linguas_uk linguas_vi linguas_xh linguas_zh_CN linguas_zh_TW +minimal neon pgo pulseaudio selinux startup-notification system-cairo system-icu system-jpeg system-libvpx system-sqlite test wifi}
     Installed versions:  43.0^d(07:59:40 PM 12/21/2015)(dbus gmp-autoupdate gstreamer hwaccel jemalloc3 jit minimal pulseaudio startup-notification system-cairo system-icu system-jpeg system-libvpx system-sqlite -bindist -custom-cflags -custom-optimization -debug -egl -gstreamer-0 -gtk3 -hardened -linguas_af -linguas_ar -linguas_as -linguas_ast -linguas_be -linguas_bg -linguas_bn_BD -linguas_bn_IN -linguas_br -linguas_bs -linguas_ca -linguas_cs -linguas_cy -linguas_da -linguas_de -linguas_el -linguas_en_GB -linguas_en_ZA -linguas_eo -linguas_es_AR -linguas_es_CL -linguas_es_ES -linguas_es_MX -linguas_et -linguas_eu -linguas_fa -linguas_fi -linguas_fr -linguas_fy_NL -linguas_ga_IE -linguas_gd -linguas_gl -linguas_gu_IN -linguas_he -linguas_hi_IN -linguas_hr -linguas_hu -linguas_hy_AM -linguas_id -linguas_is -linguas_it -linguas_ja -linguas_kk -linguas_km -linguas_kn -linguas_ko -linguas_lt -linguas_lv -linguas_mai -linguas_mk -linguas_ml -linguas_mr -linguas_nb_NO -linguas_nl -linguas_nn_NO -linguas_or -linguas_pa_IN -linguas_pl -linguas_pt_BR -linguas_pt_PT -linguas_rm -linguas_ro -linguas_ru -linguas_si -linguas_sk -linguas_sl -linguas_son -linguas_sq -linguas_sr -linguas_sv_SE -linguas_ta -linguas_te -linguas_th -linguas_tr -linguas_uk -linguas_vi -linguas_xh -linguas_zh_CN -linguas_zh_TW -neon -pgo -selinux -test -wifi)
     Homepage:            http://www.mozilla.com/firefox
     Description:         Firefox Web Browser


$ eix -e mesa
[I] media-libs/mesa
     Available versions:  7.10.3 10.2.8^d 10.3.7-r1^d (~)10.3.7-r2^d (~)10.6.9^d 11.0.6^d (~)11.0.7^d (~)11.1.0^d **9999^d (~)9999[1] {abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64 abi_x86_32 abi_x86_64 abi_x86_x32 bindist +classic d3d9 debug +dri3 +egl +gallium +gbm gles gles1 gles2 hardened kernel_FreeBSD kernel_linux (+)llvm motif +nptl opencl openmax openvg osmesa pax_kernel pic r600-llvm-compiler selinux +udev vaapi vdpau video_cards_freedreno video_cards_i915 video_cards_i965 video_cards_ilo video_cards_intel video_cards_mach64 video_cards_mga video_cards_nouveau video_cards_r100 video_cards_r128 video_cards_r200 video_cards_r300 video_cards_r600 video_cards_radeon video_cards_radeonsi video_cards_savage video_cards_sis video_cards_tdfx video_cards_via video_cards_vmware wayland xa xvmc}
     Installed versions:  9999[1](06:36:02 AM 12/20/2015)(abi_x86_32 abi_x86_64 classic d3d9 dri3 egl gallium gbm llvm nptl opencl vaapi video_cards_intel video_cards_radeon xvmc -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_ppc_32 -abi_ppc_64 -abi_s390_32 -abi_s390_64 -abi_x86_x32 -bindist -debug -gles1 -gles2 -kernel_FreeBSD -openmax -osmesa -pax_kernel -pic -r600-llvm-compiler -selinux -vdpau -video_cards_freedreno -video_cards_i915 -video_cards_i965 -video_cards_ilo -video_cards_nouveau -video_cards_r100 -video_cards_r200 -video_cards_r300 -video_cards_r600 -video_cards_radeonsi -video_cards_vmware -wayland -xa)
     Homepage:            http://mesa3d.sourceforge.net/
     Description:         OpenGL-like graphic library for Linux 3D Version


Problem experienced with Firefox 42 and 43 and mesa 11.0.6 and further. As far as I know fglrx does not provide EGL interface, so the problem must be in firefox assuming it's present and linking against it by default.
Comment 1 xela 2015-12-21 19:19:22 UTC
Created attachment 420064 [details]
emerge --info
Comment 2 xela 2015-12-21 19:25:30 UTC
Problem seems to be in .ebuild file at line 239:

use egl && mozconfig_annotate 'Enable EGL as GL provider' --with-gl-provider=EGL

Why this is unconditional?
Comment 3 xela 2015-12-21 23:44:07 UTC
I altered ebuild and tried to compile without egl (--with-gl-provider=GLX), but the result is the same. Meanwhile, it turned out that egl is required by X server!

# USE="-egl" emerge mesa
Calculating dependencies... done!
[ebuild   R    ] media-libs/mesa-9999  USE="-egl*" 

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

media-libs/mesa:0

  (media-libs/mesa-9999:0/0::ROKO__, ebuild scheduled for merge) pulled in by
    media-libs/mesa (Argument)

  (media-libs/mesa-9999:0/0::ROKO__, installed) pulled in by
    >=media-libs/mesa-10.3.4-r1[egl,gbm] required by (x11-base/xorg-server-1.16.4-r5:0/1.16.1::gentoo, installed)
                                ^^^                                                                                                                  

Also, if I do "eselect opengl set 1" (which sets symlinks to mesa), firefox works properly. So it seems to be fglrx-related stuff...
Comment 4 Marin Hannache 2015-12-31 15:38:47 UTC
I encountered the very same issue,  disabling the "hwaccel" and "egl" use flags proved to be a sensible workaround (disabling egl might be unecessary).

By the way xela, you can disable use flags on a per package basis :
  # euse -p www-client/firefox -D egl hwaccell

(euse is part of the gentoolkit ebuild).
Comment 5 Avner Peled 2016-01-08 23:15:36 UTC
I am also experiencing the same problem.
I could avoid the blank screen by disabling hardware acceleration in firefox preferences (You can somehow view pages if you right click on the blank space).
Hardware acceleration was working fine with ati-drivers and firefox 40. Is there any way around this issue that still uses hardware acceleration?
Comment 6 Cengiz Gunay 2016-03-27 01:50:31 UTC
Created attachment 429084 [details]
emerge --info

Still happens for www-client/firefox-45.0.1 and media-libs/mesa-11.1.2-r1. Turning off the hwaccel use flag for firefox fixes the problem. Thanks Avner, for the right-click trick, but I still couldn't see enough to turn off the hardware acceleration in the preferences panel. I ended up recompiling it.
Comment 7 deference 2016-07-19 19:12:06 UTC
I am also experiencing this problem, is there a fix planned?
Comment 8 Coacher 2016-08-09 06:32:53 UTC
*** Bug 590716 has been marked as a duplicate of this bug. ***
Comment 9 Daiajo Tibdixious 2016-08-09 07:32:47 UTC
I reported a separate bug (590716) which turned out to the this same one, thanks to everyone who provided additional information, its looking so much less mysterious now.
Note that turning off hwaccel does seem to slow firefox down noticeably.
Comment 10 Matt Turner gentoo-dev 2017-02-23 22:58:39 UTC
ati-drivers is dead, and will not be supported for X.