Vincent Lefevre composed on 2023-03-23 14:48 (UTC+0100):

> On 2023-03-22 10:50:30 +0100, Hans wrote:

>> Oh, before someone tells: I do NOT want to use nouveau!

> Though I would prefer free software, nouveau is not usable for me,
> in particular with my laptop. Remember...

>   https://lists.debian.org/debian-user/2020/05/msg00464.html

> The developers did not care to look at my bug reports (this one
> and older ones).

Quoting from the above URI:

[quote]
I use Debian/unstable with the nouveau driver
[/quote]

It could be the exhibition of ignorance represented by the above quote leads
triagers and developers to ignore many problem reports. There is no such thing 
as
"the nouveau driver" in Debian:

1-Each kernel provides *a* unique nouveau device module (driver) specifically 
for
that kernel version to provide modesetting services (KMS) and other DRM 
services.

2-X requires *a* display driver, which in the case of NVidia GPUs depends on KMS
functionality provided by a nouveau kernel device driver for optimal 
performance.
One such display driver is named nouveau, and is provided by
xserver-xorg-video-nouveau. The Xorg server .deb provides an alternative driver
named modesetting. The modesetting driver:

A-is a newer display driver technology;
B-does not require reverse-engineering;
C-is the upstream default display driver;
D-supports all GPUs for which a kernel device driver providing KMS is available;
E-is automatically employed when applicable xserver-xorg-video-* is not 
installed.

3-libdrm-nouveau2 provides a userspace interface to nouveau-specific kernel DRM
services: /usr/lib/x86_64-linux-gnu/libdrm_nouveau.so.2

4-libgl1-mesa-dri provides
  /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
  /usr/lib/x86_64-linux-gnu/dri/nouveau_vieux_dri.so

5-When xserver-xorg-video-nouveau is not installed, NVidia users may see the
following:
# grep veau /var/log/Xorg.0.log
[    39.971] (II) modeset(0): [DRI2]   DRI driver: nouveau
[    39.971] (II) modeset(0): [DRI2]   VDPAU driver: nouveau
[    39.989] (II) AIGLX: Loaded and initialized nouveau
# grep odese /var/log/Xorg.0.log | grep -v 'set(0)'
[    34.877] (==) Matched modesetting as autoconfigured driver 0
[    34.877] (II) LoadModule: "modesetting"
[    34.904] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    34.936] (II) Module modesetting: vendor="X.Org Foundation"
[    34.966] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
# inxi -S --vs
inxi 3.3.25-00 (2023-02-07)
System:
  Host: hp945 Kernel: 5.10.0-21-amd64 arch: x86_64 bits: 64 Desktop: Trinity
    v: R14.0.13 Distro: Debian GNU/Linux 11 (bullseye)
# inxi -Gaz
Graphics:
  Device-1: NVIDIA GT218 [GeForce 210] vendor: eVga.com. driver: nouveau
    v: kernel non-free: series: 340.xx status: legacy (EOL) last:
    release: 340.108 kernel: 5.4 xorg: 1.20 arch: Tesla process: 40-80nm
    built: 2006-13 pcie: gen: 1 speed: 2.5 GT/s lanes: 16 ports:
    active: DVI-I-1,HDMI-A-1 empty: VGA-1 bus-ID: 01:00.0 chip-ID: 10de:0a65
    class-ID: 0300 temp: 67.0 C
  Display: x11 server: X.Org v: 1.20.11 driver: X: loaded: modesetting
    unloaded: fbdev,vesa dri: nouveau gpu: nouveau display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3600x1200 s-dpi: 120 s-size: 762x254mm (30.00x10.00")
    s-diag: 803mm (31.62")
  Monitor-1: DVI-I-1 pos: right model: Dell P2213 serial: <filter>
    built: 2012 res: 1680x1050 hz: 60 dpi: 90 gamma: 1.2
    size: 473x296mm (18.62x11.65") diag: 558mm (22") ratio: 16:10 modes:
    max: 1680x1050 min: 720x400
  Monitor-2: HDMI-A-1 mapped: HDMI-1 pos: primary,left model: NEC EA243WM
    serial: <filter> built: 2011 res: 1920x1200 hz: 60 dpi: 94 gamma: 1.2
    size: 519x324mm (20.43x12.76") diag: 612mm (24.1") ratio: 16:10 modes:
    max: 1920x1200 min: 640x480
  API: OpenGL v: 3.3 Mesa 20.3.5 renderer: NVA8 direct-render: Yes

Which nouveau is "the" nouveau???

Has use of the modesetting display driver been tested by the user with a 
"nouveau"
problem?

PS: Q: Why does a nouveau display driver exist when the default modesetting
display driver exists?
A: Because being newer, it doesn't support ancient hardware that may be 
supported
by other drivers, and determination of the optimal display driver to install 
would
be a highly complicated process that would severely bloat distribution
installation programs and yet be unreliable. Therefore, inclusion of
xserver-xorg-video-* is part of most installations. The option remains to use
/etc/X11/xorg.con* to specify a particular display driver rather than depending 
on
whether or not a particular display driver .deb is installed.
-- 
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