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

hildon-desktop(-light): without animations #51

Open
MerlijnWajer opened this issue Feb 1, 2018 · 5 comments
Labels

Comments

@MerlijnWajer
Copy link
Member

@MerlijnWajer MerlijnWajer commented Feb 1, 2018

Let's package a hildon-desktop-light package where most of the GPU intensive shaders and other animations are ripped out, for platforms where we only have llvmpipe for now.

@MerlijnWajer

This comment has been minimized.

Copy link
Member Author

@MerlijnWajer MerlijnWajer commented Feb 1, 2018

< Wizzup> maybe we can make hildon-desktop-light that uses no shaders ;)
< freemangordon> yes, that'd be easy
< freemangordon> shaders are actually ClutterEffect, by just not adding it to the actor you're not applying shaders

This, combined with very short times for animations might make a real difference

@pavelmachek

This comment has been minimized.

Copy link

@pavelmachek pavelmachek commented Apr 10, 2018

Is there any progress here? Desktop is slow even when typing in the terminal, which is quite annoying. Are shaders also responsible for that?

Is there way to run different window manager? Droid 4 has extra buttons at right side of screen, perhaps those could be used for switching/closing windows until better solution is available.

@dderby

This comment has been minimized.

Copy link
Member

@dderby dderby commented Apr 10, 2018

@pavelmachek, I've been using a couple of methods to get an on-device terminal outside of Hildon.

One method is to install the kbd package. Then you can change the foreground terminal with the chvt command with Hildon still running.

The other method is to prevent Hildon from starting. The simplest way to do this right now is with this hack:

# mv /etc/init.d/dsme /etc/init.d/dsme_

With Hildon out of the way you can install xinit and install and use any window manager you like. Right now, you can't just run startx on its own with no arguments as there is a Hildon Xsession script which breaks starting the default window manager set by /usr/bin/x-window-manager. If you specify the executable, for example startx /usr/bin/i3 to start i3 wm, it should work.

@MerlijnWajer

This comment has been minimized.

Copy link
Member Author

@MerlijnWajer MerlijnWajer commented Apr 10, 2018

Yes, even typing in terminal is quite slow. The best solution is to get 3d to work on the droid, but that's for later.

I believe that the shaders are not responsible for this, but rather the compositing, or just the fact that everything is being drawn with opengl. I'd need to dive in a bit more to see if this can be done more efficiently. But ultimately, we'll want powervr to work on the droid. I suppose it shouldn't be -that- hard.

@pavelmachek

This comment has been minimized.

Copy link

@pavelmachek pavelmachek commented Apr 15, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.