#installing Linux mint 22 on Dell Latitude 5430

167 messages · Page 1 of 1 (latest)

sonic crown
#

hello everyone
hope you are all doing well
anyone have tried to install linux mint ( 20.xx , 21.xx, 22 ) on a dell latitude 5430 before and experienced a laggy display and mouse cursur laggy movement before even start installing?
the wierd thing is
same thing happen to most distros that i tried to install ( mx linux 23.xx, debian 11 & 12, linux mint 20 & 21 & 22, ubunutu 22.xx & 24.xx, Fedora 39 & 40, Q4OS 5.6 )
and the only one that works fine and perfectly is ubuntu 20.04

laptop specs
12gen intel i5 1250u vpro
32GB RAM
500GB NV2 Kingston
bios only support UEFI
secure boot disabled

Solution:

Edit /etc/default/grub
add i915.enable_psr=0
to GRUB_CMDLINE_LINUX_DEFAULT
it'll likely will look like this

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash i915.enable_psr=0"

save, then run

sudo update-grub

and restart

sonic crown
# finite rivet did you install any of them?

in term of installation .. all of them can be installed , and work fine
the case is in both cases ( wether it is installed .. or in live from booted usb) the mouse cursur and the display it is way to slow and flickry as hell
when moving the cursur or clicking any menu or icon, i have to wait for 5 to 10 seconds to reflect on the screen

sonic crown
#

integrated on intel 12th gen i5 1250u

finite rivet
sonic crown
finite rivet
#

on their website, yes, only Ubuntu 20.04 is certified

#

I don't see why other versions would not be

#

I do not understand why there's a ❌ on Ubuntu 22.04 with the WiFi card

sonic crown
#

i just tried to install ubuntu 20.04 then i did upgrade to 22.04 and then it worked fine and cursur move fine
then when i did ( do-release-upgrade ) on the 22.04 to 24.04 it get bad

finite rivet
#

but here's a wild guess, remove the WiFi card temporarily and see if it works without that

sonic crown
#

i dont think so the issue is wifi card
because , all the distros i have tried detected it fine

i have experienced a similar issue before with another machine, where OS didn't use proper drivers for GPU , and the issue was UEFI settings as it was preventing OS from accessing the GPU properly
i am suspecting the same
because in this freaking laptop there is no option to use legacy boot in bios
and i have disabled secure boot in bios

finite rivet
#

you can wait for others, maybe they will have a better understanding of this

slender belfry
#

Please post the output of this command

inxi -G

when booted in Mint 22 (live or otherwise)

whole tapir
#

or rather inxi -Gxxx for more deep info including chip numbers

sonic crown
#

the one below is with ( sudo inxi -F )

slender belfry
#

They're both with -F We'd also like one with -Gxxx

sonic crown
#

mint@mint:~$ sudo inxi -Gxxx
Graphics:
Device-1: Intel Alder Lake-UP3 GT2 [Iris Xe Graphics] vendor: Dell driver: i915 v: kernel
arch: Gen-12.2 ports: active: eDP-1 empty: DP-1,DP-2,HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:46a8
class-ID: 0300
Display: server: X.org v: 1.21.1.11 with: Xwayland v: 23.2.6 driver: X: loaded: modesetting
unloaded: fbdev,vesa dri: iris gpu: i915 tty: 140x68
Monitor-1: eDP-1 model: Sharp 0x1513 res: 1920x1080 dpi: 158 size: 309x174mm (12.17x6.85")
diag: 355mm (14") modes: 1920x1080
API: EGL v: 1.5 hw: drv: intel iris platforms: device: 0 drv: iris device: 1 drv: swrast
surfaceless: drv: iris inactive: gbm,wayland,x11
API: OpenGL v: 4.6 compat-v: 4.5 vendor: mesa v: 24.0.9-0ubuntu0.1 note: console (EGL sourced)
renderer: Mesa Intel Graphics (ADL GT2), llvmpipe (LLVM 17.0.6 256 bits)

whole tapir
#

Intel Iris XE graphics. I don't think there's good support for it.

#

you can check Driver Manager in Linux Mint in case there's some suggested driver for it.

slender belfry
#

Things to try (on installed system)

Enable TearFree option:
Create file /etc/X11/xorg.conf.d/20-intel.conf with this content

Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "TearFree" "true"
EndSection

restart, see if it helps.

Edit /etc/default/grub and add to GRUB_CMDLINE_LINUX_DEFAULT: this line

i915.enable_fbc=1 i915.enable_psr=0 i915.fastboot=1

Then run in terminal

sudo update-grub

and reboot

see if that helps

#

Also you can try for newer driver

sudo add-apt-repository ppa:kisak/kisak-mesa
sudo apt update && sudo apt upgrade

sonic crown
#

@slender belfry @whole tapir @finite rivet
first
I have to say thank you very much for your time and help
second
i will try this today, and will get back to you alll with the results

sonic crown
#

@slender belfry
i have installed ubuntu 20.04.6
which is the working fine
and ran (inxi -G)
and the results are

finite rivet
sonic crown
finite rivet
sonic crown
finite rivet
sonic crown
#

it is alreay installed

finite rivet
#

try to install this tool. and then install kernel 6.8 or 6.11. I want to see if the issue is with newer kernels that somehow break your system.

sonic crown
#

btw
on ubuntu 20.04 i have no issues in term of display
but other popular distros have the issue

just wanted to understand.. do u want me to install newer kernel on the ubuntu 20.04 to check if the issue with the kernel .. correct ??

#

(sorry for bad english .. it is not my native) @finite rivet

finite rivet
#

because Ubuntu 20.04 comes with some ancient kernel, iirc 5.4

#

also please share output of inxi -N

sonic crown
#

ok

#

ok .. thanks god u explained it
coz i was about to install mint 22 on the laptop 🤣

finite rivet
#

xD

sonic crown
#

@finite rivet
i just installed mainline kernels
now i run it and install 6.8 or 6.11 kernel then reboot using the new kernel ... correct ?

sonic crown
#

results after installing before reboot

finite rivet
#

well, it produced some error, but see if you can reboot

sonic crown
#

the issue happen
now mouse laggy

finite rivet
#

okay, so it really seems to be an issue with the kernel?

sonic crown
#

yeah .. it is

finite rivet
sonic crown
#

no

finite rivet
# sonic crown no

you can start your computer and then press/spam ESC, then it should appear. check if it does

sonic crown
#

@finite rivet
on top right
an error popped up

finite rivet
#

try to see if you can get the black menu please

sonic crown
#

im in grub CLI now @finite rivet

finite rivet
sonic crown
finite rivet
sonic crown
finite rivet
# sonic crown

okay good. use arrow keys to move to Ubuntu entry, then press e. Then show what you see

sonic crown
#

u mean advanced option for ubuntu ?

finite rivet
#

No, Ubuntu

finite rivet
sonic crown
finite rivet
#

yes this

finite rivet
# sonic crown

okay, in the line linux, at the end after $vt_handoff, type modprobe.blacklist=iwlwifi

#

it must be the same line to work

sonic crown
#

like this ?? 👆🏼

finite rivet
#

now press F10

#

this will temporarily disable WiFi, until next reboot

sonic crown
#

Q: the issue is with display not wifi
why we are disabling wifi ??

sonic crown
#

mouse and display still laggy after booting

finite rivet
#

wait, according to Ubuntu, your laptop should have a different WIFI

slender belfry
#

Does wifi actually work though?

sonic crown
#

yes it does work

finite rivet
#

ohhhh

#

try inxi -Nx

sonic crown
sonic crown
finite rivet
#

hmmm

slender belfry
#

@finite rivet Compare those 2 outputs, it seems newer kernel recognizes gpu better, but works worse somehow, and the older kernel uses more generic driver...... that works better somehow?

sonic crown
#

and here is inxi -Gxxx after new kernel

slender belfry
finite rivet
#

ah right, not sure why then

#

well, my only suggestion for now is to try and disable networking. but I'm not sure what the modules are named.

finite rivet
# sonic crown

try to do the same thing with GRUB as before, but add modprobe.blacklist=r8152,e1000e,iwlwifi

slender belfry
sonic crown
sonic crown
slender belfry
#

Yes, but it won't likely have an effect since it works fine on ubuntu 20.04

sonic crown
slender belfry
#

Can you please do inxi -GS again then, please

finite rivet
#

when you can achieve the no network state, please ping me

sonic crown
sonic crown
# finite rivet when you can achieve the no network state, please ping me

i really appreciate your efforts and time to help me on my issue
and thank you very very much for what u r doing to me

but what i would like to understand is why you are trying to disable wifi or network and i dont have any issue with it and my issue is display/gpu and not netwotk and connectivity
im not following your logic of troubleshooting
would u mind to elaborate please

finite rivet
#

after using the new kernel, the issue appears.

#

so by not using the broken device, the issue could disappear

sonic crown
slender belfry
#

@finite rivet@sonic crown Another way to unload network drivers is

sudo modprobe -r e1000e iwlwifi r8152

although I'm not seeing the connection between those and gpu

sonic crown
slender belfry
sonic crown
#

sorry .. im at work and was busy with customers

sonic crown
slender belfry
#

Alright.... 20.04 uses 5.4 kernel I think? 22.04 uses 5.15 and 24.04 uses 6.8 I think.

If you install 5.15 do you still have troubles?

sonic crown
slender belfry
#

You can check the currently used kernel with

inxi -S

or

uname -r

sonic crown
#

i did apt full-upgrade
and rebooting

#

current kernel for ubuntu 20.04.6
kernel 5.15.0-122-generic

#

before changing anything

#

@slender belfry which kernel should i try ?

slender belfry
#

oh... it's already uses 5.15...... So, ubuntu 22.04 and mint 21.3 should be fine too.

What's the latest available?

sonic crown
#

mint 21 and ubuntu 22 have laggy issues

slender belfry
#

try the latest kernel.

sonic crown
#

6.11 i tried before
laggy

gonna try 5.19.17

#

result after installing and before reboot

#

5.19.17
is freaking laggy

finite rivet
slender belfry
#

Also, I noticed that in kernels higher than 5.15 is uses llvmpipe, which is software renderer along with XE driver, I don't really know why though, but that's maybe what causes lagginess

#

@sonic crown And yeah, unload network drivers, so that we can rule that out

sonic crown
slender belfry
finite rivet
sonic crown
sonic crown
#

loaded 6.8 kernel

sonic crown
slender belfry
sonic crown
#

laggish didnt go btw

slender belfry
#

Ok, try this: Edit /etc/default/grub add i915.enable_psr=0 to GRUB_CMDLINE_LINUX_DEFAULT it'll likely will look like this

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash i915.enable_psr=0"

save, then run

sudo update-grub

and restart

slender belfry
#

yes, now save, run sudo update-grub and restart

finite rivet
sonic crown
slender belfry
#

Ok, then it should work on mint 22 as well

sonic crown
#

hell yes
that is the whole point
mint22 ftw

#

thank you so much for your efforts and your time
@finite rivet @slender belfry

slender belfry
#

You're welcome, don't forget to mark as solved, if it'll work on mint

sonic crown
#

of course

#

and btw
when i boot mint 22 live cd compatoble mode.. no laggy at all
but normal one laggy comes up

finite rivet
finite rivet
slender belfry
slender belfry
sonic crown
#

mint22 installed
added i915.enable in grub
updated grub
rebooting

#

IT WORKED

#

now display works great

#

how do i set this post to solved?
@slender belfry