Package: xserver-xorg-core
Version: 2:21.1.22-1
Severity: minor
Tags: patch

  I am not subscribed.

  Additional remarks.

  Mails from me to "[email protected]" are no longer acknowledged.  A
Debian maintainer told me, that he would contact the mail administrator
about me not wanting to send bugs upstream.

-.-

Dear Maintainer,

>From "/usr/share/doc/debian/bug-reporting.txt.gz":

  Don't file bugs upstream

   If you file a bug in Debian, don't send a copy to the upstream software
   maintainers yourself, as it is possible that the bug exists only in
   Debian. If necessary, the maintainer of the package will forward the
   bug upstream.

-.-

  For forwarding bug reports to upstream see:

https://www.debian.org/Bugs/Developer#forward

-.-

  "Handling bug reports" in
http://people.debian.org/~enrico/dcg/ch03s02.html

-.-

  I do not send reports upstream if I have to get an account there.
The Debian maintainers have one already.

  If I get a negative (or no) response from upstream, I send henceforth
bugs to Debian.

-.-

   * What led up to the situation?

     Checking for defects with a new version

test-[g|n]roff -mandoc -t -K utf8 -rF0 -rHY=0 -rCHECKSTYLE=0 -ww -z < "man page"

  [Use 

grep -n -e ' $' -e '\\~$' -e ' \\f.$' -e ' \\"' <file>

  to find (most) trailing spaces.]

  ["test-groff" is a script in the repository for "groff"; is not shipped]
(local copy and "troff" slightly changed by me).

  [The fate of "test-nroff" was decided in groff bug #55941.]

   * What was the outcome of this action?

Output from "test-groff  -mandoc -t -K utf8 -rF0 -rHY=0 -rCHECKSTYLE=0 -ww -z ":

troff:<stdin>:25: warning: trailing space in the line [-w trail]
troff:<stdin>:34: warning: trailing space in the line [-w trail]
troff:<stdin>:43: warning: trailing space in the line [-w trail]
an.tmac:<stdin>:112: warning: cannot call .SH while an input trap is pending

Output from "test-nroff  -mandoc -t -K utf8 -rF0 -rHY=0 -rCHECKSTYLE=0 -ww -z ":

troff:<stdin>:25: warning: trailing space in the line [-w trail]
troff:<stdin>:34: warning: trailing space in the line [-w trail]
troff:<stdin>:43: warning: trailing space in the line [-w trail]
an.tmac:<stdin>:112: warning: cannot call .SH while an input trap is pending


   * What outcome did you expect instead?

     No output (no warnings).

-.-

  General remarks and further material, if a diff-file exist, are in the
attachments.


-- System Information:
Debian Release: forky/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 7.0.4+deb14-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=is_IS.iso88591, LC_CTYPE=is_IS.iso88591 (charmap=ISO-8859-1), 
LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages xserver-xorg-core depends on:
ii  keyboard-configuration  1.247
ii  libaudit1               1:4.1.2-1+b1
ii  libc6                   2.42-16
ii  libdbus-1-3             1.16.2-4
ii  libdrm2                 2.4.131-1+b1
ii  libegl1                 1.7.0-3+b1
ii  libepoxy0               1.5.10-2+b2
ii  libgbm1                 26.0.6-1
ii  libgl1                  1.7.0-3+b1
ii  libnettle8t64           3.10.2-1+b1
ii  libpciaccess0           0.17-3+b4
ii  libpixman-1-0           0.46.4-1+b2
ii  libselinux1             3.10-1
ii  libsystemd0             260.1-1
ii  libudev1                260.1-1
ii  libunwind8              1.8.1-0.4
ii  libxau6                 1:1.0.11-1+b2
ii  libxcvt0                0.1.3-1+b2
ii  libxdmcp6               1:1.1.5-2+b1
ii  libxfont2               1:2.0.6-2+b1
ii  libxshmfence1           1.3.3-1+b2
ii  udev                    260.1-1
ii  xserver-common          2:21.1.22-1

Versions of packages xserver-xorg-core recommends:
pn  default-logind | logind  <none>
ii  libgl1-mesa-dri          26.0.6-1
pn  xcvt                     <none>

Versions of packages xserver-xorg-core suggests:
ii  xfonts-100dpi    1:1.0.5
ii  xfonts-75dpi     1:1.0.5
pn  xfonts-scalable  <none>

-- no debconf information
Input file is modesetting.4

Output from "mandoc -T lint  modesetting.4": (shortened list)

      3 STYLE: whitespace at end of input line
      1 WARNING: line scope broken

-.-.

Output from
test-nroff -mandoc -t -Kutf8 -ww -z modesetting.4: (shortened list)

      1 cannot call .SH while an input trap is pending
      3 line(s) with a trailing space [-w trail]

Find most trailing spaces with:
grep -n -e ' $' -e ' \\f.$' -e ' \\"' <man page>

-.-.

Remove space characters (whitespace) at the end of lines.
Use "git apply ... --whitespace=fix" to fix extra space issues, or use
global configuration "core.whitespace".

Number of lines affected is

3

-.-.

Wrong distance (not two spaces, not a new line character (\n)) between
sentences in the input file.

  Separate the sentences and subordinate clauses; each begins on a new
line.  See man-pages(7) ("Conventions for source file layout") and
"info groff" ("Input Conventions").

  The best procedure is to always start a new sentence on a new line,
at least, if you are typing on a computer.

Remember coding: Only one command ("sentence") on each (logical) line.

E-mail: Easier to quote exactly the relevant lines.

Generally: Easier to edit the sentence.

Patches: Less unaffected text.

Search for two adjacent words is easier, when they belong to the same line,
and the same phrase.

  The amount of space between sentences in the output can then be
controlled with the ".ss" request.

Mark a final abbreviation point as such by suffixing it with "\&".

Some sentences (etc.) do not begin on a new line.

Split (sometimes) lines after a punctuation mark; before a conjunction.

  Lines with only one (or two) space(s) between sentences could be split,
so latter sentences begin on a new line.

Use

#!/usr/bin/sh

sed -e '/^\./n' \
-e 's/\([[:alpha:]]\)\.  */\1.\n/g' $1

to split lines after a sentence period.
Check result with the difference between the formatted outputs.
See also the attachment "general.bugs"

18:TrueColor visuals at framebuffer depths of 15, 16, 24, and 30. RandR
19:1.2 is supported for multi-head configurations. Acceleration is available
52:The framebuffer device to use. Default: /dev/dri/card0.
58:Double-buffer shadow updates. When enabled, the driver will keep two copies 
of
59:the shadow framebuffer. When the shadow framebuffer is flushed, the old and 
new
61:are uploaded to the device. This is an optimization for server-class GPUs 
with
82:Use async flips for secondary video outputs on multi-display setups. If a 
screen
85:presentation. This is the display that is used for presentation timing and
87:All other displays ("Secondaries") will not synchronize their flips. This may
90:synchronized with each other and with the same refresh rate. There is no 
perfect
109:entries, if supported by the kernel. By default, GAMMA_LUT will be used for

-.-.

The name of a man page is typeset in bold (or italic) and the section in
roman (see man-pages(7)).

30:Please refer to xorg.conf(5) for general configuration
113:Xorg(1), xorg.conf(5), Xserver(1),

-.-.

Name of a manual is set in bold (or italic), the section in roman.
See man-pages(7).

114:X(7)

-.-.

Split a punctuation from a single argument, if a two-font macro is meant.

49:.B off.
72:.B on.
79:.B off.
94:.B off.

-.-.

Put a parenthetical sentence, phrase on a separate line,
if not part of a code.
See man-pages(7), item "semantic newline".

modesetting.4:62:a remote display function (typically VNC), where remote 
updates are triggered

-.-.

Only one space character is after a possible end of sentence
(after a punctuation, that can end a sentence).

modesetting.4:18:TrueColor visuals at framebuffer depths of 15, 16, 24, and 30. 
RandR
modesetting.4:19:1.2 is supported for multi-head configurations. Acceleration 
is available
modesetting.4:52:The framebuffer device to use. Default: /dev/dri/card0.
modesetting.4:58:Double-buffer shadow updates. When enabled, the driver will 
keep two copies of
modesetting.4:59:the shadow framebuffer. When the shadow framebuffer is 
flushed, the old and new
modesetting.4:61:are uploaded to the device. This is an optimization for 
server-class GPUs with
modesetting.4:82:Use async flips for secondary video outputs on multi-display 
setups. If a screen
modesetting.4:85:presentation. This is the display that is used for 
presentation timing and
modesetting.4:87:All other displays ("Secondaries") will not synchronize their 
flips. This may
modesetting.4:90:synchronized with each other and with the same refresh rate. 
There is no perfect
modesetting.4:109:entries, if supported by the kernel. By default, GAMMA_LUT 
will be used for

-.-.

Output from "test-groff  -mandoc -t -K utf8 -rF0 -rHY=0 -rCHECKSTYLE=0 -ww -z ":

troff:<stdin>:25: warning: trailing space in the line [-w trail]
troff:<stdin>:34: warning: trailing space in the line [-w trail]
troff:<stdin>:43: warning: trailing space in the line [-w trail]
an.tmac:<stdin>:112: warning: cannot call .SH while an input trap is pending

-.-

Spelling (codespell):

preferrable ==> preferable

-.-

Generally:

Split (sometimes) lines after a punctuation mark; before a conjunction.

-.-

Tables:

  Use the preprocessor 'tbl' to make tables.

  Put data, that are wider than the header in the (centered) last column,
in a "T{...\nT}" block(, when the table gets wider than the output line).

  Table headers, that are wider than any data in the corresponding column,
do not need to be centered, so left adjustment (l, L) is sufficient.
--- modesetting.4       2026-05-13 23:02:19.330608040 +0000
+++ modesetting.4.new   2026-05-13 23:14:01.395330900 +0000
@@ -22,16 +22,18 @@ If glamor is not enabled, a shadow frame
 KMS drivers' preference (unless the framebuffer is 24 bits per pixel, in
 which case the shadow framebuffer is always used).
 .SH SUPPORTED HARDWARE
-The 
+The
 .B modesetting
 driver supports all hardware where a KMS driver is available.
 modesetting uses the Linux DRM KMS ioctls and dumb object create/map.
 .SH CONFIGURATION DETAILS
-Please refer to xorg.conf(5) for general configuration
+Please refer to
+.BR xorg.conf (5)
+for general configuration
 details.  This section only covers configuration details specific to
 this driver.
 .PP
-For this driver it is not required to specify modes in the screen 
+For this driver it is not required to specify modes in the screen
 section of the config file.  The
 .B modesetting
 driver can pick up the currently used video mode from the kernel
@@ -40,13 +42,13 @@ driver and will use it if there are no v
 For PCI boards you might have to add a BusID line to the Device
 section.  See above for a sample line.
 .PP
-The following driver 
+The following driver
 .B Options
 are supported:
 .TP
 .BI "Option \*qSWcursor\*q \*q" boolean \*q
 Selects software cursor.  The default is
-.B off.
+.BR  off .
 .TP
 .BI "Option \*qkmsdev\*q \*q" string \*q
 The framebuffer device to use. Default: /dev/dri/card0.
@@ -69,14 +71,14 @@ One of \*qglamor\*q or \*qnone\*q.  Defa
 .TP
 .BI "Option \*qPageFlip\*q \*q" boolean \*q
 Enable DRI3 page flipping.  The default is
-.B on.
+.BR on .
 .TP
 .BI "Option \*qVariableRefresh\*q \*q" boolean \*q
 Enables support for enabling variable refresh on the Screen's CRTCs
 when an suitable application is flipping via the Present extension.
 .br
 The default is
-.B off.
+.BR off .
 .TP
 .BI "Option \*qAsyncFlipSecondaries\*q \*q" boolean \*q
 Use async flips for secondary video outputs on multi-display setups. If a 
screen
@@ -89,9 +91,9 @@ cause some tearing on these displays, bu
 slowdown or irritating judder of animations if not all video outputs are 
running
 synchronized with each other and with the same refresh rate. There is no 
perfect
 solution apart from perfectly synchronized outputs, but this option may give
-preferrable results if the displays in a multi-display setup mirror or clone
+preferable results if the displays in a multi-display setup mirror or clone
 each other.  The default is
-.B off.
+.BR off .
 .TP
 .BI "Option \*qZaphodHeads\*q \*q" string \*q
 Specify the RandR output(s) to use with zaphod mode for a particular driver
@@ -108,9 +110,8 @@ Enable or disable use of the GAMMA_LUT p
 When enabled, this option allows the driver to use gamma ramps with more
 entries, if supported by the kernel. By default, GAMMA_LUT will be used for
 kms drivers which are known to be safe for use of GAMMA_LUT.
-.TP
 .SH "SEE ALSO"
-Xorg(1), xorg.conf(5), Xserver(1),
-X(7)
+.BR Xorg "(1), " xorg.conf "(5), " Xserver (1),
+.BR X (7)
 .SH AUTHORS
 Authors include: Dave Airlie
  Any program (person), that produces man pages, should check the output
for defects by using (both groff and nroff)

[gn]roff -mandoc -t -ww -b -z -K utf8 <man page>

  To find trailing space use

grep -n -e ' $' -e ' \\f.$' -e ' \\"' <man page>

  The same goes for man pages that are used as an input.

-.-

  For a style guide use

  mandoc -T lint

-.-

  For general input conventions consult the man page "nroff(7)" (item
"Input conventions") or the Texinfo manual about the same item.

-.-

  Any "autogenerator" should check its products with the above mentioned
'groff', 'mandoc', and additionally with 'nroff ...'.

  It should also check its input files for too long (> 80) lines.

  This is just a simple quality control measure.

  The "autogenerator" may have to be corrected to get a better man page,
the source file may, and any additional file may.

-.-

  Common defects:

  Not removing trailing spaces (in in- and output).
  The reason for these trailing spaces should be found and eliminated.

  "git" has a "tool" to point out whitespace,
see for example "git-apply(1)" and git-config(1)")

-.-

  Not beginning each input sentence on a new line.

Line length and patch size should thus be reduced when that has been fixed.

  The script "reportbug" uses 'quoted-printable' encoding when a line is
longer than 1024 characters in an 'ascii' file.

  See man-pages(7), item "semantic newline".

-.-

The difference between the formatted output of the original
and patched file can be seen with:

  nroff -mandoc <file1> > <out1>
  nroff -mandoc <file2> > <out2>
  diff -d -u <out1> <out2>

and for groff, using

\"printf '%s\n%s\n' '.kern 0' '.ss 12 0' | groff -mandoc -Z - \"

instead of 'nroff -mandoc'

  Add the option '-t', if the file contains a table.

  Read the output from 'diff -d -u ...' with 'less -R' or similar.

-.-.

  If 'man' (man-db) is used to check the manual for warnings,
the following must be set:

  The option "-warnings=w"

  The environmental variable:

export MAN_KEEP_STDERR=yes (or any non-empty value)

  or

  (produce only warnings):

export MANROFFOPT="-ww -b -z"

export MAN_KEEP_STDERR=yes (or any non-empty value)

-.-

Reply via email to