{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/6954","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/6954/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/6954/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/6954/events","html_url":"https://github.com/NixOS/nixpkgs/issues/6954","id":63795761,"number":6954,"title":"ati_unfree: /etc/ati/amdpcsdb cannot be created or modified","user":{"login":"svenkeidel","id":266500,"avatar_url":"https://avatars.githubusercontent.com/u/266500?v=3","gravatar_id":"","url":"https://api.github.com/users/svenkeidel","html_url":"https://github.com/svenkeidel","followers_url":"https://api.github.com/users/svenkeidel/followers","following_url":"https://api.github.com/users/svenkeidel/following{/other_user}","gists_url":"https://api.github.com/users/svenkeidel/gists{/gist_id}","starred_url":"https://api.github.com/users/svenkeidel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svenkeidel/subscriptions","organizations_url":"https://api.github.com/users/svenkeidel/orgs","repos_url":"https://api.github.com/users/svenkeidel/repos","events_url":"https://api.github.com/users/svenkeidel/events{/privacy}","received_events_url":"https://api.github.com/users/svenkeidel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"pSub","id":83842,"avatar_url":"https://avatars.githubusercontent.com/u/83842?v=3","gravatar_id":"","url":"https://api.github.com/users/pSub","html_url":"https://github.com/pSub","followers_url":"https://api.github.com/users/pSub/followers","following_url":"https://api.github.com/users/pSub/following{/other_user}","gists_url":"https://api.github.com/users/pSub/gists{/gist_id}","starred_url":"https://api.github.com/users/pSub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pSub/subscriptions","organizations_url":"https://api.github.com/users/pSub/orgs","repos_url":"https://api.github.com/users/pSub/repos","events_url":"https://api.github.com/users/pSub/events{/privacy}","received_events_url":"https://api.github.com/users/pSub/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-03-23T18:23:47Z","updated_at":"2015-10-26T18:17:44Z","closed_at":null,"body":"The unfree ATI driver maintains a configuration file that is used to store settings for the graphic card. The file in question is `/etc/ati/amdpcsdb`. The problem is, the nix package for the unfree ATI driver symlinks the whole `.../etc/ati` directory from the nix store to the `/etc` directory, i.e. `/etc/ati/amdpcsdb` cannot be created or modified. One possible solution would be to generate the file from Nix configuration options, but if you take a look at its template file `/etc/ati/amdpcsdb.default`, you really don't want to do that. The way `amdpcsdb` can be created and modified is with the tool `amdcccle` that is included in the package.\r\n\r\nSo my suggestion is to copy the whole `/ati` configuration directory to `/etc` such that `amdcccle` can  apply modifications to this file. I know, this is not the Nix way to do things, but if you have a better idea, I'm happy to hear it. @MarcWeber, @offlinehacker, @geerds, what do you suggest?\r\n\r\nBest,\r\nSven"},"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments/151235240","html_url":"https://github.com/NixOS/nixpkgs/issues/6954#issuecomment-151235240","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/6954","id":151235240,"user":{"login":"blueberry","id":105764,"avatar_url":"https://avatars.githubusercontent.com/u/105764?v=3","gravatar_id":"","url":"https://api.github.com/users/blueberry","html_url":"https://github.com/blueberry","followers_url":"https://api.github.com/users/blueberry/followers","following_url":"https://api.github.com/users/blueberry/following{/other_user}","gists_url":"https://api.github.com/users/blueberry/gists{/gist_id}","starred_url":"https://api.github.com/users/blueberry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blueberry/subscriptions","organizations_url":"https://api.github.com/users/blueberry/orgs","repos_url":"https://api.github.com/users/blueberry/repos","events_url":"https://api.github.com/users/blueberry/events{/privacy}","received_events_url":"https://api.github.com/users/blueberry/received_events","type":"User","site_admin":false},"created_at":"2015-10-26T18:17:44Z","updated_at":"2015-10-26T18:17:44Z","body":"Is there anyone that has multiple monitors and/or multiple GPUs setup? I tried everything possible that I could find, but couldn't make it work. On Arch, I had it set up through amdcccle. I suspect this is because of amdpcsdb but am not sure... Anyone knows how to enable multiple cards?"}}