Skip to contentSkip to conversation

fb and multiple adapters

DISCUSSION Jon Smirl 2 participants 3 messages Dec 28, 2002 – Jan 3, 2003 Framebuffer layer

lore
Share & tools
lore

Jon Smirl

author
#0 lore raw

I'm looking into running framebuffers on multiple video adapters. My current setup has an ATI AGP Radeon 9000 as the primary adapter and a ATI PCI Rage128 as the secondary.

The Rage128 driver won't load in this config. So the first thing I did was to add my board's id to it, PD. Now I'm at the point where the expansion ROM isn't enabled and the adapter isn't initialized.

Should I add code to aty128fb to enable the ROM and execute the initialization code (like X does)? What the overall policy towards framebuffers initializing secondary adapters?

=====
Jon Smirl
[email protected]

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven.
http://thinkgeek.com/sf

#1 lore raw
Quoted 10 lines · Jon Smirl

I'm looking into running framebuffers on multiple video adapters. My current setup has an ATI AGP Radeon 9000 as the primary adapter and a ATI PCI Rage128 as the secondary.

The Rage128 driver won't load in this config. So the first thing I did was to add my board's id to it, PD. Now I'm at the point where the expansion ROM isn't enabled and the adapter isn't initialized.

Quoted 5 lines

Should I add code to aty128fb to enable the ROM and execute the initialization code (like X does)? What the overall policy towards framebuffers initializing secondary adapters?

No policy really. However, doing that will involve setting up a "real mode" (bit 16) environment to intercept BIOS int10 calls which are necessary to initialize the graphics ROM.

If I need too, I usually do this the hard way, I let X initialize the secondary card, exit X, then load the framebuffer driver module.

Tony

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

author
#2 lore raw
Quoted 4 lines · --- Antonino Daplas

If I need too, I usually do this the hard way, I let X initialize the
secondary card, exit X, then load the framebuffer driver module.

Alan Cox told me that it is almost impossible to run the real mode initialization code from inside the kernel. Instead he pointed me to lrmi which is a small app that can do it from the command line. I'm looking into mod'ing lrmi so that it can coordinate with the device driver and reset the secondary adapter instead of the primary one.

=====
Jon Smirl
[email protected]

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven.
http://thinkgeek.com/sf