Skip to contentSkip to conversation

XFree 4.0 dual monitor on AGP G4

DISCUSSION W. Taylor Holliday 5 participants 12 messages Apr 24, 2000 – Apr 28, 2000

lore
Share & tools
lore
#0 lore raw

Hi all,

Has anyone tried tried to use XFree86 4.0 w/a dual monitor (dual head) configuration on an AGP G4? If so, what kernel are u using? Any not-so-obvious configuration details? I did a build of 4.0 and got it working on my main AGP card (it auto-detects both cards) but it crashes the kernel (2.2.15pre3, comes w/LinuxPPC 2K) when I modify the configuration to use both monitors. The kernel also crashes when I try to run it on the secondary card only.

thanx
- Taylor

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#1 lore raw
Quoted 7 lines · W. Taylor Holliday

Has anyone tried tried to use XFree86 4.0 w/a dual monitor (dual head) configuration on an AGP G4? If so, what kernel are u using? Any not-so-obvious configuration details? I did a build of 4.0 and got it working on my main AGP card (it auto-detects both cards) but it crashes the kernel (2.2.15pre3, comes w/LinuxPPC 2K) when I modify the configuration to use both monitors. The kernel also crashes when I try to run it on the secondary card only.

Let me guess, you're using the fbdev driver for the secondary card? It needs the BusID of the gfx chip to be specified in the Device Section or the server will hang the machine.

Michel

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#2 lore raw
Quoted 5 lines · Michel Dänzer

Let me guess, you're using the fbdev driver for the secondary card? It needs the BusID of the gfx chip to be specified in the Device Section or the server will hang the machine.

Michel

I specified the busID. According to /proc/pci, my AGP card is 0:16:0 and my PCI card is 1:3:0.
The server hangs the system using both fbdev and r128. I'm running kernel 2.2.15pre19.

Atteched are my /proc/pci and XF86Config files (configs for second monitor only).

thanks
- Taylor

PCI devices found:
Bus 0, device 11, function 0:
Host bridge: Apple Unknown device (rev 0).
Vendor id=106b. Device id=20.
Medium devsel. Master Capable. Latency=16.
Bus 0, device 13, function 0:
PCI bridge: DEC DC21154 (rev 5).
Medium devsel. Fast back-to-back capable. Master Capable. Latency=32.
Bus 0, device 16, function 0:

    VGA compatible controller: ATI Unknown device (rev 0).
      Vendor id=1002. Device id=5246.
      Medium devsel.  Fast back-to-back capable.  IRQ 48.  Master Capable.  Latency=255.  Min Gnt=8.
      Prefetchable 32 bit memory at 0x94000000 [0x94000008].
      I/O at 0x400 [0x401].
      Non-prefetchable 32 bit memory at 0x90000000 [0x90000000].
  Bus  1, device   2, function  0:
    SCSI storage controller: Adaptec AIC-7850 (rev 3).
      Medium devsel.  Fast back-to-back capable.  IRQ 52.  Master Capable.  Latency=16.  Min Gnt=4.Max Lat=4.
      I/O at 0x0 [0x1].
      Non-prefetchable 32 bit memory at 0x80084000 [0x80084000].
  Bus  1, device   3, function  0:
    VGA compatible controller: ATI Unknown device (rev 0).
      Vendor id=1002. Device id=5245.
      Medium devsel.  Fast back-to-back capable.  IRQ 53.  Master Capable.  Latency=16.  Min Gnt=8.
      Prefetchable 32 bit memory at 0x84000000 [0x84000008].
      I/O at 0x1000 [0x1001].
      Non-prefetchable 32 bit memory at 0x8008c000 [0x8008c000].
  Bus  1, device   7, function  0:
    Hot Swap Controller: Apple Unknown device (rev 2).
      Vendor id=106b. Device id=22.
      Medium devsel.  Master Capable.  Latency=16.
      Non-prefetchable 32 bit memory at 0x80000000 [0x80000000].
  Bus  1, device   8, function  0:
    USB Controller: Apple Unknown device (rev 0).
      Vendor id=106b. Device id=19.
      Medium devsel.  IRQ 27.  Master Capable.  Latency=16.  Min Gnt=3.Max Lat=86.
      Non-prefetchable 32 bit memory at 0x80083000 [0x80083000].
  Bus  1, device   9, function  0:
    USB Controller: Apple Unknown device (rev 0).
      Vendor id=106b. Device id=19.
      Medium devsel.  IRQ 28.  Master Capable.  Latency=16.  Min Gnt=3.Max Lat=86.
      Non-prefetchable 32 bit memory at 0x80082000 [0x80082000].
  Bus  1, device  10, function  0:
    FireWire (IEEE 1394): Texas Instruments Unknown device (rev 0).
      Vendor id=104c. Device id=8019.
      Medium devsel.  IRQ 63.  Master Capable.  Latency=16.  Min Gnt=2.Max Lat=4.
      Non-prefetchable 32 bit memory at 0x80081000 [0x80081000].
      Non-prefetchable 32 bit memory at 0x80088000 [0x80088000].
  Bus  1, device  11, function  0:
    Ethernet controller: DEC DC21142 (rev 65).
      Medium devsel.  Fast back-to-back capable.  IRQ 58.  Master Capable.  Latency=96.  Min Gnt=20.Max Lat=40.
      I/O at 0x1000 [0x1001].
      Non-prefetchable 32 bit memory at 0x80080000 [0x80080000].

# Amiga users have to adapt quite some things here

Section "ServerLayout"

        Identifier     "XFree86 Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"

EndSection

Section "Files"
# The location of the RGB database. Note, this is the name of the

# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.
    RgbPath     "/usr/X11R6/lib/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated together),

# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
    FontPath    "/usr/X11R6/lib/X11/fonts/local/"
    FontPath    "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath    "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath    "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath    "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath    "/usr/X11R6/lib/X11/fonts/CID/"
    FontPath    "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath    "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath    "/usr/X11R6/lib/X11/fonts/100dpi/"
    FontPath    "unix/:-1"

# ModulePath can be used to set a search path for the X server modules. # The default path is shown here.

# ModulePath "/usr/X11R6/lib/modules"

EndSection

Section "Module"
Load "GLcore"
Load "dbe"

# This loads the miscellaneous extensions module, and disables

# initialisation of the XFree86-DGA extension within that module.
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection
        Load  "glx"
        Load  "pex5"
        Load  "record"
        Load  "xie"
        Load  "type1"
        Load  "speedo"

EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
# Option "XkbDisable"
Option "XkbModel" "macintosh"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"

        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "IMPS/2"
        Option      "Device" "/dev/usbmouse"

EndSection

Section "Monitor"

        Identifier   "Monitor0"
        VendorName   "Apple Computer"
        ModelName    "Studio 17"
        HorizSync    30-85
        VertRefresh  48-160

EndSection

Section "Device"
### Available Driver options are:-
#If you don't want to use the shadow framebuffer (try if it's faster with or without)
#Option "ShadowFB" "Off"

Identifier "fbdev"
Driver "fbdev"

# You _have_ to specify the correct PCI bus ID of your graphics chip! # Look at /proc/pci to find out (or try XFree86 -probeonly)

        BusID       "PCI:1:3:0"

EndSection

Section "Screen"

        Identifier "Screen0"
        Device     "fbdev"
        Monitor    "Monitor0"
        DefaultDepth      15
        SubSection "Display"
                Depth     1
                Modes "1024x768"
        EndSubSection
        SubSection "Display"
                Depth     4
                Modes "1024x768"
        EndSubSection
        SubSection "Display"
                Depth     8
                Modes "1024x768"
        EndSubSection
        SubSection "Display"
                Depth     15
                Modes "1024x768"
        EndSubSection
        SubSection "Display"
                Depth     16
                Modes "1024x768"
        EndSubSection
        SubSection "Display"
                Depth     24
                Modes "1024x768"
        EndSubSection

EndSection

Section "ServerLayout"

	Identifier     "XFree86 Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"

EndSection

Section "Files"
# The location of the RGB database. Note, this is the name of the

# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.
    RgbPath	"/usr/X11R6/lib/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated together),

# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
    FontPath	"/usr/X11R6/lib/X11/fonts/local/"
    FontPath	"/usr/X11R6/lib/X11/fonts/misc/"
    FontPath	"/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath	"/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath	"/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath	"/usr/X11R6/lib/X11/fonts/CID/"
    FontPath	"/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath	"/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath	"/usr/X11R6/lib/X11/fonts/100dpi/"
    FontPath    "unix/:-1"

# ModulePath can be used to set a search path for the X server modules. # The default path is shown here.

# ModulePath "/usr/X11R6/lib/modules"

EndSection

Section "Module"
Load "GLcore"
Load "dbe"

# This loads the miscellaneous extensions module, and disables

# initialisation of the XFree86-DGA extension within that module.
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection
	Load  "glx"
	Load  "pex5"
	Load  "record"
	Load  "xie"
	Load  "type1"
	Load  "speedo"

EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
# Option "XkbDisable"
Option "XkbModel" "macintosh"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"

	Identifier  "Mouse0"
	Driver      "mouse"
	Option      "Protocol" "IMPS/2"
	Option      "Device" "/dev/usbmouse"

EndSection

Section "Monitor"

	Identifier   "Monitor0"
	VendorName   "Apple Computer"
	ModelName    "Studio 17"
        HorizSync    30-85
        VertRefresh  48-160

EndSection

Section "Device"

	### Available Driver options are:-
        #Option     "NoAccel"
        #Option     "SWcursor"
        Option     "HWcursor"
        #Option     "Dac6Bit"
        #Option     "Dac8Bit"
        Option     "UseFBDev"
	Identifier  "r128"
	Driver      "r128"
	BusID       "PCI:1:3:0"

EndSection

Section "Screen"

	Identifier "Screen0"
	Device     "r128"
	Monitor    "Monitor0"
        DefaultDepth      15
	SubSection "Display"
		Depth     1
		Modes "1024x768"
	EndSubSection
	SubSection "Display"
		Depth     4
		Modes "1024x768"
	EndSubSection
	SubSection "Display"
		Depth     8
		Modes "1024x768"
	EndSubSection
	SubSection "Display"
		Depth     15
		Modes "1024x768"
	EndSubSection
	SubSection "Display"
		Depth     16
		Modes "1024x768"
	EndSubSection
	SubSection "Display"
		Depth     24
		Modes "1024x768"
	EndSubSection

EndSection

#3 lore raw
Quoted 9 lines · W. Taylor Holliday
Quoted 3 lines · Michel Dänzer

Let me guess, you're using the fbdev driver for the secondary card? It needs the BusID of the gfx chip to be specified in the Device Section or the server will hang the machine.

I specified the busID. According to /proc/pci, my AGP card is 0:16:0 and my PCI card is 1:3:0.

Looks right. But you have to specify the framebuffer device for the secondary card as well, and you only have to start one server.

Quoted 2 lines

The server hangs the system using both fbdev and r128. I'm running kernel 2.2.15pre19.

If my suggestion doesn't work, the log(s) (/var/log/XFree86.[01].log) may be helpful.

I suggest the following XF86Config:

Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
# If it complains about the Layout Section, try enclosing RightOf in double

# quotes
	Screen      1  "Screen1" RightOf 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"

    RgbPath     "/usr/X11R6/lib/X11/rgb"
    FontPath    "/usr/X11R6/lib/X11/fonts/local/"
    FontPath    "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath    "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath    "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath    "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath    "/usr/X11R6/lib/X11/fonts/CID/"
    FontPath    "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath    "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath    "/usr/X11R6/lib/X11/fonts/100dpi/"
    FontPath    "unix/:-1"

EndSection

Section "Module"
Load "GLcore"
Load "dbe"
Load "extmod"
Load "glx"
Load "pex5"
Load "record"
Load "xie"
Load "type1"
Load "speedo"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbModel" "macintosh"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"

        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "IMPS/2"
        Option      "Device" "/dev/usbmouse"

EndSection

# Change this to reflect the first monitor
Section "Monitor"

        Identifier   "Monitor0"
        VendorName   "Apple Computer"
        ModelName    "Studio 17"
        HorizSync    30-85
        VertRefresh  48-160

EndSection

Section "Monitor"

        Identifier   "Monitor1"
        VendorName   "Apple Computer"
        ModelName    "Studio 17"
        HorizSync    30-85
        VertRefresh  48-160

EndSection

Section "Device"

        Identifier  "AGP"
        Driver      "r128"
        Option     "HWcursor"
        Option     "UseFBDev"
        BusID       "PCI:0:16:0"

EndSection

Section "Device"

        Identifier  "PCI"
        Driver      "r128"
        Option     "HWcursor"
        Option     "UseFBDev"
	Option     "fbdev" "/dev/fb1"
        BusID       "PCI:1:3:0"

EndSection

Section "Screen"

        Identifier "Screen0"
        Device     "AGP"
        Monitor    "Monitor0"
        DefaultDepth      15
        SubSection "Display"
                Depth     1
                Modes "1024x768"
        EndSubSection
        SubSection "Display"
                Depth     4
                Modes "1024x768"
        EndSubSection
        SubSection "Display"
                Depth     8
                Modes "1024x768"
        EndSubSection
        SubSection "Display"
                Depth     15
                Modes "1024x768"
        EndSubSection
        SubSection "Display"
                Depth     16
                Modes "1024x768"
        EndSubSection
        SubSection "Display"
                Depth     24
                Modes "1024x768"
        EndSubSection

EndSection

Section "Screen"

        Identifier "Screen1"
        Device     "PCI"
        Monitor    "Monitor1"
        DefaultDepth      15
        SubSection "Display"
                Depth     1
                Modes "1024x768"
        EndSubSection
        SubSection "Display"
                Depth     4
                Modes "1024x768"
        EndSubSection
        SubSection "Display"
                Depth     8
                Modes "1024x768"
        EndSubSection
        SubSection "Display"
                Depth     15
                Modes "1024x768"
        EndSubSection
        SubSection "Display"
                Depth     16
                Modes "1024x768"
        EndSubSection
        SubSection "Display"
                Depth     24
                Modes "1024x768"
        EndSubSection

EndSection

This assumes that fb0 is on the AGP card and that its monitor is on the left side.

Now to get some extra candy, start the server with the +Xinerama option and it will combine both screens as if they were one big one! :)

Hope it works,

Michel

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#4 lore raw

Thanks Michel for your help :-). I modified the config file you sent me to use the secondary monitor only (since XFree wouldn't parse the dual monitor layout section), and unfortunately the kernel still crashed. Right now trying to get both monitors working is getting ahead of myself - i'm first shooting to get the secondary one working alone. Unfortunately, the XFree86 4.0 docs say that PCI id's are mandatory for dual-head configs. Oh and it dies before it writes to the logfile. So I have no clue what to do next. Suggestions?

- Taylor

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#5 lore raw
Quoted 2 lines · W. Taylor Holliday

I modified the config file you sent me to use the secondary monitor only (since XFree wouldn't parse the dual monitor layout section),

Dang, gotta look at the syntax for the Layout Section again :)

BTW you can quickly choose a Screen Section with the -screen command line option.

Quoted 3 lines

and unfortunately the kernel still crashed. Right now trying to get both monitors working is getting ahead of myself - i'm first shooting to get the secondary one working alone.

Very sensible.

Quoted 2 lines

Unfortunately, the XFree86 4.0 docs say that PCI id's are mandatory for dual-head configs.

So? You have specified them.

Quoted 2 lines

Oh and it dies before it writes to the logfile. So I have no clue what to do next. Suggestions?

- remount (at least) the partition containing /var/log in sync mode (to get at least something from the log)

- run X with -probeonly

Michel

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#6 lore raw
Quoted 8 lines · Michel Dδnzer
Quoted 2 lines · W. Taylor Holliday

I modified the config file you sent me to use the secondary monitor only (since XFree wouldn't parse the dual monitor layout section),

Dang, gotta look at the syntax for the Layout Section again :)

Thats what i use:

Section "ServerLayout"
Identifier "Main Layout"
Screen "Screen 1"
Screen "Screen 2" LeftOf "Screen 1"
EndSection

Unfortunately i don't think that it will work in this case,
the second r128 will never be able to pick the right device (/dev/fb1 here) the BusID line is more or less ignored in the fbdev case so the second driver will open /dev/fb0 which will result in a kernel crash.

Here is the related code from the xfree source, note the FIXME line there.....

The only solutions for now (beyond fixing the code) is to use the unaccelerated fbdev driver for /dev/fb1, not using fbdev in the r128 driver will also work but this will require a couple of changes in the r128 driver (info about what changes are needed were posted in this list a few months back)

/* try to find the framebuffer device for a given PCI device */ static int
fbdev_open_pci(pciVideoPtr pPci)

{
        struct  fb_fix_screeninfo fix;
        char    filename[16];
        int     fd,i,j;

        for (i = 0; i < 4; i++) {
                sprintf(filename,"/dev/fb%d",i);
                if (-1 == (fd = open(filename,O_RDWR,0))) {
                        continue;
                }
                if (-1 == ioctl(fd,FBIOGET_FSCREENINFO,(void*)&fix)) {
                        close(fd);
                        continue;
                }
                /* FIXME: better ask the fbdev driver for bus/device/func,
                          but there is no way to to this yet. */
                for (j = 0; j < FB2PCICOUNT; j++) {
                        if (pPci->vendor   == fb2pci_map[j].vendor &&
                            pPci->chipType == fb2pci_map[j].chip   &&
                            fix.accel      == fb2pci_map[j].id)
                                break;
                }
                if (j == FB2PCICOUNT) {
                        close(fd);
                        continue;
                }
                return fd;
        }
        return -1;
}

Kostas Gewrgiou

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#7 lore raw
Quoted 4 lines · Kostas Gewrgiou

the second r128 will never be able to pick the right device (/dev/fb1 here) the BusID line is more or less ignored in the fbdev case so the second driver will open /dev/fb0 which will result in a kernel crash.

Doesn't r128 support the "fbdev" option to specify the framebuffer device?

Here's the important code from the glint driver:

	for (i = 0; i < numDevSections; i++) {

dev = xf86FindOptionValue(devSections[i]->options,"fbdev"); if (devSections[i]->busID) {
xf86ParsePciBusString(devSections[i]->busID,&bus,&device,&func); if (!xf86CheckPciSlot(bus,device,func))
continue;
}
if (fbdevHWProbe(NULL,dev,&name)) {
ScrnInfoPtr pScrn;

/* Check for pm2fb */
if (strcmp(name,"Permedia2")) continue; foundScreen = TRUE;
pScrn = NULL;

if (devSections[i]->busID) {
/* XXX what about when there's no busID set? */ int entity;
entity = xf86ClaimPciSlot(bus,device,func,drv,
0,devSections[i], TRUE);
pScrn = xf86ConfigPciEntity(pScrn,0,entity,
NULL,RES_SHARED_VGA, NULL,NULL,NULL,NULL);
if (pScrn)
xf86DrvMsg(pScrn->scrnIndex, X_CONFIG,
"claimed PCI slot %d:%d:%d\n",bus,device,func);
} else {

Michel

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#8 lore raw
In reply to Kostas Gewrgiou

From: Kostas Gewrgiou <[email protected]>
Subject: Re: XFree 4.0 dual monitor on AGP G4

Quoted 14 lines

Thats what i use:

Section "ServerLayout"
Identifier "Main Layout"
Screen "Screen 1"
Screen "Screen 2" LeftOf "Screen 1"
EndSection

Unfortunately i don't think that it will work in this case,
the second r128 will never be able to pick the right device (/dev/fb1 here) the BusID line is more or less ignored in the fbdev case so the second driver will open /dev/fb0 which will result in a kernel crash.

Quoted 5 lines

Here is the related code from the xfree source, note the FIXME line there.....

The only solutions for now (beyond fixing the code) is to use the unaccelerated fbdev driver for /dev/fb1,

Or export FRAMEBUFFER=/dev/fb0;startx;export FRAMEBUFFER=/dev/fb1;startx (one server for each card like as XF68_FBDev) with r128 driver?

But if you don't want to be bothered by the fbdev, you can try

ftp://ppc.linux.or.jp/pub/users/oikawa/Xserver/xfree86/XFree86-4.0-mga-r128-v2.gz

WITHOUT Option "UseFBDev" nor "fbdev".
I'm using three heads(ATI and Matrox cards) with this server.

BTW, why do people like fbdev very much? It's easier to port XFree86 built-in drivers as Kostas mentioned before, and has advantages that developers can port/update the server independent on the kernel, add support the latest hardware without waiting for the kernel driver, etc. This is just a thought, I may be wrong though.

Regards,

Ryuichi Oikawa
[email protected]

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#9 lore raw
Quoted 1 line · Ryuichi Oikawa

BTW, why do people like fbdev very much?

- one can use the generic fbdev driver if the dedicated driver doesn't work
- if the dedicated driver supports fbdev, access to the hardware is coordinated between all virtual terminals
- ...

Quoted 3 lines

It's easier to port XFree86 built-in drivers as Kostas mentioned before, and > has advantages that developers can port/update the server independent on the kernel, add support the latest hardware without waiting for the kernel
driver, etc.

Use of the fbdev support is optional.

Michel

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#10 lore raw
Quoted 6 lines
Quoted 2 lines

BTW, why do people like fbdev very much?

- one can use the generic fbdev driver if the dedicated driver doesn't work
- if the dedicated driver supports fbdev, access to the hardware is coordinated between all virtual terminals

But XFree has excellent drivers(and extensions) optimized for the X server and they work with a slight modification(at least for mga and r128 cases, AFAIK. I like easy way). And we do access drawing eigine directly...

Quoted 1 line

Use of the fbdev support is optional.

I misunderstood non-using fbdev support is optional in the ppc world reading discussions on the list...

BTW, I don't hate fbdev at all. It is the only way to provide large console on linux and also very important for X server to support 1st generation PCI macs' on-board video, etc.

Thank you,

Ryuichi Oikawa
[email protected]

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#11 lore raw
In reply to W. Taylor Holliday
Quoted 5 lines

I specified the busID. According to /proc/pci, my AGP card is 0:16:0 and my PCI card is 1:3:0.
The server hangs the system using both fbdev and r128. I'm running kernel 2.2.15pre19.

Any error messages about PCI resource conflicts in the X server log file? In case the log isn't written completely, try XFree86 --probeonly.

Michael

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/