Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 337665

Summary: x11-drivers/ati-drivers fails updating /etc/ati/amdpcsdb
Product: Gentoo Linux Reporter: ScytheMan <scytheman666>
Component: New packagesAssignee: Luca Barbato <lu_zero>
Status: RESOLVED FIXED    
Severity: minor CC: gengor, m.debruijne, proxy-maint, x11
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.