Libertine on Ubuntu Touch: Poor Performance and Issues with "Read-Only" File System
-
Hello everyone,
I would like to share my experience with Ubuntu Touch on my Poco X3 device and report some issues I've been facing, in the hope that the community or the developers might consider these points for future improvements. As a developer, I have higher expectations regarding performance and flexibility, but unfortunately, the experience has been frustrating.
- Libertine Performance and Stability
Libertine, the solution for running Linux applications on Ubuntu Touch, has shown extremely poor performance. Apps that run smoothly on other Linux-based platforms are experiencing serious lags, crashes, and unexpected behaviors on my device. This severely affects the overall development experience and daily usage.
I understand that Libertine is still in development, but frankly, it seems far from being stable or ready for regular use. The resource overhead and slowness are significant barriers for any serious use, especially for those of us who need a functional development environment on the device. - "Read-Only" File System on Startup
Another major issue is the fact that the file system is mounted as read-only on startup, preventing direct modification of the system files. As a developer, I need the flexibility to modify the system, test different configurations, and have full control over what I’m developing. Unfortunately, the write-blocking is a major roadblock.
Even after attempting to remount it as read-write (rw), the system continues to revert to a read-only state after rebooting, making any changes temporary at best.
I believe the community could consider ways to make this more accessible or provide more flexible options for developers and advanced users. - Suggestions and Expectations
Improve Libertine: Libertine’s performance needs significant optimization to become a viable solution for running desktop apps on Ubuntu Touch. This is crucial for those of us who need to use Ubuntu Touch for development. The ability to install and run native Ubuntu tools would be a huge asset for the platform.
File System Options: It would be great to have a more robust way to configure the file system to allow permanent read/write access without compromising system integrity. Additionally, it would be beneficial if UBports offered clear options for developers on mobile devices who want more control over the system.
Better Documentation: Documentation on how to unlock the system and deal with these issues is not very clear, which leads to further frustration for more technical users. Perhaps a dedicated section on common developer issues and possible solutions in the forum or official documentation would help. - Conclusion
As an enthusiast of Ubuntu Touch and an advocate for free software, I would love to see the project become even more stable and functional for developers and users in general. However, the issues with Libertine and the read-only file system have been significant obstacles. I hope this topic will open a dialogue about these concerns and help the community work on solutions to make Ubuntu Touch a more powerful and flexible platform.
I appreciate any solutions or feedback from others. I hope that, over time, we can overcome these limitations and make Ubuntu Touch a solid and viable mobile alternative.
"Those who use Ubuntu Touch because they want more freedom, and discover that it is a blocked system, remove Libertine and release the system updates via apt, everyone is used to it and solves security problems at once."
- Libertine Performance and Stability
-
-
If your device supports snaps, it is better to install the snap version of your prefered app with Snapz0r (from OpenStore). Some apps have alternatives, or more optimized packages built for Ubuntu Touch (e.g. Firefox), so be more specific.
-
Please read this excellent post explaining why you don't need to remount permanently the filesystem as RW. If you still think you need it, just
touch /userdata/.writable_image
to make the remount permanent.
APT can cause dependency tree problems and more, every long-time Linux user knows that. Just search why an immutable OS is preferred when stability and redundancy is key. OTA updates are safer and have very low chance of failing compares to dpkg.
-
-
@manoiese said in Libertine on Ubuntu Touch: Poor Performance and Issues with "Read-Only" File System:
Even after attempting to remount it as read-write (rw), the system continues to revert to a read-only state after rebooting, making any changes temporary at best.
First, the read-only file system is by design for important reasons. UT is designed for "normal users" before all.
Second, for Devs like you, it is possible to make it r/w in a persistent way, I don't remember the command line, but you can do it using Ubuntu Touch Tweak Tool app anyway. -
@ikoz this file was already created but it didn't work, I know it seems strange but I don't care if it breaks the system, these containers are very disruptive, I wanted to have full access, use access to applications running via SSH on a standard Ubuntu
-
Hi @manoiese
I do appreciate your intentions here.
But you're wrong.
- Libertine is getting more or less obsolete. Nowadays as @ikoz pointed out, we have snaps getting supported.
Still in early stage, but the goal of Alfred, who did all the heavy lifting, is for him to be able to develop for Ubuntu Touch from an Ubuntu Touch device. - We use an immutable file system for good reasons. The fact that you don't know that means that you didn't read much on this forum or about Ubuntu Touch. But it might also be because you had access to outdated information.
- For the aforementioned reasons we probably won't follow your suggestions. But your take on the documentation is true.
We try to make those information more easily accessible but somehow people seem to get old news from I don't know where.
We have FAQ on the forum and on Telegram as well as weekly Q&A where these questions are answered again and again.
The porting documentation is being updated and the overall documentation seems pretty clear to me.
But people keep coming here expecting Ubuntu Touch to be something that it has never been and will never be.
That's a mystery to me, but I would love to understand where it comes from so we can fix it. - My conclusion is that as a developer, you should take a look at the documentation to understand what is Ubuntu Touch, how to develop for it on the application level or at system level.
My advice, before wanting to teach seasoned developers (which I am not) here a lesson, try learning about the project and asking questions. Only then you can become a master and start teaching the newcomers.
Ubuntu Touch is pretty complex and rushing in won't get you anywhere.
It takes time to get familiar with the project and to be able to contribute.
So take it easy and proceed step-by-step.
Your enthusiasm is appreciated and I hope you will be become a valued contributor if you take the time to learn and contribute.Kindly yours
- Libertine is getting more or less obsolete. Nowadays as @ikoz pointed out, we have snaps getting supported.