[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#908632: linux-image-4.19.0-rc3-amd64-unsigned: kernel 4.19 fails to load amdgpu driver on R9 270X.



Thanks for the response, Bastian!

I have been using this option since kernel 4.15, when the AMD Display Code was merged. Without these options the card
would panic and the system would crash.

Kernel 4.17 and 4.18 finds and load the firmware without problems and the system is stable.

Here is a part of /var/log/syslog booting from kernel 4.18 and using radeon.si_support=0 amdgpu.si_support=1


kernel: [    8.680256] [drm] radeon kernel modesetting enabled.
kernel: [    8.758332] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: (null)
kernel: [    8.834082] radeon 0000:01:00.0: SI support disabled by module param
kernel: [    8.900903] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
kernel: [    8.900907] snd_hda_intel 0000:01:00.1: Force to non-snoop mode
kernel: [    8.988885] input: HDA ATI HDMI HDMI/DP,pcm=3 as
/devices/pci0000:00/0000:00:02.0/0000:01:00.1/sound/card0/input13
kernel: [    8.988999] input: HDA ATI HDMI HDMI/DP,pcm=7 as
/devices/pci0000:00/0000:00:02.0/0000:01:00.1/sound/card0/input14
kernel: [    8.989111] input: HDA ATI HDMI HDMI/DP,pcm=8 as
/devices/pci0000:00/0000:00:02.0/0000:01:00.1/sound/card0/input15
kernel: [    8.989225] input: HDA ATI HDMI HDMI/DP,pcm=9 as
/devices/pci0000:00/0000:00:02.0/0000:01:00.1/sound/card0/input16
kernel: [    8.989315] input: HDA ATI HDMI HDMI/DP,pcm=10 as
/devices/pci0000:00/0000:00:02.0/0000:01:00.1/sound/card0/input17
kernel: [    8.989374] input: HDA ATI HDMI HDMI/DP,pcm=11 as
/devices/pci0000:00/0000:00:02.0/0000:01:00.1/sound/card0/input18
kernel: [    9.073407] snd_hda_codec_realtek hdaudioC1D0: ALC1150: SKU not ready 0x00000000
kernel: [    9.073964] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC1150: line_outs=4 (0x14/0x15/0x16/0x17/0x0)
type:line
kernel: [    9.073968] snd_hda_codec_realtek hdaudioC1D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
kernel: [    9.073977] snd_hda_codec_realtek hdaudioC1D0:    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
kernel: [    9.073980] snd_hda_codec_realtek hdaudioC1D0:    mono: mono_out=0x0
kernel: [    9.073983] snd_hda_codec_realtek hdaudioC1D0:    dig-out=0x11/0x1e
kernel: [    9.073985] snd_hda_codec_realtek hdaudioC1D0:    inputs:
kernel: [    9.073989] snd_hda_codec_realtek hdaudioC1D0:      Front Mic=0x19
kernel: [    9.073993] snd_hda_codec_realtek hdaudioC1D0:      Rear Mic=0x18
kernel: [    9.073996] snd_hda_codec_realtek hdaudioC1D0:      Line=0x1a
kernel: [    9.090101] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:14.2/sound/card1/input19
kernel: [    9.090934] input: HDA ATI SB Front Mic as /devices/pci0000:00/0000:00:14.2/sound/card1/input20
kernel: [    9.091020] input: HDA ATI SB Rear Mic as /devices/pci0000:00/0000:00:14.2/sound/card1/input21
kernel: [    9.091102] input: HDA ATI SB Line as /devices/pci0000:00/0000:00:14.2/sound/card1/input22
kernel: [    9.091189] input: HDA ATI SB Line Out Front as /devices/pci0000:00/0000:00:14.2/sound/card1/input23
kernel: [    9.091316] input: HDA ATI SB Line Out Surround as /devices/pci0000:00/0000:00:14.2/sound/card1/input24
kernel: [    9.091407] input: HDA ATI SB Line Out CLFE as /devices/pci0000:00/0000:00:14.2/sound/card1/input25
kernel: [    9.091482] input: HDA ATI SB Line Out Side as /devices/pci0000:00/0000:00:14.2/sound/card1/input26
kernel: [    9.091559] input: HDA ATI SB Front Headphone as /devices/pci0000:00/0000:00:14.2/sound/card1/input27
kernel: [    9.423033] [drm] amdgpu kernel modesetting enabled.
kernel: [    9.423511] Adding 15625212k swap on /dev/sda2.  Priority:-2 extents:1 across:15625212k FS
kernel: [    9.489482] usbcore: registered new interface driver snd-usb-audio
kernel: [    9.509359] CRAT table not found
kernel: [    9.509362] Virtual CRAT table created for CPU
kernel: [    9.509362] Parsing CRAT table with 1 nodes
kernel: [    9.509364] Creating topology SYSFS entries
kernel: [    9.509376] Topology: Add CPU node
kernel: [    9.509376] Finished initializing topology
kernel: [    9.509435] kfd kfd: Initialized module
kernel: [    9.509899] [drm] initializing kernel modesetting (PITCAIRN 0x1002:0x6810 0x174B:0xE271 0x00).
kernel: [    9.509912] [drm] register mmio base: 0xFEA00000
kernel: [    9.509912] [drm] register mmio size: 262144
kernel: [    9.509915] [drm] probing gen 2 caps for device 1002:5a16 = 31cd02/0
kernel: [    9.509916] [drm] probing mlw for device 1002:5a16 = 31cd02
kernel: [    9.509917] [drm] add ip block number 0 <si_common>
kernel: [    9.509918] [drm] add ip block number 1 <gmc_v6_0>
kernel: [    9.509919] [drm] add ip block number 2 <si_ih>
kernel: [    9.509920] [drm] add ip block number 3 <si_dpm>
kernel: [    9.509920] [drm] add ip block number 4 <dce_v6_0>
kernel: [    9.509921] [drm] add ip block number 5 <gfx_v6_0>
kernel: [    9.509921] [drm] add ip block number 6 <si_dma>
kernel: [    9.509924] amdgpu 0000:01:00.0: kfd not supported on this ASIC
kernel: [    9.537536] [drm] BIOS signature incorrect 5b 7
kernel: [    9.537593] ATOM BIOS: 113-1E27100-O48
kernel: [    9.537799] [drm] vm size is 64 GB, 2 levels, block size is 10-bit, fragment size is 9-bit
kernel: [    9.668247] kvm: Nested Virtualization enabled
kernel: [    9.668251] kvm: Nested Paging enabled
kernel: [    9.723105] amdgpu 0000:01:00.0: firmware: direct-loading firmware radeon/pitcairn_mc.bin
kernel: [    9.723123] amdgpu 0000:01:00.0: VRAM: 2048M 0x000000F400000000 - 0x000000F47FFFFFFF (2048M used)
kernel: [    9.723127] amdgpu 0000:01:00.0: GTT: 1024M 0x0000000000000000 - 0x000000003FFFFFFF
kernel: [    9.723142] [drm] Detected VRAM RAM=2048M, BAR=256M
kernel: [    9.723144] [drm] RAM width 256bits GDDR5
kernel: [    9.723279] [TTM] Zone  kernel: Available graphics memory: 8196686 kiB
kernel: [    9.723281] [TTM] Zone   dma32: Available graphics memory: 2097152 kiB
kernel: [    9.723282] [TTM] Initializing pool allocator
kernel: [    9.723299] [TTM] Initializing DMA pool allocator
kernel: [    9.723371] [drm] amdgpu: 2048M of VRAM memory ready
kernel: [    9.723374] [drm] amdgpu: 3072M of GTT memory ready.
kernel: [    9.723393] [drm] GART: num cpu pages 262144, num gpu pages 262144
kernel: [    9.724042] amdgpu 0000:01:00.0: PCIE GART of 1024M enabled (table at 0x000000F400900000).
kernel: [    9.724174] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
kernel: [    9.724175] [drm] Driver supports precise vblank timestamp query.
kernel: [    9.768488] fuse init (API version 7.27)
kernel: [    9.782298] MCE: In-kernel MCE decoding enabled.
kernel: [    9.798606] amdgpu 0000:01:00.0: firmware: direct-loading firmware radeon/pitcairn_smc.bin
kernel: [    9.798682] [drm] Internal thermal controller with fan control
kernel: [    9.798726] 	ui class: none
kernel: [    9.798727] 	internal class: boot
kernel: [    9.798730] 	caps:
kernel: [    9.798733] [drm] 	uvd    vclk: 0 dclk: 0
kernel: [    9.798736] [drm] 		power level 0    sclk: 15000 mclk: 15000 vddc: 950 vddci: 950 pcie gen: 2
kernel: [    9.798737] 	status: c r b
kernel: [    9.798741] 	ui class: performance
kernel: [    9.798741] 	internal class: none
kernel: [    9.798743] 	caps:
kernel: [    9.798746] [drm] 	uvd    vclk: 0 dclk: 0
kernel: [    9.798748] [drm] 		power level 0    sclk: 30000 mclk: 15000 vddc: 875 vddci: 850 pcie gen: 2
kernel: [    9.798751] [drm] 		power level 1    sclk: 45000 mclk: 140000 vddc: 950 vddci: 1025 pcie gen: 2
kernel: [    9.798753] [drm] 		power level 2    sclk: 102000 mclk: 140000 vddc: 1188 vddci: 1025 pcie gen: 2
kernel: [    9.798755] [drm] 		power level 3    sclk: 107000 mclk: 140000 vddc: 1238 vddci: 1025 pcie gen: 2
kernel: [    9.798756] 	status:
kernel: [    9.798758] 	ui class: none
kernel: [    9.798759] 	internal class: uvd
kernel: [    9.798761] 	caps: video
kernel: [    9.798763] [drm] 	uvd    vclk: 72000 dclk: 56000
kernel: [    9.798766] [drm] 		power level 0    sclk: 45000 mclk: 140000 vddc: 950 vddci: 1025 pcie gen: 2
kernel: [    9.798768] [drm] 		power level 1    sclk: 45000 mclk: 140000 vddc: 950 vddci: 1025 pcie gen: 2
kernel: [    9.798770] [drm] 		power level 2    sclk: 102000 mclk: 140000 vddc: 1188 vddci: 1025 pcie gen: 2
kernel: [    9.798771] 	status:
kernel: [    9.798773] 	ui class: none
kernel: [    9.798773] 	internal class: none
kernel: [    9.798775] 	caps:
kernel: [    9.798777] [drm] 	uvd    vclk: 0 dclk: 0
kernel: [    9.798780] [drm] 		power level 0    sclk: 30000 mclk: 15000 vddc: 875 vddci: 850 pcie gen: 2
kernel: [    9.798782] [drm] 		power level 1    sclk: 30000 mclk: 15000 vddc: 875 vddci: 850 pcie gen: 2
kernel: [    9.798784] [drm] 		power level 2    sclk: 30000 mclk: 15000 vddc: 875 vddci: 850 pcie gen: 2
kernel: [    9.798785] 	status:
kernel: [    9.798786] [drm] amdgpu: dpm initialized
kernel: [    9.799251] [drm] AMDGPU Display Connectors
kernel: [    9.799253] [drm] Connector 0:
kernel: [    9.799254] [drm]   DP-1
kernel: [    9.799255] [drm]   HPD4
kernel: [    9.799258] [drm]   DDC: 0x194c 0x194c 0x194d 0x194d 0x194e 0x194e 0x194f 0x194f
kernel: [    9.799259] [drm]   Encoders:
kernel: [    9.799260] [drm]     DFP1: INTERNAL_UNIPHY2
kernel: [    9.799261] [drm] Connector 1:
kernel: [    9.799262] [drm]   HDMI-A-1
kernel: [    9.799263] [drm]   HPD5
kernel: [    9.799266] [drm]   DDC: 0x1954 0x1954 0x1955 0x1955 0x1956 0x1956 0x1957 0x1957
kernel: [    9.799267] [drm]   Encoders:
kernel: [    9.799268] [drm]     DFP2: INTERNAL_UNIPHY2
kernel: [    9.799269] [drm] Connector 2:
kernel: [    9.799270] [drm]   DVI-I-1
kernel: [    9.799271] [drm]   HPD6
kernel: [    9.799274] [drm]   DDC: 0x1960 0x1960 0x1961 0x1961 0x1962 0x1962 0x1963 0x1963
kernel: [    9.799274] [drm]   Encoders:
kernel: [    9.799276] [drm]     DFP3: INTERNAL_UNIPHY
kernel: [    9.799277] [drm]     CRT1: INTERNAL_KLDSCP_DAC1
kernel: [    9.799278] [drm] Connector 3:
kernel: [    9.799279] [drm]   DVI-D-1
kernel: [    9.799280] [drm]   HPD1
kernel: [    9.799283] [drm]   DDC: 0x195c 0x195c 0x195d 0x195d 0x195e 0x195e 0x195f 0x195f
kernel: [    9.799283] [drm]   Encoders:
kernel: [    9.799284] [drm]     DFP4: INTERNAL_UNIPHY1


The firmware is there and is loaded on kernel 4.18 but not on 4.19.


Any idea on what I should try?


On 9/12/18 1:19 AM, Bastian Blank wrote:
> On Wed, Sep 12, 2018 at 12:45:12AM -0300, felipe wrote:
>>    The system fails to load amdgpu driver with
>>    linux-image-4.19-rc{2,3}-amd64-unsigned, making it impossible to
>>    start X session.
> 
> I see that you use _both_ radeon and amdgpu.  Is this combination even
> supported?
> 
> | Kernel modules: radeon, amdgpu
> 
>> [    9.235702] [drm] radeon kernel modesetting enabled.
> 
> Well, it uses radeon, not amdgpu.
> 
>> [    9.277226] radeon 0000:01:00.0: SI support disabled by module param
> 
> And you explicitely disbled SI for the in-use kernel mode support.
> 
>> [   10.072509] amdgpu 0000:01:00.0: firmware: failed to load amdgpu/pitcairn_mc.bin (-2)
>> [   10.072563] firmware_class: See https://wiki.debian.org/Firmware for information about missing firmware
>> [   10.072612] amdgpu 0000:01:00.0: Direct firmware load for amdgpu/pitcairn_mc.bin failed with error -2
>> [   10.072617] amdgpu 0000:01:00.0: si_mc: Failed to load firmware "amdgpu/pitcairn_mc.bin"
>> [   10.072665] amdgpu 0000:01:00.0: Failed to load mc firmware!
>> [   10.072942] [drm:amdgpu_device_init.cold.28 [amdgpu]] *ERROR* sw_init of IP block <gmc_v6_0> failed -2
>> [   10.072993] amdgpu 0000:01:00.0: amdgpu_device_ip_init failed
>> [   10.073036] amdgpu 0000:01:00.0: Fatal error during GPU init
> 
> You are missing all the firmware for you device.
> 
>> [   10.073077] [drm] amdgpu: finishing device.
>> [   10.073851] amdgpu: probe of 0000:01:00.0 failed with error -2
> 
> Which makes it bail out.
> 
> Bastian
> 


Reply to: