I want to use the vgaswitcheroo script without loging out and again in from x server. I have a Asus B53-J with an Intel integraded GPU and an ATI Mobility Radeon HD5470 graphic.
I used the description here.
Everything worked normal, the only problem I had was, that there was no "exit 0" line in
/etc/init.d/rc.local so I just added the line
chown USERNAME /sys/kernel/debug/vgaswitcheroo/switch
Now the script does not work. If I click it the window opens with option to select Intel or ATI graphiccard. But if I click one button, nothing happens. I suppose the problem is, that I do not have permission to
/sys/kernel/debug/vgaswitcheroo/switch because if I start the script with sudo there is at least a pop up message, that the script will now change to ATI graphics. But still nothing happens.
Any ideas what's wrong?