elros34 / sailfish_linux_chroot

GNU General Public License v3.0
20 stars 4 forks source link

Kwin + libhybris #12

Open Kabouik opened 4 years ago

Kabouik commented 4 years ago

You have mentioned Kwin with libhybris can be installed and may allow hardware acceleration. Could you please provide some guidelines or instructions on how to install them? I used ./ubu-install.sh but it did not create a new .desktop file. I have tried starting Kwin with ./ubu-start.sh or even with a custom .desktop file based on ubu-xfce4.desktop but it just hangs on the black XWayland screen, and even xfce4 failed to start afterwards. I had backups so it's no problem, but I couldn't progress on the Kwin front.

elros34 commented 4 years ago

As I mentioned it's not ready to use. You need read scripts and play with it manually. ./ubu-install.sh libhybris kwin In chroot: /usr/share/ubu_chroot/start.sh kwin export WAYLAND_DISPLAY=../../display/wayland-kwin export QT_QPA_PLATFORM=wayland appTostart (2048-qt for example) On hybris-16 you probably have /vendor partition so if libhybris fails you may need to adjust scripts to mount it also.

To revert so xfce will works as before it should be enough to run: ./ubu-install.sh qxcompositor maybe also in chroot: rm /etc/ld.so.conf.d/01-libhybris.conf; ldconfig if some apps fails to start

Kabouik commented 4 years ago

Sorry for the late answer @elros34. I tried that but unfortunately was unable to start the DE after installing kwin and libybris, just black screen.

I can confirm I could revert back to xfce4 using ./ubu-install.sh qxcompositor and rm /etc/ld.so.conf.d/01-libhybris.conf; ldconfig (both were needed).