[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Screen blank after stopping X (i386)



I recently added a second videocard & monitor to one of my boxes (running
-stable/i386), so I can have a dualhead display. After reconfiguring X,
everything just worked, except from this little strange thing: Once I've
started X, I can't get back to the console.

When I switch to another virtual terminal (ctrl+alt+f1) or when I kill the
X server, the first monitor gives a blank screen with the monitors' OSD
saying that the refresh rate is out of range (119.7kHz hor / 266.5Hz vert;
that's quite a lot). The other monitor goes back to textmode allright and
displays the video card's ID string (the one you see when booting just
before the bios kicks in), which looks normal.

The box doesn't crash, since I can just switch back to the virtual console
which has X, or, when I killed the X-server, I can still ssh in and
restart it; that all works fine.

With only the primary videocard (nVidia GeForce DDR), the problem doesn't
occur; it only happens when the 2 videocards are in the system.

Has anyone seen anything like this? Could this be some bad configuration?
A quick search of google and the mailinglists didn't show anything useful,
but I may have missed something, in which case I'd appreciate a RTFA ;-)

Thanks,

 - rabbit


(dmesg output and XF86Config below)


dmesg output:

OpenBSD 3.1-stable (GENERIC) #0: Sat Jul 13 14:48:23 CEST 2002
    root_(_at_)_10_(_dot_)_0_(_dot_)_0_(_dot_)_3:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium II (Klamath) ("GenuineIntel" 686-class, 512KB L2
cache) 267 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SYS,MTRR,PGE,MCA,CMOV,MMX
real mem  = 200847360 (196140K)
avail mem = 180383744 (176156K)
using 2477 buffers containing 10145792 bytes (9908K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(b6) BIOS, date 08/18/99, BIOS32 rev. 0 @
0xfb380
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
pcibios0 at bios0: rev. 2.1 @ 0xf0000/0xb7f8
pcibios0: PCI IRQ Routing Table rev. 1.0 @ 0xfdef0/128 (6 entries)
pcibios0: PCI Exclusive IRQs: 10 11
pcibios0: PCI Interrupt Router at 000:07:0 ("Intel 82371SB PCI-ISA" rev
0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0x9800
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82443BX PCI-AGP" rev 0x03
ppb0 at pci0 dev 1 function 0 "Intel 82443BX AGP" rev 0x03
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "Nvidia GeForce256 DDR" rev 0x10
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 7 function 0 "Intel 82371AB PIIX4 ISA" rev 0x02
pciide0 at pci0 dev 7 function 1 "Intel 82371AB IDE" rev 0x01: DMA,
channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <ST320430A>
wd0: 16-sector PIO, LBA, 19569MB, 16383 cyl, 16 head, 63 sec, 40079088
sectors
atapiscsi0 at pciide0 channel 0 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <LITEON, CD-ROM LTN301, ML35> SCSI0 5/cdrom
removable
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
wd1 at pciide0 channel 1 drive 0: <WDC AC34300L>
wd1: 16-sector PIO, LBA, 4104MB, 8896 cyl, 15 head, 63 sec, 8406720
sectors
atapiscsi1 at pciide0 channel 1 drive 1
scsibus1 at atapiscsi1: 2 targets
cd1 at scsibus1 targ 0 lun 0: <YAMAHA, CRW4261, 1.0j> SCSI0 5/cdrom
removable
wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
cd1(pciide0:1:1): using PIO mode 0, DMA mode 1
uhci0 at pci0 dev 7 function 2 "Intel 82371AB USB" rev 0x01: irq 10
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: vendor 0x0000 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
"Intel 82371AB Power Mgmt" rev 0x02 at pci0 dev 7 function 3 not
configured
"ATI Mach64 VT" rev 0x40 at pci0 dev 10 function 0 not configured
rl0 at pci0 dev 11 function 0 "Realtek 8139" rev 0x10: irq 10 address
00:50:fc:70:2c:0d
rlphy0 at rl0 phy 0: RTL internal phy
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
isapnp0 at isa0 port 0x279: read port 0x203
isapnp0: No current device for tag, card 1
sb1 at isapnp0 "Creative SB AWE64  PnP, CTL0045, , Audio" port
0x220/16,0x330/2,0x388/4 irq 5 drq 1,5: dsp v4.16
midi1 at sb1: <SB MPU-401 UART>
audio0 at sb1
opl0 at sb1: model OPL3
midi2 at opl0: <SB Yamaha OPL3>
joy0 at isapnp0 "Creative SB AWE64  PnP, CTL7002, PNPB02F, Game" port
0x200/8
"Creative SB AWE64  PnP, CTL0022, , WaveTable" at isapnp0 port 0x620/4 not
configured
biomask c440 netmask c440 ttymask d4c2
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
wd0: no disk label
dkcsum: wd0 matched BIOS disk 80
dkcsum: wd1 matched BIOS disk 81
root on wd1a
rootdev=0x10 rrootdev=0x310 rawdev=0x312




XF86Config:

Section "ServerLayout"
        Identifier     "XFree86 Configured"
        Screen      0  "Screen0" 0 0
        Screen      1  "Screen1" RightOf "Screen0"
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        ModulePath   "/usr/X11R6/lib/modules"
        FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
        FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
        FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
        FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
        FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
        FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

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

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
        Option      "XkbRules" "xfree86"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "be"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "wsmouse"
        Option      "Device" "/dev/wsmouse0"
        Option      "Emulate3Buttons"
EndSection

Section "Monitor"
        #DisplaySize      320   240     # mm
        Identifier   "Monitor0"
        VendorName   "AOC"
        ModelName    "AOC A785"
        HorizSync    31.5 - 85.0
        VertRefresh  50.0 - 100.0
        Option      "DPMS"
EndSection

Section "Monitor"
        Identifier   "Monitor1"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
        HorizSync    31.5 - 37.9
        VertRefresh  50.0 - 70.0
        Option       "DPMS"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "SWcursor"                  # [<bool>]
        #Option     "HWcursor"                  # [<bool>]
        #Option     "NoAccel"                   # [<bool>]
        #Option     "ShowCache"                 # [<bool>]
        #Option     "ShadowFB"                  # [<bool>]
        #Option     "UseFBDev"                  # [<bool>]
        #Option     "Rotate"                    # [<str>]
        #Option     "VideoKey"                  # <i>
        #Option     "FlatPanel"                 # [<bool>]
        Identifier  "Card0"
        Driver      "nv"
        VendorName  "NVidia"
        BoardName   "GeForce DDR"
        BusID       "PCI:1:0:0"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "accel"                     # [<bool>]
        #Option     "crt_screen"                # [<bool>]
        #Option     "composite_sync"            # [<bool>]
        #Option     "hw_cursor"                 # [<bool>]
        #Option     "linear"                    # [<bool>]
        #Option     "mmio_cache"                # [<bool>]
        #Option     "probe_clocks"              # [<bool>]
        #Option     "reference_clock"           # <freq>
        #Option     "shadow_fb"                 # [<bool>]
        #Option     "sw_cursor"                 # [<bool>]
        Identifier  "Card1"
        Driver      "ati"
        VendorName  "ATI"
        BoardName   "Mach64 VT"
        ChipSet     "ati"
        ChipId      0x5654
        ChipRev     0x40
        BusID       "PCI:0:10:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth    24
        SubSection "Display"
                Depth     24
                Modes "1152x864"
        EndSubSection
EndSection

Section "Screen"
        Identifier "Screen1"
        Device     "Card1"
        Monitor    "Monitor1"
        DefaultDepth    24
        SubSection "Display"
                Depth     24
                Modes "800x600"
        EndSubSection
EndSection