Page MenuHomeFreeBSD

x11-servers/xorg-server: add missing features for PRIME
ClosedPublic

Authored by ashafer_badland.io on Apr 30 2023, 4:07 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Oct 26, 10:38 AM
Unknown Object (File)
Fri, Oct 18, 9:21 AM
Unknown Object (File)
Fri, Oct 4, 2:42 PM
Unknown Object (File)
Oct 3 2024, 8:09 PM
Unknown Object (File)
Oct 1 2024, 7:07 PM
Unknown Object (File)
Oct 1 2024, 5:29 PM
Unknown Object (File)
Sep 28 2024, 11:28 AM
Unknown Object (File)
Sep 26 2024, 8:26 PM

Details

Summary

Modern PRIME X11 setups autoconfigure themselves, which internally

uses the udev and udev_kms options to do so. These options are required
for X to find the available DRM devices. This is needed for PRIME on
FreeBSD.

This is also adds the DRM platform code, taken from X commit:

https://gitlab.freedesktop.org/xorg/xserver/-/commit/5468123822bbe8cd0a0abe07bbbd3a9cb14ed2cb

Which is in master but not yet in any releases. This adds the platform
code to the build for DRM so that PRIME setups can work.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 51264
Build 48155: arc lint + arc unit

Event Timeline

ashafer_badland.io retitled this revision from xorg-server: Define udev in build to x11-servers/xorg-server: Define udev in build.Apr 30 2023, 4:16 PM
ashafer_badland.io edited the summary of this revision. (Show Details)
ashafer_badland.io added a reviewer: x11.

LGTM but you need to bump PORTREVISION too.
And maybe merge D39887 in so we will not bump PORTREVISION twice ?

Updated to merge in D39887 and bump PORTREVISION

ashafer_badland.io retitled this revision from x11-servers/xorg-server: Define udev in build to x11-servers/xorg-server: add missing features for PRIME.May 2 2023, 2:22 PM
ashafer_badland.io edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.May 3 2023, 7:44 AM

This seems to break setups with an additional video card designed for but not yet configured for PRIME:

(EE) Fatal server error:
(EE) AddScreen/ScreenInit failed for gpu driver 0 -1

All without any xorg.conf.

Also fails on a system with only one GPU, an Intel integrated:

[    76.839]
X.Org X Server 1.21.1.8
X Protocol Version 11, Revision 0
[    76.839] Current Operating System: FreeBSD lehman 14.0-CURRENT FreeBSD 14.0-CURRENT #4 main-n262658-b347c2284603: Sat Apr 29 09:15:44 EDT 2023     root@lehman:/usr/obj/usr/src/amd64.amd64/sys/ODYSSEY amd64
[    76.839]
[    76.839] Current version of pixman: 0.42.2
[    76.839]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[    76.840] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    76.841] (==) Log file: "/var/log/Xorg.0.log", Time: Fri May  5 18:03:36 2023
[    76.841] (==) Using system config directory "/usr/local/share/X11/xorg.conf.d"
[    76.842] (==) No Layout section.  Using the first Screen section.
[    76.842] (==) No screen section available. Using defaults.
[    76.842] (**) |-->Screen "Default Screen Section" (0)
[    76.842] (**) |   |-->Monitor "<default monitor>"
[    76.843] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[    76.843] (==) Automatically adding devices
[    76.843] (==) Automatically enabling devices
[    76.844] (==) Automatically adding GPU devices
[    76.844] (==) Automatically binding GPU devices
[    76.844] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    76.844] (==) 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/,
        catalogue:/usr/local/etc/X11/fontpath.d
[    76.844] (==) ModulePath set to "/usr/local/lib/xorg/modules"
[    76.844] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[    76.844] (II) Module ABI versions:
[    76.844]    X.Org ANSI C Emulation: 0.4
[    76.844]    X.Org Video Driver: 25.2
[    76.844]    X.Org XInput driver : 24.4
[    76.845]    X.Org Server Extension : 10.0
[    76.856] (II) xfree86: Adding drm device (/dev/dri/card0)
[    76.856] (II) Platform probe for /dev/dri/card0
[    76.868] (--) PCI:*(0@0:2:0) 8086:3185:8086:2212 rev 3, Mem @ 0xa0000000/16777216, 0x90000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/65536
[    76.868] (II) LoadModule: "glx"
[    76.869] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[    76.872] (II) Module glx: vendor="X.Org Foundation"
[    76.872]    compiled for 1.21.1.8, module version = 1.0.0
[    76.872]    ABI class: X.Org Server Extension, version 10.0
[    76.872] (==) Matched intel as autoconfigured driver 0
[    76.872] (==) Matched modesetting as autoconfigured driver 1
[    76.872] (==) Matched scfb as autoconfigured driver 2
[    76.872] (==) Matched vesa as autoconfigured driver 3
[    76.872] (==) Assigned the driver to the xf86ConfigLayout
[    76.872] (II) LoadModule: "intel"
[    76.874] (WW) Warning, couldn't open module intel
[    76.874] (EE) Failed to load module "intel" (module does not exist, 0)
[    76.874] (II) LoadModule: "modesetting"
[    76.874] (II) Loading /usr/local/lib/xorg/modules/drivers/modesetting_drv.so
[    76.876] (II) Module modesetting: vendor="X.Org Foundation"
[    76.876]    compiled for 1.21.1.8, module version = 1.21.1
[    76.876]    Module class: X.Org Video Driver
[    76.876]    ABI class: X.Org Video Driver, version 25.2
[    76.876] (II) LoadModule: "scfb"
[    76.877] (II) Loading /usr/local/lib/xorg/modules/drivers/scfb_drv.so
[    76.877] (II) Module scfb: vendor="X.Org Foundation"
[    76.877]    compiled for 1.21.1.8, module version = 0.0.5
[    76.877]    ABI class: X.Org Video Driver, version 25.2
[    76.877] (II) LoadModule: "vesa"
[    76.878] (II) Loading /usr/local/lib/xorg/modules/drivers/vesa_drv.so
[    76.878] (II) Module vesa: vendor="X.Org Foundation"
[    76.878]    compiled for 1.21.1.8, module version = 2.5.0
[    76.878]    Module class: X.Org Video Driver
[    76.878]    ABI class: X.Org Video Driver, version 25.2
[    76.879] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    76.879] (II) scfb: driver for wsdisplay framebuffer: scfb
[    76.879] (II) VESA: driver for VESA chipsets: vesa
[    76.879] (--) Using syscons driver with X support (version 2.0)
[    76.879] (--) using VT number 9

[    76.901] (**) modeset(0): claimed PCI slot 0@0:2:0
[    76.901] (II) modeset(0): using default device
[    76.901] (WW) Falling back to old probe method for scfb
[    76.901] scfb trace: probe start
[    76.901] scfb trace: probe done
[    76.917] (II) modeset(G0): using drv /dev/dri/card0
[    76.917] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[    76.918] (II) modeset(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[    76.918] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[    76.918] (==) modeset(0): RGB weight 888
[    76.918] (==) modeset(0): Default visual is TrueColor
[    76.918] (II) Loading sub module "glamoregl"
[    76.918] (II) LoadModule: "glamoregl"
[    76.919] (II) Loading /usr/local/lib/xorg/modules/libglamoregl.so
[    76.942] (II) Module glamoregl: vendor="X.Org Foundation"
[    76.942]    compiled for 1.21.1.8, module version = 1.0.1
[    76.942]    ABI class: X.Org ANSI C Emulation, version 0.4
[    77.134] (II) modeset(0): glamor X acceleration enabled on Mesa Intel(R) UHD Graphics 600 (GLK 2)
[    77.134] (II) modeset(0): glamor initialized
[    77.134] (==) modeset(0): VariableRefresh: disabled
[    77.134] (==) modeset(0): AsyncFlipSecondaries: disabled
[    77.156] (II) modeset(0): Output HDMI-1 has no monitor section
[    77.156] (II) modeset(0): Output DP-1 has no monitor section
[    77.180] (II) modeset(0): EDID for output HDMI-1
[    77.180] (II) modeset(0): Manufacturer: DEL  Model: 400d  Serial#: 1095914804
[    77.180] (II) modeset(0): Year: 2005  Week: 38
[    77.180] (II) modeset(0): EDID Version: 1.3
[    77.180] (II) modeset(0): Digital Display Input
[    77.180] (II) modeset(0): Max Image Size [cm]: horiz.: 38  vert.: 31
[    77.180] (II) modeset(0): Gamma: 2.20
[    77.180] (II) modeset(0): DPMS capabilities: StandBy Suspend Off
[    77.180] (II) modeset(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4
[    77.180] (II) modeset(0): Default color space is primary color space
[    77.180] (II) modeset(0): First detailed timing is preferred mode
[    77.180] (II) modeset(0): redX: 0.640 redY: 0.330   greenX: 0.300 greenY: 0.600
[    77.180] (II) modeset(0): blueX: 0.150 blueY: 0.060   whiteX: 0.313 whiteY: 0.329
[    77.180] (II) modeset(0): Supported established timings:
[    77.180] (II) modeset(0): 720x400@70Hz
[    77.180] (II) modeset(0): 640x480@60Hz
[    77.181] (II) modeset(0): 640x480@75Hz
[    77.181] (II) modeset(0): 800x600@60Hz
[    77.181] (II) modeset(0): 800x600@75Hz
[    77.181] (II) modeset(0): 1024x768@60Hz
[    77.181] (II) modeset(0): 1024x768@75Hz
[    77.181] (II) modeset(0): 1280x1024@75Hz
[    77.181] (II) modeset(0): Manufacturer's mask: 0
[    77.181] (II) modeset(0): Supported standard timings:
[    77.181] (II) modeset(0): #0: hsize: 1152  vsize 864  refresh: 75  vid: 20337
[    77.181] (II) modeset(0): #1: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
[    77.181] (II) modeset(0): Supported detailed timing:
[    77.181] (II) modeset(0): clock: 108.0 MHz   Image Size:  376 x 301 mm
[    77.181] (II) modeset(0): h_active: 1280  h_sync: 1328  h_sync_end 1440 h_blank_end 1688 h_border: 0
[    77.181] (II) modeset(0): v_active: 1024  v_sync: 1025  v_sync_end 1028 v_blanking: 1066 v_border: 0
[    77.181] (II) modeset(0): Serial No: T611659DARU4
[    77.181] (II) modeset(0): Monitor name: DELL 1905FP
[    77.181] (II) modeset(0): Ranges: V min: 56 V max: 76 Hz, H min: 30 H max: 81 kHz, PixClock max 145 MHz
[    77.181] (II) modeset(0): EDID (in hex):
[    77.181] (II) modeset(0):   00ffffffffffff0010ac0d4034555241
[    77.181] (II) modeset(0):   260f010380261f78eeee95a3544c9926
[    77.181] (II) modeset(0):   0f5054a54b00714f8180010101010101
[    77.181] (II) modeset(0):   010101010101302a009851002a403070
[    77.182] (II) modeset(0):   1300782d1100001e000000ff00543631
[    77.182] (II) modeset(0):   3136353944415255340a000000fc0044
[    77.182] (II) modeset(0):   454c4c203139303546500a20000000fd
[    77.182] (II) modeset(0):   00384c1e510e000a20202020202000c7
[    77.182] (II) modeset(0): Printing probed modes for output HDMI-1
[    77.182] (II) modeset(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz eP)
[    77.182] (II) modeset(0): Modeline "1280x1024"x75.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)
[    77.182] (II) modeset(0): Modeline "1152x864"x75.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz e)
[    77.182] (II) modeset(0): Modeline "1024x768"x75.0   78.75  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.0 kHz e)
[    77.182] (II) modeset(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[    77.182] (II) modeset(0): Modeline "800x600"x75.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz e)
[    77.182] (II) modeset(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[    77.182] (II) modeset(0): Modeline "640x480"x75.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz e)
[    77.182] (II) modeset(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[    77.182] (II) modeset(0): Modeline "720x400"x70.1   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
[    77.182] (II) modeset(0): EDID for output DP-1
[    77.182] (II) modeset(0): Output HDMI-1 connected
[    77.182] (II) modeset(0): Output DP-1 disconnected
[    77.183] (II) modeset(0): Using exact sizes for initial modes
[    77.183] (II) modeset(0): Output HDMI-1 using initial mode 1280x1024 +0+0
[    77.183] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[    77.183] (==) modeset(0): DPI set to (96, 96)
[    77.183] (II) Loading sub module "fb"
[    77.183] (II) LoadModule: "fb"
[    77.183] (II) Module "fb" already built-in
[    77.183] (==) modeset(G0): Depth 24, (==) framebuffer bpp 32
[    77.183] (==) modeset(G0): RGB weight 888
[    77.183] (==) modeset(G0): Default visual is TrueColor
[    77.183] (II) Loading sub module "glamoregl"
[    77.183] (II) LoadModule: "glamoregl"
[    77.183] (II) Loading /usr/local/lib/xorg/modules/libglamoregl.so
[    77.183] (II) Module glamoregl: vendor="X.Org Foundation"
[    77.184]    compiled for 1.21.1.8, module version = 1.0.1
[    77.184]    ABI class: X.Org ANSI C Emulation, version 0.4
[    77.197] (II) modeset(G0): glamor X acceleration enabled on Mesa Intel(R) UHD Graphics 600 (GLK 2)
[    77.198] (II) modeset(G0): glamor initialized
[    77.198] (II) modeset(G0): Output HDMI-1-1 has no monitor section
[    77.198] (II) modeset(G0): Output DP-1-1 has no monitor section
[    77.199] (II) modeset(G0): EDID for output HDMI-1-1
[    77.199] (II) modeset(G0): Manufacturer: DEL  Model: 400d  Serial#: 1095914804
[    77.199] (II) modeset(G0): Year: 2005  Week: 38
[    77.199] (II) modeset(G0): EDID Version: 1.3
[    77.199] (II) modeset(G0): Digital Display Input
[    77.199] (II) modeset(G0): Max Image Size [cm]: horiz.: 38  vert.: 31
[    77.200] (II) modeset(G0): Gamma: 2.20
[    77.200] (II) modeset(G0): DPMS capabilities: StandBy Suspend Off
[    77.200] (II) modeset(G0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4
[    77.200] (II) modeset(G0): Default color space is primary color space
[    77.200] (II) modeset(G0): First detailed timing is preferred mode
[    77.200] (II) modeset(G0): redX: 0.640 redY: 0.330   greenX: 0.300 greenY: 0.600
[    77.200] (II) modeset(G0): blueX: 0.150 blueY: 0.060   whiteX: 0.313 whiteY: 0.329
[    77.200] (II) modeset(G0): Supported established timings:
[    77.200] (II) modeset(G0): 720x400@70Hz
[    77.200] (II) modeset(G0): 640x480@60Hz
[    77.200] (II) modeset(G0): 640x480@75Hz
[    77.200] (II) modeset(G0): 800x600@60Hz
[    77.200] (II) modeset(G0): 800x600@75Hz
[    77.200] (II) modeset(G0): 1024x768@60Hz
[    77.200] (II) modeset(G0): 1024x768@75Hz
[    77.200] (II) modeset(G0): 1280x1024@75Hz
[    77.200] (II) modeset(G0): Manufacturer's mask: 0
[    77.200] (II) modeset(G0): Supported standard timings:
[    77.200] (II) modeset(G0): #0: hsize: 1152  vsize 864  refresh: 75  vid: 20337
[    77.201] (II) modeset(G0): #1: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
[    77.201] (II) modeset(G0): Supported detailed timing:
[    77.201] (II) modeset(G0): clock: 108.0 MHz   Image Size:  376 x 301 mm
[    77.201] (II) modeset(G0): h_active: 1280  h_sync: 1328  h_sync_end 1440 h_blank_end 1688 h_border: 0
[    77.201] (II) modeset(G0): v_active: 1024  v_sync: 1025  v_sync_end 1028 v_blanking: 1066 v_border: 0
[    77.201] (II) modeset(G0): Serial No: T611659DARU4
[    77.201] (II) modeset(G0): Monitor name: DELL 1905FP
[    77.201] (II) modeset(G0): Ranges: V min: 56 V max: 76 Hz, H min: 30 H max: 81 kHz, PixClock max 145 MHz
[    77.201] (II) modeset(G0): EDID (in hex):
[    77.201] (II) modeset(G0):  00ffffffffffff0010ac0d4034555241
[    77.201] (II) modeset(G0):  260f010380261f78eeee95a3544c9926
[    77.201] (II) modeset(G0):  0f5054a54b00714f8180010101010101
[    77.201] (II) modeset(G0):  010101010101302a009851002a403070
[    77.201] (II) modeset(G0):  1300782d1100001e000000ff00543631
[    77.201] (II) modeset(G0):  3136353944415255340a000000fc0044
[    77.201] (II) modeset(G0):  454c4c203139303546500a20000000fd
[    77.201] (II) modeset(G0):  00384c1e510e000a20202020202000c7
[    77.202] (II) modeset(G0): Printing probed modes for output HDMI-1-1
[    77.202] (II) modeset(G0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz eP)
[    77.202] (II) modeset(G0): Modeline "1280x1024"x75.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)
[    77.202] (II) modeset(G0): Modeline "1152x864"x75.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz e)
[    77.202] (II) modeset(G0): Modeline "1024x768"x75.0   78.75  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.0 kHz e)
[    77.202] (II) modeset(G0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[    77.202] (II) modeset(G0): Modeline "800x600"x75.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz e)
[    77.202] (II) modeset(G0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[    77.202] (II) modeset(G0): Modeline "640x480"x75.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz e)
[    77.202] (II) modeset(G0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[    77.202] (II) modeset(G0): Modeline "720x400"x70.1   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
[    77.202] (II) modeset(G0): EDID for output DP-1-1
[    77.202] (==) modeset(G0): Using gamma correction (1.0, 1.0, 1.0)
[    77.202] (==) modeset(G0): DPI set to (96, 96)
[    77.202] (II) Loading sub module "fb"
[    77.202] (II) LoadModule: "fb"
[    77.202] (II) Module "fb" already built-in
[    77.202] (II) UnloadModule: "scfb"
[    77.203] (II) Unloading scfb
[    77.203] (II) UnloadModule: "vesa"
[    77.203] (II) Unloading vesa
[    77.382] (==) modeset(0): Backing store enabled
[    77.382] (==) modeset(0): Silken mouse enabled
[    77.484] (II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
[    77.484] (==) modeset(0): DPMS enabled
[    77.485] (II) modeset(0): [DRI2] Setup complete
[    77.485] (II) modeset(0): [DRI2]   DRI driver: iris
[    77.485] (II) modeset(0): [DRI2]   VDPAU driver: va_gl
[    77.485] (EE) modeset(G0): drmSetMaster failed: Device busy
[    77.485] (EE)
Fatal server error:
[    77.485] (EE) AddScreen/ScreenInit failed for gpu driver 0 -1
[    77.485] (EE)
[    77.485] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[    77.485] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    77.485] (EE)
[    77.502] (EE) Server terminated with error (1). Closing log file.

Same result on a more recent -CURRENT, dated after the commit introducing this update.

Also fails on a system with only one GPU, an Intel integrated:

[    76.839]
X.Org X Server 1.21.1.8
X Protocol Version 11, Revision 0
[    76.839] Current Operating System: FreeBSD lehman 14.0-CURRENT FreeBSD 14.0-CURRENT #4 main-n262658-b347c2284603: Sat Apr 29 09:15:44 EDT 2023     root@lehman:/usr/obj/usr/src/amd64.amd64/sys/ODYSSEY amd64
[    76.839]
[    76.839] Current version of pixman: 0.42.2
[    76.839]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[    76.840] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    76.841] (==) Log file: "/var/log/Xorg.0.log", Time: Fri May  5 18:03:36 2023
[    76.841] (==) Using system config directory "/usr/local/share/X11/xorg.conf.d"
[    76.842] (==) No Layout section.  Using the first Screen section.
[    76.842] (==) No screen section available. Using defaults.
[    76.842] (**) |-->Screen "Default Screen Section" (0)
[    76.842] (**) |   |-->Monitor "<default monitor>"
[    76.843] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[    76.843] (==) Automatically adding devices
[    76.843] (==) Automatically enabling devices
[    76.844] (==) Automatically adding GPU devices
[    76.844] (==) Automatically binding GPU devices
[    76.844] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    76.844] (==) 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/,
        catalogue:/usr/local/etc/X11/fontpath.d
[    76.844] (==) ModulePath set to "/usr/local/lib/xorg/modules"
[    76.844] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[    76.844] (II) Module ABI versions:
[    76.844]    X.Org ANSI C Emulation: 0.4
[    76.844]    X.Org Video Driver: 25.2
[    76.844]    X.Org XInput driver : 24.4
[    76.845]    X.Org Server Extension : 10.0
[    76.856] (II) xfree86: Adding drm device (/dev/dri/card0)
[    76.856] (II) Platform probe for /dev/dri/card0
[    76.868] (--) PCI:*(0@0:2:0) 8086:3185:8086:2212 rev 3, Mem @ 0xa0000000/16777216, 0x90000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/65536
[    76.868] (II) LoadModule: "glx"
[    76.869] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[    76.872] (II) Module glx: vendor="X.Org Foundation"
[    76.872]    compiled for 1.21.1.8, module version = 1.0.0
[    76.872]    ABI class: X.Org Server Extension, version 10.0
[    76.872] (==) Matched intel as autoconfigured driver 0
[    76.872] (==) Matched modesetting as autoconfigured driver 1
[    76.872] (==) Matched scfb as autoconfigured driver 2
[    76.872] (==) Matched vesa as autoconfigured driver 3
[    76.872] (==) Assigned the driver to the xf86ConfigLayout
[    76.872] (II) LoadModule: "intel"
[    76.874] (WW) Warning, couldn't open module intel
[    76.874] (EE) Failed to load module "intel" (module does not exist, 0)
[    76.874] (II) LoadModule: "modesetting"
[    76.874] (II) Loading /usr/local/lib/xorg/modules/drivers/modesetting_drv.so
[    76.876] (II) Module modesetting: vendor="X.Org Foundation"
[    76.876]    compiled for 1.21.1.8, module version = 1.21.1
[    76.876]    Module class: X.Org Video Driver
[    76.876]    ABI class: X.Org Video Driver, version 25.2
[    76.876] (II) LoadModule: "scfb"
[    76.877] (II) Loading /usr/local/lib/xorg/modules/drivers/scfb_drv.so
[    76.877] (II) Module scfb: vendor="X.Org Foundation"
[    76.877]    compiled for 1.21.1.8, module version = 0.0.5
[    76.877]    ABI class: X.Org Video Driver, version 25.2
[    76.877] (II) LoadModule: "vesa"
[    76.878] (II) Loading /usr/local/lib/xorg/modules/drivers/vesa_drv.so
[    76.878] (II) Module vesa: vendor="X.Org Foundation"
[    76.878]    compiled for 1.21.1.8, module version = 2.5.0
[    76.878]    Module class: X.Org Video Driver
[    76.878]    ABI class: X.Org Video Driver, version 25.2
[    76.879] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    76.879] (II) scfb: driver for wsdisplay framebuffer: scfb
[    76.879] (II) VESA: driver for VESA chipsets: vesa
[    76.879] (--) Using syscons driver with X support (version 2.0)
[    76.879] (--) using VT number 9

[    76.901] (**) modeset(0): claimed PCI slot 0@0:2:0
[    76.901] (II) modeset(0): using default device
[    76.901] (WW) Falling back to old probe method for scfb
[    76.901] scfb trace: probe start
[    76.901] scfb trace: probe done
[    76.917] (II) modeset(G0): using drv /dev/dri/card0
[    76.917] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[    76.918] (II) modeset(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[    76.918] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[    76.918] (==) modeset(0): RGB weight 888
[    76.918] (==) modeset(0): Default visual is TrueColor
[    76.918] (II) Loading sub module "glamoregl"
[    76.918] (II) LoadModule: "glamoregl"
[    76.919] (II) Loading /usr/local/lib/xorg/modules/libglamoregl.so
[    76.942] (II) Module glamoregl: vendor="X.Org Foundation"
[    76.942]    compiled for 1.21.1.8, module version = 1.0.1
[    76.942]    ABI class: X.Org ANSI C Emulation, version 0.4
[    77.134] (II) modeset(0): glamor X acceleration enabled on Mesa Intel(R) UHD Graphics 600 (GLK 2)
[    77.134] (II) modeset(0): glamor initialized
[    77.134] (==) modeset(0): VariableRefresh: disabled
[    77.134] (==) modeset(0): AsyncFlipSecondaries: disabled
[    77.156] (II) modeset(0): Output HDMI-1 has no monitor section
[    77.156] (II) modeset(0): Output DP-1 has no monitor section
[    77.180] (II) modeset(0): EDID for output HDMI-1
[    77.180] (II) modeset(0): Manufacturer: DEL  Model: 400d  Serial#: 1095914804
[    77.180] (II) modeset(0): Year: 2005  Week: 38
[    77.180] (II) modeset(0): EDID Version: 1.3
[    77.180] (II) modeset(0): Digital Display Input
[    77.180] (II) modeset(0): Max Image Size [cm]: horiz.: 38  vert.: 31
[    77.180] (II) modeset(0): Gamma: 2.20
[    77.180] (II) modeset(0): DPMS capabilities: StandBy Suspend Off
[    77.180] (II) modeset(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4
[    77.180] (II) modeset(0): Default color space is primary color space
[    77.180] (II) modeset(0): First detailed timing is preferred mode
[    77.180] (II) modeset(0): redX: 0.640 redY: 0.330   greenX: 0.300 greenY: 0.600
[    77.180] (II) modeset(0): blueX: 0.150 blueY: 0.060   whiteX: 0.313 whiteY: 0.329
[    77.180] (II) modeset(0): Supported established timings:
[    77.180] (II) modeset(0): 720x400@70Hz
[    77.180] (II) modeset(0): 640x480@60Hz
[    77.181] (II) modeset(0): 640x480@75Hz
[    77.181] (II) modeset(0): 800x600@60Hz
[    77.181] (II) modeset(0): 800x600@75Hz
[    77.181] (II) modeset(0): 1024x768@60Hz
[    77.181] (II) modeset(0): 1024x768@75Hz
[    77.181] (II) modeset(0): 1280x1024@75Hz
[    77.181] (II) modeset(0): Manufacturer's mask: 0
[    77.181] (II) modeset(0): Supported standard timings:
[    77.181] (II) modeset(0): #0: hsize: 1152  vsize 864  refresh: 75  vid: 20337
[    77.181] (II) modeset(0): #1: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
[    77.181] (II) modeset(0): Supported detailed timing:
[    77.181] (II) modeset(0): clock: 108.0 MHz   Image Size:  376 x 301 mm
[    77.181] (II) modeset(0): h_active: 1280  h_sync: 1328  h_sync_end 1440 h_blank_end 1688 h_border: 0
[    77.181] (II) modeset(0): v_active: 1024  v_sync: 1025  v_sync_end 1028 v_blanking: 1066 v_border: 0
[    77.181] (II) modeset(0): Serial No: T611659DARU4
[    77.181] (II) modeset(0): Monitor name: DELL 1905FP
[    77.181] (II) modeset(0): Ranges: V min: 56 V max: 76 Hz, H min: 30 H max: 81 kHz, PixClock max 145 MHz
[    77.181] (II) modeset(0): EDID (in hex):
[    77.181] (II) modeset(0):   00ffffffffffff0010ac0d4034555241
[    77.181] (II) modeset(0):   260f010380261f78eeee95a3544c9926
[    77.181] (II) modeset(0):   0f5054a54b00714f8180010101010101
[    77.181] (II) modeset(0):   010101010101302a009851002a403070
[    77.182] (II) modeset(0):   1300782d1100001e000000ff00543631
[    77.182] (II) modeset(0):   3136353944415255340a000000fc0044
[    77.182] (II) modeset(0):   454c4c203139303546500a20000000fd
[    77.182] (II) modeset(0):   00384c1e510e000a20202020202000c7
[    77.182] (II) modeset(0): Printing probed modes for output HDMI-1
[    77.182] (II) modeset(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz eP)
[    77.182] (II) modeset(0): Modeline "1280x1024"x75.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)
[    77.182] (II) modeset(0): Modeline "1152x864"x75.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz e)
[    77.182] (II) modeset(0): Modeline "1024x768"x75.0   78.75  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.0 kHz e)
[    77.182] (II) modeset(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[    77.182] (II) modeset(0): Modeline "800x600"x75.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz e)
[    77.182] (II) modeset(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[    77.182] (II) modeset(0): Modeline "640x480"x75.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz e)
[    77.182] (II) modeset(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[    77.182] (II) modeset(0): Modeline "720x400"x70.1   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
[    77.182] (II) modeset(0): EDID for output DP-1
[    77.182] (II) modeset(0): Output HDMI-1 connected
[    77.182] (II) modeset(0): Output DP-1 disconnected
[    77.183] (II) modeset(0): Using exact sizes for initial modes
[    77.183] (II) modeset(0): Output HDMI-1 using initial mode 1280x1024 +0+0
[    77.183] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[    77.183] (==) modeset(0): DPI set to (96, 96)
[    77.183] (II) Loading sub module "fb"
[    77.183] (II) LoadModule: "fb"
[    77.183] (II) Module "fb" already built-in
[    77.183] (==) modeset(G0): Depth 24, (==) framebuffer bpp 32
[    77.183] (==) modeset(G0): RGB weight 888
[    77.183] (==) modeset(G0): Default visual is TrueColor
[    77.183] (II) Loading sub module "glamoregl"
[    77.183] (II) LoadModule: "glamoregl"
[    77.183] (II) Loading /usr/local/lib/xorg/modules/libglamoregl.so
[    77.183] (II) Module glamoregl: vendor="X.Org Foundation"
[    77.184]    compiled for 1.21.1.8, module version = 1.0.1
[    77.184]    ABI class: X.Org ANSI C Emulation, version 0.4
[    77.197] (II) modeset(G0): glamor X acceleration enabled on Mesa Intel(R) UHD Graphics 600 (GLK 2)
[    77.198] (II) modeset(G0): glamor initialized
[    77.198] (II) modeset(G0): Output HDMI-1-1 has no monitor section
[    77.198] (II) modeset(G0): Output DP-1-1 has no monitor section
[    77.199] (II) modeset(G0): EDID for output HDMI-1-1
[    77.199] (II) modeset(G0): Manufacturer: DEL  Model: 400d  Serial#: 1095914804
[    77.199] (II) modeset(G0): Year: 2005  Week: 38
[    77.199] (II) modeset(G0): EDID Version: 1.3
[    77.199] (II) modeset(G0): Digital Display Input
[    77.199] (II) modeset(G0): Max Image Size [cm]: horiz.: 38  vert.: 31
[    77.200] (II) modeset(G0): Gamma: 2.20
[    77.200] (II) modeset(G0): DPMS capabilities: StandBy Suspend Off
[    77.200] (II) modeset(G0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4
[    77.200] (II) modeset(G0): Default color space is primary color space
[    77.200] (II) modeset(G0): First detailed timing is preferred mode
[    77.200] (II) modeset(G0): redX: 0.640 redY: 0.330   greenX: 0.300 greenY: 0.600
[    77.200] (II) modeset(G0): blueX: 0.150 blueY: 0.060   whiteX: 0.313 whiteY: 0.329
[    77.200] (II) modeset(G0): Supported established timings:
[    77.200] (II) modeset(G0): 720x400@70Hz
[    77.200] (II) modeset(G0): 640x480@60Hz
[    77.200] (II) modeset(G0): 640x480@75Hz
[    77.200] (II) modeset(G0): 800x600@60Hz
[    77.200] (II) modeset(G0): 800x600@75Hz
[    77.200] (II) modeset(G0): 1024x768@60Hz
[    77.200] (II) modeset(G0): 1024x768@75Hz
[    77.200] (II) modeset(G0): 1280x1024@75Hz
[    77.200] (II) modeset(G0): Manufacturer's mask: 0
[    77.200] (II) modeset(G0): Supported standard timings:
[    77.200] (II) modeset(G0): #0: hsize: 1152  vsize 864  refresh: 75  vid: 20337
[    77.201] (II) modeset(G0): #1: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
[    77.201] (II) modeset(G0): Supported detailed timing:
[    77.201] (II) modeset(G0): clock: 108.0 MHz   Image Size:  376 x 301 mm
[    77.201] (II) modeset(G0): h_active: 1280  h_sync: 1328  h_sync_end 1440 h_blank_end 1688 h_border: 0
[    77.201] (II) modeset(G0): v_active: 1024  v_sync: 1025  v_sync_end 1028 v_blanking: 1066 v_border: 0
[    77.201] (II) modeset(G0): Serial No: T611659DARU4
[    77.201] (II) modeset(G0): Monitor name: DELL 1905FP
[    77.201] (II) modeset(G0): Ranges: V min: 56 V max: 76 Hz, H min: 30 H max: 81 kHz, PixClock max 145 MHz
[    77.201] (II) modeset(G0): EDID (in hex):
[    77.201] (II) modeset(G0):  00ffffffffffff0010ac0d4034555241
[    77.201] (II) modeset(G0):  260f010380261f78eeee95a3544c9926
[    77.201] (II) modeset(G0):  0f5054a54b00714f8180010101010101
[    77.201] (II) modeset(G0):  010101010101302a009851002a403070
[    77.201] (II) modeset(G0):  1300782d1100001e000000ff00543631
[    77.201] (II) modeset(G0):  3136353944415255340a000000fc0044
[    77.201] (II) modeset(G0):  454c4c203139303546500a20000000fd
[    77.201] (II) modeset(G0):  00384c1e510e000a20202020202000c7
[    77.202] (II) modeset(G0): Printing probed modes for output HDMI-1-1
[    77.202] (II) modeset(G0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz eP)
[    77.202] (II) modeset(G0): Modeline "1280x1024"x75.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)
[    77.202] (II) modeset(G0): Modeline "1152x864"x75.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz e)
[    77.202] (II) modeset(G0): Modeline "1024x768"x75.0   78.75  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.0 kHz e)
[    77.202] (II) modeset(G0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[    77.202] (II) modeset(G0): Modeline "800x600"x75.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz e)
[    77.202] (II) modeset(G0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[    77.202] (II) modeset(G0): Modeline "640x480"x75.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz e)
[    77.202] (II) modeset(G0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[    77.202] (II) modeset(G0): Modeline "720x400"x70.1   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
[    77.202] (II) modeset(G0): EDID for output DP-1-1
[    77.202] (==) modeset(G0): Using gamma correction (1.0, 1.0, 1.0)
[    77.202] (==) modeset(G0): DPI set to (96, 96)
[    77.202] (II) Loading sub module "fb"
[    77.202] (II) LoadModule: "fb"
[    77.202] (II) Module "fb" already built-in
[    77.202] (II) UnloadModule: "scfb"
[    77.203] (II) Unloading scfb
[    77.203] (II) UnloadModule: "vesa"
[    77.203] (II) Unloading vesa
[    77.382] (==) modeset(0): Backing store enabled
[    77.382] (==) modeset(0): Silken mouse enabled
[    77.484] (II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
[    77.484] (==) modeset(0): DPMS enabled
[    77.485] (II) modeset(0): [DRI2] Setup complete
[    77.485] (II) modeset(0): [DRI2]   DRI driver: iris
[    77.485] (II) modeset(0): [DRI2]   VDPAU driver: va_gl
[    77.485] (EE) modeset(G0): drmSetMaster failed: Device busy
[    77.485] (EE)
Fatal server error:
[    77.485] (EE) AddScreen/ScreenInit failed for gpu driver 0 -1
[    77.485] (EE)
[    77.485] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[    77.485] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    77.485] (EE)
[    77.502] (EE) Server terminated with error (1). Closing log file.

Same result on a more recent -CURRENT, dated after the commit introducing this update.

Mhm, I had only tested on my AMDGPU box and didn't saw any problems, @ashafer_badland.io do you have any idea ?

I think it's because you're missing the files in xorg.conf.d? You need something like this:

$ cat /usr/local/etc/X11/xorg.conf.d/20-intel.conf
Section "OutputClass"
    Identifier "intel"
    MatchDriver "i915"
    Driver "modesetting"
    Option "PrimaryGPU" "yes"
EndSection

We don't install these files by default yet, that's the next thing I'll be sending out.

For more details see https://badland.io/prime-configuration.md

Or for the single-GPU system a normal xorg.conf

Neither of these systems have xorg.conf, and should never have one if only using modesetting on the Intel GPU. Nothing in xorg.conf.d either. Shipping 20-intel.conf may be a good idea, but users should not be creating files for a default configuration that has worked for time.

Even on Linux there were no files in xorg.conf.d (or xorg.conf for that matter) necessary for modesetting to work by default on an Intel GPU. Back when I ran Linux on the PRIME-capable machine, I had a very skeleton xorg.conf like so to enable PRIME offloading:

Section "Module"
        Load "modesetting"
EndSection

Section "Device"
        Identifier "nvidia"
        Driver "nvidia"
        BusID "8:0:0:0"
        Option "AllowEmptyInitialConfiguration"
EndSection

which does not have any other configurations tucked away in xorg.conf.d shown in the blog post. Maybe try to figure something better out that allows a full xorg.conf-free autoconfiguration to continue working as before, and for PRIME just this skeleton xorg.conf.

Here's the rundown of my testing: on my three laptops things look to be working as I expected. I don't replicate anything like what you're seeing on the single-GPU system but I'll get to that later and maybe we can figure out what your issue is. Here's what I see:

  • On my single-GPU Intel laptop it starts properly with no xorg.conf or 20-intel.conf.
  • On my Intel+NVIDIA PRIME laptop it works with no xorg.conf.
    • 20-intel.conf is not required if nvidia-drm.ko is loaded, the 20-nvidia-drm-outputclass.conf from the blog post is however.
    • If nvidia-drm.ko is not loaded, then the X server sees two devices and isn't sure which one to use, so it bails and tells you to specify frambuffer busIDs. This is where 20-intel.conf will fix things, as it tells X which one to use. I'll have to check out on Linux if this is the same behavior. I wouldn't be surprised if it is since they usually expect nvidia-drm to be present therefore avoiding the issue, but we'll see.
  • On my Intel+NVIDIA PRIME laptop your skeleton xorg.conf from your last comment works fine.
  • On my AMD+NVIDIA PRIME laptop it works with no xorg.conf, configs from the blog post.

[ 77.134] (II) modeset(0): glamor X acceleration enabled on Mesa Intel(R) UHD Graphics 600 (GLK 2)
[ 77.134] (II) modeset(0): glamor initialized
[ 77.134] (==) modeset(0): VariableRefresh: disabled
[ 77.134] (==) modeset(0): AsyncFlipSecondaries: disabled
[ 77.156] (II) modeset(0): Output HDMI-1 has no monitor section
[ 77.156] (II) modeset(0): Output DP-1 has no monitor section
[ 77.180] (II) modeset(0): EDID for output HDMI-1

<snip>

[ 77.197] (II) modeset(G0): glamor X acceleration enabled on Mesa Intel(R) UHD Graphics 600 (GLK 2)
[ 77.198] (II) modeset(G0): glamor initialized
[ 77.198] (II) modeset(G0): Output HDMI-1-1 has no monitor section
[ 77.198] (II) modeset(G0): Output DP-1-1 has no monitor section
[ 77.199] (II) modeset(G0): EDID for output HDMI-1-1

The above portions of the log you added show HDMI-1 and HDMI-1-1 outputs. These correspond to the modeset(0) and modeset(G0) cards that X detects. I find this odd since this "G0" name usually refers to the second GPU in a hybrid graphics laptop, but in your case they are using the same Intel card. This is for the single GPU Intel system correct? I do not see this pattern on mine. Any more details you can provide about the machine?

Can you please try with libudev-devd 0.5.1, the latest in ports, if you aren't already? It has a fix for autoconfiguration that I haven't seen cause your error message but still might affect you. I should probably the dependency from xorg-server to require udev 0.5.1, especially if that's your missing piece.

Here's the rundown of my testing: on my three laptops things look to be working as I expected. I don't replicate anything like what you're seeing on the single-GPU system but I'll get to that later and maybe we can figure out what your issue is. Here's what I see:

  • On my single-GPU Intel laptop it starts properly with no xorg.conf or 20-intel.conf.
  • On my Intel+NVIDIA PRIME laptop it works with no xorg.conf.
    • 20-intel.conf is not required if nvidia-drm.ko is loaded, the 20-nvidia-drm-outputclass.conf from the blog post is however.
    • If nvidia-drm.ko is not loaded, then the X server sees two devices and isn't sure which one to use, so it bails and tells you to specify frambuffer busIDs. This is where 20-intel.conf will fix things, as it tells X which one to use. I'll have to check out on Linux if this is the same behavior. I wouldn't be surprised if it is since they usually expect nvidia-drm to be present therefore avoiding the issue, but we'll see.
  • On my Intel+NVIDIA PRIME laptop your skeleton xorg.conf from your last comment works fine.
  • On my AMD+NVIDIA PRIME laptop it works with no xorg.conf, configs from the blog post.

[ 77.134] (II) modeset(0): glamor X acceleration enabled on Mesa Intel(R) UHD Graphics 600 (GLK 2)
[ 77.134] (II) modeset(0): glamor initialized
[ 77.134] (==) modeset(0): VariableRefresh: disabled
[ 77.134] (==) modeset(0): AsyncFlipSecondaries: disabled
[ 77.156] (II) modeset(0): Output HDMI-1 has no monitor section
[ 77.156] (II) modeset(0): Output DP-1 has no monitor section
[ 77.180] (II) modeset(0): EDID for output HDMI-1

<snip>

[ 77.197] (II) modeset(G0): glamor X acceleration enabled on Mesa Intel(R) UHD Graphics 600 (GLK 2)
[ 77.198] (II) modeset(G0): glamor initialized
[ 77.198] (II) modeset(G0): Output HDMI-1-1 has no monitor section
[ 77.198] (II) modeset(G0): Output DP-1-1 has no monitor section
[ 77.199] (II) modeset(G0): EDID for output HDMI-1-1

The above portions of the log you added show HDMI-1 and HDMI-1-1 outputs. These correspond to the modeset(0) and modeset(G0) cards that X detects. I find this odd since this "G0" name usually refers to the second GPU in a hybrid graphics laptop, but in your case they are using the same Intel card. This is for the single GPU Intel system correct? I do not see this pattern on mine. Any more details you can provide about the machine?

Can you please try with libudev-devd 0.5.1, the latest in ports, if you aren't already? It has a fix for autoconfiguration that I haven't seen cause your error message but still might affect you. I should probably the dependency from xorg-server to require udev 0.5.1, especially if that's your missing piece.

Thanks for testing Austin.
I've quickly tested on my main machine, an Intel NUC (so only one Intel GPU) and I don't have any problems too.
So yes I think that @vishwin have something patched locally or not all ports up to date.

Yeah I was indeed using a libudev-devd from a revision newer than 0.5.0 but not 0.5.1. The single Intel GPU machine, a Seeedstudio Odyssey, which has HDMI as its only video out, works after updating. Still need to test the other machine.

Also works with Intel/modesetting only on the PRIME-capable machine after updating libudev-devd. Still need to see about actually configuring PRIME on it, but that's a separate thread.