Skip to content
This repository has been archived by the owner on Nov 11, 2018. It is now read-only.

clutter not an X11 backend #410

Open
CJD14 opened this issue Apr 16, 2015 · 6 comments
Open

clutter not an X11 backend #410

CJD14 opened this issue Apr 16, 2015 · 6 comments

Comments

@CJD14
Copy link

CJD14 commented Apr 16, 2015

i built finalterm from the git source here.
I believe all the dependencies should be installed
im on Arch Linux latest in Gnome 3 DM.

When launching the application from activities nothing happens, but when i run
finalterm

from the terminal I get this error:

(finalterm:2664): Clutter-CRITICAL **: The Clutter backend is not a X11 backend

(finalterm:2664): Clutter-CRITICAL **: The Clutter backend is not a X11 backend
[1]    2664 segmentation fault (core dumped)  finalterm

I did some heavy researching but was unable to find anything that references how to fix this. Just not sure what the next step is.

Thanks

@lantw44
Copy link

lantw44 commented Apr 16, 2015

The default Clutter backend was changed from X11 to GDK in GNOME 3.16.

@CJD14
Copy link
Author

CJD14 commented Apr 16, 2015

Ah okay let me try and update and see how it goes. can't believe I didn't see that in my research. thank you

@CJD14
Copy link
Author

CJD14 commented Apr 17, 2015

turns out Gnome is already updated to GNOME 3.16.
I did a full GNOME install from PacMan in Arch Linux, without the GNOME extras. Is there something I should verify?

so does that mean I would have to downgrade GNOME to 3.14.12? Im not sure I understand, do I not want GDK as the backend or do I?

@lantw44
Copy link

lantw44 commented Apr 17, 2015

export CLUTTER_BACKEND=x11 may get it work, but I think we should also try to fix the error.

@CJD14
Copy link
Author

CJD14 commented Apr 17, 2015

very good, thank you very much. so simple yet perfect. Worked great indeed.

I saw this during my researching this may be a good starting point
GDK3 - X Windows System Interaction

it included this if else statement

#ifdef GDK_WINDOWING_X11
  if (GDK_IS_X11_DISPLAY (display))
    {
      // make X11-specific calls here
    }
  else
#endif
#ifdef GDK_WINDOWING_QUARTZ
  if (GDK_IS_QUARTZ_DISPLAY (display))
    {
      // make Quartz-specific calls here
    }
  else
#endif
  g_error ("Unsupported GDK backend");

maybe this could set this could be used to set this variable on first run.

this seemed to fix launching it, and seemed to run okay as far as i can tell based on the little testing, but on close this is the output in terminal now:

** Message: TerminalOutput.vala:386: Command mode entered

** (finalterm:4575): CRITICAL **: line_container_real_set_adjustments: assertion 'hadjustment != NULL' failed

(finalterm:4575): Clutter-CRITICAL **: clutter_container_add: assertion 'CLUTTER_IS_CONTAINER (container)' failed

im going to test some more and see how stable i can keep it with this env variable.

@lantw44
Copy link

lantw44 commented Apr 19, 2015

I remember the change is needed because they want to make whole GNOME 3.16 desktop run in wayland. (GTK+ and Clutter in GNOME 3.14 uses Xwayland)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants