Removal of 32-bit mesa stack

i do not game or use wine for that matter. is their a possibility of getting rid of 32-bit mesa and other relevant 32 bit dependencies. or is it not recommended. from what i know i only use 64-bit drivers for video acceleration on media players (vlc and mpv)

  Device-1: Intel 3rd Gen Core processor Graphics vendor: Dell driver: i915
    v: kernel arch: Gen-7 process: Intel 22nm built: 2012-13 ports:
    active: LVDS-1 empty: DP-1,HDMI-A-1,VGA-1 bus-ID: 00:02.0
    chip-ID: 8086:0166 class-ID: 0300
  Device-2: AMD Thames [Radeon HD 7500M/7600M Series] vendor: Dell
    driver: radeon v: kernel arch: TeraScale-2 code: Evergreen
    process: TSMC 32-40nm built: 2009-15 pcie: gen: 1 speed: 2.5 GT/s lanes: 8
    link-max: gen: 2 speed: 5 GT/s lanes: 16 bus-ID: 01:00.0 chip-ID: 1002:6840
    class-ID: 0300 temp: 47.5 C
  Device-3: Microdia Laptop_Integrated_Webcam_HD driver: uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-1.5:3
    chip-ID: 0c45:644a class-ID: 0e02
  Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.4
    compositor: kwin_x11 driver: X: loaded: modesetting,radeon
    alternate: fbdev,vesa dri: crocus,r600 gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.21x7.99")
    s-diag: 414mm (16.31")
  Monitor-1: LVDS-1 model: LG Display 0x033a built: 2012 res: 1366x768 hz: 60
    dpi: 101 gamma: 1.2 size: 344x194mm (13.54x7.64") diag: 395mm (15.5")
    ratio: 16:9 modes: 1366x768
  API: EGL v: 1.5 hw: drv: intel crocus drv: amd r600 platforms: device: 0
    drv: crocus device: 1 drv: r600 device: 2 drv: swrast gbm: drv: kms_swrast
    surfaceless: drv: crocus x11: drv: crocus inactive: wayland
  API: OpenGL v: 4.5 compat-v: 4.2 vendor: intel mesa v: 23.3.4-manjaro1.1
    glx-v: 1.4 direct-render: yes renderer: Mesa Intel HD Graphics 4000 (IVB GT2)
    device-ID: 8086:0166 memory: 1.46 GiB unified: yes
  API: Vulkan v: 1.3.274 layers: N/A device: 0 type: integrated-gpu
    name: Intel HD Graphics 4000 (IVB GT2) driver: mesa intel
    v: 23.3.4-manjaro1.1 device-ID: 8086:0166 surfaces: xcb,xlib

Technically it is possible. Something a long the lines of

Listing lib32- packages

pacman -Qsq lib32-

Remove the --print argument when you have confirmed the result is indeed the intended

sudo pacman -Rns  $(pacman -Qsq lib32-) --print

To make sure you do not get any lib32- packages - forward going - onboard, remember to coment the multilib repo in pacman.conf.

1 Like

I’ve removed all 32bit libraries from some of my systems. If you don’t use them you don’t need them.
Best approch is to use the package manager abilities:

  1. mark all “unwanted” packages as dependencies
$ sudo pacman -D --asdeps  $(pacman -Qsq lib32-)
  1. remove orphans
$ pacman -Qdtq | sudo pacman -Rcs -
  1. check reverse dependencies for all remaining unwanted packages
$ pacman -Qsq lib32-
$ pactree -ro $package

That way you can see what’s left and seemingly needed and decide if you need/use the requiring package.
Hint: you need not start this endeavour if you’re using wine - it’s depending on quite some lib32-* packages.

1 Like

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.