[pkg-nvidia-devel] Bug#504692: dexconf generates invalid files

Andreas Beckmann debian at abeckmann.de
Sun Jul 18 11:27:18 UTC 2010

tags 504692 - moreinfo
severity 504692 normal
clone 504692 -1
reassign -1 xserver-xorg-core 2:1.7.7-2
retitle -1 xorg.conf(5) is more strict than X or dexconf

Cloning this bug back to xserver-xorg-core in order to document the
documentation discrepancy for xorg.conf.

According to xorg.conf(5), Device without Driver is not valid:

    The Identifier and Driver entries are required in all Device
    sections.  All other entries are optional.

But the xorg.conf created by dexconf (I could only get the lenny version
to actually output an xorg.conf) has a Device section without Driver and
X starts with this configuration without complaining about the missing
"required" entry. In squeeze, X starts with a manually generated
xorg.conf with a Device Section without a Driver line without problems
(or any errors in Xorg.0.log), too.

I don't know whether this liberalization was done by upstream or some
patch only applied in the Debian version (the autoconfiguration stuff?).
Anyway, the documentation needs to be updated (I don't expect a rollback).

As a result programs that parse xorg.conf more strictly (expecting it to
conform to xorg.conf(5)) break on this change and need to be updated.
One of these packages is nvidia-xconfig:

    VALIDATION ERROR: Data incomplete in file /etc/X11/xorg.conf.
                      Device section "Configured Video Device" must have
                      Driver line.


More information about the Pkg-nvidia-devel mailing list