icedman / dash2dock-lite

A minimal and animated implementation of dash to dock
GNU General Public License v3.0
202 stars 16 forks source link

Lag on debain 12 #88

Closed Sycorlax closed 7 months ago

Sycorlax commented 8 months ago

When I do the overview, it shows me a weird view like this : Screenshot from 2024-03-06 16-43-00 and this is the the view i want : image

icedman commented 8 months ago

I've overhauled the extension to make it more efficient. Please try the latest on github.

icedman commented 8 months ago

The main branch has been updated again. It seems on Ubuntu there is still some lag. Please post your systems if the lag is still very noticeable.

Run top -d 0.5 on the terminal and observe the CPU usage of gnome-shell during active animation. On my old XPS13 i5 6th gen - CPU is at around 50%. On Ubuntu it is at around 70%.

Possible temporary fix - run lower quality icons (2x) and Low frame rate.

icedman commented 8 months ago

Note: I test on Ubuntu, Arch Linux, Fedora 39 (openbox). I assume any lag in Fedora 39 is just because it is run virtualized.

icedman commented 7 months ago

Latest Debian in Boxes is still at Gnome 44.9. The latest source has been improved form Gnome 45.

If you are adventurous.. you can try:

python ./rolldown.py

This will transpile the latest code to work for Gnome 44. The output is at ./dist/extension.js. Copy to {extensions_path}/dash2dock-lite/extension.js.

Preferences don't work yet though.

icedman commented 7 months ago

down ported latest code to debian 12 - gnome g43. now pretty fast.