Results 1 to 5 of 5

Thread: Fast switch between fglrx and radeon

  1. #1
    Join Date
    Oct 2007
    Location
    São Paulo, Brazil
    Beans
    30
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Fast switch between fglrx and radeon

    Hey,

    I currently play 3d games better with fglrx driver, still I need EXA acceleration with some tools, that`s only available with radeon driver for my video card... Besides 2d performance also seems better with radeon driver.

    Every time I need to switch between fglrx and radeon I purge the fglrx driver (because radeon driver don`t load as long as fglrx is installed) and copy a xorg.conf file to the /etc/X11... (lame)
    To switch back to fglrx I reinstall it from the deb package and copy another xorg.conf file to /etc/X11. (even lamer)

    What I want is a fast way to switch between the two drivers...
    Is there any way to write a script able to switch between the drivers without using purge & dkpg -i (or even using it if there is no better solution)?
    How about two entries in the grub menu (one for fglrx, other for radeon)?

    Thanks in advance,
    Anthony Accioly

  2. #2
    Join Date
    Oct 2007
    Location
    São Paulo, Brazil
    Beans
    30
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Fast switch between fglrx and radeon

    Anyone got a solution / suggestion?
    Anthony Accioly

  3. #3
    Join Date
    Sep 2007
    Beans
    8

    Re: Fast switch between fglrx and radeon

    Apologies for the gravedig, but I need this as well. Any suggestions?

  4. #4
    Join Date
    Jan 2008
    Beans
    11

    Re: Fast switch between fglrx and radeon

    I could use this too...

  5. #5
    Join Date
    Mar 2009
    Beans
    4

    Re: Fast switch between fglrx and radeon

    well, i haven't tried this myself, but it's probably not that hard to write a script to rename the files.

    i would try have to xorg.conf files, let's call them:

    /etc/X11/xorg.conf.radeon
    /etc/X11/xorg.conf.fglrx

    with the obvious contents. we'll use symlinks to switch between them. a script that contained:

    mv /usr/lib/xorg/modules/drivers//fglrx_drv.so \
    /usr/lib/xorg/modules/drivers//fglrx_drv.so-sav
    rm /etc/X11/xorg.conf
    ln -s xorg.conf.radeon /etc/X11/xorg.conf

    would be enough to setup your radeon config. to switch to fglrx you could have:

    mv /usr/lib/xorg/modules/drivers//fglrx_drv.so-sav \
    /usr/lib/xorg/modules/drivers//fglrx_drv.so
    rm /etc/X11/xorg.conf
    ln -s xorg.conf.fglrx /etc/X11/xorg.conf

    after running the appropriate script, you can logout to restart the X server (i think), or cause it to restart by pressing Ctrl+Alt+Backspace (at the same time). note that any open windows will close when you do this.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •