Laptop graphical glitch

From time to time, the screen of my laptop will get stuck in a previous position and then suddenly revert back after I press some buttons to force it to update the screen. The problem doesn't appear if I connect it to an external monitor with a usb-c cable. I am extremely paranoid that this will eventually lead me to entering the wrong command in a command prompt. I have the nvidia driver xserver-xorg-video-nvidia/stable,now 525.125.06-1~deb12u1 amd64 [installed].

problem occurs more often when videos are playing

These are my specs:
OS: Debian GNU/Linux 12 (bookworm) x86_64
Host: HP ENVY Laptop 13-aq0xxx
Kernel: 6.1.0-12-amd64
Resolution: 1920x1080, 1920x1080
WM: i3
CPU: Intel i7-8565U (8) @ 4.600GHz
GPU: NVIDIA GeForce MX250
GPU: Intel WhiskeyLake-U GT2 [UHD Graphics 620]
Memory: 1845MiB / 7660MiB

OTTOMH,

Sounds like you need more memory because your laptop window manager + any applications you are running wants more memory that you have available.

:slight_smile:

You can run some command like top in the terminal and review each process and see how much memory your system demands, etc.

There are other Linux commands you can use to help with your analysis, others can suggest if they wish.

My laptop has sufficient ram of about 8GB, and nothing on htop shows any process using too much ram. It also runs a separate monitor without any issues so it doesn't appear to be an issue of video memory I believe.

FWIW, my money is on a driver problem. There seems to be a number of different drivers for MX250 on Linux. I suggest you search for a specific MX250 driver for Debian and the necessary steps needed to install it

1 Like

I have gone nuclear and deleted all graphic card drivers and gone full cpu, I hope this fixes the issues. I will report back if the issue continues.

That is I deleted nvidia and nouveau video drivers and am hoping I can just use cpu

How can I verify I am only using my cpu and no gpu?

I have deleted my nvidia drivers and my xorg nvidia video drivers

That is, I have run sudo apt remove xserver-video-nouveau
and sudo apt remove xserver-xorg-video-nouveau

Also I have run
sudo apt remove nvidia-*