Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#25235 - User-made 20-nvidia.conf moved by the system update.

Attached to Project: Arch Linux
Opened by Tomasz Jędrzejewski (Zyx) - Saturday, 23 July 2011, 12:55 GMT
Last edited by Ionut Biru (wonder) - Sunday, 24 July 2011, 09:14 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I've made a system update. After restarting the computer, I noticed that X.org and KDE do not work correctly: the second display was blank and only the wallpaper was displayed, without any windows, panels, etc. Examining the logs showed me that there is a problem with the configuration. Precisely, the update procedure modified my Nvidia configuration file /etc/X11/xorg.conf/20-nvidia.conf by moving it to 20-nvidia.conf.pacsave, so X.org could not find it. No file was created in the place of the moved one. In addition, another file 20-nvidia.conf.pacnew was created. Pacman and the packages should not touch the user-made configuration files, so I consider it as a bug. Unfortunately, I do not know which package caused the problem.

Packages after updating:
- pacman 3.5.3-1
- xorg-server 1.10.3-1
- nvidia 275.21-1

Steps to reproduce:

1. get an older version of the system,
2. create /etc/X11/xorg.conf/20-nvidia.conf file,
3. update the system,
4. restart the system.
This task depends upon

Closed by  Ionut Biru (wonder)
Sunday, 24 July 2011, 09:14 GMT
Reason for closing:  Not a bug
Additional comments about closing:  just rename back the file to keep your setup working
Comment by Gaetan Bisson (vesath) - Saturday, 23 July 2011, 15:54 GMT
/etc/X11/xorg.conf/20-nvidia.conf belongs to nvidia; user-made configuration files should have a different name.
Comment by Ionut Biru (wonder) - Saturday, 23 July 2011, 20:06 GMT
20-nvidia.conf was dropped couples of versions ago because is not needed anymore. our xorg can autoload nvidia now.

if you want to use such a file is up to you. just rename it back to 20-nvidia.conf
Comment by Karol Błażewicz (karol) - Saturday, 23 July 2011, 20:12 GMT
@wonder
Not to hijack the bug report, but nvidia-173xx-utils still ships with 20-nvidia.conf - is it OK?
Comment by Ionut Biru (wonder) - Saturday, 23 July 2011, 20:18 GMT
i'll drop that out when a new version is released
Comment by Tomasz Jędrzejewski (Zyx) - Sunday, 24 July 2011, 07:42 GMT
> user-made configuration files should have a different name.

Why? I have always thought that the purpose of configuration files is to be editable by the users, so that they can configure the system for their needs... Otherwise, it is not a configuration file and should not reside in /etc.

Yes, after running the system I noticed that Xorg can autoload this driver, but it fails on detecting more sophisticated configurations. In my case, it did not detect that I have two displays that work in a TwinView mode, which broke KDE (it seems that it has some problems with running correctly, if the user has a desktop configuration for two displays and only one is set up by Nvidia). This is why I need a customized file.

So:

1. If this file is not needed anymore, the package should not depend on it and rename, if it already exists. It is annoying.
2. It should be documented.
Comment by Ionut Biru (wonder) - Sunday, 24 July 2011, 07:50 GMT
@Tomasz you think that I(packagers) did something

1) pacman saved the file just because YOU modified the config and added additional configs. If the file wasn't touched, pacman had just deleted that file.
2) man pacman and read HANDLING CONFIG FILES

Loading...