Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Jan 2021 17:49:29 -0500 (EST)
From:      Doug Denault <doug@safeport.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   xorg-7.7_3 and freebsd 12.2
Message-ID:  <alpine.BSF.2.00.2101101656110.48249@bucksport.safeport.com>

Next in thread | Raw E-Mail | Index | Archive | Help
I updated a Lenovo ideapad 700 from 11.3 --> 12.2 and installed xorg, xdm, 
and xfce4. I did not do anything about address the evdev mode 
recommendation. Everything worked except double click would not paste. 
Sadly I did not accept this situation. I tried the evdev sysctl 
suggestions, starting moused forcing '-3' and a number of other options 
without effecting any change at all. So I thought I would try `Xorg -configure`
and pick out the input section. AT this point the xserver/xdm would not 
start any more getting the errors:

Command: startx
xauth:  file /root/.serverauth.5930 does not exist
     :
Fatal server error:
(EE) Cannot run in framebuffer mode. Please specify busIDs for all framebuffer devices

Since there was nothing of use on this system I removed all packages and 
tried again with the above error persisting. I removed all packages again 
and also clear /usr/local, /tmp/ and removed all xorg.conf files. The error 
persists even with that.

The current state of the system:
   pkg prime-origins
   ports-mgmt/pkg
   x11/xdm
   x11/xorg

At this point I checked question and the "Xorg broken after upgrade to 
12.2" thread. I did not think it relevant on the first pass as I had an 
almost working system.

The error messages in Xorg.0.log

         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  4257.423] (EE) Failed to load module "intel" (module does not exist, 0)
[  4257.425] (EE) open /dev/dri/card0: No such file or directory
[  4257.425] (EE) open /dev/dri/card0: No such file or directory
[  4257.425] (EE) Screen 0 deleted because of no matching config section.
[  4257.425] (EE)
[  4257.425] (EE) Cannot run in framebuffer mode. Please specify busIDs for 
all framebuffer devices
[  4257.425] (EE)
[  4257.425] (EE)
[  4257.425] (EE) Please also check the log file at "/var/log/Xorg.0.log" 
for additional information.
[  4257.425] (EE)
[  4257.426] (EE) Server terminated with error (1). Closing log file.

So I tried building graphics/drm-kmod from a ports tree I portsnap'd 
Saturday. That would not build. When I did a `make clean` I cancelled that 
cleared /usr/ports and portsnap'd a new copy. graphics/drm-kmod is not in 
the current tree BTW, so I am going to try graphics/drm-legacy-kmod which I 
expect to meet the same fate.

The solution here (if it works) is somewhat at odds with this statement 
from the handbook:

    "Warning:
     Before installing and using the Ports Collection, please be
     aware that it is generally ill-advised to use the Ports
     Collection in conjunction with the binary packages provided
     via pkg to install software. pkg, by default, tracks
     quarterly branch-releases of the ports tree and not HEAD.
     Dependencies could be different for a port in HEAD compared
     to its counterpart in a quarterly branch release and this
     could result in conflicts between dependencies installed by
     pkg and those from the Ports Collection. If the Ports
     Collection and pkg must be used in conjunction, then be sure
     that your Ports Collection and pkg are on the same branch
     release of the ports tree."

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



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.2101101656110.48249>