Xorg broken after upgrade to 12.2

Polytropon freebsd at edvax.de
Mon Nov 2 07:06:25 UTC 2020


On Mon, 2 Nov 2020 07:56:09 +0100, Morten Bo Johansen via freebsd-questions wrote:
> On 2020-11-01 Tomasz CEDRO wrote:
> 
> > you need to manually rebuild and reinstall graphics/drm-kmod port on the
> > 12.2 system..? :-)
> 
> Thar didn't do it for me. Btw, my computer is a Lenovo R61
> laptop.

Same here, Lenovo R61i and R500 work horses. :-)



> Is there a command that will show me which packages I have
> installed from the ports collection?

No, because technically _all_ software is installed via pkg.
If you "make install", a package is generated, and it's
installed in the same way pkg does it (including registration
in the system's installed package database).



> I seem to remember that I
> did install something from ports to make the X system work, but
> unfortunately I didn't take notes.

Did you maybe "pkg lock" that package, so it didn't get updated?

Related to the DRM kernel modules, verify the following measures
have been taken:

1. installed from ports

	# cd /usr/ports/graphics/drm-kmod
	# make
	# make install

2. setting in /etc/rc.conf

	kld_list="/boot/modules/i915kms.ko"

3. user in "video" group

	# pw groupmod video -M <username>

4. no xorg.conf



The following resources will hopfeully be helpful to you:

https://wiki.freebsd.org/Graphics#Intel_Integrated_Graphics_.28aka_HD_Graphics.29

https://forums.freebsd.org/threads/how-to-use-the-old-or-the-new-i915kms-driver-for-intel-integrated-graphics-with-xorg.66732/

https://freebsddesktop.github.io/2018/12/08/drm-kmod-primer.html


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...


More information about the freebsd-questions mailing list