Talk:Fglrx Quick Switch

From Gentoo Wiki
Jump to: navigation, search
This is a talk page. Please add newer comments below older ones, and sign your comments using four tildes (~~~~). When adding a new section (at the bottom of the page), please mark it as "open for discussion" by using {{talk|open}} so it will show up in the list of open discussions.

xserverrc solution to switch config files and opengl profiles

is a pain, it doesn't work correctly with most display managers and eselect requires proper privilegies, so you can't start X with a scripts like startx with it. I've changed a script from Nouveau_&_nvidia-drivers_switching article to work with ati & radeon drivers (and patched grub.d files):

FILE /etc/local.d/radeon.start
depend() {
       need localmount
       before xdm

if [[ $(lsmod|grep radeon) == '' ]] ; then
       if [[ $(eselect opengl show) != ati ]] ; then
               eselect opengl set ati &>/dev/null
       if [ -f /etc/X11/fglrx.conf ] ; then
               mv /etc/X11/fglrx.conf /etc/X11/xorg.conf
       if [ -f /etc/X11/xorg.conf ] ; then
               mv /etc/X11/xorg.conf /etc/X11/fglrx.conf 
       if [[ $(eselect opengl show) != xorg-x11 ]] ; then
               eselect opengl set xorg-x11 &>/dev/null

which is more universal in a way, but i have no idea what to do with cards that require older xserver (as i have none). Any suggestions? That guy (talk) 07:57, 31 July 2013 (UTC)

xorg-server-1.12.4 is no longer in portage

xorg-server-1.12.4 is no longer in portage according to Nabster (talk) 12:06, 1 December 2018 (UTC)