Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Dec 2024 10:32:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 283123] loading i915kms causes black screen on Lenovo X1 carbon gen 8
Message-ID:  <bug-283123-227-5eaV7C4N5H@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-283123-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-283123-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283123

--- Comment #8 from Michael <mw@weis.xyz> ---
Just switched to the 14.2 be as you suggested (you were right I needed to
execute freebsd-update again - as the environment was not complete). Also
checked with uname that I was indeed in the 14.2. be.

Then I did the following:
# pkg delete drm-kmod
# pkg autoremove=20

After that I switched to compiled the drm-kmod port as follows:
# cd /usr/ports/graphics/drm-kmod
# make=20

This ended with error messages asking me to run make with MAKE_JOBS_UNSAFE=
=3Dyes,
which I did as follows:
# make clean
# make MAKE_JOBS_UNSAFE=3Dyes

Same thing still get errors - make output:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D>  License NA accepted by the user
=3D=3D=3D>   drm-kmod-20220907_3 depends on file: /usr/local/sbin/pkg - fou=
nd
=3D=3D=3D> Fetching all distfiles required by drm-kmod-20220907_3 for build=
ing
=3D=3D=3D>  Extracting for drm-kmod-20220907_3
=3D=3D=3D>  Patching for drm-kmod-20220907_3
=3D=3D=3D>  Configuring for drm-kmod-20220907_3
=3D=3D=3D>  Staging for drm-kmod-20220907_3
=3D=3D=3D>   drm-kmod-20220907_3 depends on package: gpu-firmware-kmod>=3D2=
0220511 -
not found
=3D=3D=3D>  License NA accepted by the user
=3D=3D=3D>   gpu-firmware-kmod-20241114,1 depends on file: /usr/local/sbin/=
pkg -
found
=3D=3D=3D> Fetching all distfiles required by gpu-firmware-kmod-20241114,1 =
for
building
=3D=3D=3D>  Extracting for gpu-firmware-kmod-20241114,1
=3D=3D=3D>  Patching for gpu-firmware-kmod-20241114,1
=3D=3D=3D>  Configuring for gpu-firmware-kmod-20241114,1
=3D=3D=3D>  Staging for gpu-firmware-kmod-20241114,1
=3D=3D=3D>   gpu-firmware-kmod-20241114,1 depends on package:
gpu-firmware-radeon-kmod-aruba>0 - not found
=3D=3D=3D>  License RADEON accepted by the user
=3D=3D=3D>   gpu-firmware-radeon-kmod-aruba-20220511 depends on file:
/usr/local/sbin/pkg - found
=3D=3D=3D> Fetching all distfiles required by gpu-firmware-radeon-kmod-arub=
a-20220511
for building
=3D=3D=3D>  Extracting for gpu-firmware-radeon-kmod-aruba-20220511
=3D> SHA256 Checksum OK for freebsd-drm-kmod-firmware-20220511_GH0.tar.gz.
=3D=3D=3D>  Patching for gpu-firmware-radeon-kmod-aruba-20220511
=3D=3D=3D>  Configuring for gpu-firmware-radeon-kmod-aruba-20220511
=3D=3D=3D>  Building for gpu-firmware-radeon-kmod-aruba-20220511
make: stopped in
/usr/ports/graphics/gpu-firmware-radeon-kmod/work-aruba/drm-kmod-firmware-2=
0220511
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/graphics/gpu-firmware-radeon-kmod
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/graphics/gpu-firmware-kmod
*** Error code 1

Stop.
make: stopped in /usr/ports/graphics/drm-kmod

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D
Went back to the 14.2 errata and under open issues it says:
"drm-kmod packages compiled on FreeBSD 14.1 result in the text console being
inoperative when the kernel module is loaded. Recompiling the package from =
the
ports tree will restore the lost functionality. This issue will also resolve
itself after the FreeBSD 14.1 EoL, when packages for 14-STABLE will start b=
eing
built on FreeBSD 14.2-RELEASE."

So compiling the package should work.

Anyway, I tried your second suggestion (i.e. to install drm-515-kmod) and w=
ith
that pkg installed I then could kldload i915kms and start X11 successfully
under 14.2.

Do you want me to test anything else?

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-283123-227-5eaV7C4N5H>