On Tue, 23 Apr 2002, Jing Xu wrote: > Yeah!!! It works.
Of course, it does. Sheesh. > I have another question about Xfree86. This is also the reason why I try > Xfree86 4.2. > I have two graphic cards in my box, one is ATI Rage XL(PCI) and one is > ATI Radeon VE QY(AGP). I would like to control the AGP card from a > kernel module we have written (which displays on a projector) and I > would like to let X control the PCI card (which displays on a flat panel > monitor). While in console mode the kernel module correctly displays > images using the AGP card. > We used the vesafb driver to configure the AGP card (primary card > according to BIOS) to the desired mode of 1024x768. > The problem begins when we use startx. The PCI controlled monitor starts > X correctly but our kernel module no longer has control of our AGP card > (no image displays on projector). > We received the reply from Michael Danzer who suggested us that "Look at > xc/programs/Xserver/hw/xfree86/common/xf86Bus.c, it might be enough to > hardcode doFramebufferMode to TRUE." > In 4.2.0 "doFramebufferMode" has been set to TRUE. However, when I run > my program in X, still no image displays on projector(AGP card). But an > interesting thing is that the color is changed in X Window. In our > program we change the color palette, but this is supposed to work on > AGP(primary card) not PCI. It seems that PCI card has been set to the > primary card by X. > How can I prevent X from disabling the AGP card? Right now, you can't. That might be something to address in a future version, but I can't say for sure. Marc. +----------------------------------+-----------------------------------+ | Marc Aurele La France | work: 1-780-492-9310 | | Computing and Network Services | fax: 1-780-492-1729 | | 352 General Services Building | email: [EMAIL PROTECTED] | | University of Alberta +-----------------------------------+ | Edmonton, Alberta | | | T6G 2H1 | Standard disclaimers apply | | CANADA | | +----------------------------------+-----------------------------------+ XFree86 Core Team member. ATI driver and X server internals. _______________________________________________ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert