XFree 4.0 dual monitor on AGP G4
Quoted 6 lines
Yes it would work, there is a problem with the approach taken by
fbdev/glint, the BusID info isn't used at all there for the choise of the device to be opened, without the fbdev option you always get/dev/fb0which might not be what you want.
According to the XFree 4 documentation, the BusID determines the device, and thus the framebuffer used, even in the case of fbdev. So I'm kinda confused.
Quoted 9 lines
Here is a small patch (untested) that changes r128 to use the "fbdev" option instead of using BusID to get the fbdev device.
If the BusID and fbdev options don't match bad things will happen so be carefull there.
For people that don't have more than one r128 card the previous behaviour works better so don't use it...Kostas
If I apply your patch and recompile, how should I modify the config file? Get rid of all BusID's? Just for the second monitor?
- Taylor
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 9 lines · W. Taylor Holliday
Quoted 6 lines
Yes it would work, there is a problem with the approach taken by
fbdev/glint, the BusID info isn't used at all there for the choise of the device to be opened, without the fbdev option you always get/dev/fb0which might not be what you want.According to the XFree 4 documentation, the BusID determines the device, and thus the framebuffer used, even in the case of fbdev. So I'm kinda confused.
This doesn't apply to framebuffer devices, I guess it's about the PCI devices. There's currently no safe way to find the corresponding fbdev for a given PCI device and vice versa. But it's being worked on.
Quoted 9 lines
Quoted 6 lines
Here is a small patch (untested) that changes r128 to use the "fbdev" option instead of using BusID to get the fbdev device.
If the BusID and fbdev options don't match bad things will happen so be carefull there.
For people that don't have more than one r128 card the previous behaviour works better so don't use it...If I apply your patch and recompile, how should I modify the config file? Get rid of all BusID's? Just for the second monitor?
I suggest always giving all BusIDs, it doesn't hurt as long as BusID and fbdev match.
Michel
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 6 lines
Quoted 3 lines
If I apply your patch and recompile, how should I modify the config file? Get rid of all BusID's? Just for the second monitor?
I suggest always giving all BusIDs, it doesn't hurt as long as BusID and fbdev match.
Meaning fb0 usually is the one with your consoles on it (unless you mapped them to another one), the rest follows in order of the devices being probed by the kernel. The ordering of devices is defined by the order the *fb_init calls appear in the source, and the exact order is still being worked on as far as I understood Geert.
I think there's no way to change the device ordering at boot time ...
Michael
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/