Posts Tagged ‘eclipse’

Fedora 25 (Beta)

Fedora 25 will be coming soon! So I decided to try F25 beta to see if I can hunt some bugs; and even if I can start using it as my primary OS. Specially since it is going to use Wayland by default rather than Xorg for its graphical subsystem, more testing is needed to make sure that final release will have less surprising bugs! I’ve tried Wayland in Fedora 24 and some applications (notably Eclipse) work terrible under Wayland; and I’m installed F25 mainly to see how Eclipse works under Wayland there.

Fortunately, Eclipse works fine under Wayland in Fedora 25. Even better, Wayland experience under Fedora 25 seems more smooth than that of Fedora 24 using nouveau driver.

Generally, Wayland under Fedora 25 is usable. However, there are bugs & annoyances here and there. So, it is likely that Fedora will be perceived by a number of users as ‘buggy’. If you are installing Fedora 25 for such users, it is better to switch to using Xorg for now.

For example, I’ve experienced system temporary freeze (e.g. 1 minute or more) a few times. Hamster time tracker and its gnome shell extension have problems under Wayland. The tray icon of Telegram desktop application doesn’t appear.

Fedora 25 comes with a new Gnome. It comes with a new calendar application, which looks good. However, it has crashed for me a lot when adding/removing events. It also lacks some features: e.g. I didn’t find the ability to define recurring events.
Keyboard settings dialog is also updated.
screenshot-from-2016-10-17-18-29-14
Seeing everything in a long list is actually frightening. But being able to search for the desired action is great; which is IMHO the main way to interact with this new settings design.

As every Fedora release, I enjoy installing & using Fedora extra backgrounds. They are really beautiful, and I’d hope they were available by default (Although it seems that there are a few new default background images too).

Installation
—————-
What about installation? Fedora 25 installation has almost nothing new: it looks very similar to that of previous releases. However, I had two issues with it which was new: 1. I was unable to install F25 using the ISO stored on the same disk as the target partition. So, I was forced to install Fedora 25 using a separate USB disk which was something I didn’t do for a long time. 2. Layout switching didn’t work in the installer. Beside these problems, the installation goes like before.

And, if you care about your internet usage, make sure that you disable both dnf makecache timer, and stop PackageKit from downloading updates automatically. I don’t allow a new Fedora installation to access internet before doing these, as it might just eat a considerable amount of data.

Eclipse problems on Fedora 22

Update: Since Eclipse Mars update in Fedora 22, and with latest updates installed, the memory/CPU usage problem is fixed. Also, the problem with mylyn icons is fixed. While there are still some rendering bugs, along with some bad colors here and there; the GTK3 version is now usable for me. 🙂

Since upgrade to Fedora 22, I had several problems with Eclipse. The most annoying one, in my pretty old laptop, was nearly locking up the system after using it for awhile as reported here. I found that my 4GB RAM is almost full and kswapd is taking almost 100% CPU.

First, I suspected that it is a kernel bug since kswapd was using 100% CPU. And, it seems that it really is, but it is an old kernel problem happens when the available RAM is low. Therefore, it should not be the main reason of my problems.

Investigating more, I found the the amount of ‘shared’ memory in ‘free -m’ output keeps increasing when I use Eclipse until I’m forced to close Eclipse due to lock up. Then it is returned back to normal. I guess this is a graphics driver bug, as the Eclipse memory usage reported by ‘top’ is not changed much since its start. (and the kernel out of memory messages always happen in the driver code).

Anyway, besides, Eclipse was very ‘heavy’ on my laptop: it constantly used very high CPU usage even if I just scrolled the editor window. It was also very slow (with lag). Also Eclipse uses a new coloring for various part of the UI in F22, which are sometimes very annoying (e.g. unreadable text, unnoticeable selected region, etc). I was forced to change some colors to have a usable editor.

I was living by all these problems until yesterday, in which I found that mylyn task list is also buggy. It didn’t show unread/new issue marks beside issue icons, so I was missing new/updated issues assigned to me. I was seriously considering switching back to Fedora 21, when I suddenly found out that Eclipse is using GTK3 backend in Fedora 22 and I should be able to make it use GTK2 instead.

The first way to do this I found in Internet was setting SWT_GTK3 environment variable to 0. But it didn’t work in Fedora 22. It turns out that Eclipse has a command line argument for it, which is used by Fedora (in /etc/eclipse.ini) to force usage of GTK3 backend. So, to run Eclipse with GTK2 backend, you are forced to either modify eclipse.ini, or run eclipse with the following command line option:

eclipse --launcher.GTK_version 2

And yes, finally, it fixed all my problems with Eclipse in Fedora 22!