Subject: Dark X11 screen on Toshiba Tecra A3X (915GM)
To: None <tech-x11@netbsd.org>
From: Frank Wille <frank@phoenix.owl.de>
List: tech-x11
Date: 05/27/2007 15:33:40
Warning: This is a message in MIME format. Your mail reader does not
support MIME. Some parts of this message will be readable as plain text.
To see the rest, you will need to upgrade your mail reader. Following are
some URLs where you can find MIME-capable mail programs for common platforms:

  Amiga............: YAM          http://www.yam.ch/
  Unix.............: Metamail     ftp://thumper.bellcore.com/pub/nsb/
  Windows/Macintosh: Eudora       http://www.eudora.com/

General info about MIME can be found at:

http://www.faqs.org/faqs/mail/mime-faq/


--BOUNDARY.556259544.2
Content-Type: text/plain

Hi!

This weekend I tried to setup a Toshiba Tecra A3X notebook with NetBSD, but
failed to get anything other than a dark screen when starting the X server.
The X server itself and its client programs are running, only the display
remains dark.

Surprisingly, when attaching an external CRT, I have a picture on it! So I
thought it must have something to do with the horiz. or vert. refresh rate
of the notebook's display. I installed Windows for comparison, and all its
screen modes were using exactly 60 Hz.

The X server is starting in the native resolution of 1024x768 with  59.9 Hz
(according to my CRT). So where is the problem? This video chip is a
82915GM/GMS, which should be supported by the i810 driver (refer to the
attached dmesg).

Does this display require a secret code to be written into some register, to
make it work (only known to Windows)? Anybody else has experience with
Toshiba Tecra notebooks?

FYI, my XF86Config and the XFree86.0.log can be found at:

http://sun.hasenbraten.de/~frank/NetBSD/XF86Config
http://sun.hasenbraten.de/~frank/NetBSD/XFree86.0.log

The log file shows that the correct mode is used:

(--) I810(0): Virtual size is 1024x768 (pitch 1024)
(**) I810(0): Built-in mode "1024x768"
[...]
(II) I810(0): Attempting to use 60Hz refresh for mode "1024x768" (54)


Thanks in advance for any hint!

-- 
    _  Frank Wille (frank@phoenix.owl.de)
 _ //  http://sun.hasenbraten.de/~frank/
 \X/   Phx @ #AmigaGer

--BOUNDARY.556259544.2
Content-Type: text/plain; name="dmesg.txt"
Content-Disposition: attachment; filename="dmesg.txt"

NetBSD 3.1 (GENERIC) #0: Tue Oct 31 04:27:07 UTC 2006
	builds@b0.netbsd.org:/home/builds/ab/netbsd-3-1-RELEASE/i386/200610302053Z-obj/home/builds/ab/netbsd-3-1-RELEASE/src/sys/arch/i386/compile/GENERIC
total memory = 247 MB
avail memory = 233 MB
BIOS32 rev. 0 found at 0xfc2eb
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Pentium M (Dothan) (686-class), 1496.35 MHz, id 0x6d8
cpu0: features afe9fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features afe9fbff<PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX>
cpu0: features afe9fbff<FXSR,SSE,SSE2,SS,TM,SBF>
cpu0: "Intel(R) Celeron(R) M processor         1.50GHz"
cpu0: I-cache 32 KB 64B/line 8-way, D-cache 32 KB 64B/line 8-way
cpu0: using thermal monitor 1
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82915PM/GM/GMS,82910GML Host Bridge (rev. 0x03)
pchb0: random number generator enabled
agp0 at pchb0: detected 7932k stolen memory
agp0: aperture at 0xb0000000, size 0x10000000
vga1 at pci0 dev 2 function 0: Intel 82915GM/GMS Integrated Graphics Device (rev. 0x03)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
Intel 82915GM/GMS IGD Companion (miscellaneous display, revision 0x03) at pci0 dev 2 function 1 not configured
uhci0 at pci0 dev 29 function 0: Intel 82801FB/FR USB UHCI Controller (rev. 0x03)
uhci0: interrupting at irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1: Intel 82801FB/FR USB UHCI Controller (rev. 0x03)
uhci1: interrupting at irq 11
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2: Intel 82801FB/FR USB UHCI Controller (rev. 0x03)
uhci2: interrupting at irq 11
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3 at pci0 dev 29 function 3: Intel 82801FB/FR USB UHCI Controller (rev. 0x03)
uhci3: interrupting at irq 10
usb3 at uhci3: USB revision 1.0
uhub3 at usb3
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7: Intel 82801FB/FR USB EHCI Controller (rev. 0x03)
ehci0: can't map memory space
ppb0 at pci0 dev 30 function 0: Intel 82801BAM Hub-PCI Bridge (rev. 0xd3)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
iwi0 at pci1 dev 5 function 0: Intel PRO/Wireless LAN 2200BG Mini-PCI Adapter (rev. 0x05)
iwi0: interrupting at irq 11
iwi0: 802.11 address 00:13:ce:6c:8c:b5
iwi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
iwi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
Texas Instruments TSB43AA21 IEEE 1394 Host Controller (Firewire serial bus, interface 0x10) at pci1 dev 6 function 0 not configured
cbb0 at pci1 dev 7 function 0: Texas Instruments PCI1510 PCI-CardBus Bridge (rev. 0x00)
cbb0: NOT USED because of unconfigured interrupt
fxp0 at pci1 dev 8 function 0: Intel PRO/100 VE (LOM) Network Controller, rev 3
fxp0: interrupting at irq 11
fxp0: Ethernet address 00:0e:7b:47:44:a0
inphy0 at fxp0 phy 1: i82562ET 10/100 media interface, rev. 0
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
auich0 at pci0 dev 30 function 2: i82801FB (ICH6) AC-97 Audio
auich0: can't map codec i/o space
Intel 82801FB/FR AC'97 Modem Controller (modem communications, revision 0x03) at pci0 dev 30 function 3 not configured
pcib0 at pci0 dev 31 function 0
pcib0: Intel product 0x2641 (rev. 0x03)
piixide0 at pci0 dev 31 function 2
piixide0: Intel 82801FBM Serial ATA Controller (ICH6) (rev. 0x03)
piixide0: bus-master DMA support present
piixide0: primary channel wired to compatibility mode
piixide0: primary channel interrupting at irq 14
atabus0 at piixide0 channel 0
piixide0: secondary channel wired to compatibility mode
piixide0: secondary channel interrupting at irq 15
atabus1 at piixide0 channel 1
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
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
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
pcic0 at isa0 port 0x3e0-0x3e1 iomem 0xd0000-0xdffff irq 
pcic0: controller 0 (Intel 82365SL-DF) has sockets A and B
pcmcia0 at pcic0 controller 0 socket 0
pcmcia1 at pcic0 controller 0 socket 1
isapnp0: no ISA Plug 'n Play devices found
pcic0: controller 0 detecting irqs with mask 0xdeb8:..3..5..7
pcic0: using irq 3 for socket events
Kernelized RAIDframe activated
wd0 at atabus0 drive 0: <TOSHIBA MK8026GAX>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 76319 MB, 155061 cyl, 16 head, 63 sec, 512 bytes/sect x 156301488 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA)
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <MATSHITADVD-RAM UJ-841S, , 1.20> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(piixide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)

--BOUNDARY.556259544.2--