the xorg-7.7_3 package will not run on a blank system

doug doug at safeport.net
Wed Jan 20 05:00:14 UTC 2021


On Tue, 12 Jan 2021 08:28:04 +0100
Niclas Zeising <zeising+freebsd at daemonic.se> wrote:

> On 2021-01-11 22:15, doug wrote:
> > I updated a Lenovo ideapad 700 from 11.3 --> 12.2. With only the xorg package
> > installed, it fails as shown below.
> >
> >> startx
> > xauth:  file /root/.serverauth.5930 does not exist
> >
> 
> It is documented here
> https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html,
> under 5.4.5, that you also need to install drm-kmod.  Currently, due to
> how packages are built, if you are running FreeBSD 12.2, you need to 
> build
> it from ports.  Once the package build cluster is also updated to 12.2,
> that need goes away.

Thanks for the input.

With all the stated issues with 12.2 and since FreeBSD 11.3 with Xorg 
7.7_2 was working in this system, I installed 11.4 along with the the 
only available package which is 7.7_3. The issue with Lenovo seems to be 
with Xorg rather than FreeBSD. I get essentially the same results. I've 
installed:

    xorg-7.7_3
    xorg-apps-7.7_4
    xorg-docs-1.7.1,1
    xorg-drivers-7.7_6
    drm-fbsd11.2-kmod-4.11g20200420
    drm-kmod-g20190710

All the above installed as a part of the meta package except drm-kmod.
startx produces the exact errors as with 12.2.
                       :
   [  7037.448] (==) Matched intel as autoconfigured driver 0
   [  7037.448] (==) Matched modesetting as autoconfigured driver 1
   [  7037.448] (==) Matched scfb as autoconfigured driver 2
   [  7037.448] (==) Matched vesa as autoconfigured driver 3
   [  7037.448] (==) Assigned the driver to the xf86ConfigLayout
   [  7037.448] (II) LoadModule: "intel"
   [  7037.448] (WW) Warning, couldn't open module intel
   [  7037.448] (EE) Failed to load module "intel"
                     (module does notexist, 0)
                        :
   [  7037.448] (II) LoadModule: "scfb"
   [  7037.448] (II) Loading
                     /usr/local/lib/xorg/modules/drivers/scfb_drv.so
   [  7037.448] (II) Module scfb: vendor="X.Org Foundation"
   [  7037.448] (II) modesetting: Driver for Modesetting Kernel
                     Drivers: kms
   [  7037.448] (II) scfb: driver for wsdisplay framebuffer: scfb :
   [  7037.449] (WW) VGA arbiter: cannot open kernel arbiter, no
                     multi-card support
   [  7037.449] (EE) Screen 0 deleted because of no matching config 
section.
   [  7037.449] (II) UnloadModule: "modesetting"
   [  7037.449] (EE) Fatal server error:
   [  7037.449] (EE) Cannot run in framebuffer mode. Please specify
                     busIDs for all framebuffer devices

Xorg -configure produces a different error

   [  7184.366] Xorg has configured a multihead system, please check
                 your config.

This is true BTW although I must say it did not bother 7.7_2

vgapci1 at pci0:0:2:0: class=0x030000 card=0x380a17aa chip=0x191b8086
     rev=0x06 hdr=0x00 vendor = 'Intel Corporation'
     device     = 'HD Graphics 530'
     class      = display
     subclass   = VGA

vgapci0 at pci0:1:0:0: class=0x030200 card=0x380b17aa chip=0x134710de
     rev=0xa2 hdr=0x00 vendor = 'NVIDIA Corporation'
     device     = 'GM108M [GeForce 940M]'
     class      = displayNVIDIA
     subclass   = 3D

If possible I would like to tell Xorg to use the Intel display. I 
couldn't care less about using 3D. There is no mention of trying to load 
or not finding the intel module with this command. It seems like it 
might work if xorg was willing to use the intel driver, As far as I can 
tell it is there. Using VESA would work fine for my needs as long as I 
could get 1920x1080 resolution. That is what I am using on my 
workstation with a "nothing" video card.

Thanks for any thoughts

-- 
_____
Douglas Denault
http://www.safeport.com
doug at safeport.com
Voice: 301-217-9220


More information about the freebsd-x11 mailing list