Debian Bug report logs - #504692
nvidia-xconfig doesn't handle xorg.conf files generated by dexconf

version graph

Package: nvidia-xconfig; Maintainer for nvidia-xconfig is Debian NVIDIA Maintainers <pkg-nvidia-devel@lists.alioth.debian.org>; Source for nvidia-xconfig is src:nvidia-xconfig.

Reported by: Filipus Klutiero <chealer@gmail.com>

Date: Thu, 6 Nov 2008 09:15:02 UTC

Severity: normal

Tags: upstream

Found in version nvidia-xconfig/1.0+20080522-2

Fix blocked by 589512: xorg.conf(5) is more strict than X or dexconf

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian X Strike Force <debian-x@lists.debian.org>:
Bug#504692; Package xserver-xorg. (Thu, 06 Nov 2008 09:15:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Filipus Klutiero <chealer@gmail.com>:
New Bug report received and forwarded. Copy sent to Debian X Strike Force <debian-x@lists.debian.org>. (Thu, 06 Nov 2008 09:15:05 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Filipus Klutiero <chealer@gmail.com>
To: submit@bugs.debian.org
Subject: [xserver-xorg] dexconf generates invalid files
Date: Thu, 6 Nov 2008 04:13:18 -0500
Package: xserver-xorg
Version: 1:7.3+18
Severity: important

The files generated by dexconf contain a Device section with no Driver entry.

When nvidia-xconfig is used with an invalid xorg.conf, the xorg.conf is  
ignored (except for being backed up) and a new file is written from scratch 
without prompting. This loses the keyboard settings from the 
dexconf-generated xorg.conf.




Information forwarded to debian-bugs-dist@lists.debian.org, Debian X Strike Force <debian-x@lists.debian.org>:
Bug#504692; Package xserver-xorg. (Thu, 06 Nov 2008 13:39:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Julien Cristau <jcristau@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian X Strike Force <debian-x@lists.debian.org>. (Thu, 06 Nov 2008 13:39:03 GMT) Full text and rfc822 format available.

Message #10 received at 504692@bugs.debian.org (full text, mbox):

From: Julien Cristau <jcristau@debian.org>
To: Filipus Klutiero <chealer@gmail.com>, 504692@bugs.debian.org
Subject: Re: Bug#504692: [xserver-xorg] dexconf generates invalid files
Date: Thu, 6 Nov 2008 14:35:38 +0100
reassign 504692 nvidia-xconfig
kthxbye

On Thu, Nov  6, 2008 at 04:13:18 -0500, Filipus Klutiero wrote:

> Package: xserver-xorg
> Version: 1:7.3+18
> Severity: important
> 
> The files generated by dexconf contain a Device section with no Driver entry.
> 
There's nothing invalid about that.

Cheers,
Julien




Bug reassigned from package `xserver-xorg' to `nvidia-xconfig'. Request was from Julien Cristau <jcristau@debian.org> to control@bugs.debian.org. (Thu, 06 Nov 2008 13:39:04 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Debian NVIDIA Maintainers <pkg-nvidia-devel@lists.alioth.debian.org>:
Bug#504692; Package nvidia-xconfig. (Sun, 20 Sep 2009 01:00:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Vincent Lefevre <vincent@vinc17.org>:
Extra info received and forwarded to list. Copy sent to Debian NVIDIA Maintainers <pkg-nvidia-devel@lists.alioth.debian.org>. (Sun, 20 Sep 2009 01:00:03 GMT) Full text and rfc822 format available.

Message #17 received at 504692@bugs.debian.org (full text, mbox):

From: Vincent Lefevre <vincent@vinc17.org>
To: 504692@bugs.debian.org
Cc: control@bugs.debian.org
Subject: bug #504692 - improved title
Date: Sun, 20 Sep 2009 02:55:20 +0200
retitle 504692 nvidia-xconfig doesn't handle xorg.conf files generated by dexconf
found 504692 nvidia-xconfig/1.0+20080522-2
thanks

-- 
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)




Changed Bug title to 'nvidia-xconfig doesn't handle xorg.conf files generated by dexconf' from '[xserver-xorg] dexconf generates invalid files' Request was from Vincent Lefevre <vincent@vinc17.org> to control@bugs.debian.org. (Sun, 20 Sep 2009 01:00:05 GMT) Full text and rfc822 format available.

Bug Marked as found in versions nvidia-xconfig/1.0+20080522-2. Request was from Vincent Lefevre <vincent@vinc17.org> to control@bugs.debian.org. (Sun, 20 Sep 2009 01:00:05 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Debian NVIDIA Maintainers <pkg-nvidia-devel@lists.alioth.debian.org>:
Bug#504692; Package nvidia-xconfig. (Tue, 13 Jul 2010 08:54:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andreas Beckmann <debian@abeckmann.de>:
Extra info received and forwarded to list. Copy sent to Debian NVIDIA Maintainers <pkg-nvidia-devel@lists.alioth.debian.org>. (Tue, 13 Jul 2010 08:54:02 GMT) Full text and rfc822 format available.

Message #26 received at 504692@bugs.debian.org (full text, mbox):

From: Andreas Beckmann <debian@abeckmann.de>
To: Filipus Klutiero <chealer@gmail.com>, control@bugs.debian.org
Cc: 504692@bugs.debian.org
Subject: Re: [xserver-xorg] dexconf generates invalid files
Date: Tue, 13 Jul 2010 10:51:35 +0200
tags 504692 moreinfo
thanks

On Thursday, 6. November 2008 10:13:18 Filipus Klutiero wrote:
> When nvidia-xconfig is used with an invalid xorg.conf, the xorg.conf is
> ignored (except for being backed up) and a new file is written from scratch
> without prompting. This loses the keyboard settings from the
> dexconf-generated xorg.conf.

Is this problem still present in the current version (195.36.31-1)? If it is 
reproducible, can you provide an example xorg.conf file?


Andreas




Added tag(s) moreinfo. Request was from Andreas Beckmann <debian@abeckmann.de> to control@bugs.debian.org. (Tue, 13 Jul 2010 08:54:06 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Debian NVIDIA Maintainers <pkg-nvidia-devel@lists.alioth.debian.org>:
Bug#504692; Package nvidia-xconfig. (Tue, 13 Jul 2010 15:21:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Filipus Klutiero <chealer@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian NVIDIA Maintainers <pkg-nvidia-devel@lists.alioth.debian.org>. (Tue, 13 Jul 2010 15:21:03 GMT) Full text and rfc822 format available.

Message #33 received at 504692@bugs.debian.org (full text, mbox):

From: Filipus Klutiero <chealer@gmail.com>
To: 504692@bugs.debian.org
Subject: Re: [xserver-xorg] dexconf generates invalid files
Date: Tue, 13 Jul 2010 11:19:27 -0400
On 2010-07-13 04:51, Andreas Beckmann wrote:
> tags 504692 moreinfo
> thanks
>
> On Thursday, 6. November 2008 10:13:18 Filipus Klutiero wrote:
>    
>> When nvidia-xconfig is used with an invalid xorg.conf, the xorg.conf is
>> ignored (except for being backed up) and a new file is written from scratch
>> without prompting. This loses the keyboard settings from the
>> dexconf-generated xorg.conf.
>>      
> Is this problem still present in the current version (195.36.31-1)? If it is
> reproducible, can you provide an example xorg.conf file?
>    
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.




Information forwarded to debian-bugs-dist@lists.debian.org, Debian NVIDIA Maintainers <pkg-nvidia-devel@lists.alioth.debian.org>:
Bug#504692; Package nvidia-xconfig. (Tue, 13 Jul 2010 17:51:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andreas Beckmann <debian@abeckmann.de>:
Extra info received and forwarded to list. Copy sent to Debian NVIDIA Maintainers <pkg-nvidia-devel@lists.alioth.debian.org>. (Tue, 13 Jul 2010 17:51:04 GMT) Full text and rfc822 format available.

Message #38 received at 504692@bugs.debian.org (full text, mbox):

From: Andreas Beckmann <debian@abeckmann.de>
To: Filipus Klutiero <chealer@gmail.com>
Cc: 504692@bugs.debian.org
Subject: Re: Bug#504692: dexconf generates invalid files
Date: Tue, 13 Jul 2010 19:48:04 +0200
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.


Andreas




Information forwarded to debian-bugs-dist@lists.debian.org, Debian NVIDIA Maintainers <pkg-nvidia-devel@lists.alioth.debian.org>:
Bug#504692; Package nvidia-xconfig. (Tue, 13 Jul 2010 18:57:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Filipus Klutiero <chealer@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian NVIDIA Maintainers <pkg-nvidia-devel@lists.alioth.debian.org>. (Tue, 13 Jul 2010 18:57:03 GMT) Full text and rfc822 format available.

Message #43 received at 504692@bugs.debian.org (full text, mbox):

From: Filipus Klutiero <chealer@gmail.com>
To: 504692@bugs.debian.org
Subject: Re: Bug#504692: dexconf generates invalid files
Date: Tue, 13 Jul 2010 14:54:58 -0400
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.
>
>
> Andreas
>    
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.




Information forwarded to debian-bugs-dist@lists.debian.org, Debian NVIDIA Maintainers <pkg-nvidia-devel@lists.alioth.debian.org>:
Bug#504692; Package nvidia-xconfig. (Sun, 18 Jul 2010 11:30:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andreas Beckmann <debian@abeckmann.de>:
Extra info received and forwarded to list. Copy sent to Debian NVIDIA Maintainers <pkg-nvidia-devel@lists.alioth.debian.org>. (Sun, 18 Jul 2010 11:30:02 GMT) Full text and rfc822 format available.

Message #48 received at 504692@bugs.debian.org (full text, mbox):

From: Andreas Beckmann <debian@abeckmann.de>
To: 504692@bugs.debian.org
Subject: Re: Bug#504692: dexconf generates invalid files
Date: Sun, 18 Jul 2010 13:27:18 +0200
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
thanks

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.


Andreas




Removed tag(s) moreinfo. Request was from Andreas Beckmann <debian@abeckmann.de> to control@bugs.debian.org. (Sun, 18 Jul 2010 12:06:09 GMT) Full text and rfc822 format available.

Severity set to 'normal' from 'important' Request was from Andreas Beckmann <debian@abeckmann.de> to control@bugs.debian.org. (Sun, 18 Jul 2010 12:06:09 GMT) Full text and rfc822 format available.

Bug 504692 cloned as bug 589512. Request was from Andreas Beckmann <debian@abeckmann.de> to control@bugs.debian.org. (Sun, 18 Jul 2010 12:06:09 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Debian NVIDIA Maintainers <pkg-nvidia-devel@lists.alioth.debian.org>:
Bug#504692; Package nvidia-xconfig. (Fri, 28 Jan 2011 13:09:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to Cyril Brulebois <kibi@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian NVIDIA Maintainers <pkg-nvidia-devel@lists.alioth.debian.org>. (Fri, 28 Jan 2011 13:09:06 GMT) Full text and rfc822 format available.

Message #59 received at 504692@bugs.debian.org (full text, mbox):

From: Cyril Brulebois <kibi@debian.org>
To: Andreas Beckmann <debian@abeckmann.de>, 504692@bugs.debian.org, 589512@bugs.debian.org
Subject: Re: Bug#504692: dexconf generates invalid files
Date: Fri, 28 Jan 2011 14:04:43 +0100
[Message part 1 (text/plain, inline)]
tag 589512 upstream
found 589512 2:1.9.3.901-1
thanks

Hi Andreas.

Andreas Beckmann <debian@abeckmann.de> (18/07/2010):
> 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.

Ditto for experimental:
| $ cat /etc/X11/xorg.conf
| Section "Device"
| 	Identifier "foo"
| EndSection

> 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).

Upstream:
| $ git describe
| xorg-server-1.9.99.901-94-g6358a60
| $ git grep -C 4 'required in all' -- ./hw/xfree86/doc/man/xorg.conf.man.pre|tail
|  
| --
| hw/xfree86/doc/man/xorg.conf.man.pre-The
| hw/xfree86/doc/man/xorg.conf.man.pre-.B Identifier
| hw/xfree86/doc/man/xorg.conf.man.pre-and
| hw/xfree86/doc/man/xorg.conf.man.pre-.B Driver
| hw/xfree86/doc/man/xorg.conf.man.pre:entries are required in all
| hw/xfree86/doc/man/xorg.conf.man.pre-.B Device
| hw/xfree86/doc/man/xorg.conf.man.pre-sections.  All other entries are optional.
| hw/xfree86/doc/man/xorg.conf.man.pre-.PP
| hw/xfree86/doc/man/xorg.conf.man.pre-The

> 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.

(as always?) better trust the code.

KiBi.
[signature.asc (application/pgp-signature, inline)]

Added tag(s) upstream. Request was from Andreas Beckmann <debian@abeckmann.de> to control@bugs.debian.org. (Mon, 08 Aug 2011 15:57:11 GMT) Full text and rfc822 format available.

Added blocking bug(s) of 504692: 589512 Request was from Andreas Beckmann <debian@abeckmann.de> to control@bugs.debian.org. (Tue, 04 Oct 2011 10:45:06 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Apr 20 04:12:18 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.