Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Terminology fails to start on Wayland: Xlib: extension "DPMS" missing on display ":0" #98659

Closed
Galagora opened this issue Sep 24, 2020 · 1 comment · Fixed by #99556
Closed
Labels
0.kind: bug Something is broken

Comments

@Galagora
Copy link
Contributor

Galagora commented Sep 24, 2020

Describe the bug
Setting the ELM_WAYLAND variable to wl, as suggested here, does nothing. Unsetting DISPLAY results in this error:

$ terminology
ERR<10921>:ecore_evas ../src/modules/ecore_evas/engines/drm/ecore_evas_drm.c:150 _ecore_evas_drm_init() Failed to init Ecore_Drm2 library
ERR<10921>:ecore_evas ../src/modules/ecore_evas/engines/drm/ecore_evas_drm.c:150 _ecore_evas_drm_init() Failed to init Ecore_Drm2 library
ERR<10921>:elementary ../src/lib/elementary/efl_ui_win.c:5561 _elm_win_finalize_internal() Cannot create window.
ERR<10921>:eo ../src/lib/eo/eo.c:1137 _efl_add_internal_end() Object of class 'Efl.Ui.Win_Legacy' - Not all of the object constructors have been executed.
ERR<10921>:ecore ../src/lib/ecore/ecore.c:792 _ecore_magic_fail() *** ECORE ERROR: Ecore Magic Check Failed!!! in: ecore_evas_callback_selection_changed_set()
ERR<10921>:ecore ../src/lib/ecore/ecore.c:794 _ecore_magic_fail()     Input handle pointer is NULL!
ERR<10921>:ecore ../src/lib/ecore/ecore.c:792 _ecore_magic_fail() *** ECORE ERROR: Ecore Magic Check Failed!!! in: ecore_evas_callback_drop_drop_set()
ERR<10921>:ecore ../src/lib/ecore/ecore.c:794 _ecore_magic_fail()     Input handle pointer is NULL!
ERR<10921>:ecore ../src/lib/ecore/ecore.c:792 _ecore_magic_fail() *** ECORE ERROR: Ecore Magic Check Failed!!! in: ecore_evas_callback_drop_motion_set()
ERR<10921>:ecore ../src/lib/ecore/ecore.c:794 _ecore_magic_fail()     Input handle pointer is NULL!
ERR<10921>:ecore ../src/lib/ecore/ecore.c:792 _ecore_magic_fail() *** ECORE ERROR: Ecore Magic Check Failed!!! in: ecore_evas_callback_drop_state_changed_set()
ERR<10921>:ecore ../src/lib/ecore/ecore.c:794 _ecore_magic_fail()     Input handle pointer is NULL!
ERR<10921>:evas_main ../src/lib/evas/canvas/evas_object_smart.c:746 _efl_canvas_group_efl_object_destructor() efl_canvas_group_del() was not called on this object: 0x4000000076d2 (Efl.Ui.Win_Legacy)
ERR<10921>:elementary ../src/lib/elementary/efl_ui_win.c:6190 elm_win_autodel_set() No widget data for object (nil) ((null))
CRI<10921>:terminology ../src/bin/main.c:581 _start() Could not create window.

Expected behavior
There are two issues. First, the Enlightenment Foundation Libraries are not complied with Wayland support. Secondly, the ELM_WAYLAND variable needs to be set correctly a Wayland environment.

Notify maintainers

@matejc @tstrobel @ftrvxmtrx @romildo

Maintainer information:

# a list of nixpkgs attributes affected by the problem
attribute: enlightenment.terminology # + any other Enlightenment package
# a list of nixos modules affected by the problem
module:
@Galagora Galagora added the 0.kind: bug Something is broken label Sep 24, 2020
@romildo
Copy link
Contributor

romildo commented Oct 4, 2020

PR #99556 fixes this issue.

Tested terminology with sway. The DISPLAY environment variable should not be set. In my test it was not needed to set ELM_WAYLAND.
Screenshot from 2020-10-04 10-38-26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants