Announcement

Collapse
No announcement yet.

[radeon] 16s Boot delay with black screen - why and how to debug?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [radeon] 16s Boot delay with black screen - why and how to debug?

    Hello!

    I installed Debian Jessie on my TravelMate 5740ZG and it booted very fast.
    After installing the firmware package it slowed down (gfx firmware was now loaded).
    Now I'm on Debian testing and compiled my own kernel to bisect some other issues.

    At boot I notice that the screen goes blank for a long time with no drive activity, that corresponds with this time delay in the kernel output:
    Code:
    [   18.308002] fbcon: radeondrmfb (fb0) is primary device
    [   34.553785] Console: switching to colour frame buffer device 170x48
    so there exists a 16 seconds delay where nothing happens and imho that is caused by the radeon driver.

    Does anybody know why there is this delay or can give me some hints to analyze/debug the problem?

    TIA,
    Heiko.

    dmesg output (sorry I can't upload attachments yet):
    Code:
    [   12.583131] [drm] Initialized drm 1.1.0 20060810
    [   12.758729] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
    [   12.819197] input: PC Speaker as /devices/platform/pcspkr/input/input8
    [   13.106471] iTCO_vendor_support: vendor-support=0
    [   13.161640] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.11
    [   13.161783] iTCO_wdt: Found a HM55 TCO device (Version=2, TCOBASE=0x0460)
    [   13.162077] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
    [   13.449835] [drm] radeon kernel modesetting enabled.
    [   13.450368] [drm] initializing kernel modesetting (REDWOOD 0x1002:0x68C1 0x1025:0x036D 0x00).
    [   13.450493] [drm] register mmio base: 0xB4000000
    [   13.450575] [drm] register mmio size: 131072
    [   13.450769] ATOM BIOS: Acer
    [   13.450935] radeon 0000:01:00.0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M used)
    [   13.451044] radeon 0000:01:00.0: GTT: 1024M 0x0000000040000000 - 0x000000007FFFFFFF
    [   13.451149] [drm] Detected VRAM RAM=1024M, BAR=256M
    [   13.451233] [drm] RAM width 128bits DDR
    [   13.451382] [TTM] Zone  kernel: Available graphics memory: 1956140 kiB
    [   13.451471] [TTM] Initializing pool allocator
    [   13.451558] [TTM] Initializing DMA pool allocator
    [   13.451666] [drm] radeon: 1024M of VRAM memory ready
    [   13.451751] [drm] radeon: 1024M of GTT memory ready.
    [   13.451848] [drm] Loading REDWOOD Microcode
    [   13.676775] ACPI: Battery Slot [BAT0] (battery present)
    [   13.779623] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC272X: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
    [   13.779744] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
    [   13.779850] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
    [   13.779955] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
    [   13.780043] snd_hda_codec_realtek hdaudioC0D0:    inputs:
    [   13.780129] snd_hda_codec_realtek hdaudioC0D0:      Internal Mic=0x19
    [   13.782183] snd_hda_codec_realtek hdaudioC0D0:      Mic=0x18
    [   13.789579] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/sound/card0/input9
    [   13.789907] input: HDA Intel MID Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input10
    [   13.790086] input: HDA Intel MID Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input11
    [   13.798548] input: HDA ATI HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input12
    [   14.220201] [drm] Internal thermal controller with fan control
    [   14.245786] [drm] radeon: dpm initialized
    [   14.269378] Adding 8105980k swap on /dev/sda5.  Priority:-1 extents:1 across:8105980k FS
    [   14.338436] [drm] GART: num cpu pages 262144, num gpu pages 262144
    [   14.343809] [drm] PCIE GART of 1024M enabled (table at 0x000000000025E000).
    [   14.344057] radeon 0000:01:00.0: WB enabled
    [   14.344143] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000040000c00 and cpu addr 0xffff880151071c00
    [   14.344256] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000040000c0c and cpu addr 0xffff880151071c0c
    [   14.345128] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x000000000005c418 and cpu addr 0xffffc90000c1c418
    [   14.345242] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [   14.345327] [drm] Driver supports precise vblank timestamp query.
    [   14.345414] radeon 0000:01:00.0: radeon: MSI limited to 32-bit
    [   14.345544] radeon 0000:01:00.0: radeon: using MSI.
    [   14.345668] [drm] radeon: irq initialized.
    [   14.362892] [drm] ring test on 0 succeeded in 1 usecs
    [   14.362987] [drm] ring test on 3 succeeded in 3 usecs
    [   14.539270] [drm] ring test on 5 succeeded in 1 usecs
    [   14.539379] [drm] UVD initialized successfully.
    [   14.539813] [drm] ib test on ring 0 succeeded in 0 usecs
    [   14.539939] [drm] ib test on ring 3 succeeded in 0 usecs
    [   14.583677] acer_wmi: Acer Laptop ACPI-WMI Extras
    [   14.583844] acer_wmi: Function bitmap for Communication Button: 0x801
    [   14.584799] input: Acer WMI hotkeys as /devices/virtual/input/input13
    [   14.585976] input: Acer BMA150 accelerometer as /devices/virtual/input/input14
    [   14.627582] b43-phy0: Broadcom 43225 WLAN found (core revision 23)
    [   14.628282] b43-phy0: Found PHY: Analog 8, Type 4 (N), Revision 6
    [   14.628438] b43-phy0: Found Radio: Manuf 0x17F, ID 0x2056, Revision 11, Version 0
    [   14.629137] Broadcom 43xx driver loaded [ Features: PNLS ]
    [   14.690668] [drm] ib test on ring 5 succeeded
    [   14.735607] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
    [   14.748697] [drm] radeon atom DIG backlight initialized
    [   14.748801] [drm] Radeon Display Connectors
    [   14.748884] [drm] Connector 0:
    [   14.748965] [drm]   LVDS-1
    [   14.749045] [drm]   DDC: 0x6560 0x6560 0x6564 0x6564 0x6568 0x6568 0x656c 0x656c
    [   14.749149] [drm]   Encoders:
    [   14.749229] [drm]     LCD1: INTERNAL_UNIPHY
    [   14.749311] [drm] Connector 1:
    [   14.749391] [drm]   HDMI-A-1
    [   14.749471] [drm]   HPD1
    [   14.749550] [drm]   DDC: 0x6430 0x6430 0x6434 0x6434 0x6438 0x6438 0x643c 0x643c
    [   14.749654] [drm]   Encoders:
    [   14.749734] [drm]     DFP1: INTERNAL_UNIPHY1
    [   14.749816] [drm] Connector 2:
    [   14.749896] [drm]   VGA-1
    [   14.749975] [drm]   DDC: 0x6470 0x6470 0x6474 0x6474 0x6478 0x6478 0x647c 0x647c
    [   14.750079] [drm]   Encoders:
    [   14.750159] [drm]     CRT1: INTERNAL_KLDSCP_DAC1
    [   15.128565] usb 1-1.4: new full-speed USB device number 3 using ehci-pci
    [   15.230729] usb 1-1.4: New USB device found, idVendor=0489, idProduct=e011
    [   15.230883] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [   15.230975] usb 1-1.4: Product: Acer Module
    [   15.231051] usb 1-1.4: Manufacturer: Broadcom Corp
    [   15.231126] usb 1-1.4: SerialNumber: 506313B56AFF
    [   16.416902] Bluetooth: Core ver 2.21
    [   16.417071] NET: Registered protocol family 31
    [   16.417156] Bluetooth: HCI device and connection manager initialized
    [   16.417246] Bluetooth: HCI socket layer initialized
    [   16.417333] Bluetooth: L2CAP socket layer initialized
    [   16.417428] Bluetooth: SCO socket layer initialized
    [   17.486530] usbcore: registered new interface driver btusb
    [   18.307477] [drm] fb mappable at 0xA045F000
    [   18.307564] [drm] vram apper at 0xA0000000
    [   18.307644] [drm] size 4325376
    [   18.307722] [drm] fb depth is 24
    [   18.307801] [drm]    pitch is 5632
    [   18.308002] fbcon: radeondrmfb (fb0) is primary device
    [   34.553785] Console: switching to colour frame buffer device 170x48
    [   34.560458] radeon 0000:01:00.0: fb0: radeondrmfb frame buffer device
    [   35.595174] [drm] Initialized radeon 2.43.0 20080528 for 0000:01:00.0 on minor 0

  • #2
    No, radeon.audio=0 does not change the behavior

    Comment


    • #3
      radeon.dpm=0 does improve it.
      Code:
      [   13.969748] [drm] Initialized drm 1.1.0 20060810
      [   15.176367] [drm] radeon kernel modesetting enabled.
      [   15.571335] [drm] initializing kernel modesetting (REDWOOD 0x1002:0x68C1 0x1025:0x036D 0x00).
      [   15.571481] [drm] register mmio base: 0xB4000000
      [   15.571574] [drm] register mmio size: 131072
      [   15.571870] ATOM BIOS: Acer
      [   15.572055] radeon 0000:01:00.0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M used)
      [   15.572170] radeon 0000:01:00.0: GTT: 1024M 0x0000000040000000 - 0x000000007FFFFFFF
      [   15.572283] [drm] Detected VRAM RAM=1024M, BAR=256M
      [   15.572375] [drm] RAM width 128bits DDR
      [   15.572960] [TTM] Zone  kernel: Available graphics memory: 1956086 kiB
      [   15.573058] [TTM] Initializing pool allocator
      [   15.573157] [TTM] Initializing DMA pool allocator
      [   15.573285] [drm] radeon: 1024M of VRAM memory ready
      [   15.573378] [drm] radeon: 1024M of GTT memory ready.
      [   15.573495] [drm] Loading REDWOOD Microcode
      [   16.038669] [drm] Internal thermal controller with fan control
      [   16.038875] [drm] radeon: power management initialized
      [   16.090288] [drm] GART: num cpu pages 262144, num gpu pages 262144
      [   16.107492] [drm] PCIE GART of 1024M enabled (table at 0x000000000025E000).
      [   16.107742] radeon 0000:01:00.0: WB enabled
      [   16.107827] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000040000c00 and cpu addr 0xffff8800988fac00
      [   16.107948] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000040000c0c and cpu addr 0xffff8800988fac0c
      [   16.108804] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x000000000005c418 and cpu addr 0xffffc90000c1c418
      [   16.108911] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
      [   16.108996] [drm] Driver supports precise vblank timestamp query.
      [   16.109080] radeon 0000:01:00.0: radeon: MSI limited to 32-bit
      [   16.109223] radeon 0000:01:00.0: radeon: using MSI.
      [   16.109352] [drm] radeon: irq initialized.
      [   16.126701] [drm] ring test on 0 succeeded in 1 usecs
      [   16.126795] [drm] ring test on 3 succeeded in 3 usecs
      [   16.303226] [drm] ring test on 5 succeeded in 1 usecs
      [   16.303323] [drm] UVD initialized successfully.
      [   16.304023] [drm] ib test on ring 0 succeeded in 0 usecs
      [   16.304151] [drm] ib test on ring 3 succeeded in 0 usecs
      [   16.952059] [drm] ib test on ring 5 succeeded
      [   17.012015] [drm] radeon atom DIG backlight initialized
      [   17.012105] [drm] Radeon Display Connectors
      [   17.012182] [drm] Connector 0:
      [   17.012258] [drm]   LVDS-1
      [   17.012335] [drm]   DDC: 0x6560 0x6560 0x6564 0x6564 0x6568 0x6568 0x656c 0x656c
      [   17.012430] [drm]   Encoders:
      [   17.012506] [drm]     LCD1: INTERNAL_UNIPHY
      [   17.012585] [drm] Connector 1:
      [   17.012660] [drm]   HDMI-A-1
      [   17.012735] [drm]   HPD1
      [   17.012811] [drm]   DDC: 0x6430 0x6430 0x6434 0x6434 0x6438 0x6438 0x643c 0x643c
      [   17.012905] [drm]   Encoders:
      [   17.012979] [drm]     DFP1: INTERNAL_UNIPHY1
      [   17.013056] [drm] Connector 2:
      [   17.013131] [drm]   VGA-1
      [   17.013208] [drm]   DDC: 0x6470 0x6470 0x6474 0x6474 0x6478 0x6478 0x647c 0x647c
      [   17.013303] [drm]   Encoders:
      [   17.013378] [drm]     CRT1: INTERNAL_KLDSCP_DAC1
      [   17.537824] [drm] fb mappable at 0xA045F000
      [   17.537905] [drm] vram apper at 0xA0000000
      [   17.537978] [drm] size 4325376
      [   17.538048] [drm] fb depth is 24
      [   17.538119] [drm]    pitch is 5632
      [   17.538367] fbcon: radeondrmfb (fb0) is primary device
      [   18.019293] Console: switching to colour frame buffer device 170x48
      [   18.026076] radeon 0000:01:00.0: fb0: radeondrmfb frame buffer device
      [   18.040209] [drm] Initialized radeon 2.43.0 20080528 for 0000:01:00.0 on minor 0
      So why dynamic power management takes a moment to think?

      Comment


      • #4
        Seems to be fixed with Kernel 4.7.0-rc2

        Comment

        Working...
        X