Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how could a terminal take more than one GB memory #1212

Open
vincentaxhe opened this issue Nov 3, 2024 · 6 comments
Open

how could a terminal take more than one GB memory #1212

vincentaxhe opened this issue Nov 3, 2024 · 6 comments

Comments

@vincentaxhe
Copy link

I give cosmic alpha a try on manjaro, seems cosmic is reinventing everything,applets take a lot memory, and cosmic-terminal takes a huge, It starts very slow, I presume rust softwares run blaze fast, but it's not, They crave more memory and move slowly, however Cosmic desktop environment provide a consistent exprience with guis, if cosmic can run faster and take less memory it will be great, I do not have to wait xfce wayland.

@l-const
Copy link

l-const commented Nov 3, 2024

it shouldn't and it doesn't for most users, but could happen in you case due to some compatibility issues something not working right. maybe if you could share more info of your setup and some screenshot/recording that would be useful. It takes around 70 MB in my setup:
screenshot-2024-11-03-12-50-19

@vincentaxhe
Copy link
Author

I use sddm to support hyprland not gdm, could be the reason? must gdm?

@vincentaxhe
Copy link
Author

I try gdm, It brought much dependencies I do not want, and did not do better than sddm, cosmic still slow and overstaffed.
screenshot1

@jackpot51
Copy link
Member

Could you detail your system setup, including the hardware you have, distro, kernel version, and mesa version?

@vincentaxhe
Copy link
Author

vincentaxhe commented Nov 4, 2024

inxi -Fxz output

System:
  Kernel: 6.6.54-2-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
  Desktop: Hyprland v: 0.43.0 Distro: Manjaro rolling base: Arch Linux
Machine:
  Type: Laptop System: Acer product: Swift SF514-55TA v: V1.11
    serial: <superuser required>
  Mobo: TGL model: Tiger_TL v: V1.11 serial: <superuser required>
    UEFI: Insyde v: 1.11 date: 10/20/2022
Battery:
  ID-1: BAT0 charge: 39.1 Wh (100.0%) condition: 39.1/56.0 Wh (69.8%)
    volts: 16.3 min: 15.4 model: SMP KT00407008 AP18C7M status: full
CPU:
  Info: quad core model: 11th Gen Intel Core i5-1135G7 bits: 64 type: MT MCP
    arch: Tiger Lake rev: 1 cache: L1: 320 KiB L2: 5 MiB L3: 8 MiB
  Speed (MHz): avg: 1418 min/max: 400/4200 cores: 1: 1418 2: 1418 3: 1418
    4: 1418 5: 1418 6: 1418 7: 1418 8: 1418 bogomips: 38720
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics]
    vendor: Acer Incorporated ALI driver: i915 v: kernel arch: Gen-12.1
    bus-ID: 0000:00:02.0
  Device-2: Chicony HD User Facing driver: uvcvideo type: USB bus-ID: 3-7:7
  Display: wayland server: X.org v: 1.21.1.14 with: Xwayland v: 24.1.4
    compositor: Hyprland v: 0.43.0 driver: X: loaded: modesetting dri: iris
    gpu: i915 resolution: 1: 2560x1440~60Hz 2: 1920x1080~60Hz
  API: EGL v: 1.5 drivers: iris,swrast platforms:
    active: gbm,wayland,x11,surfaceless,device inactive: N/A
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 24.2.4-arch1.0.1
    glx-v: 1.4 direct-render: yes renderer: Mesa Intel Xe Graphics (TGL GT2)
  API: Vulkan v: 1.3.295 drivers: intel surfaces: xcb,xlib,wayland
    devices: 1
Audio:
  Device-1: Intel Tiger Lake-LP Smart Sound Audio
    vendor: Acer Incorporated ALI driver: sof-audio-pci-intel-tgl
    bus-ID: 0000:00:1f.3
  Device-2: SAVITECH NuForce USB Audio
    driver: hid-generic,snd-usb-audio,usbhid type: USB bus-ID: 3-1:2
  Device-3: D&M Holdings (Denon/Marantz) DA-10
    driver: hid-generic,snd-usb-audio,usbhid type: USB bus-ID: 3-3.2.4:12
  API: ALSA v: k6.6.54-2-MANJARO status: kernel-api
  Server-1: sndiod v: N/A status: off
  Server-2: PipeWire v: 1.2.5 status: active
Network:
  Device-1: Intel Wi-Fi 6 AX201 driver: iwlwifi v: kernel bus-ID: 0000:00:14.3
  IF: wlp0s20f3 state: up mac: <filter>
Bluetooth:
  Device-1: Intel AX201 Bluetooth driver: btusb v: 0.8 type: USB
    bus-ID: 3-10:10
  Report: btmgmt ID: hci0 rfk-id: 1 state: up address: <filter> bt-v: 5.2
    lmp-v: 11
RAID:
  Hardware-1: Intel Volume Management Device NVMe RAID Controller driver: vmd
    v: 0.6 bus-ID: 0000:00:0e.0
Drives:
  Local Storage: total: 3.92 TiB used: 2.75 TiB (70.3%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: MZVL2256HCHQ-00A00
    size: 238.47 GiB temp: 30.9 C
  ID-2: /dev/sda vendor: Micron model: 2 210 MTFDHBA1T0QF size: 953.87 GiB
    type: USB
  ID-3: /dev/sdb vendor: Seagate model: Expansion size: 1.82 TiB type: USB
  ID-4: /dev/sdc vendor: SK Hynix model: HFS001T39TNH-73A0A size: 953.87 GiB
    type: USB
Partition:
  ID-1: / size: 238.17 GiB used: 157.6 GiB (66.2%) fs: btrfs
    dev: /dev/nvme0n1p2
  ID-2: /boot/efi size: 299.4 MiB used: 584 KiB (0.2%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-3: /home size: 238.17 GiB used: 157.6 GiB (66.2%) fs: btrfs
    dev: /dev/nvme0n1p2
  ID-4: /var/log size: 238.17 GiB used: 157.6 GiB (66.2%) fs: btrfs
    dev: /dev/nvme0n1p2
Swap:
  ID-1: swap-1 type: zram size: 15.42 GiB used: 1024 KiB (0.0%)
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 57.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 16 GiB available: 15.42 GiB used: 4.21 GiB (27.3%)
  Processes: 311 Uptime: 1h 48m Init: systemd
  Packages: 2008 Compilers: clang: 18.1.8 gcc: 14.2.1 Shell: Zsh v: 5.9
    inxi: 3.3.36

hyprctl systeminfo output hyprland info, though hyprland has nothing to do with cosmic, I have xfce installed too.

Hyprland, built from branch  at commit 0f594732b063a90d44df8c5d402d658f27471dfe  (props: bump version to 0.43.0).
Date: Sun Sep 8 16:48:21 2024
Tag: v0.43.0, commits: 5196

flags: (if any)


System Information:
System name: Linux
Node name: vincent-laptop
Release: 6.6.54-2-MANJARO
Version: #1 SMP PREEMPT_DYNAMIC Tue Oct  8 03:11:08 UTC 2024


GPU information: 
0000:00:02.0 VGA compatible controller [0300]: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] [8086:9a49] (rev 01) (prog-if 00 [VGA controller])


os-release: NAME="Manjaro Linux"
PRETTY_NAME="Manjaro Linux"
ID=manjaro
ID_LIKE=arch
BUILD_ID=rolling
ANSI_COLOR="32;1;24;144;200"
HOME_URL="https://manjaro.org/"
DOCUMENTATION_URL="https://wiki.manjaro.org/"
SUPPORT_URL="https://forum.manjaro.org/"
BUG_REPORT_URL="https://docs.manjaro.org/reporting-bugs/"
PRIVACY_POLICY_URL="https://manjaro.org/privacy-policy/"
LOGO=manjarolinux
VERSION=rolling


plugins:
  hyprscroller by dawser ver 1.0
  Hyprspace by KZdkm ver 0.1

I use arch prebuild cosmic

cosmic cosmic-app-library
cosmic cosmic-applets
cosmic cosmic-bg
cosmic cosmic-comp
cosmic cosmic-files
cosmic cosmic-greeter
cosmic cosmic-launcher
cosmic cosmic-notifications
cosmic cosmic-osd
cosmic cosmic-panel
cosmic cosmic-randr
cosmic cosmic-screenshot
cosmic cosmic-session
cosmic cosmic-settings
cosmic cosmic-settings-daemon
cosmic cosmic-store
cosmic cosmic-terminal
cosmic cosmic-text-editor
cosmic cosmic-wallpapers
cosmic cosmic-workspaces
cosmic xdg-desktop-portal-cosmic

cosmic-terminal info

Repository      : extra
Name            : cosmic-terminal
Version         : 1.0.0.alpha.1-2
Description     : Cosmic Terminal Emulator
Architecture    : x86_64
URL             : https://github.com/pop-os/cosmic-term
Licenses        : GPL-3.0-only
Groups          : cosmic
Provides        : None
Depends On      : gcc-libs  glibc  libxkbcommon  wayland  cosmic-icon-theme
Optional Deps   : None
Conflicts With  : None
Replaces        : None
Download Size   : 8.10 MiB
Installed Size  : 29.99 MiB
Packager        : Maxime Gauduin <[email protected]>
Build Date      : Sun 11 Aug 2024 07:11:09 PM CST
Validated By    : MD5 Sum  SHA-256 Sum  Signature

@jackpot51
Copy link
Member

This is an old version of cosmic-term, 1.0.0.alpha.1 was tagged on August 3. There have been 75 commits since then, including bug fixes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants