HP Laptop freezes while using Xorg sporadically.

From: Mauricio <humo3302_at_gmail.com>
Date: Mon, 14 Jul 2025 01:43:46 UTC
I have an HP 255-G7 Laptop running FreeBSD 14.3 RELEASE which every now and
then freezes entirely while using Xorg. When the laptop freezes, the only
thing that gives me a response is mouse and graphic tablet movement.

At that point, I can't jump to a virtual console with CTRL+ALT+FUNCTIONKEY.
I can't even shut the computer down by pressing the shutdown button for
less than a second as I usually do.
But trying to do both things makes the disk activity light indicator start
blinking a lot for a moment.

The laptop doesn't seem to get back to work even after half an hour of
waiting or more.
Something that i have been noticing is that the freeze seems to be
triggered by an increase of resources use. I noticed that because the
freezing starts usually after opening a program like a terminal emulator
while there are already some programs running in other windows. It also
happened one time while trying to use my laptop while copying 23GBs of data
in a virtual console.

I leave some routine files here for you to check up if you feel the need of
it:

dmesg output: https://pastebin.com/C27M5K0F
rc.conf: https://pastebin.com/9wX0sKsa
loader.conf: https://pastebin.com/wBrdL8NL

As always, thanks to whoever that takes the time to help me with this.