Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
In both of your files, the ServerLayout refers to screen1, and screen1 refers to device1. None of them refer to device2. Therefore, there is no reason for either of them to use whatever you define as "device2".
You need to have screen1 refer to device2 in order for it to actually use device2.
Oh wait--you say the computer is adding this stuff to your XF86Config and Xorg.conf, not you?
I'm sorry, I can't really help you there because I am not familiar with Mandriva. I'm used to distributions where you can edit your XF86Config or Xorg.conf yourself, without those changes being overwritten by some mad "helpful" automatic configuration utility in the boot scripts.
Personally, I'd take this as a sign that I should try some other Linux distribution for now, maybe one with friendlier hardware detection (like maybe Mepis).
Oh, so it's not something that's automatically run on boot-up. That's good.
One thing that confuses me--I had thought that Mandriva used xorg, and not XFree86. I never really understood why you had XFree86 on the machine in the first place. But like I said, I'm not familiar with Mandriva.
Anyway, you should first figure out for sure that you're using Xorg. For starters, rename the XFree86 file to something like "XF86Config.backup". Then see if you can boot up into graphical mode (with the onboard graphics only). If you're using Xorg, it should blissfully ignore the nonexistence of XF86Config and use Xorg.conf.
Then after that, you should edit your Xorg.conf. The ONLY change you want to make is to the device1 section. Change it from:
Code:
Section "Device"
Identifier "device1"
VendorName "S3 Inc."
BoardName "S3 Savage4"
Driver "savage"
VideoRam 4096
Option "DPMS"
# Option "no_accel" # You may enable this if there are timeouts when starting X
EndSection
to this:
Code:
Section "Device"
Identifier "device1"
#VendorName "S3 Inc."
#BoardName "S3 Savage4"
Driver "vesa"
#VideoRam 4096
#Option "DPMS"
# Option "no_accel" # You may enable this if there are timeouts when starting X
EndSection
"vesa" is the generic VGA driver, which will work with pretty much any graphics card (including on board graphics). After making this change, reboot the computer and see if it gives you graphical mode.
If so, then you're doing very well so far.
Next, turn off the computer and insert the Ati card. Boot up the computer. It should give you graphical mode.
Next, change the driver in Xorg.conf from "vesa" to "ati". Then reboot and see if it works. If so, then you will most likely have all the fancy fixings--3d graphics acceleration and everything.
meanwhile, can someone translate this (found via link posted above):
_________________________________________________
The first change was to xc/programs/Xserver/hw/xfree86/common/xf86PciInfo.h. If you recall the error message I obtained when I first ran, it mentioned that I needed to update this file. Instructions for doing so are located at the top of this file, but I found them rather confusing. Luckily, I had Chris Dillon helping.
The line I added contains the card ID as shown in the previous section. Here's the line:
#define PCI_CHIP_RAGE128PP 0x5050
I made up the PE suffix. The entry before it was PD. The next change involves the card name etc:
{PCI_CHIP_RAGE128PP,"Rage 128 Xpert 128",0}
The remaining changes were in the directory xc/programs/Xserver/hw/xfree86/drivers/ati. The changes to r128_probe.c.org involved adding the two entries for the card. In r128_driver.c, I just added an entry for the card in two switches. And in r128_dri.c, my card was a PCI card, so added the entry shown.
I have no idea if this patch is correct. I know it got my card working. It may not work for you. In fact, I would not be surprised if your computer exploded given this patch. Be warned.
____________________________________________
Originally posted by illusha ^^^ i will play around with that suggestion
i guess i need to first figure out the difference between Xorg and XF86Config
Xorg and XFree are two different X servers. An X server is a software application which manages a graphical user interface on a low level (drawing lines, text, boxes, etc). For the most part XFree and Xorg are compatible, but Xorg is newer and has some more features. Most modern Linux distributions now use Xorg instead of the older XFree.
One difference between Xorg and XFree is the name of the configuration file used. XFree will use either XF86Config-4 or XF86Config. Xorg will use Xorg.conf. Either will simply ignore the other one's configuration file.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.