[pkg-nvidia-devel] Bug#504692: dexconf generates invalid files
chealer at gmail.com
Tue Jul 13 18:54:58 UTC 2010
On 2010-07-13 13:48, Andreas Beckmann wrote:
> On Thursday, 6. November 2008 14:35:38 Julien Cristau wrote:
>> On Thu, Nov 6, 2008 at 04:13:18 -0500, Filipus Klutiero wrote:
>>> The files generated by dexconf contain a Device section with no
>>> Driver entry.
>> There's nothing invalid about that.
> 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.
> On 2010-07-13 17:19, Filipus Klutiero wrote:
>> Hi Andreas,
>> the problem is not in nvidia-xconfig, but in dexconf, which generates
>> invalid xorg.conf files, as the original report indicates. I would
>> consider the current form of this bug report as invalid, nvidia-xconfig
>> is not doing anything wrong.
> I can't get dexconf to produce any xorg.conf at all, it always exits
> with exit code 10 (undocumented). So I can't reproduce the original bug.
> If we manage to reproduce the bug, and Xorg emits errors about the
> invalid config, I'd like to reassign it back to Xorg.
> ... later ...
> Just tried it in a lenny chroot, too, and there I get a Device section
> without Driver. The xorg.conf from dexconf is identical to the
> originally installed one and Xorg starts (via startx, it's a minimal
> pbuilder chroot with just xserver-xorg and xorg added) without
> complaining about the missing Device entry. So xorg.conf(5) does not
> seem to be correct about the requirement of Device in Driver.
> Running nvidia-xconfig, both versions from lenny and unstable, I get the
> error meassage:
> VALIDATION ERROR: Data incomplete in file /etc/X11/xorg.conf.
> Device section "Configured Video Device" must have
> Driver line.
> So this seems to be nvidia-xconfig's fault not to accept the file while
> Xorg does.
In the end, X maintainers need to decide what is wrong; dexconf, or the
X documentation. If they decide that Debian is going to diverge from
standard X in its xorg.conf format, I expect they will adapt the
documentation and provide a patch for nvidia-xconfig to be able to cope
with files which are invalid by the standard format.
More information about the Pkg-nvidia-devel