FreeBSD-12.1 on laptop

Polytropon freebsd at edvax.de
Wed Nov 27 19:52:24 UTC 2019


On Thu, 28 Nov 2019 00:52:38 +0530, vm finance wrote:
> Hi Theron,
> 
> Ok - it tried this:
> make -C /usr/ports/graphics/drm-kmod deinstall clean install
> Reboot
> make -C /usr/ports/graphics/drm-kmod deinstall
> cd /usr/ports/graphics/drm-kmod
> make install FORCE_PKG_REGISTER=1 /* make install failed suggested to set
> this flag */
> [drm-kmod-g20190710 gets installed]
> 
> this seemed to work but startx fails again (same framebuffer error).
> 
> I also tried to "kldload drm.ko" - still no luck!

Did you also install the X driver for your graphics card?
If you have a Thinkpad, I guess it contains Intel graphics.
What does /var/log/Xorg.0.log say about that?



> BTW, if I go back to 12.0 RELEASE, would that solve the problem?

It would at least solve the ABI incompatibility problem.
Currently I have a system running v12.0-p7 with the following
configuration:

In /boot/loader.conf:

	i915kms_load="YES"

I have installed the xf86-video-intel package for X, and X
starts without any configuration file. I also don't have
anything DRM-related in any of the system configuration files.
But X works as expected.



> Ultimately, I need to rebuild with latest sources anyways to experiment
> something w/ TCP stack,
> so hopefully going back to 12.0 should fix - thoughts, please?

If you get the latest OS sources and obtain a current ports tree,
things should be in sync again. But don't use pkg to update your
system in such a case without carefully locking the DRM kernel
module port as mentioned before.



> Any other ideas? Thanks a lot!

Check if all components needed for X are actually installed.


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


More information about the freebsd-questions mailing list