LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-24-2007, 11:16 PM   #1
scubanator87
Member
 
Registered: Jun 2007
Posts: 39

Rep: Reputation: Disabled
fglrx and ati/radeon


I have a buddy whom I converted not to many months ago pose me a question that I just didn't have a clue if it could be done.

He wanted to know if you could possibly have both a working fglrx configuration in xorg and a working ati/radeon configuration and just switch between the two.

If you wanted to play something like TC:E you could just activate the fglrx driver.

If you wanted to show off beryl/compiz with aiglx just activate the ati/radeon driver.

I know they each load their own module to the kernel but would it be possible to have both loaded and just use one or possibly tell the kernel on boot (in grub) which kernel to pick?

His original question is as follows:

"i need you to figure out how i can have one session that has flgrx enabled and one with open source driver and aigx enabled."
 
Old 06-25-2007, 12:02 AM   #2
Findus
Member
 
Registered: Nov 2006
Distribution: Fedora 8
Posts: 64

Rep: Reputation: 15
Please note that I don't know much about xorg.conf editing, and I am still learning Linux, so I am just posting this to try and help you along the way. This is what I thought might be possible when I read your post.

It might be a solution to write two different xorg.confs, and then switch between using them by renaming them, so that at any given point you have one xorg.conf.radeon and one xorg.conf.fglrx. You would then use one of them by renaming it to just xorg.conf, and restarting your xserver.

I don't know how efficient this is, or how well it would work, but at least it is some thoughts on the subject that may help you along.

- Delphi
 
Old 06-25-2007, 09:31 AM   #3
scubanator87
Member
 
Registered: Jun 2007
Posts: 39

Original Poster
Rep: Reputation: Disabled
Well i thought of that. But My experience with installing the fglrx is that it didn't really work that well cause to use the mesa based ati/redeon driver always needed an install then reboot first. Then on reboot the old drivers modules would be removed.

Would it then be possible to make a script to load or unload modules without having to reinstall each?
 
Old 08-07-2007, 12:15 AM   #4
UhhMaybe
Member
 
Registered: Jul 2004
Location: Salt Lake City, Utah
Distribution: Absolute 12.0 Studio 64 1.3.0
Posts: 470

Rep: Reputation: 30
Cool

If YOU need to reboot YOUR system after changing the Kernel modules, then the shell scripts need to be set to the files that the system knows are Not temporary. So the shell scripts do Not need to be repeated. If the Kernel is loading the modules; one ATI module per reboot, it should work. If it were me, I'd use two Distro's in the same Linux Box.
 
Old 08-07-2007, 12:40 AM   #5
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Yes, that should be possible. You would have to switch drivers und the device section of xorg.conf (radeon to flgrx or the other way round) and then hit ctrl + alt + backspace). It's a bit inconvenient but it generally works; having a script would make it more convenient, of course.
 
Old 08-07-2007, 12:13 PM   #6
scubanator87
Member
 
Registered: Jun 2007
Posts: 39

Original Poster
Rep: Reputation: Disabled
Hmm

Well if you were able to install 2 distros say on 2 different partitions could they use the same home dir?

And just switching the drivers in the xorg.conf then restarting the xserver wont work since i have already tried that.
 
Old 08-07-2007, 01:03 PM   #7
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Well, yes, but I wouldn't recommend it because the home directory contains some vital configuration files. Having two of the same OS most probably reduces the risk of running into conflicts but still wouldn't use a single home. What you can do as an alternative is leave home under / for both OSes and then make a separate data partition that will be shared by both. This partition can be made after installing but it can just as well be created during install: give it a mountpoint while installing the first, then use that same mountpoint while installing the second and tell the installer to preserve its contents. If you intend to use different OSes, things may get more complicated because they may assign different UIDs & GUIDs.

Btw, I'm surprised that simply restarting X didn't work. It works alright for me but maybe that's just another difference between ATI and Nvidia.
 
Old 08-15-2007, 11:17 PM   #8
thegoofeedude
Member
 
Registered: Aug 2004
Distribution: Slackware 13.37, 14.1
Posts: 70

Rep: Reputation: 16
I maintain two different xorg.conf files -- one uses the "fglrx" driver, and the other uses the driver "ati". I run dual monitors, and had trouble with fglrx using the second monitor correctly. So when I want to play a game, I just copy xorg.conf.fglrx to xorg.conf and restart X. Otherwise, I copy xorg.conf.ati to xorg.conf and restart X (and use both of my monitors.)
A bit clunky, but it works. ;-)
Good luck!
 
  


Reply

Tags
aiglx, ati, compiz, fglrx, radeon, xorg


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to enable ATI Radeon 9600Pro (fglrx) TV-out fb? Mitchua Linux - Hardware 1 08-16-2005 08:16 AM
ATI Radeon 9000, fglrx, ... ARRRGGGHHH!!! zZeta Linux - Hardware 4 01-03-2005 10:27 PM
ATI Radeon 9600XT and FGLRX - Only 640*480?!? andrewd18 Linux - Hardware 3 09-05-2004 11:11 PM
[ATI] fglrx vs dri-radeon <what is the diff?> carboncopy Slackware 1 06-18-2004 02:50 AM
Problem with fglrx: 2.6.1 and ati radeon 9000 firebolt Linux - Hardware 1 01-26-2004 01:19 AM


All times are GMT -5. The time now is 11:26 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration