- Thread Starter
- #26
It's strange, but when I specified the path to the loaded module completely (kld_list="/boot/modules/i915kms.ko"), the picture changed. It started loading and the diagnostics changed.I believe that slim runs as service by root and it launches xorg with your normal user.
How do you load the drm module? is there anything relevant in loader.conf? what do you have in rc.conf?
Indeed,# dmesg | grep drmshould show something to make sure drm module is loaded successfully.
Code:
ogogon@test:/var/log# dmesg | grep drm
drmn0: <drmn> on vgapci0
vgapci0: child drmn0 requested pci_enable_io
vgapci0: child drmn0 requested pci_enable_io
drmn drmn0: drm_WARN_ON(!IS_PLATFORM(dev_priv, INTEL_TIGERLAKE) && !IS_PLATFORM(dev_priv, INTEL_ROCKETLAKE))
[drm] Unable to create a private tmpfs mount, hugepage support will be disabled(-19).
[drm] Got stolen memory base 0x0, size 0x0
lkpi_iic0: <LinuxKPI I2C> on drmn0
lkpi_iic1: <LinuxKPI I2C> on drmn0
lkpi_iic2: <LinuxKPI I2C> on drmn0
lkpi_iic3: <LinuxKPI I2C> on drmn0
lkpi_iic4: <LinuxKPI I2C> on drmn0
lkpi_iic5: <LinuxKPI I2C> on drmn0
lkpi_iic6: <LinuxKPI I2C> on drmn0
lkpi_iic7: <LinuxKPI I2C> on drmn0
lkpi_iic8: <LinuxKPI I2C> on drmn0
drmn0: successfully loaded firmware image 'i915/kbl_dmc_ver1_04.bin'
drmn0: [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4)
[drm] Initialized i915 1.6.0 20200917 for drmn0 on minor 0
drmn0: [drm] Cannot find any crtc or sizes
ogogon@test:/var/log#
And here is the log X.org:
Code:
[ 18.553] (II) modeset(0): using drv /dev/dri/card0
[ 18.553] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 18.553] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[ 18.553] (==) modeset(0): RGB weight 888
[ 18.553] (==) modeset(0): Default visual is TrueColor
[ 18.553] (II) Loading sub module "glamoregl"
[ 18.553] (II) LoadModule: "glamoregl"
[ 18.553] (II) Loading /usr/local/lib/xorg/modules/libglamoregl.so
[ 18.559] (II) Module glamoregl: vendor="X.Org Foundation"
[ 18.559] compiled for 1.21.1.14, module version = 1.0.1
[ 18.559] ABI class: X.Org ANSI C Emulation, version 0.4
[ 18.912] (II) modeset(0): glamor X acceleration enabled on Mesa Intel(R) UHD Graphics 610 (CML GT1)
[ 18.912] (II) modeset(0): glamor initialized
[ 18.912] (==) modeset(0): VariableRefresh: disabled
[ 18.912] (==) modeset(0): AsyncFlipSecondaries: disabled
[ 18.913] (WW) modeset(0): No outputs definitely connected, trying again...
[ 18.913] (WW) modeset(0): Unable to find connected outputs - setting 1024x768 initial framebuffer
[ 18.913] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[ 18.913] (EE) modeset(0): No modes.
[ 18.923] (II) UnloadModule: "modesetting"
[ 18.923] (II) UnloadSubModule: "glamoregl"
[ 18.923] (II) Unloading glamoregl
[ 18.923] (EE) Screen(s) found, but none have a usable configuration.
[ 18.923] (EE)
Fatal server error:
[ 18.923] (EE) no screens found(EE)
[ 18.923] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 18.924] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 18.924] (EE)
[ 19.030] (EE) Server terminated with error (1). Closing log file.
It is obvious that the module has loaded, special files have appeared, but the final result has not yet been achieved.