system boots extremely slow with AMD R9 GPU
Xen
list at xenhideout.nl
Fri Mar 10 07:55:35 UTC 2017
I was actually just meaning to ask here,
that my Linux system boots very slowly when I have inserted a AMD R9 380
graphics card.
I don't know how to say it now, my message was aborted because I
attached a dmesg log.
Both when running kernel 4.4.0 and 4.8.0 on a Kubuntu 16.04 system the
booting takes almost indefinitely long, both during the kernel
initialization, or actually mostly during that, after a while the system
is functional.
Basically the kernel takes extremely long before it even enters the
systemd stage.
I am talking about several minutes before it hits SystemD.
The only messages in dmesg that really seem out of the ordinary are
these:
[ 13.963791] Failed to send Previous Message.
[ 14.161143] Failed to send Message.
[ 14.358509] Failed to send Previous Message.
[ 14.555867] Failed to send Message.
[ 14.753214] Failed to send Previous Message.
And there is a bunch of them.
If I filter out those messages, this is what my dmesg looks like:
I will just show you what starts happening after the AMD GPU is
recognised apparently. I have filtered out the majority of those
messages. (The failed to send previous message, messges).
As you can see, after 14 seconds (more or about) the first normal
message is:
"[ 139.328143] Console: switching to colour frame buffer device 180x56"
and
"[ 139.333613] amdgpu 0000:01:00.0: fb0: amdgpudrmfb frame buffer
device"
and this is after 139 total seconds into booting. In between, there is
only:
[ 100.054980] Failed to send Previous Message.
[ 100.252320] Failed to send Message.
[ 100.647012] Failed to send Previous Message.
[ 100.844367] Failed to send Message.
[ 101.239097] Failed to send Previous Message.
[ 101.436457] Failed to send Message.
[ 101.633824] Failed to send Previous Message.
[ 101.831165] Failed to send Message.
and nothing else.
This is a very condensed dmesg, I have taken out all the USB stuff and
everything leading up to 2.75.
I have also taken out most of the sata stuff.
These messagses keep appearing also after boot. The full text is
available at : https://paste.ubuntu.com/24150392/
What could be causing those messages and is this clear it is a AMD GPU
problem here?
-----------------------------------------------------------
[ 2.753135] [drm] Initialized drm 1.1.0 20060810
[ 2.784700] [drm] amdgpu kernel modesetting enabled.
[ 2.787553] AMD IOMMUv2 driver by Joerg Roedel <jroedel at suse.de>
[ 2.787557] AMD IOMMUv2 functionality not available on this system
[ 2.791214] CRAT table not found
[ 2.791218] Finished initializing topology ret=0
[ 2.791279] kfd kfd: Initialized module
[ 2.791569] checking generic (b0000000 510000) vs hw (b0000000
10000000)
[ 2.791571] fb: switching to amdgpudrmfb from VESA VGA
[ 2.791609] Console: switching to colour dummy device 80x25
[ 2.792054] [drm] initializing kernel modesetting (TONGA
0x1002:0x6939 0x1462:0x2015 0xF1).
[ 2.792069] [drm] register mmio base: 0xFDD80000
[ 2.792070] [drm] register mmio size: 262144
[ 2.792074] [drm] doorbell mmio base: 0xCFE00000
[ 2.792075] [drm] doorbell mmio size: 2097152
[ 2.792083] [drm] probing gen 2 caps for device 1002:5978 = 100d02/0
[ 2.792085] [drm] probing mlw for device 1002:5978 = 100d02
[ 2.792569] ATOM BIOS: 113
[ 2.793209] amdgpu 0000:01:00.0: VRAM: 2048M 0x0000000000000000 -
0x000000007FFFFFFF (2048M used)
[ 2.793212] amdgpu 0000:01:00.0: GTT: 2048M 0x0000000080000000 -
0x00000000FFFFFFFF
[ 2.793214] [drm] Detected VRAM RAM=2048M, BAR=256M
[ 2.793215] [drm] RAM width 256bits DDR
[ 2.793285] [TTM] Zone kernel: Available graphics memory: 4087792
kiB
[ 2.793287] [TTM] Zone dma32: Available graphics memory: 2097152
kiB
[ 2.793288] [TTM] Initializing pool allocator
[ 2.793294] [TTM] Initializing DMA pool allocator
[ 2.793322] [drm] amdgpu: 2048M of VRAM memory ready
[ 2.793323] [drm] amdgpu: 2048M of GTT memory ready.
[ 2.793338] [drm] GART: num cpu pages 524288, num gpu pages 524288
[ 2.801108] [drm] PCIE GART of 2048M enabled (table at
0x0000000000040000).
[ 2.801130] [drm] Supports vblank timestamp caching Rev 2
(21.10.2013).
[ 2.801132] [drm] Driver supports precise vblank timestamp query.
[ 2.801183] amdgpu 0000:01:00.0: amdgpu: using MSI.
[ 2.801219] [drm] amdgpu: irq initialized.
[ 2.801231] Can't find requested voltage id in vdd_dep_on_sclk table!
[ 2.808674] amdgpu: powerplay initialized
[ 2.810236] [drm] AMDGPU Display Connectors
[ 2.810239] [drm] Connector 0:
[ 2.810240] [drm] DP-1
[ 2.810241] [drm] HPD4
[ 2.810243] [drm] DDC: 0x4868 0x4868 0x4869 0x4869 0x486a 0x486a
0x486b 0x486b
[ 2.810267] [drm] Encoders:
[ 2.810268] [drm] DFP1: INTERNAL_UNIPHY1
[ 2.810270] [drm] Connector 1:
[ 2.810270] [drm] HDMI-A-1
[ 2.810271] [drm] HPD5
[ 2.810273] [drm] DDC: 0x4870 0x4870 0x4871 0x4871 0x4872 0x4872
0x4873 0x4873
[ 2.810274] [drm] Encoders:
[ 2.810275] [drm] DFP2: INTERNAL_UNIPHY1
[ 2.810276] [drm] Connector 2:
[ 2.810277] [drm] DVI-D-1
[ 2.810278] [drm] HPD1
[ 2.810279] [drm] DDC: 0x4878 0x4878 0x4879 0x4879 0x487a 0x487a
0x487b 0x487b
[ 2.810280] [drm] Encoders:
[ 2.810281] [drm] DFP3: INTERNAL_UNIPHY
[ 2.810282] [drm] Connector 3:
[ 2.810283] [drm] DVI-I-1
[ 2.810284] [drm] HPD6
[ 2.810285] [drm] DDC: 0x487c 0x487c 0x487d 0x487d 0x487e 0x487e
0x487f 0x487f
[ 2.810286] [drm] Encoders:
[ 2.810287] [drm] DFP4: INTERNAL_UNIPHY2
[ 2.810288] [drm] CRT1: INTERNAL_KLDSCP_DAC1
[ 2.811219] amdgpu 0000:01:00.0: fence driver on ring 0 use gpu addr
0x0000000080000008, cpu addr 0xffff880240562008
[ 2.813363] amdgpu 0000:01:00.0: fence driver on ring 10 use gpu addr
0x00000000800000a8, cpu addr 0xffff8802405620a8
[ 2.813649] [drm] Found UVD firmware Version: 1.65 Family ID: 10
[ 2.814514] amdgpu 0000:01:00.0: fence driver on ring 11 use gpu addr
0x000000000048ff40, cpu addr 0xffffc90002c4ef40
[ 2.814699] [drm] Found VCE firmware Version: 52.4 Binary ID: 3
[ 2.814825] amdgpu 0000:01:00.0: fence driver on ring 12 use gpu addr
0x00000000800000c8, cpu addr 0xffff8802405620c8
[ 2.814870] amdgpu 0000:01:00.0: fence driver on ring 13 use gpu addr
0x00000000800000d8, cpu addr 0xffff8802405620d8
[ 2.817197] sky2 0000:03:00.0 enp3s0: renamed from eth0
[ 2.951502] [drm] ring test on 0 succeeded in 12 usecs
[ 2.997572] [drm] ring test on 11 succeeded in 3 usecs
[ 3.007509] usb 1-10: new high-speed USB device number 4 using
ehci-pci
[ 3.017458] [drm] UVD initialized successfully.
[ 3.086286] ata5: SATA link down (SStatus 0 SControl 300)
[ 3.086342] ata4: SATA link down (SStatus 0 SControl 300)
[ 3.090277] ata2: SATA link down (SStatus 0 SControl 300)
[ 3.235848] [drm] ring test on 12 succeeded in 27 usecs
[ 3.235876] [drm] ring test on 13 succeeded in 7 usecs
[ 3.235877] [drm] VCE initialized successfully.
[ 3.258267] ata3: softreset failed (device not ready)
[ 3.258275] ata3: applying PMP SRST workaround and retrying
[ 3.288535] [drm] fb mappable at 0xB07AA000
[ 3.288537] [drm] vram apper at 0xB0000000
[ 3.288538] [drm] size 5324800
[ 3.288539] [drm] fb depth is 24
[ 3.288540] [drm] pitch is 5888
[ 3.288610] fbcon: amdgpudrmfb (fb0) is primary device
[ 3.381183] hidraw: raw HID events driver (C) Jiri Kosina
[ 3.430290] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 3.434580] ata3.00: ATA-8: WDC WD7500BPKX-00HPJT0, 01.01A01, max
UDMA/133
[ 3.434582] ata3.00: 1465149168 sectors, multi 1: LBA48 NCQ (depth
31/32), AA
[ 3.434585] ata3.00: SB600 AHCI: limiting to 255 sectors per cmd
[ 3.438582] ata3.00: SB600 AHCI: limiting to 255 sectors per cmd
[ 3.438583] ata3.00: configured for UDMA/133
[ 3.450367] hid-generic 0003:045E:07F8.0001: input,hidraw0: USB HID
v1.11 Keyboard [Microsoft Wired Keyboard 600] on
usb-0000:00:13.3-1/input0
[ 3.452392] input: Microsoft Wired Keyboard 600 as
/devices/pci0000:00/0000:00:13.3/usb5/5-1/5-1:1.1/0003:045E:07F8.0002/input/input6
[ 3.487379] Failed to send Message. <--- first time
[ 3.883377] Failed to send Previous Message.
[ 6.650467] Failed to send Message.
[ 6.650492] clocksource: Switched to clocksource tsc
[ 6.650503] ata1: SATA link down (SStatus 0 SControl 0)
[ 6.650567] usb 1-10.3: new full-speed USB device number 6 using
ehci-pci
[ 6.650596] floppy0: no floppy controllers found
[ 6.650624] work still pending
[ 6.856269] Failed to send Previous Message.
[ 9.028176] Failed to send Message.
[ 9.225782] Failed to send Previous Message.
[ 9.423233] Failed to send Message.
[ 9.620673] Failed to send Previous Message.
[ 10.212979] Failed to send Message.
[ 10.283122] scsi 8:0:0:0: Direct-Access MUSHKIN MKNUFDAM32GB
PMAP PQ: 0 ANSI: 6
[ 10.607867] Failed to send Previous Message.
[ 11.397584] Failed to send Message.
[ 11.595028] Failed to send Previous Message.
[ 11.792519] Failed to send Message.
[ 11.989846] Failed to send Previous Message.
[ 13.766098] Failed to send Message.
[ 13.963791] Failed to send Previous Message.
[ 139.328133] Failed to send Message.
[ 139.328143] Console: switching to colour frame buffer device 180x56
[ 139.333613] amdgpu 0000:01:00.0: fb0: amdgpudrmfb frame buffer device
[ 139.355557] [drm] ib test on ring 0 succeeded in 0 usecs
[ 139.355960] [drm] ib test on ring 10 succeeded in 0 usecs
[ 139.376648] [drm] ib test on ring 11 succeeded
[ 139.396617] [drm] ib test on ring 12 succeeded
[ 139.396701] [drm] Initialized amdgpu 3.1.0 20150101 for 0000:01:00.0
on minor 0
[ 261.054496] Failed to send Message.
[ 261.944397] systemd[1]: RTC configured in localtime, applying delta
of 60 minutes to system time.
More information about the ubuntu-users
mailing list