nvidia-settings creates invalid xorg.conf

Bug #274866 reported by Frank Bob
6
Affects Status Importance Assigned to Milestone
nvidia-settings (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: nvidia-settings

I run kubuntu intrepid

I used nvidia-settings to setup dual screen. I set the TV as a "Separate X Screen" and saved the configuration to xorg.conf. Tried to restart X but it failed. Xorg log says

Parse error on line 13 of section Files in file /etc/X11/xorg.conf
 "RgbPath" is not a valid keyword in this section.

If I comment out the RgbPath line in xorg.conf, everything seems to work.

The root cause is that X.Org removed the RgbPath option in version 1.5
http://www.nvnews.net/vbulletin/showpost.php?p=1666354&postcount=4

I'm attaching the faulty xorg.conf and resulting xorg log

Revision history for this message
Frank Bob (frankbob) wrote :
Revision history for this message
Frank Bob (frankbob) wrote :
Revision history for this message
Alberto Milone (albertomilone) wrote :

Thanks for taking the time to report this problem.

I will see if NVIDIA has fixed this in newer releases of nvidia-settings (if they are available) otherwise I will fix its parser myself as I have already tracked down the problem.

Changed in nvidia-settings:
assignee: nobody → albertomilone
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
sh4wn (sh4wn) wrote :

Any updates on this? I tried to remove the RgbPath option, but then I get the same as this:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-173/+bug/273801

(The black screen on boot)

Revision history for this message
Alberto Milone (albertomilone) wrote :

Luke: a black screen can be caused by a number of problems. Feel free to file a new bug report against the nvidia driver.

Revision history for this message
Alberto Milone (albertomilone) wrote :
Changed in nvidia-settings:
assignee: albertomilone → nobody
status: Confirmed → New
Revision history for this message
StefanPotyra (sistpoty) wrote :

I assume you have thoroughly tested the new packages, correct?

Can you provide a debdiff against the current version, and a buildlog of the new version? Thanks.

Revision history for this message
Alberto Milone (albertomilone) wrote :

Yes, I have tested the new package and I can confirm that the parser doesn't even create a Files section any more. It looks good to me.

See the attached debdiff.

Revision history for this message
StefanPotyra (sistpoty) wrote :

ok, +1 from me.

(side note: can you readd the older debian/copyright (debian bug 494388) , adjusting it where necessary? Just found out that I accidantly dropped that with the last merge *cough*).

Revision history for this message
Alberto Milone (albertomilone) wrote :

Stefan: is the attached debdiff ok?

Revision history for this message
StefanPotyra (sistpoty) wrote :

from a glimpse, I believe the copyright years of NVIDIA should be updated (at least I think I saw some new dates somewhere). Maybe you could just grep for copyright and see if I'm right?

Others than that, it looks ok, but I didn't review it in depth (I was more interested in upstream changes when reviewing the original debdiff).

Revision history for this message
Alberto Milone (albertomilone) wrote :

all I can see with a grep in the source code is: Copyright (C) 2004 NVIDIA Corporation

I guess the date of the copyright is ok then.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nvidia-settings - 177.78-0ubuntu1

---------------
nvidia-settings (177.78-0ubuntu1) intrepid; urgency=low

  * New upstream release
    - Do not add RgbPath to the Files section of xorg.conf
      (LP: #274866)
  * debian/copyright:
    - Restore detailed version of the license (cf. debian #494388)

 -- Alberto Milone (tseliot) <email address hidden> Wed, 08 Oct 2008 18:24:16 +0200

Changed in nvidia-settings:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.