Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 337665 - x11-drivers/ati-drivers fails updating /etc/ati/amdpcsdb
Summary: x11-drivers/ati-drivers fails updating /etc/ati/amdpcsdb
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-16 16:30 UTC by ScytheMan
Modified: 2015-07-10 17:15 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ScytheMan 2010-09-16 16:30:31 UTC
Updating x11-drivers/ati-drivers doesn't update amdpcsdb, only amdpcsdb.default.

This results in displaying the wrong version number in amdcccle.
Comment 1 Enrico Tagliavini 2010-09-25 15:52:09 UTC
i think the problem is different. i just tried to copy amdpcsdb.default over amdpcsdb but at reboot i got no changes, so i think fglrx rewrites the file at xorg (or kernel) shutdown, so this can't be fixed easly

It might be just more simple to update it manually may be
Comment 2 ScytheMan 2010-09-25 17:02:37 UTC
the problem is, as you said, you can only update it if X isn't running, otherwise fglrx will write the amdpcsdb it used back after shutting X down.

i don't know if fglrx stores information changeable by amdcccle there, but if it doesn't maybe we can protect (with chmod?) it from getting changed by fglrx?


$ ls -la /etc/ati/amdpcsdb
-rw-r--r-- 1 root root 23162 25. Sep 18:51 /etc/ati/amdpcsdb



Comment 3 Enrico Tagliavini 2010-09-26 09:58:27 UTC
If we remove the write permission then aticonfig may complain about this since it needs to write to that file, the same is true for the fglrx driver. They might also be able to restore the write permission may be, so this doesn't sounds a good solution for me.

A better solution might be calling aticonfig and tell it to update the database, but it doesn't seems to be able to do this (we might request this features maybe?).

For sure we can at least use aticonfig to update the version number, but i don't like this very much to. If someone has a better idea is welcome :)
Comment 4 Manuel Rüger (RETIRED) gentoo-dev 2015-07-10 17:15:49 UTC
amdccle seems to report the correct number now.