This is Gentoo's testing wiki. It is a non-operational environment and its textual content is outdated.
Please visit our production wiki at https://wiki.gentoo.org
Talk:Fglrx Quick Switch
From Gentoo Wiki (test)
Note
This is a talk page. Please add newer comments below older ones, and sign your comments using four tildes (
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
#!/bin/sh depend() { need localmount before xdm } if [[ $(lsmod|grep radeon) == '' ]] ; then if [[ $(eselect opengl show) != ati ]] ; then eselect opengl set ati &>/dev/null fi if [ -f /etc/X11/fglrx.conf ] ; then mv /etc/X11/fglrx.conf /etc/X11/xorg.conf fi else if [ -f /etc/X11/xorg.conf ] ; then mv /etc/X11/xorg.conf /etc/X11/fglrx.conf fi if [[ $(eselect opengl show) != xorg-x11 ]] ; then eselect opengl set xorg-x11 &>/dev/null fi fi
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)