LIquorix or Debian kernel for programming  [Solved]

Help for Current Versions of MX
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
punhan
Posts: 42
Joined: Thu Dec 19, 2024 1:38 pm

LIquorix or Debian kernel for programming

#1 Post by punhan »

Here is my specs, should I use liquorix or debian for daily backend work?

Code: Select all

Snapshot created on: 20241223_0325
System:
  Kernel: 6.12.6-1-liquorix-amd64 [6.12-7~mx23ahs] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0 parameters: audit=0
    intel_pstate=disable amd_pstate=disable BOOT_IMAGE=/boot/vmlinuz-6.12.6-1-liquorix-amd64
    root=UUID=<filter> ro resume=UUID=<filter> resume_offset=34158592 nouveau.modeset=0
    amd_pstate=active quiet init=/lib/systemd/systemd
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 info: xfce4-panel wm: xfwm v: 4.18.0 vt: 7
    dm: LightDM v: 1.26.0 Distro: MX-23.4_ahs_x64 Libretto September 15  2024 base: Debian GNU/Linux
    12 (bookworm)
Machine:
  Type: Laptop System: ASUSTeK product: ASUS TUF Gaming A15 FA507NU_FA507NU v: 1.0
    serial: <superuser required>
  Mobo: ASUSTeK model: FA507NU v: 1.0 serial: <superuser required> UEFI: American Megatrends LLC.
    v: FA507NU.315 date: 10/18/2024
Battery:
  ID-1: BAT1 charge: 29.9 Wh (36.7%) condition: 81.4/90.2 Wh (90.2%) volts: 14.6 min: 15.9
    model: ASUS A32-K55 type: Li-ion serial: N/A status: discharging
CPU:
  Info: model: AMD Ryzen 7 7735HS with Radeon Graphics bits: 64 type: MT MCP arch: Zen 3+ gen: 4
    level: v3 note: check built: 2022 process: TSMC n6 (7nm) family: 0x19 (25) model-id: 0x44 (68)
    stepping: 1 microcode: 0xA404102
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache: L1: 512 KiB
    desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB L3: 16 MiB desc: 1x16 MiB
  Speed (MHz): avg: 1347 high: 3168 min/max: 400/3201 boost: disabled scaling:
    driver: amd-pstate-epp governor: powersave cores: 1: 2268 2: 400 3: 3168 4: 400 5: 1392 6: 1408
    7: 3168 8: 400 9: 3168 10: 400 11: 1395 12: 400 13: 1393 14: 400 15: 1395 16: 400
    bogomips: 102205
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Vulnerable: Safe RET, no microcode
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Retpolines; IBPB: conditional; IBRS_FW; STIBP: always-on; RSB
    filling; PBRSB-eIBRS: Not affected; BHI: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA AD107M [GeForce RTX 4050 Max-Q / Mobile] vendor: ASUSTeK GN21-X2 driver: N/A
    alternate: nouveau non-free: 530.xx+ status: current (as of 2023-03) arch: Lovelace code: AD1xx
    process: TSMC n4 (5nm) built: 2022-23+ pcie: speed: Unknown lanes: 63 link-max: gen: 6
    speed: 64 GT/s bus-ID: 01:00.0 chip-ID: 10de:28e1 class-ID: 0300
  Device-2: AMD Rembrandt [Radeon 680M] vendor: ASUSTeK driver: amdgpu v: kernel arch: RDNA-2
    code: Navi-2x process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 4 speed: 16 GT/s lanes: 16 ports:
    active: eDP-1 empty: DP-1, DP-2, DP-3, DP-4, DP-5, DP-6, DP-7, DP-8, Writeback-1
    bus-ID: 35:00.0 chip-ID: 1002:1681 class-ID: 0300 temp: 42.0 C
  Device-3: Sonix USB2.0 HD UVC WebCam type: USB driver: uvcvideo bus-ID: 1-4:2
    chip-ID: 2b7e:b685 class-ID: 0e02
  Display: x11 server: X.Org v: 1.21.1.7 compositor: xfwm v: 4.18.0 driver: X: loaded: amdgpu
    unloaded: fbdev,modesetting,vesa dri: radeonsi gpu: amdgpu display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22") s-diag: 582mm (22.93")
  Monitor-1: eDP-1 mapped: eDP model: AU Optronics B156HAN15.H built: 2022 res: 1920x1080 hz: 144
    dpi: 142 gamma: 1.2 size: 344x193mm (13.54x7.6") diag: 394mm (15.5") ratio: 16:9 modes:
    max: 1920x1080 min: 640x480
  API: OpenGL v: 4.6 Mesa 24.2.2-1~mx23ahs renderer: AMD Radeon 680M (radeonsi rembrandt LLVM
    15.0.6 DRM 3.59 6.12.6-1-liquorix-amd64) direct-render: Yes
Audio:
  Device-1: NVIDIA vendor: ASUSTeK driver: snd_hda_intel v: kernel pcie: speed: Unknown lanes: 63
    link-max: gen: 6 speed: 64 GT/s bus-ID: 01:00.1 chip-ID: 10de:22be class-ID: 0403
  Device-2: AMD Rembrandt Radeon High Definition Audio driver: snd_hda_intel v: kernel pcie:
    gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 35:00.1 chip-ID: 1002:1640 class-ID: 0403
  Device-3: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: ASUSTeK driver: snd_pci_acp6x v: kernel
    alternate: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x, snd_acp_pci, snd_rpl_pci_acp6x,
    snd_pci_ps, snd_sof_amd_renoir, snd_sof_amd_rembrandt, snd_sof_amd_vangogh, snd_sof_amd_acp63,
    snd_sof_amd_acp70 pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 35:00.5 chip-ID: 1022:15e2
    class-ID: 0480
  Device-4: AMD Family 17h/19h HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel pcie:
    gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 35:00.6 chip-ID: 1022:15e3 class-ID: 0403
  API: ALSA v: k6.12.6-1-liquorix-amd64 status: kernel-api tools: alsamixer,amixer
  Server-1: PipeWire v: 1.0.0 status: active with: 1: pipewire-pulse status: active
    2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASUSTeK driver: r8169
    v: kernel pcie: speed: Unknown lanes: 63 link-max: gen: 6 speed: 64 GT/s port: e000
    bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: eth0 state: down mac: <filter>
  Device-2: MEDIATEK MT7921 802.11ax PCI Express Wireless Network Adapter vendor: AzureWave
    driver: mt7921e v: kernel modules: wl pcie: gen: 2 speed: 5 GT/s lanes: 1 bus-ID: 03:00.0
    chip-ID: 14c3:7961 class-ID: 0280
  IF: wlan0 state: up mac: <filter>
Bluetooth:
  Device-1: IMC Networks Wireless_Device type: USB driver: btusb v: 0.8 bus-ID: 3-3:2
    chip-ID: 13d3:3563 class-ID: e001 serial: <filter>
  Report: hciconfig ID: hci0 rfk-id: 2 state: down bt-service: N/A rfk-block: hardware: no
    software: no address: <filter>
  Info: acl-mtu: 1021:6 sco-mtu: 240:8 link-policy: rswitch sniff link-mode: peripheral accept
Drives:
  Local Storage: total: 476.94 GiB used: 42.23 GiB (8.9%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Micron model: 2400 MTFDKBA512QFM size: 476.94 GiB
    block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: V3MA003 temp: 33.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 146 GiB size: 142.65 GiB (97.71%) used: 42.23 GiB (29.6%) fs: ext4
    dev: /dev/nvme0n1p6 maj-min: 259:6
  ID-2: /boot/efi raw-size: 500 MiB size: 499 MiB (99.80%) used: 292 KiB (0.1%) fs: vfat
    dev: /dev/nvme0n1p5 maj-min: 259:5
Swap:
  Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: file size: 18.88 GiB used: 512 KiB (0.0%) priority: -2 file: /swap/swap
Sensors:
  System Temperatures: cpu: 44.1 C mobo: 40.5 C gpu: amdgpu temp: 42.0 C
  Fan Speeds (RPM): cpu: 2100
Repos:
  Packages: pm: dpkg pkgs: 2196 libs: 1068 tools: apt,apt-get,aptitude,nala,synaptic pm: rpm
    pkgs: 0 pm: flatpak pkgs: 0
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
    1: deb http://mirror.telepoint.bg/debian bookworm-updates main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/debian.list
    1: deb http://mirror.telepoint.bg/debian bookworm main contrib non-free non-free-firmware
    2: deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/google-chrome.list
    1: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/mx.list
    1: deb http://mirror.telepoint.bg/mxlinux-repo/mx/repo/ bookworm main non-free
    2: deb http://mirror.telepoint.bg/mxlinux-repo/mx/repo/ bookworm ahs
  No active apt repos in: /etc/apt/sources.list.d/protonvpn-stable.list
Info:
  Processes: 419 Uptime: 4h 19m wakeups: 35985 Memory: 14.88 GiB used: 12.22 GiB (82.2%)
  Init: systemd v: 252 target: graphical (5) default: graphical tool: systemctl Compilers:
  gcc: 12.2.0 alt: 12 Client: shell wrapper v: 5.2.15-release inxi: 3.3.26
Boot Mode: UEFI

User avatar
j2mcgreg
Global Moderator
Posts: 6820
Joined: Tue Oct 23, 2007 12:04 pm

Re: LIquorix or Debian kernel for programming  [Solved]

#2 Post by j2mcgreg »

Liquorix kernels just run Ryzen based computers better.
HP 15; ryzen 3 5300U APU; 500 Gb SSD; 8GB ram
HP 17; ryzen 3 3200; 500 GB SSD; 12 GB ram
Idea Center 3; 12 gen i5; 256 GB ssd;

In Linux, newer isn't always better. The best solution is the one that works.

User avatar
CharlesV
Global Moderator
Posts: 7387
Joined: Sun Jul 07, 2019 5:11 pm

Re: LIquorix or Debian kernel for programming

#3 Post by CharlesV »

Personally, I have found the Linux kernels to be quite a bit better for most "normal desktop" activities, including programming.

There are some posts around here that also show that the Liquorix kernels are faster in some instances, for some things. Obviously ymmv.
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

User avatar
Kermit the Frog
Posts: 626
Joined: Mon Jul 08, 2024 8:52 am

Re: LIquorix or Debian kernel for programming

#4 Post by Kermit the Frog »

Off-topic:

You have

Code: Select all

nouveau.modeset=0
in boot parameters and (as a result):

Graphics:
Device-1: NVIDIA AD107M [GeForce RTX 4050 Max-Q / Mobile] ... driver: N/A

punhan
Posts: 42
Joined: Thu Dec 19, 2024 1:38 pm

Re: LIquorix or Debian kernel for programming

#5 Post by punhan »

Yes, I have disabled discrete graphics to save battery life. Thank you all very much for your suggestions.

Post Reply

Return to “MX Help”