Talk:Fglrx Quick Switch

From Gentoo Wiki
Jump to:navigation Jump to:search
This is a Talk page - please see the documentation about using talk pages. Add newer comments below older ones, sign comments using four tildes (~~~~), and indent successive comments with colons (:). Add new sections at the bottom of the page, under a heading (== ==). Please remember to mark sections as "open for discussion" using {{talk|open}}, so they 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)