sailfish_linux_chroot icon indicating copy to clipboard operation
sailfish_linux_chroot copied to clipboard

Kwin + libhybris

Open Kabouik opened this issue 5 years ago • 2 comments

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.

Kabouik avatar Jan 09 '20 15:01 Kabouik

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

elros34 avatar Jan 09 '20 16:01 elros34

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).

Kabouik avatar Jan 31 '20 21:01 Kabouik