[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Upstream Default (FOSS) DDX Driver for NVidia GPUs is not Nouveau



The Wanderer composed on 2021-01-21 06:30 (UTC-0500):

> Felix Miata wrote:

>> Because most mainstream hardware of the day, and since, is supported,
>> none of the optionals are /needed/ (as long as a fully-functional
>> DRM/KMS kernel module exists). The installation of the optional
>> drivers equates to something telling it to do otherwise.
 
> I don't read the action of installing an optional driver as telling the
> system to use that driver. Installing a driver merely makes it
> available, it does not explicitly tell the system to use it; telling the
> system to use that driver would require something like specifying which
> driver to use in a configuration file.
Below looks like a typical order of use that probably began, if not before when,
modesetting DDX as a separate package ceased. First found, only DDX employed:

# egrep 't Oper|LoadM|enabled on|Unload|ailed' /var/log/Xorg.0.log
[     5.216] Current Operating System: Linux asa88 4.19.0-12-amd64 #1 SMP Debian 4.19.152-1 (2020-10-18) x86_64
[     5.263] (II) LoadModule: "glx"
[     5.298] (II) LoadModule: "amdgpu"
[     5.310] (II) LoadModule: "ati"
[     5.311] (II) LoadModule: "modesetting"
[     5.314] (II) LoadModule: "fbdev"
[     5.317] (II) LoadModule: "vesa"
[     5.363] (II) LoadModule: "fbdevhw"
[     5.366] (II) LoadModule: "fb"
[     5.369] (II) LoadModule: "dri2"
[     5.702] (II) LoadModule: "glamoregl"
[     5.763] (II) AMDGPU(0): glamor X acceleration enabled on AMD KAVERI (DRM 3.27.0, 4.19.0-12-amd64, LLVM 7.0.1)
[     6.057] (II) LoadModule: "ramdac"
[     6.057] (II) UnloadModule: "modesetting"
[     6.058] (II) Unloading modesetting
[     6.058] (II) UnloadModule: "fbdev"
[     6.058] (II) Unloading fbdev
[     6.058] (II) UnloadSubModule: "fbdevhw"
[     6.058] (II) Unloading fbdevhw
[     6.058] (II) UnloadModule: "vesa"
[     6.058] (II) Unloading vesa
[     6.321] (II) LoadModule: "libinput"
#

Trying the same thing with Intel and NVidia, it's apparent that patches and/or
config files may affect loading, because LoadModule may be skipped for otherwise
possibles, e.g.:
# dpkg-query -l | grep o-nouv
ii  xserver-xorg-video-nouveau	1:1.0.16-1	amd64	X.Org X server -- Nouveau display driver
# grep -v ^\# /etc/X11/xorg.conf.d/*f | grep -i nouveau
# grep -v ^\# /etc/X11/xorg.conf.d/*f | grep -i Driver
# ls /etc/X11/xorg.conf.d/*f
/etc/X11/xorg.conf.d/00-keyboard.conf  /etc/X11/xorg.conf.d/60-flags.conf
# grep -v ^\# /usr/share/X11/xorg.conf.d/*f | grep -i nouveau
# ls /usr/share/X11/xorg.conf.d/*f
/usr/share/X11/xorg.conf.d/10-evdev.conf   /usr/share/X11/xorg.conf.d/40-libinput.conf
/usr/share/X11/xorg.conf.d/10-quirks.conf  /usr/share/X11/xorg.conf.d/70-synaptics.conf
# egrep 't Oper|LoadM|Unload|enabled on|KMS] K|ailed' /var/log/Xorg.0.log
[    60.229] Current Operating System: Linux p5bse 4.19.0-13-amd64 #1 SMP Debian 4.19.160-2 (2020-11-28) x86_64
[    60.853] (II) LoadModule: "glx"
[    61.912] (II) LoadModule: "modesetting"
[    61.996] (II) LoadModule: "fbdev"
[    62.050] (II) LoadModule: "vesa"
[    62.069] (II) LoadModule: "fbdevhw"
[    62.156] (II) LoadModule: "glamoregl"
[    73.335] (II) modeset(0): glamor X acceleration enabled on NVD9
[    73.524] (II) LoadModule: "fb"
[    73.733] (II) UnloadModule: "fbdev"
[    73.733] (II) Unloading fbdev
[    73.733] (II) UnloadSubModule: "fbdevhw"
[    73.733] (II) Unloading fbdevhw
[    73.733] (II) UnloadModule: "vesa"
[    73.734] (II) Unloading vesa
[    76.853] (II) LoadModule: "libinput"
#
# dpkg-query -l | grep -i o-inte
ii  xserver-xorg-video-intel	2:2.99.917+git20180925-2	i386	X.Org X server -- Intel i8xx, i9xx display driver
# grep -v ^\# /etc/X11/xorg.conf.d/*f | grep -i Driver
# grep -v ^\# /usr/share/X11/xorg.conf.d/*f | grep -i intel
# ls /etc/X11/xorg.conf.d/*f
/etc/X11/xorg.conf.d/00-keyboard.conf  /etc/X11/xorg.conf.d/25-intel.conf  /etc/X11/xorg.conf.d/60-flags.conf
# ls /usr/share/X11/xorg.conf.d/*f
/usr/share/X11/xorg.conf.d/10-amdgpu.conf  /usr/share/X11/xorg.conf.d/10-radeon.conf
/usr/share/X11/xorg.conf.d/10-evdev.conf   /usr/share/X11/xorg.conf.d/40-libinput.conf
/usr/share/X11/xorg.conf.d/10-quirks.conf
# egrep 't Oper|LoadM|Unload|enabled on|Chips|ailed' /var/log/Xorg.0.log
[    95.387] Current Operating System: Linux gx280 4.19.0-13-686 #1 SMP Debian 4.19.160-2 (2020-11-28) i686
[    96.187] (II) LoadModule: "glx"
[   105.802] (II) LoadModule: "intel"
[   106.443] (II) LoadModule: "modesetting"
[   106.591] (II) LoadModule: "fbdev"
[   106.654] (II) LoadModule: "vesa"
[   106.703] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
[   106.790] (II) LoadModule: "fbdevhw"
[   106.910] (--) intel(0): Integrated Graphics Chipset: Intel(R) 915G	# not supported by Glamor, so modesetting fails
[   106.945] (II) LoadModule: "dri3"
[   106.945] (II) LoadModule: "dri2"
[   106.945] (II) LoadModule: "present"
[   106.945] (II) UnloadModule: "modesetting"
[   106.945] (II) Unloading modesetting
[   106.945] (II) UnloadModule: "fbdev"
[   106.945] (II) Unloading fbdev
[   106.945] (II) UnloadSubModule: "fbdevhw"
[   106.946] (II) Unloading fbdevhw
[   106.946] (II) UnloadModule: "vesa"
[   106.946] (II) Unloading vesa
[   109.160] (II) LoadModule: "libinput"
# apt-purge xserver-xorg-video-intel
...
# dpkg-query -l | grep -i o-inte
# egrep 't Oper|LoadM|Unload|enabled on|Chips|ailed' /var/log/Xorg.0.log.old
[  4918.908] Current Operating System: Linux gx280 4.19.0-13-686 #1 SMP Debian 4.19.160-2 (2020-11-28) i686
[  4918.933] (II) LoadModule: "glx"
[  4918.935] (II) LoadModule: "modesetting"
[  4918.960] (II) LoadModule: "glamoregl"
[  4919.000] (II) modeset(0): glamor X acceleration enabled on Mesa DRI Intel(R) 915G x86/MMX/SSE2
[  4919.054] (II) modeset(0): First detailed timing is preferred mode
[  4919.055] (II) modeset(0): Supported detailed timing:
[  4919.056] (II) LoadModule: "fb"
[  4919.057] (EE) modeset(0): Failed to initialize glamor at ScreenInit() time.
[  4919.057] (EE) AddScreen/ScreenInit failed for driver 0
#
# dpkg-query -l | grep o-intel
ii  xserver-xorg-video-intel	2:2.99.917+git20180925-2	amd64	X.Org X server -- Intel i8xx, i9xx display driver
# grep -v ^\# /etc/X11/xorg.conf.d/*f | grep -i Driver
# grep -v ^\# /usr/share/X11/xorg.conf.d/*f | grep -i intel
# egrep 't Oper|LoadM|Unload|enabled on|Chips|ailed' /var/log/Xorg.0.log
[   984.288] Current Operating System: Linux gx780 4.19.0-12-amd64 #1 SMP Debian 4.19.152-1 (2020-10-18) x86_64
[   984.310] (II) LoadModule: "glx"
[   984.311] (II) LoadModule: "modesetting"
[   984.312] (II) LoadModule: "fbdev"
[   984.335] (II) LoadModule: "vesa"
[   984.373] (II) LoadModule: "fbdevhw"
[   984.391] (II) LoadModule: "glamoregl"
[   984.414] (II) modeset(0): glamor X acceleration enabled on Mesa DRI Intel(R) Q45/Q43
[   984.457] (II) LoadModule: "fb"
[   984.457] (II) UnloadModule: "fbdev"
[   984.457] (II) Unloading fbdev
[   984.457] (II) UnloadSubModule: "fbdevhw"
[   984.457] (II) Unloading fbdevhw
[   984.457] (II) UnloadModule: "vesa"
[   984.457] (II) Unloading vesa
[   984.541] (II) LoadModule: "libinput"
#
-- 
Evolution as taught in public schools, like religion,
	is based on faith, not on science.

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

Felix Miata  ***  http://fm.no-ip.com/


Reply to: