Subj : Black screen on LVDS when starting X in RedHat 8.0 To : alt.comp.linux,alt.linux,comp.os.linux,comp.os.linux.hardware From : Dennis Peere Date : Fri Jun 25 2004 05:28 pm Dear All, I have a problem with X in RedHat 8.0 on several systems. I use systems with Intel 845 chipset with onboard VGA and LVDS output. There is an Samsung LTN104S2-L01 touchscreen connected to the LVDS output and noting is attatched to the vga output. I also have an extra CT69000 pic card installed as second display with a 10" LCD. I've put X & in the /home/myuser/.bashrc to startup X without any Window manager. I just want to start my own graphical application as well from within the .bashrc It seems that in 10% of the reboots, I get a black screen on my LVDS monitor although everytinh seems to work fine on the second display. X is started and I can see everything when I use X0rfbserver to see what the LVDS is showing. The problem is that I have got several (30) exact systems like this and only +/-5 of them seem to show this problem. I've compared dmesg/lspci on systems that have the problem and others and haven't found any "big" differences. Below is some information of the systems that shows this problem most of all. this is an LSPCI of this machine: 00:00.0 Host bridge: Intel Corp. 82845G/GL [Brookdale-G] Chipset Host Bridge (rev 03) 00:02.0 VGA compatible controller: Intel Corp. 82845G/GL [Brookdale-G] Chipset Integrated Graphics Device (rev 03) 00:1d.0 USB Controller: Intel Corp. 82801DB USB (Hub #1) (rev 01) 00:1d.1 USB Controller: Intel Corp. 82801DB USB (Hub #2) (rev 01) 00:1d.2 USB Controller: Intel Corp. 82801DB USB (Hub #3) (rev 01) 00:1d.7 USB Controller: Intel Corp. 82801DB USB EHCI Controller (rev 01) 00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB PCI Bridge (rev 81) 00:1f.0 ISA bridge: Intel Corp. 82801DB ISA Bridge (LPC) (rev 01) 00:1f.1 IDE interface: Intel Corp. 82801DB ICH4 IDE (rev 01) 00:1f.3 SMBus: Intel Corp. 82801DB SMBus (rev 01) 00:1f.5 Multimedia audio controller: Intel Corp. 82801DB AC'97 Audio (rev 01) 02:02.0 Ethernet controller: Intel Corp. 82559ER (rev 10) 02:03.0 Communication controller: NetMos Technology 222N-2 I/O Card (2S+1P) (rev 01) 02:0a.0 VGA compatible controller: Chips and Technologies F69000 HiQVideo (rev 64) dmesg info : Linux version 2.4.18-14 (bhcompile@stripples.devel.redhat.com) (gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)) #1 Wed Sep 4 13:35:50 EDT 2002 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 000000000009f800 (usable) BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved) BIOS-e820: 00000000000d8000 - 00000000000e0000 (reserved) BIOS-e820: 00000000000e4000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 000000000f760000 (usable) BIOS-e820: 000000000f760000 - 000000000f770000 (ACPI data) BIOS-e820: 000000000f770000 - 000000000f780000 (ACPI NVS) BIOS-e820: 000000000f780000 - 0000000010000000 (reserved) BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved) BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved) BIOS-e820: 00000000ff800000 - 00000000ffc00000 (reserved) BIOS-e820: 00000000fffffc00 - 0000000100000000 (reserved) 0MB HIGHMEM available. 247MB LOWMEM available. On node 0 totalpages: 63328 zone(0): 4096 pages. zone(1): 59232 pages. zone(2): 0 pages. Kernel command line: auto BOOT_IMAGE=linux ro BOOT_FILE=/boot/vmlinuz-2.4.18-14 root=LABEL=/ Initializing CPU#0 Detected 1999.961 MHz processor. Speakup v-1.00 CVS: Tue Jun 11 14:22:53 EDT 2002 : initialized Console: colour VGA+ 80x25 Calibrating delay loop... 3970.35 BogoMIPS Memory: 244416k/253312k available (1326k kernel code, 6532k reserved, 999k data, 212k init, 0k highmem) Dentry cache hash table entries: 32768 (order: 6, 262144 bytes) Inode cache hash table entries: 16384 (order: 5, 131072 bytes) Mount cache hash table entries: 4096 (order: 3, 32768 bytes) ramfs: mounted with options: ramfs: max_pages=30799 max_file_pages=0 max_inodes=0 max_dentries=30799 Buffer cache hash table entries: 16384 (order: 4, 65536 bytes) Page-cache hash table entries: 65536 (order: 6, 262144 bytes) CPU: Before vendor init, caps: bfebfbff 00000000 00000000, vendor = 0 CPU: L1 I cache: 0K, L1 D cache: 8K CPU: After vendor init, caps: bfebfbff 00000000 00000000 00000000 Intel machine check architecture supported. Intel machine check reporting enabled on CPU#0. CPU: After generic, caps: bfebfbff 00000000 00000000 00000000 CPU: Common caps: bfebfbff 00000000 00000000 00000000 CPU: Intel(R) Celeron(R) CPU 2.00GHz stepping 07 Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Checking 'hlt' instruction... OK. POSIX conformance testing by UNIFIX mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au) mtrr: detected mtrr type: Intel PCI: PCI BIOS revision 2.10 entry at 0xfd81e, last bus=2 PCI: Using configuration type 1 PCI: Probing PCI hardware Unknown bridge resource 2: assuming transparent isapnp: Scanning for PnP cards... isapnp: No Plug & Play device found speakup: initialized device: /dev/synth, node (MAJOR 10, MINOR 25) Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16) Starting kswapd VFS: Diskquotas version dquot_6.5.0 initialized Detected PS/2 Mouse Port. pty: 2048 Unix98 ptys configured Serial driver version 5.05c (2001-07-08) with MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI ISAPNP enabled ttyS0 at 0x03f8 (irq = 4) is a 16550A ttyS1 at 0x02f8 (irq = 3) is a 16550A ttyS2 at 0x03e8 (irq = 4) is a 16550A ttyS3 at 0x02e8 (irq = 3) is a 16550A Real Time Clock Driver v1.10e oprofile: can't get RTC I/O Ports block: 464 slots per queue, batch=116 Uniform Multi-Platform E-IDE driver Revision: 6.31 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx PIIX4: IDE controller on PCI bus 00 dev f9 PCI: Enabling device 00:1f.1 (0005 -> 0007) PCI: No IRQ known for interrupt pin A of device 00:1f.1. Please try using pci=biosirq. PIIX4: chipset revision 1 PIIX4: not 100% native mode: will probe irqs later ide0: BM-DMA at 0x18c0-0x18c7, BIOS settings: hda:DMA, hdb:pio ide1: BM-DMA at 0x18c8-0x18cf, BIOS settings: hdc:pio, hdd:pio hda: WDC WD400JB-32ENA0, ATA DISK drive ide2: ports already in use, skipping probe ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 blk: queue c03c0004, I/O limit 4095Mb (mask 0xffffffff) blk: queue c03c0004, I/O limit 4095Mb (mask 0xffffffff) hda: 78165360 sectors (40021 MB) w/8192KiB Cache, CHS=4865/255/63, UDMA(100) ide-floppy driver 0.99.newide Partition check: hda: hda1 hda2 hda3 hda4 < hda5 hda6 hda7 hda8 hda9 > floppy0: no floppy controllers found NET4: Frame Diverter 0.46 RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize ide-floppy driver 0.99.newide md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27 md: Autodetecting RAID arrays. md: autorun ... md: ... autorun DONE. NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP, IGMP IP: routing cache hash table of 2048 buckets, 16Kbytes TCP: Hash tables configured (established 16384 bind 32768) Linux IP multicast router 0.06 plus PIM-SM NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. RAMDISK: Compressed image found at block 0 Freeing initrd memory: 128k freed VFS: Mounted root (ext2 filesystem). Journalled Block Device driver loaded kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. Freeing unused kernel memory: 212k freed usb.c: registered new driver usbdevfs usb.c: registered new driver hub PCI: Setting latency timer of device 00:1d.7 to 64 hcd.c: ehci-hcd @ 00:1d.7, Intel Corp. 82801DB USB EHCI Controller hcd.c: irq 12, pci mem d0048000 usb.c: new USB bus registered, assigned bus number 1 ehci-hcd.c: restricting 64bit DMA mappings to segment 0 ... ehci-hcd.c: USB 2.0 support enabled, EHCI rev 1. 0 hub.c: USB hub found hub.c: 6 ports detected usb-uhci.c: $Revision: 1.275 $ time 13:44:31 Sep 4 2002 usb-uhci.c: High bandwidth mode enabled PCI: Setting latency timer of device 00:1d.0 to 64 usb-uhci.c: USB UHCI at I/O 0x1840, IRQ 11 usb-uhci.c: Detected 2 ports usb.c: new USB bus registered, assigned bus number 2 hub.c: USB hub found hub.c: 2 ports detected PCI: Setting latency timer of device 00:1d.1 to 64 usb-uhci.c: USB UHCI at I/O 0x1860, IRQ 11 usb-uhci.c: Detected 2 ports usb.c: new USB bus registered, assigned bus number 3 hub.c: USB hub found hub.c: 2 ports detected PCI: Setting latency timer of device 00:1d.2 to 64 usb-uhci.c: USB UHCI at I/O 0x1880, IRQ 11 usb-uhci.c: Detected 2 ports usb.c: new USB bus registered, assigned bus number 4 hub.c: USB hub found hub.c: 2 ports detected usb-uhci.c: v1.275:USB Universal Host Controller Interface driver usb.c: registered new driver hiddev usb.c: registered new driver hid hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik hid-core.c: USB HID support drivers mice: PS/2 mouse device common for all mice EXT3 FS 2.4-0.9.18, 14 May 2002 on ide0(3,2), internal journal Adding Swap: 265032k swap-space (priority -1) usb.c: registered new driver usbtm kjournald starting. Commit interval 5 seconds EXT3 FS 2.4-0.9.18, 14 May 2002 on ide0(3,5), internal journal EXT3-fs: mounted filesystem with ordered data mode. kjournald starting. Commit interval 5 seconds EXT3 FS 2.4-0.9.18, 14 May 2002 on ide0(3,7), internal journal EXT3-fs: mounted filesystem with ordered data mode. kjournald starting. Commit interval 5 seconds EXT3 FS 2.4-0.9.18, 14 May 2002 on ide0(3,8), internal journal EXT3-fs: mounted filesystem with ordered data mode. kjournald starting. Commit interval 5 seconds EXT3 FS 2.4-0.9.18, 14 May 2002 on ide0(3,3), internal journal EXT3-fs: mounted filesystem with ordered data mode. kjournald starting. Commit interval 5 seconds EXT3 FS 2.4-0.9.18, 14 May 2002 on ide0(3,6), internal journal EXT3-fs: mounted filesystem with ordered data mode. ip_tables: (C) 2000-2002 Netfilter core team eepro100.c:v1.09j-t 9/29/99 Donald Becker http://www.scyld.com/network/eepro100.html eepro100.c: $Revision: 1.36 $ 2000/11/17 Modified by Andrey V. Savochkin and others divert: allocating divert_blk for eth0 eth0: OEM i82557/i82558 10/100 Ethernet, 00:00:60:DA:42:2F, IRQ 12. Board assembly ffffff-255, Physical connectors present: RJ45 Primary interface chip i82555 PHY #1. Secondary interface chip i82555. General self-test: passed. Serial sub-system self-test: passed. Internal registers self-test: passed. ROM checksum self-test: passed (0xd0a6c714). Linux agpgart interface v0.99 (c) Jeff Hartmann agpgart: Maximum main memory to use for agp memory: 196M agpgart: Detected an Intel 845G Chipset. agpgart: detected 8060K stolen memory. agpgart: AGP aperture is 128M @ 0xd8000000 memory : c97a7260 XF86Config : # XFree86 4 configuration created by pyxf86config Section "ServerLayout" Identifier "Default Layout" Screen "Screen0" 0 0 Screen "Screen1" LeftOf "Screen0" InputDevice "Keyboard0" "CoreKeyboard" InputDevice "touchscreen1" "CorePointer" EndSection Section "Files" RgbPath "/usr/X11R6/lib/X11/rgb" FontPath "unix/:7100" EndSection Section "Module" Load "dbe" Load "extmod" Load "fbdevhw" Load "dri" Load "glx" Load "record" Load "freetype" 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" "PS/2" Option "Device" "/dev/psaux" Option "ZAxisMapping" "4 5" Option "Emulate3Buttons" "no" EndSection Section "InputDevice" Identifier "DevInputMice" Driver "mouse" Option "Protocol" "IMPS/2" Option "Device" "/dev/input/mice" Option "ZAxisMapping" "4 5" Option "Emulate3Buttons" "no" EndSection Section "InputDevice" Identifier "touchscreen1" Driver "elographics" Option "Device" "/dev/ttyS5" Option "AlwaysCore" Option "screenno" "0" Option "MinX" "328" Option "MaxX" "3683" Option "MinY" "515" Option "MaxY" "3543" Option "UntouchDelay" "3" Option "ReportDelay" "1" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "Monitor Model" HorizSync 31.5 - 48.5 VertRefresh 50.0 - 70.0 Option "dpms" EndSection Section "Monitor" Identifier "Monitor1" VendorName "Monitor Vendor" ModelName "Unknown monitor" HorizSync 31.5 - 37.9 VertRefresh 50.0 - 70.0 ModeLine "1400x1050" 129.0 1400 1464 1656 1960 1050 1051 1054 1100 +hsync +vsync ModeLine "1400x1050" 151.0 1400 1464 1656 1960 1050 1051 1054 1100 +hsync +vsync ModeLine "1400x1050" 162.0 1400 1464 1656 1960 1050 1051 1054 1100 +hsync +vsync ModeLine "1400x1050" 184.0 1400 1464 1656 1960 1050 1051 1054 1100 +hsync +vsync Option "dpms" EndSection Section "Device" Identifier "Videocard0" Driver "i810" VendorName "Videocard vendor" BoardName "Intel 845" BusID "PCI:0:2:0" EndSection Section "Device" Identifier "Videocard1" Driver "chips" VendorName "Videocard vendor" BoardName "Chips & Technologies CT69000" Option "XaaNoPixmapCache" "" Option "XaaNoScreenToScreenCopy" "" Option "XaaNoCPUToScreenColorExpandFill" "" BusID "PCI:2:10:0" EndSection Section "Screen" Identifier "Screen0" Device "Videocard0" Monitor "Monitor0" DefaultDepth 16 SubSection "Display" Depth 24 Modes "800x600" EndSubSection SubSection "Display" Depth 16 Modes "800x600" "640x480" EndSubSection EndSection Section "Screen" Identifier "Screen1" Device "Videocard1" Monitor "Monitor1" DefaultDepth 16 SubSection "Display" Depth 16 Modes "800x600" "640x480" EndSubSection EndSection Section "DRI" Group 0 Mode 0666 EndSection .