jeffshee / hidamari

Video wallpaper for Linux. Written in Python. 🐍
https://flathub.org/apps/details/io.github.jeffshee.Hidamari
GNU General Public License v3.0
953 stars 28 forks source link

Really high RAM usage #155

Open zisis1992 opened 1 month ago

zisis1992 commented 1 month ago

Hello there, when i have an mp4 video as a wallpaper, Hidamari was observed using as much as 4 Gigabytes of RAM. My OS is Mint 21.3 (Cinnamon on X11), and the PC specs are:

System: Kernel: 5.15.0-112-generic x86_64 bits: 64 compiler: gcc v: 11.4.0 Desktop: Cinnamon 6.0.4 tk: GTK 3.24.33 wm: muffin vt: 7 dm: LightDM 1.30.0 Distro: Linux Mint 21.3 Virginia base: Ubuntu 22.04 jammy Machine: Type: Desktop Mobo: Micro-Star model: B450 GAMING PLUS MAX (MS-7B86) v: 3.0 serial: UEFI: American Megatrends v: H.50 date: 11/07/2019 CPU: Info: 6-core model: AMD Ryzen 5 2600 bits: 64 type: MT MCP smt: enabled arch: Zen+ rev: 2 cache: L1: 576 KiB L2: 3 MiB L3: 16 MiB Speed (MHz): avg: 3447 high: 3699 min/max: N/A cores: 1: 3400 2: 3400 3: 3400 4: 3400 5: 3400 6: 3400 7: 3400 8: 3400 9: 3699 10: 3400 11: 3400 12: 3672 bogomips: 81590 Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm Display: Device-1: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] vendor: XFX Pine driver: amdgpu v: kernel pcie: speed: 8 GT/s lanes: 16 ports: active: HDMI-A-1 empty: DP-1, DP-2, DP-3, DVI-D-1 bus-ID: 26:00.0 chip-ID: 1002:67df class-ID: 0300 Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: amdgpu,ati unloaded: fbdev,modesetting,vesa gpu: amdgpu display-ID: :0 screens: 1 Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") s-diag: 582mm (22.9") Monitor-1: HDMI-A-0 mapped: HDMI-A-1 model: Philips PHL 243V7 serial: res: 1920x1080 dpi: 93 size: 527x296mm (20.7x11.7") diag: 604mm (23.8") modes: max: 1920x1080 min: 720x400 OpenGL: renderer: AMD Radeon RX 570 Series (radeonsi polaris10 LLVM 16.0.6 DRM 3.42 5.15.0-112-generic) v: 4.6 Mesa 24.1.1 direct render: Yes Audio: Device-1: AMD Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] vendor: XFX Pine driver: snd_hda_intel v: kernel pcie: speed: 8 GT/s lanes: 16 bus-ID: 26:00.1 chip-ID: 1002:aaf0 class-ID: 0403 Device-2: AMD Family 17h HD Audio vendor: Micro-Star MSI driver: snd_hda_intel v: kernel pcie: speed: 8 GT/s lanes: 16 bus-ID: 28:00.3 chip-ID: 1022:1457 class-ID: 0403 Sound Server-1: ALSA v: k5.15.0-112-generic running: yes Sound Server-2: PulseAudio v: 15.99.1 running: no Sound Server-3: PipeWire v: 1.0.7 running: yes

dracid commented 2 weeks ago

I have Ubuntu 24.04 running on FW13 Intel Gen12, and playing a small 8.6MB MP4 file on my desktop. The system monitor reports 3.4GB RAM usage, but I'm not sure if it reports correctly. Can any one confirm? image

dracid commented 2 weeks ago

Quick update: I remembered that i've been logged in for a few days and changed/connected external USB-C monitors multiple times. After killing and re-starting Hidamari (playing the same MP4 file as before), RAM usage is more reasonable ~100MB: image

I will report back in case I observe RAM usage growth during this session. (memory leak?? cannot be in Python, right?)