• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Solved Sanity check please. Xorg won't start at all on new hardware before 11.2?

ekingston

Active Member

Thanks: 49
Messages: 177

#1
I have 2 computers that I know need the new drm and updated i915 drives that are due to drop in 11.2. I haven't tried to back-port (but I've seen the instructions for compiling drm-next). In anticipation of this I loaded xorg (pkg install xorg) on the computers and tried to start it (hoping it would flip to the not accelerated version). Both fail to load X11 at all and give an error.

Is this normal at this point? If so, I can wait for FreeBSD 11.2. In case it isn't:

startx output:
Code:
X.Org X Server 1.18.4
Release Date: 2016-07-19
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 11.1-RELEASE-p10 amd64
Current Operating System: FreeBSD ariel.suntrap.ca 11.1-RELEASE-p10 FreeBSD 11.1-RELEASE-p10 #0: Tue May  8 05:21:56 UTC 2018     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
Build Date: 09 June 2018  02:52:52AM

Current version of pixman: 0.34.0
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Jun 15 19:05:54 2018
(==) Using default built-in configuration (39 lines)
scfb trace: probe start
scfb trace: probe done
(EE)
Fatal server error:
(EE) Cannot run in framebuffer mode. Please specify busIDs        for all framebuffer devices
(EE)
(EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
and /var/log/Xorg.0.log

Code:
X.Org X Server 1.18.4
Release Date: 2016-07-19
[353647.384] X Protocol Version 11, Revision 0
[353647.384] Build Operating System: FreeBSD 11.1-RELEASE-p10 amd64
[353647.384] Current Operating System: FreeBSD ariel.suntrap.ca 11.1-RELEASE-p10 FreeBSD 11.1-RELEASE-p10 #0: Tue May  8 05:21:56 UTC 2018     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
[353647.384] Build Date: 09 June 2018  02:52:52AM
[353647.384]
[353647.384] Current version of pixman: 0.34.0
[353647.384]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[353647.384] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[353647.384] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Jun 15 19:05:54 2018
[353647.384] (II) Loader magic: 0x80fc90
[353647.385] (II) Module ABI versions:
[353647.385]    X.Org ANSI C Emulation: 0.4
[353647.385]    X.Org Video Driver: 20.0
[353647.385]    X.Org XInput driver : 22.1
[353647.385]    X.Org Server Extension : 9.0
[353647.385] (--) PCI:*(0:0:2:0) 8086:1916:8086:2063 rev 7, Mem @ 0xde000000/16777216, 0xc0000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/65536
[353647.385] (==) Using default built-in configuration (39 lines)
[353647.385] (==) --- Start of built-in configuration ---
[353647.385]    Section "Device"
[353647.385]            Identifier      "Builtin Default intel Device 0"
[353647.385]            Driver  "intel"
[353647.385]    EndSection
[353647.385]    Section "Screen"
[353647.385]            Identifier      "Builtin Default intel Screen 0"
[353647.385]            Device  "Builtin Default intel Device 0"
[353647.385]    EndSection
[353647.385]    Section "Device"
[353647.385]            Identifier      "Builtin Default modesetting Device 0"
[353647.385]            Driver  "modesetting"
[353647.385]    EndSection
[353647.385]    Section "Screen"
[353647.385]            Identifier      "Builtin Default modesetting Screen 0"
[353647.385]            Device  "Builtin Default modesetting Device 0"
[353647.385]    EndSection
[353647.385]    Section "Device"
[353647.385]            Identifier      "Builtin Default scfb Device 0"
[353647.385]            Driver  "scfb"
[353647.385]    EndSection
[353647.385]    Section "Screen"
[353647.385]            Identifier      "Builtin Default scfb Screen 0"
[353647.385]            Device  "Builtin Default scfb Device 0"
[353647.385]    EndSection
[353647.385]    Section "Device"
[353647.385]            Identifier      "Builtin Default vesa Device 0"
[353647.385]            Driver  "vesa"
[353647.385]    EndSection
[353647.385]    Section "Screen"
[353647.385]            Identifier      "Builtin Default vesa Screen 0"
[353647.385]            Device  "Builtin Default vesa Device 0"
[353647.385]    EndSection
[353647.385]    Section "ServerLayout"
[353647.385]            Identifier      "Builtin Default Layout"
[353647.385]            Screen  "Builtin Default intel Screen 0"
[353647.385]            Screen  "Builtin Default modesetting Screen 0"
[353647.385]            Screen  "Builtin Default scfb Screen 0"
[353647.385]            Screen  "Builtin Default vesa Screen 0"
[353647.385]    EndSection
[353647.385] (==) --- End of built-in configuration ---
[353647.385] (==) ServerLayout "Builtin Default Layout"
[353647.385] (**) |-->Screen "Builtin Default intel Screen 0" (0)
[353647.385] (**) |   |-->Monitor "<default monitor>"
[353647.386] (**) |   |-->Device "Builtin Default intel Device 0"
[353647.386] (==) No monitor specified for screen "Builtin Default intel Screen 0".
        Using a default monitor configuration.
[353647.386] (**) |-->Screen "Builtin Default modesetting Screen 0" (1)
[353647.386] (**) |   |-->Monitor "<default monitor>"
[353647.386] (**) |   |-->Device "Builtin Default modesetting Device 0"
[353647.386] (==) No monitor specified for screen "Builtin Default modesetting Screen 0".
        Using a default monitor configuration.
[353647.386] (**) |-->Screen "Builtin Default scfb Screen 0" (2)
[353647.386] (**) |   |-->Monitor "<default monitor>"
[353647.386] (**) |   |-->Device "Builtin Default scfb Device 0"
[353647.386] (==) No monitor specified for screen "Builtin Default scfb Screen 0".
        Using a default monitor configuration.
[353647.386] (**) |-->Screen "Builtin Default vesa Screen 0" (3)
[353647.386] (**) |   |-->Monitor "<default monitor>"
[353647.386] (**) |   |-->Device "Builtin Default vesa Device 0"
[353647.386] (==) No monitor specified for screen "Builtin Default vesa Screen 0".
        Using a default monitor configuration.
[353647.386] (==) Automatically adding devices
[353647.386] (==) Automatically enabling devices
[353647.386] (==) Not automatically adding GPU devices
[353647.386] (==) Max clients allowed: 256, resource mask: 0x1fffff
[353647.386] (==) FontPath set to:
        /usr/local/share/fonts/misc/,
        /usr/local/share/fonts/TTF/,
        /usr/local/share/fonts/OTF/,
        /usr/local/share/fonts/Type1/,
        /usr/local/share/fonts/100dpi/,
        /usr/local/share/fonts/75dpi/
[353647.386] (==) ModulePath set to "/usr/local/lib/xorg/modules"
[353647.386] (II) The server relies on devd to provide the list of input devices.
        If no devices become available, reconfigure devd or disable AutoAddDevices.
[353647.386] (II) LoadModule: "glx"
[353647.387] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[353647.492] (II) Module glx: vendor="X.Org Foundation"
[353647.492]    compiled for 1.18.4, module version = 1.0.0
[353647.492]    ABI class: X.Org Server Extension, version 9.0
[353647.492] (==) AIGLX enabled
[353647.492] (II) LoadModule: "intel"
[353647.492] (WW) Warning, couldn't open module intel
[353647.492] (II) UnloadModule: "intel"
[353647.492] (II) Unloading intel
[353647.492] (EE) Failed to load module "intel" (module does not exist, 0)
[353647.492] (II) LoadModule: "modesetting"
[353647.492] (II) Loading /usr/local/lib/xorg/modules/drivers/modesetting_drv.so
[353647.492] (II) Module modesetting: vendor="X.Org Foundation"
[353647.493]    compiled for 1.18.4, module version = 1.18.4
[353647.493]    Module class: X.Org Video Driver
[353647.493]    ABI class: X.Org Video Driver, version 20.0
[353647.493] (II) LoadModule: "scfb"
[353647.493] (II) Loading /usr/local/lib/xorg/modules/drivers/scfb_drv.so
[353647.493] (II) Module scfb: vendor="X.Org Foundation"
[353647.493]    compiled for 1.18.4, module version = 0.0.4
[353647.493]    ABI class: X.Org Video Driver, version 20.0
[353647.493] (II) LoadModule: "vesa"
[353647.493] (II) Loading /usr/local/lib/xorg/modules/drivers/vesa_drv.so
[353647.493] (II) Module vesa: vendor="X.Org Foundation"
[353647.493]    compiled for 1.18.4, module version = 2.4.0
[353647.493]    Module class: X.Org Video Driver
[353647.493]    ABI class: X.Org Video Driver, version 20.0
[353647.493] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[353647.493] (II) scfb: driver for wsdisplay framebuffer: scfb
[353647.493] (II) VESA: driver for VESA chipsets: vesa
[353647.493] (--) Using syscons driver with X support (version 2.0)
[353647.493] (--) using VT number 2

[353647.980] (EE) open /dev/dri/card0: No such file or directory
[353647.980] (WW) Falling back to old probe method for modesetting
[353647.980] (EE) open /dev/dri/card0: No such file or directory
[353647.980] (WW) Falling back to old probe method for scfb
[353647.980] scfb trace: probe start
[353647.980] (II) scfb(1): using default device
[353647.980] scfb trace: probe done
[353647.980] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[353647.980] (EE) Screen 0 deleted because of no matching config section.
[353647.980] (II) UnloadModule: "modesetting"
[353647.980] (EE)
Fatal server error:
[353647.980] (EE) Cannot run in framebuffer mode. Please specify busIDs        for all framebuffer devices
[353647.980] (EE)
[353647.980] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
for help.
[353647.980] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[353647.980] (EE)
[353648.470] (EE) Server terminated with error (1). Closing log file.
One system is a Core i3-6100U (Intel NUC)
The other system is a new HP Laptop i5-7200U (HP Pavilion 14)
 

scottro

Daemon

Thanks: 401
Messages: 1,179

#2
It may work with the vesa driver but will probably be painfully slow. If you install xf86-video-vesa there's a pretty good chance X will at least start.
But yes, for computers less than 3 or 4 years old, 11.2 will be a better choice. For what it's worth, I'm running it on a couple of laptops (but not doing anything too special with them) and the 11.2-RC2 is not giving me any issues. I'm not sure what the xorg package has, I usually install xorg-server, xinit xf86-input-keyboard xf86-input-mouse, and, on older laptops xf86-video-intel, dwm and rxvt-unicode. The newer laptop I have is running 11.2-RC2 so it uses drm-next-kmod.
 
Top