All of lore.kernel.org
 help / color / mirror / Atom feed
* [radeonfb] black screen/wrong display size detected
@ 2004-02-18 16:42 Andreas Happe
  2004-02-19  4:30 ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Happe @ 2004-02-18 16:42 UTC (permalink / raw)
  To: linux-kernel

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 (crow@flatline.ath.cx) (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.

-- 
Andreas


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

* Re: [radeonfb] black screen/wrong display size detected
  2004-02-18 16:42 [radeonfb] black screen/wrong display size detected Andreas Happe
@ 2004-02-19  4:30 ` Benjamin Herrenschmidt
  2004-02-20  9:40   ` Andreas Happe
  0 siblings, 1 reply; 3+ messages in thread
From: Benjamin Herrenschmidt @ 2004-02-19  4:30 UTC (permalink / raw)
  To: Andreas Happe; +Cc: Linux Kernel list

On Thu, 2004-02-19 at 03:42, Andreas Happe wrote:
> 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 ?)

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

> | 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.
-- 
Benjamin Herrenschmidt <benh@kernel.crashing.org>


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

* Re: [radeonfb] black screen/wrong display size detected
  2004-02-19  4:30 ` Benjamin Herrenschmidt
@ 2004-02-20  9:40   ` Andreas Happe
  0 siblings, 0 replies; 3+ messages in thread
From: Andreas Happe @ 2004-02-20  9:40 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: Linux Kernel list

Benjamin Herrenschmidt <benh@kernel.crashing.org> [040220 10:00]:
>On Thu, 2004-02-19 at 03:42, Andreas Happe wrote:
>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.

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

>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

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

end of thread, other threads:[~2004-02-20  9:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-18 16:42 [radeonfb] black screen/wrong display size detected Andreas Happe
2004-02-19  4:30 ` Benjamin Herrenschmidt
2004-02-20  9:40   ` Andreas Happe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.