Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Nov 2019 20:46:49 +0100
From:      Polytropon <freebsd@edvax.de>
To:        vm finance <vm.finance2@gmail.com>
Cc:        Theron <theron.tarigo@gmail.com>, "Kevin P. Neal" <kpn@neutralgood.org>, freebsd-questions@freebsd.org, freebsd-pkg@freebsd.org
Subject:   Re: FreeBSD-12.1 on laptop
Message-ID:  <20191127204649.203c695a.freebsd@edvax.de>
In-Reply-To: <CAKy-8=jbMrAocdoYCjCZM-znxXM0rXyYQAyeZauUgL1pOVF80g@mail.gmail.com>
References:  <CAKy-8=hUCNiAufHHgpLJTnbS_==aHT7UyspgjLyro-yEcxJ2_w@mail.gmail.com> <18414268-96b1-6112-2c91-345aea9e7f24@gmail.com> <CAKy-8=hb0rTOSRJ5bbT=GeQoKaZDoVNVUm%2B1o_pUYR6QGSg20A@mail.gmail.com> <20191127160215.GA69810@neutralgood.org> <20191127160441.GB69810@neutralgood.org> <CAKy-8=j8z9nAnko1Dcg7m-g3NC1e2raja2mupYedhk-LdxRNdA@mail.gmail.com> <0e484b77-afac-670d-5c34-381862388283@gmail.com> <CAKy-8=jbMrAocdoYCjCZM-znxXM0rXyYQAyeZauUgL1pOVF80g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20191127204649.203c695a.freebsd>