Agreed, a small amount of RAM usage for Gnome. Unless, your running on very low RAM. In that case, the Antergos Minimal iso would likely be a better choice.
It was just an example, as this was the state at the time I wrote the comment. Like I said, the problem isn’t that it was sitting at 500MB. The problem is, that it continues to grow over time.
I just noticed that
gjswas updated to 1.52.3, so I installed it, hoping that the issue would be fixed. Within less than 10 minutes of playing around with animations, this was the result:
Regarding your other comment: Apart from the memory bug I’m actually quite happy with Gnome. I don’t think pointing out issues or offering criticism negates that. As long as it’s constructive and doesn’t result in personal attacks, we’re free to have a say - and the Gnome devs are free to ignore us.
My comment regarding the slow response was based on the bug reports regarding this issue and various other memory issues that have existed over the years. You don’t have to be a Gnome dev to read those.
You’ve said your i5 isn’t the issue, but you’ve failed to provide more information about the rest of your system…
GeForce GTX580 (with proprietary driver)
Antergos with GNOME: Problems with lags or stuttering have existed regardless of theme or Gnome extensions, with LightDM as well as GDM, through several kernel updates (IIRC I also tested it with the LTS kernel).
The memory leak is really the only thing I can think of as for a source of the problems.
bash: /proc/sys/vm/drop_caches: Keine Berechtigung #"not permitted"
Even with sudo.
Do you think creating a script to release memory will be worth for testing?
Like I mentioned above, there’s a workaround with installing gjs-fix-leaks from the AUR. If I understand correctly, it compiles gjs with some of the patches that are currently tested with Ubuntu 18.04 LTS, to schedule garbage collection more frequently in order to free up memory.
I’m currently testing it and some of the lag issues seem to still be there, but less frequently. At the very least gnome-shell seems to stay below 180MB.
@fernandomaroto It is, going by what
gnome-shellshould actually be using. But the actual problem is that its RAM use grows even bigger over time, without freeing up memory. I’ve previously had it go over 800MB. This is definitely a problem.
maybe those lags are related with processor instead of RAM memory?
It doesn’t appear so. My i5-2500k isn’t overloaded on even one of its cores, when I experience laggy animations.
Also, when I restart the Gnome shell, its RAM usage goes down to about 120MB and animations run smoothly again (at least for a while) without CPU usage being noticably different from before the restart.
It might very well be a different issue, but currently nothing comes to mind.
@GreenMartian My gnome-shell is currently sitting at almost 500MB and animations are definitely laggy. The only way to fix this is either to regularly restart gnome-shell or by replacing gjs with
gjs-fix-leaksfrom the AUR.
I’m also pretty sure that this same problem existed in Gnome 3.26. I had laggy animations, but didn’t bother to check memory use back then.
The weird thing is that for the longest time none of the devs seemed to acknowledge that this problem even existed. Now there’s a (supposedly hacky) fix that schedules garbage collection more frequently, but I’m still waiting for this to land in the official repos.
Apart from that, most distros with Gnome use considerably more RAM than anything running xfce or mate - regardless of the GC issue. Even if Gnome feels snappy to you, it’s certainly not as problem free as you claim.
I should also mention, that the package glib was installed and some of my problems with application startup were resolved by switching to glib2.
I tried “sudo pacman -Syyu” before, but I thought it couldn’t hurt to try again.
This time I also updated my mirrorlists and then ran the update.
It seems to have resolved my issues.
When I run the latest update, several applications will no longer start:
[[email protected] ~]$ nautilus nautilus: symbol lookup error: /usr/lib/libpangoft2-1.0.so.0: undefined symbol: FcWeightFromOpenTypeDouble [[email protected] ~]$ gedit gedit: symbol lookup error: /usr/lib/libpangoft2-1.0.so.0: undefined symbol: FcWeightFromOpenTypeDouble [[email protected] ~]$ gnome-terminal gnome-terminal: symbol lookup error: /usr/lib/libpangoft2-1.0.so.0: undefined symbol: FcWeightFromOpenTypeDouble
The same error appears with with other programs like
pangoto v 1.40.14-2 fixes this issue, but leaves me with several other errors:
- Certain applications won’t run due to other errors:
[[email protected] ~]$ gnome-calendar GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying [[email protected] ~]$ deja-dup Speicherzugriffsfehler (Speicherabzug geschrieben) #"Memory access error"
- Several settings like system icons and the window size of Nautilus are changed
And lastly: When I reboot, LightDM will either not start at all, or if it starts I’m unable to log in (will return to login screen).
Other things I tried:
- Excluding kernel and nvidia drivers from update
- Switching to GDM, when LightDM would not load
@joekamprad We are both using nvidia, but in my case it’s not restricted to Flash or Firefox:
In Firefox it happens with Flash and HTML videos (e.g. Youtube), but also with webpages, when I put Firefox in fullscreen mode with F11 and then exit. The same applies to (chromium-based) Vivaldi browser.
Aside from the two browsers, it happens with mpv Media Player, but not with Totem or VLC.
@louis1 Did you find a solution?
I have the same problem: When I exit full screen on Flash and HTML5 videos, I often see pictures flashing up. They are frames from other videos or pictures I have opened in EoG - often several hourse ago.
I too have an nvidia card:
System: Host: computer Kernel: 4.14.13-1-ARCH x86_64 bits: 64 Desktop: Gnome 3.26.2 Distro: Arch Linux Machine: Device: desktop Mobo: ASRock model: Z68 Pro3-M serial: N/A UEFI: American Megatrends v: P1.00 date: 04/27/2011 CPU: Quad core Intel Core i5-2500K (-MCP-) speed/max: 1597/6000 MHz Graphics: Card: NVIDIA GF110 [GeForce GTX 580] Display Server: x11 (X.Org 1.19.6 ) drivers: nvidia (unloaded: modesetting,fbdev,vesa) Resolution: [email protected] OpenGL: renderer: GeForce GTX 580/PCIe/SSE2 version: 4.5.0 NVIDIA 387.34 Network: Card-1: Realtek RTL8111/8168/8411 PCIE Gigabit Ethernet Controller driver: r8169 Card-2: Ralink RT2870/RT3070 Wireless Adapter driver: rt2800usb Drives: HDD Total Size: 3064.6GB (72.8% used) Info: Processes: 226 Uptime: 6 days Memory: 3269.9/7961.6MB Client: Shell (bash) inxi: 2.3.55