Chris Jölly composed on 2025-02-24 21:52 (UTC+0100):

> I have a Lenovo Thinkpad P50, which has the following setup:

> chris@laptop:~$ inxi -Gaz --za
> Graphics:
>    Device-1: Intel HD Graphics 530 vendor: Lenovo driver: i915

i915 is the kernel module (hardware driver) required by your Intel 530 GPU.

>    Device-2: NVIDIA GM107GLM [Quadro M1000M] vendor: Lenovo driver: nouveau

nouveau is the kernel module (hardware driver) required by your NVidia GPU.

>    Display: x11 server: X.Org v: 21.1.15 with: Xwayland v: 24.1.5 driver: X:
>      loaded: modesetting

modestting is the X display driver required by either the in use Intel 530 GPU 
or
the inactive NVidia GPU.

>    Screen-1: 0 s-res: 3840x1080 s-dpi: 96 s-size: 1016x286mm (40.00x11.26")
>      s-diag: 1055mm (41.55")

This shows you have two identically configured screens mapped side by side as an
expanded desktop.

> Everything works fine, except that I do not understand the messages in 
> Xorg.0.log :)

> 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?

> [    27.815] (II) LoadModule: "fbdev"
...
> [    27.817] (II) modeset(0): using drv /dev/dri/card1

As inxi showed you, the dri system is employing the modesetting display driver.
...
> [    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.

> 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
#
-- 
Evolution as taught in public schools is, like religion,
        based on faith, not based on science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata

Reply via email to