random pixel glitches

Hello,

I use a macbookpro 8,2 (late 2011) that has:
CPU: Intel(R) Core(TM) i5-2435M CPU @ 2.40GHz (2394.56-MHz K8-class CPU)

Entering 'pciconf -lv | grep -B3 display', I get the following output:
vgapci0@pci0:0:2:0: class=0x030000 rev=0x09 hdr=0x00 vendor=0x8086 device=0x0126 subvendor=0x106b subdevice=0x00db
vendor = 'Intel Corporation'
device = '2nd Generation Core Processor Family Integrated Graphics Controller'
class = display

According to this web page, it's an HD Graphics 3000 Sandy Bridge.

Entering 'sysctl -a | grep memory', I get the following output:
real memory = 8589934592 (8192 MB)
avail memory = 8203759616 (7823 MB)
<6>[drm] Got Intel graphics stolen memory base 0x8ba00000, size 0x4000000
vfs.tmpfs.memory_percent: 100
vfs.tmpfs.memory_reserved: 4194304
hw.cbb.start_memory: 2281701376
p1003_1b.memory_protection: 0
p1003_1b.shared_memory_objects: 200112

The meta-port package drm-kmod has been installed but I wonder if any of the following would be good for the video card:
gpu-firmware-intel-kmod-alderlake: 20250109.1500068 [FreeBSD-ports-kmods]
gpu-firmware-intel-kmod-broxton: 20250109.1500068 [FreeBSD-ports-kmods]
gpu-firmware-intel-kmod-cannonlake: 20250109.1500068 [FreeBSD-ports-kmods]
gpu-firmware-intel-kmod-dg1: 20250109.1500068 [FreeBSD-ports-kmods]
gpu-firmware-intel-kmod-dg2: 20250109.1500068 [FreeBSD-ports-kmods]
gpu-firmware-intel-kmod-elkhartlake: 20250109.1500068 [FreeBSD-ports-kmods]
gpu-firmware-intel-kmod-geminilake: 20250109.1500068 [FreeBSD-ports-kmods]
gpu-firmware-intel-kmod-icelake: 20250109.1500068 [FreeBSD-ports-kmods]
gpu-firmware-intel-kmod-kabylake: 20250109.1500068 [FreeBSD-ports-kmods]
gpu-firmware-intel-kmod-rocketlake: 20250109.1500068 [FreeBSD-ports-kmods]
gpu-firmware-intel-kmod-skylake: 20250109.1500068 [FreeBSD-ports-kmods]
gpu-firmware-intel-kmod-tigerlake: 20250109.1500068 [FreeBSD-ports-kmods]
gpu-firmware-kmod: 20241114,1 [FreeBSD-ports]

There are many other lines starting with 'gpu-firmware-amd' and 'gpu-firmware-radeon' that I don't think are applicable to an Intel graphics...

The /etc/rc.file has the line: kld_list="i915kms"

It has no xorg.conf file and I'm too skeptical to follow recommendations to create one - I don't like to try new spices without knowing what they are, what they do, and, most importantly, that they won't give me digestive problems.

And it runs with FreeBSD 15.0-RELEASE.

It randomly gets the pixel glitches shown in the screengrabs attached here. One of them shows the letter B not displaying (" ureautique" and " ureau") in a menu.

I have no idea how to start troubleshooting this so, I'd appreciate any guidance.
 

Attachments

  • screengrab_01.png
    screengrab_01.png
    3.3 KB · Views: 76
  • screengrab_02.png
    screengrab_02.png
    1.7 KB · Views: 80
  • screengrab_03.png
    screengrab_03.png
    12.6 KB · Views: 79
I have the same graphics card on my ThinkPad x220t:
Code:
vgapci0@pci0:0:2:0:    class=0x030000 rev=0x09 hdr=0x00 vendor=0x8086 device=0x0126 subvendor=0x17aa subdevice=0x21db
    vendor     = 'Intel Corporation'
    device     = '2nd Generation Core Processor Family Integrated Graphics Controller'
    class      = display
Driver installed graphics/drm-515-kmod:
Code:
$ pkg info | grep kmod
drm-515-kmod-5.15.160.1500068_8 Direct Rendering Manager GPU drivers
virtualbox-ose-kmod-70-7.0.26.1500068 VirtualBox kernel module for FreeBSD
/etc/rc.conf:
Code:
kld_list="/boot/modules/i915kms.ko"
/etc/X11/xorg.conf.d/20-intel.conf:
Code:
Section "Device"
    Identifier     "Card0"
    Driver         "intel"
    Option         "DRI" "3"
    Option         "AccelMethod" "glamor"
    Option         "TearFree" "true"
EndSection
Runs on FreeBSD 15.0-RELEASE
 
Thanks.

drm-515-kmod and glamor didn't seem to fix.
Neither did drm-61-kmod and glamor.
Nor did drm-66-kmod and glamor.

So far, drm-66-kmod and SNA seems to work.
 
Back
Top