I hope someone around here is more of an expert on this issue than I am.

Basically, I have two graphics cards on my machine. It's a PPC machine, but I don't think this issue has anything to do with architecture. Tho one card is an ATI Rage 128 Pro (AGP). The other is an ATI Rage LT Pro (PCI).

The main one is the AGP card, meaning that it gets mapped to /dev/fb/0. The PCI one is /dev/fb/1.

I managed to set up X for the first one in a satisfactory way, using the r128 with "UseFBDev" true, which basically means that I have to set the fbdev nicely in console mode, and X runs well.

But I can't get the other card to work. I am trying to set it up individually, and later I'll merge the config files for the two cards. But this is what happens: if I set the driver for that as "ati", and try mode "1024x768", I get a fuzzy image - out of sync. Other modes don't show at all. Now, the monitor is an anonymous SVGA, but it's a standard thing - in my "other" OS, it accepts 1024x768 in both 70 and 60 Hz without being identified as any particular make. I have no idea how to fix the modeline to get it to sync correctly.

So I tried using "fbdev" rather than "ati" for the driver. Actually, I first tried "UseFBDev" like in the Rage 128 one, but apparently the ati driver doesn't accept that option. OK, so "fbdev" it is, and I add the option "fbdev" set to "/dev/fb1" or "/dev/fb/1" to the device section.

X doesn't die for this. Log says that it recognizes a resolution of 1024x768 at 60 Hz, and uses a standard modeline for this. I can *hear* the KDE startup sound. But I see nada on screen.

So I thought I'd change the fb console mode to 1024x768 at 70Hz, or maybe to 800x600, and try until it hits a mode that works. Not that easy, it seems. The AGP card knows what resolution to use for fb because I pass it as a kernel option at boot time (otherwise I can't even get console mode), but if I read the source correctly, you can't define a second fb through the boot options. It stops scanning once it hits the first match.

So I tried fbset. It works like a charm with the AGP card (that is, /dev/fb/0), switches resolutions like a champ. If I pass it -fb /dev/fb/1, it accepts the mode, I see no error in /var/log/messages, but it doesn't actually do anything. Using fbset -fb /dev/fb/1 to view the mode currently set always returns 1024x768 at 60Hz - before and after trying the fbset.

So, any suggestions? Either for a modeline that will actually work under "ati", or for a way to set the resolution of /dev/fb/1?

Herouth
--
EMAIL: [EMAIL PROTECTED]
HOME PAGE: http://herouth.port5.com/

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Reply via email to