On 2/24/25 22:25, Felix Miata wrote:
Chris Jölly composed on 2025-02-24 21:52 (UTC+0100):
modestting is the X display driver required by either the in use Intel 530 GPU
or
the inactive NVidia GPU.
Ok, so modesetting is the X display driver, not how I expected the intel
or nouveau driver, right?
Its written that the fb and vesa drivers are loaded by the x server. I
have no xorg.conf in /etc/X11.
Their presence there with your hardware indicated serves only to confuse
uninitiated users.
[ 27.806] (==) Matched fbdev as autoconfigured driver 1
[ 27.806] (==) Matched vesa as autoconfigured driver 2
...
These could have been used if called upon, but the weren't/aren't necessary.
What exactly from the log between .806 and .815 did you leave out?
Here is the part including with what I left out:
[ 27.806] (==) Matched modesetting as autoconfigured driver 0
[ 27.806] (==) Matched fbdev as autoconfigured driver 1
[ 27.806] (==) Matched vesa as autoconfigured driver 2
[ 27.806] (==) Assigned the driver to the xf86ConfigLayout
[ 27.806] (II) LoadModule: "modesetting"
[ 27.814] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 27.815] (II) Module modesetting: vendor="X.Org Foundation"
[ 27.815] compiled for 1.21.1.15, module version = 1.21.1
[ 27.815] Module class: X.Org Video Driver
[ 27.815] ABI class: X.Org Video Driver, version 25.2
[ 27.815] (II) LoadModule: "fbdev"
[ 27.815] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 27.816] (II) Module fbdev: vendor="X.Org Foundation"
[ 27.816] compiled for 1.21.1.3, module version = 0.5.0
[ 27.816] Module class: X.Org Video Driver
[ 27.816] ABI class: X.Org Video Driver, version 25.2
[ 27.816] (II) LoadModule: "vesa"
[ 27.816] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[ 27.817] (II) Module vesa: vendor="X.Org Foundation"
[ 27.817] compiled for 1.21.1.9, module version = 2.6.0
[ 27.817] Module class: X.Org Video Driver
[ 27.817] ABI class: X.Org Video Driver, version 25.2
[ 27.817] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 27.817] (II) FBDEV: driver for framebuffer: fbdev
[ 27.817] (II) VESA: driver for VESA chipsets: vesa
[ 27.817] xf86EnableIO: failed to enable I/O ports 0000-03ff
(Operation not permitted)
[ 27.817] (II) modeset(0): using drv /dev/dri/card1
[ 27.817] (WW) Falling back to old probe method for fbdev
[ 27.817] (II) Loading sub module "fbdevhw"
[ 27.817] (II) LoadModule: "fbdevhw"
[ 27.817] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 27.818] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 27.818] compiled for 1.21.1.15, module version = 0.0.2
[ 27.818] ABI class: X.Org Video Driver, version 25.2
[ 27.818] (II) modeset(G0): using drv /dev/dri/card0
[ 27.818] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card
support
[ 27.818] (II) modeset(0): Creating default Display subsection in
Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 27.818] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[ 27.818] (==) modeset(0): RGB weight 888
[ 27.818] (==) modeset(0): Default visual is TrueColor
[ 27.818] (II) Loading sub module "glamoregl"
[ 27.818] (II) LoadModule: "glamoregl"
[ 27.818] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[ 27.822] (II) Module glamoregl: vendor="X.Org Foundation"
[ 27.822] compiled for 1.21.1.15, module version = 1.0.1
[ 27.822] ABI class: X.Org ANSI C Emulation, version 0.4
[ 27.865] (II) modeset(0): glamor X acceleration enabled on Mesa
Intel(R) HD Graphics 530 (SKL GT2)
[ 27.865] (II) modeset(0): glamor initialized
Shouldnt one of intel or nouveau drivers get loaded?
Those actually needed were loaded and remained loaded.
Ok, it is just confusion on my side. Basically, I did not know how the
actual graphics stack works, its some years where knew more details
about how a desktop environment works. Things changed a lot it seems
since the times where one needed to fiddle around with modlines in
xorg.conf.
Is there anything "wrong" or is it ok that the fb driver is loaded?
According to inxi, nothing is wrong with anything. (WW) lines in Xorg.0.log are
just noise. X normally reports all drivers that could possibly have been
required
that succeeded to load did indeed load, but there should also be corresponding
unload messages in the full log for those drivers not actually required.
# inxi -G | grep Device-1
Device-1: Intel HD Graphics 630 driver: i915 v: kernel
# grep -i load /var/log/Xorg.0.log
[ 10.603] (II) Loader magic: 0x55f3098a9de0
[ 10.610] (II) LoadModule: "glx"
[ 10.611] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[ 10.616] (II) LoadModule: "intel"
[ 10.617] (EE) Failed to load module "intel" (module does not exist, 0)
[ 10.617] (II) LoadModule: "modesetting"
[ 10.617] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[ 10.617] (II) LoadModule: "fbdev"
[ 10.617] (II) Loading /usr/lib64/xorg/modules/drivers/fbdev_drv.so
[ 10.618] (II) LoadModule: "vesa"
[ 10.618] (II) Loading /usr/lib64/xorg/modules/drivers/vesa_drv.so
[ 10.642] (II) Loading sub module "fbdevhw"
[ 10.642] (II) LoadModule: "fbdevhw"
[ 10.642] (II) Loading /usr/lib64/xorg/modules/libfbdevhw.so
[ 10.643] (II) Loading sub module "glamoregl"
[ 10.643] (II) LoadModule: "glamoregl"
[ 10.643] (II) Loading /usr/lib64/xorg/modules/libglamoregl.so
[ 10.919] (II) Loading sub module "fb"
[ 10.919] (II) LoadModule: "fb"
[ 10.919] (II) UnloadModule: "fbdev"
[ 10.919] (II) Unloading fbdev
[ 10.919] (II) UnloadSubModule: "fbdevhw"
[ 10.919] (II) Unloading fbdevhw
[ 10.919] (II) UnloadModule: "vesa"
[ 10.919] (II) Unloading vesa
[ 11.119] (II) AIGLX: Loaded and initialized iris
[ 11.189] (II) LoadModule: "libinput"
[ 11.189] (II) Loading /usr/lib64/xorg/modules/input/libinput_drv.so
#
So, modesetting is the real thing? no need to keep fbdev, vesa, intel
and nouveau x-server driver packages on the system (as well as ati, amd,
radeon...)?
chris@laptop1:~$ dpkg -l | grep xserver.*video
ii xserver-xorg-video-amdgpu 23.0.0-1
amd64 X.Org X server -- AMDGPU display driver
ii xserver-xorg-video-ati 1:22.0.0-1
amd64 X.Org X server -- AMD/ATI display driver wrapper
ii xserver-xorg-video-fbdev 1:0.5.0-2
amd64 X.Org X server -- fbdev display driver
ii xserver-xorg-video-intel 2:2.99.917+git20210115-1
amd64 X.Org X server -- Intel i8xx, i9xx display driver
ii xserver-xorg-video-nouveau 1:1.0.18-1
amd64 X.Org X server -- Nouveau display driver
ii xserver-xorg-video-qxl 0.1.6-1.1
amd64 X.Org X server -- QXL display driver
ii xserver-xorg-video-radeon 1:22.0.0-1
amd64 X.Org X server -- AMD/ATI Radeon display driver
ii xserver-xorg-video-vesa 1:2.6.0-1
amd64 X.Org X server -- VESA display driver
ii xserver-xorg-video-vmware 1:13.4.0-1
amd64 X.Org X server -- VMware display driver
chris@laptop1:~$