Skip to contentSkip to conversation

black screen/wrong display size detected

radeonfb Andreas Happe 2 participants 3 messages Feb 18, 2004 – Feb 20, 2004

lore
Share & tools
lore
#0 lore raw

display turns black after loading radeon on bootup (compiled in). It stays black, even after xdm should have started.

hardware: HP Compaq nx7000

			01:00.0 VGA compatible controller: ATI Technologies Inc
			Radeon R250 Lf [Radeon Mobility 9000 M9] (rev 01)

partial dmesg output:

| Linux version 2.6.3-mm1 ([email protected]) (gcc version 3.3.2) #7 Wed Feb 18 11:49:15 CET 2004
| [..]
| ACPI: RSDP (v000 COMPAQ                                    ) @ 0x000f6350
| ACPI: RSDT (v001 HP     CPQ0860  0x30090320 CPQ  0x00000001) @ 0x1fff0c84
| ACPI: FADT (v002 HP     CPQ0860  0x00000002 CPQ  0x00000001) @ 0x1fff0c00
| ACPI: SSDT (v001 COMPAQ  CPQGysr 0x00001001 MSFT 0x0100000e) @ 0x1fff5bd7
| ACPI: DSDT (v001 HP       nx7000 0x00010000 MSFT 0x0100000e) @ 0x00000000
| ACPI: PM-Timer IO Port: 0x1008
| Built 1 zonelists
| Local APIC disabled by BIOS -- reenabling.
| Found and enabled local APIC!
| Initializing CPU#0
| Kernel command line: root=/dev/hda2 idebus=66 nmi_watchdog=2 mem=524096K
| [..]
| radeonfb: Found Intel x86 BIOS ROM Image
| radeonfb: Retreived PLL infos from BIOS
| radeonfb: Reference=27.00 MHz (RefDiv=12) Memory=250.00 Mhz, System=220.00 MHz
| i2c_adapter i2c-0: registered as adapter #0
| i2c_adapter i2c-1: registered as adapter #1
| i2c_adapter i2c-2: registered as adapter #2
| i2c_adapter i2c-3: registered as adapter #3
| i2c_adapter i2c-1: master_xfer: with 2 msgs.
| i2c_adapter i2c-1: master_xfer: with 2 msgs.
| i2c_adapter i2c-1: master_xfer: with 2 msgs.
| i2c_adapter i2c-3: master_xfer: with 2 msgs.
| i2c_adapter i2c-3: master_xfer: with 2 msgs.
| i2c_adapter i2c-3: master_xfer: with 2 msgs.
| Non-DDC laptop panel detected
| i2c_adapter i2c-2: master_xfer: with 2 msgs.
| i2c_adapter i2c-2: master_xfer: with 2 msgs.
| i2c_adapter i2c-2: master_xfer: with 2 msgs.
| i2c_adapter i2c-3: master_xfer: with 2 msgs.
| i2c_adapter i2c-3: master_xfer: with 2 msgs.
| i2c_adapter i2c-3: master_xfer: with 2 msgs.
| radeonfb: Monitor 1 type LCD found
| radeonfb: Monitor 2 type no found
| radeonfb: panel ID string: Samsung LTN150P1-L02    
| radeonfb: detected LVDS panel size from BIOS: 1400x1050

wrong size detected, display is 1680x1050.

| radeondb: BIOS provided dividers will be used
| radeonfb: Assuming panel size 1400x1050
| radeonfb: Power Management enabled for Mobility chipsets
| radeonfb: ATI Radeon Lf  DDR SGRAM 64 MB
| Machine check exception polling timer started.
Signature · 1 line
Andreas
#1 lore raw
Quoted 2 lines · Andreas Happe

display turns black after loading radeon on bootup (compiled in). It stays black, even after xdm should have started.

Is backlight off or is it enabled and just screen content is black ? (Do you have working backlight control keys on the kbd ?)

Quoted 10 lines
| radeonfb: Found Intel x86 BIOS ROM Image
| radeonfb: Retreived PLL infos from BIOS
| radeonfb: Reference=27.00 MHz (RefDiv=12) Memory=250.00 Mhz, System=220.00 MHz
.../...
| radeonfb: Monitor 1 type LCD found
| radeonfb: Monitor 2 type no found
| radeonfb: panel ID string: Samsung LTN150P1-L02    
| radeonfb: detected LVDS panel size from BIOS: 1400x1050

wrong size detected, display is 1680x1050.

That's interesting.

Enable radeon debug options and send me the output. Also try commenting out the call to radeon_map_ROM(rinfo, pdev); in drivers/video/aty/radeon_base.c and send me that output as well (send me both, even if commenting out the call "fixes" it).

Quoted 5 lines
| radeondb: BIOS provided dividers will be used
| radeonfb: Assuming panel size 1400x1050
| radeonfb: Power Management enabled for Mobility chipsets
| radeonfb: ATI Radeon Lf  DDR SGRAM 64 MB
| Machine check exception polling timer started.
Signature · 1 line
Benjamin Herrenschmidt <[email protected]>
#2 lore raw

Benjamin Herrenschmidt <[email protected]> [040220 10:00]:

Quoted 3 lines · Andreas Happe

Is backlight off or is it enabled and just screen content is black ?

The screen content is black, I can change the backlight intensitivity with my keyboard.

Quoted 5 lines
Quoted 1 line

wrong size detected, display is 1680x1050.

That's interesting.

Enable radeon debug options and send me the output.

| PCI: if you experience problems, try using option 'pci=noacpi' or even 'acpi=off'
| radeonfb_pci_register BEGIN
| radeonfb: probed DDR SGRAM 65536k videoram
| radeonfb: mapped 16384k videoram
| radeonfb: Found Intel x86 BIOS ROM Image
| radeonfb: Retreived PLL infos from BIOS
| radeonfb: Reference=27.00 MHz (RefDiv=12) Memory=250.00 Mhz, System=220.00 MHz
| i2c_adapter i2c-0: registered as adapter #0
| i2c_adapter i2c-1: registered as adapter #1
| i2c_adapter i2c-2: registered as adapter #2
| i2c_adapter i2c-3: registered as adapter #3
| 1 chips in connector info
|  - chip 1 has 1 connectors
|   * connector 0 of type 2 (CRT) : 2300
| Starting monitor auto detection...
| radeonfb: I2C (port 1) ... not found
| i2c_adapter i2c-1: master_xfer: with 2 msgs.
| i2c_adapter i2c-1: master_xfer: with 2 msgs.
| i2c_adapter i2c-1: master_xfer: with 2 msgs.
| radeonfb: I2C (port 2) ... not found
| i2c_adapter i2c-2: master_xfer: with 2 msgs.
| i2c_adapter i2c-2: master_xfer: with 2 msgs.
| i2c_adapter i2c-2: master_xfer: with 2 msgs.
| radeonfb: I2C (port 3) ... not found
| i2c_adapter i2c-3: master_xfer: with 2 msgs.
| i2c_adapter i2c-3: master_xfer: with 2 msgs.
| i2c_adapter i2c-3: master_xfer: with 2 msgs.
| radeonfb: I2C (port 4) ... not found
| i2c_adapter i2c-1: master_xfer: with 2 msgs.
| i2c_adapter i2c-1: master_xfer: with 2 msgs.
| i2c_adapter i2c-1: master_xfer: with 2 msgs.
| radeonfb: I2C (port 2) ... not found
| i2c_adapter i2c-3: master_xfer: with 2 msgs.
| i2c_adapter i2c-3: master_xfer: with 2 msgs.
| i2c_adapter i2c-3: master_xfer: with 2 msgs.
| radeonfb: I2C (port 4) ... not found
| Non-DDC laptop panel detected
| i2c_adapter i2c-2: master_xfer: with 2 msgs.
| i2c_adapter i2c-2: master_xfer: with 2 msgs.
| i2c_adapter i2c-2: master_xfer: with 2 msgs.
| radeonfb: I2C (port 3) ... not found
| i2c_adapter i2c-3: master_xfer: with 2 msgs.
| i2c_adapter i2c-3: master_xfer: with 2 msgs.
| i2c_adapter i2c-3: master_xfer: with 2 msgs.
| radeonfb: I2C (port 4) ... not found
| radeonfb: Monitor 1 type LCD found
| radeonfb: Monitor 2 type no found
| radeonfb: panel ID string: Samsung LTN150P1-L02    | radeonfb: detected LVDS panel size from BIOS: 1400x1050
| BIOS provided panel power delay: 1000
| radeondb: BIOS provided dividers will be used
| ref_divider = c
| post_divider = 1
| fbk_divider = 60
| Scanning BIOS table ...
|  18 x 18665
|  8236 x 21569
|  12598 x 8241
|  0 x 25600
|  19558 x 0
|  65535 x 65535
|  0 x 866
|  65376 x 65535
|  8 x 2048
|  63743 x 3841
|  255 x 0
|  0 x 0
|  65535 x 115
|  32768 x 5
|  4608 x 4608
|  2179 x 2179
|  64770 x 33280
|  3 x 23046

..interessting values.

| Didn't find panel in BIOS table !
| Guessing panel info...
| radeonfb: Assuming panel size 1400x1050
| radeonfb: Power Management enabled for Mobility chipsets
| radeonfb: ATI Radeon Lf  DDR SGRAM 64 MB
| radeonfb_pci_register END
Quoted 5 lines

Also try
commenting out the call to radeon_map_ROM(rinfo, pdev); in drivers/video/aty/radeon_base.c and send me that output as well (send me both, even if commenting out the call "fixes" it).

yes, it fixed the problem for me (I get an working framebuffer, computer still crashes (sysrq still works) on startup (via xdm)).

kernel output:

| radeonfb_pci_register BEGIN
| radeonfb: probed DDR SGRAM 65536k videoram
| radeonfb: mapped 16384k videoram
| radeonfb: Retreived PLL infos from BIOS
| radeonfb: Reference=27.00 MHz (RefDiv=12) Memory=250.00 Mhz, System=220.00 MHz
| i2c_adapter i2c-0: registered as adapter #0
| i2c_adapter i2c-1: registered as adapter #1
| i2c_adapter i2c-2: registered as adapter #2
| i2c_adapter i2c-3: registered as adapter #3
| 1 chips in connector info
|  - chip 1 has 1 connectors
|   * connector 0 of type 2 (CRT) : 2300
| Starting monitor auto detection...
| radeonfb: I2C (port 1) ... not found
| i2c_adapter i2c-1: master_xfer: with 2 msgs.
| i2c_adapter i2c-1: master_xfer: with 2 msgs.
| i2c_adapter i2c-1: master_xfer: with 2 msgs.
| radeonfb: I2C (port 2) ... not found
| i2c_adapter i2c-2: master_xfer: with 2 msgs.
| i2c_adapter i2c-2: master_xfer: with 2 msgs.
| i2c_adapter i2c-2: master_xfer: with 2 msgs.
| radeonfb: I2C (port 3) ... not found
| i2c_adapter i2c-3: master_xfer: with 2 msgs.
| i2c_adapter i2c-3: master_xfer: with 2 msgs.
| i2c_adapter i2c-3: master_xfer: with 2 msgs.
| radeonfb: I2C (port 4) ... not found
| i2c_adapter i2c-1: master_xfer: with 2 msgs.
| i2c_adapter i2c-1: master_xfer: with 2 msgs.
| i2c_adapter i2c-1: master_xfer: with 2 msgs.
| radeonfb: I2C (port 2) ... not found
| i2c_adapter i2c-3: master_xfer: with 2 msgs.
| i2c_adapter i2c-3: master_xfer: with 2 msgs.
| i2c_adapter i2c-3: master_xfer: with 2 msgs.
| radeonfb: I2C (port 4) ... not found
| Non-DDC laptop panel detected
| i2c_adapter i2c-2: master_xfer: with 2 msgs.
| i2c_adapter i2c-2: master_xfer: with 2 msgs.
| i2c_adapter i2c-2: master_xfer: with 2 msgs.
| radeonfb: I2C (port 3) ... not found
| i2c_adapter i2c-3: master_xfer: with 2 msgs.
| i2c_adapter i2c-3: master_xfer: with 2 msgs.
| i2c_adapter i2c-3: master_xfer: with 2 msgs.
| radeonfb: I2C (port 4) ... not found
| radeonfb: Monitor 1 type LCD found
| radeonfb: Monitor 2 type no found
| radeonfb: panel ID string: HTC                     | radeonfb: detected LVDS panel size from BIOS: 1680x1050
| BIOS provided panel power delay: 1000
| radeondb: BIOS provided dividers will be used
| ref_divider = 6
| post_divider = 1
| fbk_divider = 35
| Scanning BIOS table ...
|  320 x 350
|  320 x 400
|  320 x 400
|  320 x 480
|  400 x 600
|  512 x 384
|  640 x 350
|  640 x 400
|  640 x 475
|  640 x 480
|  720 x 480
|  720 x 576
|  800 x 600
|  848 x 480
|  1024 x 768
|  1280 x 1024
|  1152 x 864
|  1280 x 800
|  1680 x 1050
| Found panel in BIOS table:
|   hblank: 160
|   hOver_plus: 48
|   hSync_width: 32
|   vblank: 30
|   vOver_plus: 2
|   vSync_width: 6
|   clock: 11912
| Setting up default mode based on panel info
| radeonfb: Power Management enabled for Mobility chipsets
| radeonfb: ATI Radeon Lf  DDR SGRAM 64 MB
| radeonfb_pci_register END

--Andreas