LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-27-2009, 09:32 AM   #1
mr3d
LQ Newbie
 
Registered: Jun 2009
Posts: 7

Rep: Reputation: 0
How can I try different video drivers safely?


Hi!

I've got FC11 installed on my new laptop, and it has an ATI 4570. So I already tried installing the official drivers unsuccessfully, and didn't know how to "go back in time" while booting in mode 3. Result: format.

So, searching I found some possible drivers which might work, but I want to know how to "play with fire" safely.

What options do I have? I thought of using some sort of system backup tool, to make an image which I could use to recover the system in case I screw up. Is there some easy tool with a nice gui I could use?
How do you people try a new video driver?
Do I have to uninstall the previous one?
How do I know which one is installed?

Thanks in advance
 
Old 06-27-2009, 10:08 AM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
I would use a live CD to create an image of the installed system. Partimage can make an image of a partition and save it in a file in a different partition on the same drive or on a different drive.

So let's say that you've just installed and configured FC on /dev/sda1. Let's also say that you have a formatted partition on /dev/sda2. You can boot a live CD that has partimage, mount /dev/sda2 on some directory such as /mnt/backup, and use partimage to create the image of /dev/sda1 into a file on /mnt/backup.

Partimage runs in a terminal. If you start partimage without any parameters it will run in menu driven mode. I find this much easier than trying to create a string of parameters for partimage.

Last edited by stress_junkie; 06-27-2009 at 10:10 AM.
 
Old 06-27-2009, 10:12 AM   #3
kandiru
Member
 
Registered: Mar 2009
Location: Genoa, Italy
Distribution: Slackware
Posts: 33

Rep: Reputation: 16
Hello,

when I made some test with my videocard, I did the following:

I copied my xorg.conf file (that worked right) as xorg.conf.ok file.
I modified the xorg.conf to make it load the new driver and tested it.
If the test fails and you don't have the X11 working, just rename the bad xorg.conf as xorg.conf.bad, copy xorg.conf.ok as the new xorg.conf and reboot: you'll find your X server working again, so you can modify the file and try another configuration.

Hope this can help you

Bye

David
 
Old 06-27-2009, 10:23 AM   #4
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
To add to kandiru:
If a change fails, you can always use the key combination <ctrl><alt><Fn> (where n is usually a number between 1 and 6) to get to a console where you can login and copy the backup back over the 'faulty' xorg.conf; note that you need to be root or use sudo to modify or overwrite xorg.conf.
Next you can get back to the graphical environment (even if it gives a black screen or whatever) with <ctrl><alt><F7> and restart the Xserver with the combination <ctrl><alt><backspace>.
 
Old 06-27-2009, 10:46 AM   #5
mr3d
LQ Newbie
 
Registered: Jun 2009
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks! I'll try everything.
 
Old 06-27-2009, 10:47 AM   #6
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
Plus don't forget:

If you have a working X session and you don't want to risk killing it, then change the driver you are using and then in a console, type startx -- :1 and you will be testing the new configuration in a new X session; if it fails or gives no picture, use CTRL-ALT-F7 to get back to your running session. On the other hand if it works fine, you can log-out of the new session and next time you restart X or reboot, the change will be in effect.


Good luck,
Sasha
 
Old 06-27-2009, 11:27 AM   #7
mr3d
LQ Newbie
 
Registered: Jun 2009
Posts: 7

Original Poster
Rep: Reputation: 0
Thank you for your responses

First of all. Where is this Xorg.conf file? I have fedora 11 installed. Could it be that I have to generate this file first? I read some instructions for FC10 and I managed to find xorg.conf.new in my root home folder. Then if I backup this file is it going to be enough?

@GrapefruiTgirl

before I changed anything, I tried this
Code:
startx -- :1
but got an error:
Code:
 
[root@c1 ~]# startx --:1
hostname: Unknown host
xauth:  creating new authority file /root/.serverauth.2883


Fatal server error:
Server is already active for display 0
        If this server is no longer running, remove /tmp/.X0-lock
        and start again.


Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.

[root@c1 ~]#
Why is that?
 
Old 06-27-2009, 11:49 AM   #8
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
Possibly because you omitted a space after the double-dash. Try again making sure it's exactly as I put it above.

Sasha

PS- the xorg.conf file is *usually* at /etc/X11/xorg.conf and there will be ONE line which reads 'Driver' where you try your different drivers.

Last edited by GrapefruiTgirl; 06-27-2009 at 11:50 AM. Reason: addendum.
 
  


Reply


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
LXer: Kernel Log: What's coming in 2.6.30 Drivers: New drivers for audio, video, US LXer Syndicated Linux News 0 06-01-2009 04:30 PM
Can't find ATI video drivers package (Fedora 10 64, HD 4850)/ sound card drivers too mothergoose729 Linux - Hardware 9 01-19-2009 02:08 PM
Drivers for gma950 video? (Integrated i945) + slow video in mplayer ivanatora Linux - Hardware 1 01-14-2007 01:19 PM
can you apply 2.6.x kernel config to 2.4.x safely/somewhat safely? silex_88 Linux - Software 3 12-09-2005 11:38 PM
KDE 3.2 and changing video card drivers and monitor drivers citrus Linux - Newbie 4 02-25-2004 05:11 AM


All times are GMT -5. The time now is 07:23 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration