Skip to content

corrupt colors at start with i915kms #386

@emaste

Description

@emaste

Describe the bug
After startx the display / colors are corrupt. Here is an example from the default twm setup that should have a black background, white windows, and green/teal titlebars:

Image

After switching to a console vty and back (e.g. ctrl-alt-f1 ctrl-alt-f9) the display is as expected.

Image

FreeBSD version
FreeBSD framework 16.0-CURRENT FreeBSD 16.0-CURRENT #27 wipbsd-n281456-d9fac53c9715: Wed Oct 8 10:54:41 EDT 2025 emaste@framework:/usr/obj/home/emaste/src/freebsd-git/wipbsd/amd64.amd64/sys/GENERIC amd64 1600001 1600001

This is my WIP tree branched from main @ 04d47c7cde54cc325cca3f47113976f5500dc58f

PCI Info

vgapci0@pci0:0:2:0:	class=0x030000 rev=0x08 hdr=0x00 vendor=0x8086 device=0x7dd5 subvendor=0xf111 subdevice=0x0009
    vendor     = 'Intel Corporation'
    device     = 'Meteor Lake-P [Intel Graphics]'
    class      = display
    subclass   = VGA

DRM KMOD version
From the 6.10 pull request at #371
I have had this issue with several drm-kmod versions post 6.6.

To Reproduce
Start X

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions