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
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
|
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
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
if you want to use such a file is up to you. just rename it back to 20-nvidia.conf
Not to hijack the bug report, but nvidia-173xx-utils still ships with 20-nvidia.conf - is it OK?
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.
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