linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Re: XFree 4.0 dual monitor on AGP G4
@ 2000-04-26 19:45 W. Taylor Holliday
  2000-04-27 11:10 ` Michel Dänzer
  0 siblings, 1 reply; 26+ messages in thread
From: W. Taylor Holliday @ 2000-04-26 19:45 UTC (permalink / raw)
  To: Kostas Gewrgiou, daenzerm; +Cc: linuxppc-dev


> Kostas Gewrgiou wrote:
>  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.

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

How should I set up the config to do that?

> 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)

So is there a patch? Or are u just referring to some discussion on the
subject?

btw - I applied all the patches at entropy.crashing.org/~howath before
compiling

thanks
- Taylor

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

^ permalink raw reply	[flat|nested] 26+ messages in thread
* Re: XFree 4.0 dual monitor on AGP G4
@ 2000-04-28  0:51 W. Taylor Holliday
  2000-04-28  6:09 ` Michel Dänzer
  0 siblings, 1 reply; 26+ messages in thread
From: W. Taylor Holliday @ 2000-04-28  0:51 UTC (permalink / raw)
  To: Kostas Gewrgiou, Michel D?nzer; +Cc: linuxppc-dev


>
>  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/fb0 which 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.

> 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/

^ permalink raw reply	[flat|nested] 26+ messages in thread
* Re: XFree 4.0 dual monitor on AGP G4
@ 2000-04-28  0:42 W. Taylor Holliday
  2000-04-28  6:06 ` Michel Dänzer
  0 siblings, 1 reply; 26+ messages in thread
From: W. Taylor Holliday @ 2000-04-28  0:42 UTC (permalink / raw)
  To: Michel Ddnzer; +Cc: Kostas Gewrgiou, linuxppc-dev


>> How should I set up the config to do that?
>
> Section "Device"
>  Identifier  "FBDev"
>  Driver      "fbdev"
>  Option      "fbdev" "/dev/fb1"
> # This one may improve performance for some systems, try!
> #    Option     "ShadowFB"      "off"
> # This option increases speed at the expense of RAM. Your choice
> #    Option     "BackingStore"
> EndSection


Well, that didn't work. Basically the server started running, but nothing
showed up on my second monitor. Suggestions?

- Taylor

p.s. hey but it beats crashing the kernel :-)

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

^ permalink raw reply	[flat|nested] 26+ messages in thread
* Re: XFree 4.0 dual monitor on AGP G4
@ 2000-04-26 22:54 W. Taylor Holliday
  2000-04-27 13:14 ` Geert Uytterhoeven
  0 siblings, 1 reply; 26+ messages in thread
From: W. Taylor Holliday @ 2000-04-26 22:54 UTC (permalink / raw)
  To: Michael Schmitz; +Cc: daenzerm, linuxppc-dev


> Care to post a lspci -vv log?
>
>  Michael

noprob, here it is

00:0d.0 PCI bridge: Digital Equipment Corporation DECchip 21154 (rev 05)
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR+ FastB2B-
 Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
 Latency: 32 set, cache line size 08
 Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
 I/O behind bridge: 00001000-00001fff
 Memory behind bridge: 80000000-87ffffff
 Prefetchable memory behind bridge: 0000000080000000-000000007ff00000
 BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-

00:10.0 VGA compatible controller: ATI Technologies Inc: Unknown device 5246
 Subsystem: Unknown device b530:0408
 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping+ SERR- FastB2B-
 Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
 Latency: 8 min, 255 set, cache line size 08
 Interrupt: pin A routed to IRQ 48
 Region 0: Memory at 94000000 (32-bit, prefetchable)
 Region 1: I/O ports at 0400 [disabled]
 Region 2: Memory at 90000000 (32-bit, non-prefetchable)
 Capabilities: <available only to root>

01:02.0 SCSI storage controller: Adaptec AIC-7850 (rev 03)
 Subsystem: Unknown device 9004:7850
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
 Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
 Latency: 4 min, 4 max, 16 set, cache line size 08
 Interrupt: pin A routed to IRQ 52
 Region 0: I/O ports at <unassigned>
 Region 1: Memory at 80084000 (32-bit, non-prefetchable)
 Capabilities: <available only to root>

01:03.0 VGA compatible controller: ATI Technologies Inc: Unknown device 5245
 Subsystem: Unknown device b530:0408
 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping+ SERR- FastB2B-
 Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
 Latency: 8 min, 16 set, cache line size 08
 Interrupt: pin A routed to IRQ 53
 Region 0: Memory at 84000000 (32-bit, prefetchable)
 Region 1: I/O ports at 1000 [disabled]
 Region 2: Memory at 8008c000 (32-bit, non-prefetchable)
 Capabilities: <available only to root>

01:07.0 Class ff00: Apple Computer Inc.: Unknown device 0022 (rev 02)
 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr-
Stepping- SERR- FastB2B-
 Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
 Latency: 16 set, cache line size 08
 Region 0: Memory at 80000000 (32-bit, non-prefetchable)

01:08.0 USB Controller: Apple Computer Inc.: Unknown device 0019 (prog-if
10)
 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
 Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
 Latency: 3 min, 86 max, 16 set
 Interrupt: pin A routed to IRQ 27
 Region 0: Memory at 80083000 (32-bit, non-prefetchable)

01:09.0 USB Controller: Apple Computer Inc.: Unknown device 0019 (prog-if
10)
 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
 Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
 Latency: 3 min, 86 max, 16 set
 Interrupt: pin A routed to IRQ 28
 Region 0: Memory at 80082000 (32-bit, non-prefetchable)

01:0a.0 FireWire (IEEE 1394): Texas Instruments: Unknown device 8019
(prog-if 10)
 Control: I/O- Mem- BusMaster- SpecCycle- MemWINV+ VGASnoop- ParErr-
Stepping- SERR- FastB2B-
 Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
 Interrupt: pin A routed to IRQ 63
 Region 0: Memory at 80081000 (32-bit, non-prefetchable) [disabled]
 Region 1: Memory at 80088000 (32-bit, non-prefetchable) [disabled]
 Capabilities: <available only to root>

01:0b.0 Ethernet controller: Digital Equipment Corporation DECchip 21142/43
(rev 41)
 Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr-
Stepping- SERR- FastB2B-
 Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
 Latency: 20 min, 40 max, 96 set, cache line size 08
 Interrupt: pin A routed to IRQ 58
 Region 0: I/O ports at 1000
 Region 1: Memory at 80080000 (32-bit, non-prefetchable) [disabled]
 Capabilities: <available only to root>


Thanx again for your help
(I think I previously posted my /proc/pci if u need it)

- Taylor

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

^ permalink raw reply	[flat|nested] 26+ messages in thread
* Re: XFree 4.0 dual monitor on AGP G4
@ 2000-04-26 19:51 W. Taylor Holliday
  2000-04-26 20:05 ` Michael Schmitz
  0 siblings, 1 reply; 26+ messages in thread
From: W. Taylor Holliday @ 2000-04-26 19:51 UTC (permalink / raw)
  To: daenzerm; +Cc: linuxppc-dev


>> Unfortunately, the XFree86 4.0 docs say that PCI id's are mandatory for
>> dual-head configs.
>
> So? You have specified them.
>

Well using fbdev in principle should be abstracted from pci hardware.

>> 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

given what Kostas Gewrgiou told me regarding the fbdev_open_pci function,
viewing logs isn't going to do me any good.

oh, and probeonly crashes the machine :-(

- Taylor

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

^ permalink raw reply	[flat|nested] 26+ messages in thread
* XFree 4.0 dual monitor on AGP G4
@ 2000-04-24  6:16 W. Taylor Holliday
  2000-04-25 11:23 ` Michel Dänzer
  0 siblings, 1 reply; 26+ messages in thread
From: W. Taylor Holliday @ 2000-04-24  6:16 UTC (permalink / raw)
  To: linuxppc-dev


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/

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2000-04-28 16:37 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-04-26 19:45 XFree 4.0 dual monitor on AGP G4 W. Taylor Holliday
2000-04-27 11:10 ` Michel Dänzer
2000-04-27 13:35   ` Kostas Gewrgiou
2000-04-27 13:57     ` Kostas Gewrgiou
2000-04-27 15:23     ` Michel Dänzer
  -- strict thread matches above, loose matches on Subject: below --
2000-04-28  0:51 W. Taylor Holliday
2000-04-28  6:09 ` Michel Dänzer
2000-04-28  7:47   ` Michael Schmitz
2000-04-28  0:42 W. Taylor Holliday
2000-04-28  6:06 ` Michel Dänzer
2000-04-26 22:54 W. Taylor Holliday
2000-04-27 13:14 ` Geert Uytterhoeven
2000-04-26 19:51 W. Taylor Holliday
2000-04-26 20:05 ` Michael Schmitz
2000-04-24  6:16 W. Taylor Holliday
2000-04-25 11:23 ` Michel Dänzer
2000-04-25  9:27   ` W. Taylor Holliday
2000-04-25 16:51     ` Michel Dänzer
2000-04-25 18:30       ` W. Taylor Holliday
2000-04-26 12:26         ` Michel Dänzer
2000-04-26 13:54           ` Kostas Gewrgiou
2000-04-26 14:16             ` Michel Dänzer
2000-04-26 16:53             ` Ryuichi Oikawa
2000-04-26 17:02               ` Michel Dänzer
2000-04-28 16:37                 ` Ryuichi Oikawa
2000-04-25 17:22     ` Michael Schmitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).