You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
libEGL.so.1: undefined reference to wl_proxy_* #16779
I use nixos-unstable.
All pygtk dependents, for examples, keepnote, zim, deluge are crashes while starting.
[ERROR ] 19:15:14 ui:168 /run/opengl-driver/lib/libEGL.so.1: undefined symbol: wl_proxy_marshal_constructor_versioned
Traceback (most recent call last):
File "/nix/store/zdfdvrym0f600nm4y5x73hisrfcj672m-python2.7-deluge-1.3.12/lib/python2.7/site-packages/deluge/ui/ui.py", line 149, in __init__
from deluge.ui.gtkui.gtkui import GtkUI
File "/nix/store/zdfdvrym0f600nm4y5x73hisrfcj672m-python2.7-deluge-1.3.12/lib/python2.7/site-packages/deluge/ui/gtkui/__init__.py", line 1, in <module>
from gtkui import start
File "/nix/store/zdfdvrym0f600nm4y5x73hisrfcj672m-python2.7-deluge-1.3.12/lib/python2.7/site-packages/deluge/ui/gtkui/gtkui.py", line 50, in <module>
reactor = gtk2reactor.install()
File "/nix/store/7wimwv66ag4nra00x23cf949yj01y03w-python2.7-Twisted-15.5.0/lib/python2.7/site-packages/twisted/internet/gtk2reactor.py", line 99, in install
reactor = Gtk2Reactor(useGtk)
File "/nix/store/7wimwv66ag4nra00x23cf949yj01y03w-python2.7-Twisted-15.5.0/lib/python2.7/site-packages/twisted/internet/gtk2reactor.py", line 71, in __init__
import gtk as _gtk
File "/nix/store/3q4x6pp8686jb933h153ssf60zwx1pjh-python2.7-pygtk-2.24.0/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py", line 40, in <module>
from gtk import _gtk
ImportError: /run/opengl-driver/lib/libEGL.so.1: undefined symbol: wl_proxy_marshal_constructor_versioned
changed the title [-]nixos-unstable: all pygtk dependents crashes while starting: ImportError: /run/opengl-driver/lib/libEGL.so.1: undefined symbol: wl_proxy_marshal_constructor_versioned[/-][+]nixos-unstable: all pygtk dependents crash while starting[/+]on Jul 7, 2016
This bug also affects some other packages; for example, taffybar produces
Error occurred while loading configuration file.
Error: /run/opengl-driver/lib/libEGL.so.1: undefined reference to `wl_proxy_get_version'
/run/opengl-driver/lib/libEGL.so.1: undefined reference to `wl_proxy_marshal_constructor_versioned'
collect2: error: ld returned 1 exit status
@vcunat yes, but that (apparently) breaks kde so it can't go into master, which is a shame. I was thinking that if mesa-without-wayland breaks fewer things (I have no idea) then it has a chance of going into master.
Well, we haven't sorted this out, really. The impurity hits us here, due to the fact that we want to load two arbitrary closures into a single process. For now I see no easy solution, except to avoid mixing "too different" versions for libGL runtime dependencies.
I'm now fairly confident that adopting libglvnd is the way to go; I'm looking into details ATM. I believe it will result into various GL-related improvements (including multi-vendor setups, non-NixOS, closure sizes, etc.). Some users report (slight) performance degradation, but I suppose we'll bear it and hope upstream will reduce that in future. EDIT: note that libglvnd is most likely far too big change to make it into 16.09.
I'm curious, in retrospect, did libglvnd improve things?
I'm quite confident that it didn't solve the whole problem. An approach like libcapsule might. (see the last linked issue)
Specifically about #31189, did it "not solve the whole problem", or did it cause it? Seems that if you previously were linking purely to mesa you would not have hit that issue, right?
Activity
D01B0EB commentedon Jul 7, 2016
I guess that this start happened after updating Mesa to 11.2.2
[-]nixos-unstable: all pygtk dependents crashes while starting: ImportError: /run/opengl-driver/lib/libEGL.so.1: undefined symbol: wl_proxy_marshal_constructor_versioned[/-][+]nixos-unstable: all pygtk dependents crash while starting[/+]FRidh commentedon Jul 12, 2016
I am running 65ac26e and just tested
delugeand didn't encounter the issue. What video driver are you using? I use intel.D01B0EB commentedon Jul 12, 2016
I use Intel also.
The kernel I have not switched:
Temporary I have rebooted to nixos-16.03 back.
larkery commentedon Jul 13, 2016
This bug also affects some other packages; for example, taffybar produces
FRidh commentedon Jul 29, 2016
@vcunat do you have any ideas what could cause this?
vcunat commentedon Jul 29, 2016
A quick google found that updating wayland might solve the problem: https://forum.voidlinux.eu/t/solved-package-mpv-dependencies-seems-to-be-broken/422/2 EDIT: it's possible the problem is only caused by some combinations of nixpkgs and nixos versions.
srhb commentedon Sep 1, 2016
pidgin and thunderbird are also affected by this on 16.09pre90254.6b20d5b (Flounder)
I'm not using Wayland.
domenkozar commentedon Sep 2, 2016
Maybe fixed in 49d59ce ?
vcunat commentedon Sep 2, 2016
No, that seems very unlikely to me.
vcunat commentedon Sep 2, 2016
@Ptival: what's your
nixos-versionand from which version is yourxfce4-terminal?Ptival commentedon Sep 2, 2016
I believe it's
xfce4-terminal-0.6.3.69 remaining items
Rotsor commentedon Dec 31, 2016
@vcunat yes, but that (apparently) breaks kde so it can't go into master, which is a shame. I was thinking that if mesa-without-wayland breaks fewer things (I have no idea) then it has a chance of going into master.
nixos opengl: use mesa_drivers.out
peterhoeg commentedon Nov 1, 2017
Is this still an issue @danykey ?
vcunat commentedon Nov 1, 2017
Well, we haven't sorted this out, really. The impurity hits us here, due to the fact that we want to load two arbitrary closures into a single process. For now I see no easy solution, except to avoid mixing "too different" versions for libGL runtime dependencies.
dezgeg commentedon Nov 3, 2017
I created a higher-level bug to track the underlying problem: #31189, so closing this specific issue.
apteryks commentedon Nov 14, 2021
I'm curious, in retrospect, did libglvnd improve things?
vcunat commentedon Nov 14, 2021
I'm quite confident that it didn't solve the whole problem. An approach like libcapsule might. (see the last linked issue)
apteryks commentedon Nov 18, 2021
Specifically about #31189, did it "not solve the whole problem", or did it cause it? Seems that if you previously were linking purely to mesa you would not have hit that issue, right?
vcunat commentedon Nov 18, 2021
No, we were always injecting libGL impurely. EDIT: originally by setting
$LD_LIBRARY_PATH.wayland: resurrect version 1.9.0
mesa_drivers: work around NixOS#16779
Revert "mesa_drivers: work around NixOS#16779"
document NixOS#16779