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

2018-12-18 Thread aguilar . sanchez . antonio
Hi!

This also happens to me with an amd 290 card, radeonsi and kernel
options to force amdgpu driver on /etc/default/grub:
GRUB_CMDLINE_LINUX_DEFAULT="quiet radeon.si_support=0
radeon.cik_support=0 amdgpu.si_support=1 amdgpu.cik_support=1"

I'm running Debian unstable and it was working fine until I upgraded
today to kernel 4.19.9-1. 

dmesg shows:

6.084494] [drm] vm size is 128 GB, 2 levels, block size is 10-bit,
fragment size is 9-bit
[6.084520] amdgpu :0a:00.0: firmware: failed to load
amdgpu/hawaii_mc.bin (-2)
[6.084525] firmware_class: See https://wiki.debian.org/Firmware for
information about missing firmware
[6.084529] amdgpu :0a:00.0: Direct firmware load for
amdgpu/hawaii_mc.bin failed with error -2
[6.084531] cik_mc: Failed to load firmware "amdgpu/hawaii_mc.bin"
[6.084608] [drm:gmc_v7_0_sw_init [amdgpu]] *ERROR* Failed to load
mc firmware!
[6.084685] [drm:amdgpu_device_init.cold.28 [amdgpu]] *ERROR*
sw_init of IP block  failed -2
[6.084688] amdgpu :0a:00.0: amdgpu_device_ip_init failed
[6.084691] amdgpu :0a:00.0: Fatal error during GPU init

I have the correct firmwares installed:

find / -name hawaii* 
/usr/share/zenity/clothes/hawaii-shirt.png
/usr/share/stellarium/skycultures/hawaiian_starlines
/usr/share/proj/hawaii
/lib/firmware/radeon/hawaii_ce.bin
/lib/firmware/radeon/hawaii_k_smc.bin
/lib/firmware/radeon/hawaii_mc.bin
/lib/firmware/radeon/hawaii_me.bin
/lib/firmware/radeon/hawaii_mec.bin
/lib/firmware/radeon/hawaii_pfp.bin
/lib/firmware/radeon/hawaii_rlc.bin
/lib/firmware/radeon/hawaii_sdma.bin
/lib/firmware/radeon/hawaii_sdma1.bin
/lib/firmware/radeon/hawaii_smc.bin
/lib/firmware/radeon/hawaii_uvd.bin
/lib/firmware/radeon/hawaii_vce.bin
find: ‘/run/user/1000/gvfs’: Permiso denegado

On Tue, 23 Oct 2018 16:03:06 -0300 felipe  wrote:
> Hi!
> 
> Did as you suggested:
> 
>   # apt purge firmware-amd-graphics
>   # rm -rf /lib/firmware/amdgpu
>   # apt install firmware-amd-graphics
> 
> Then I copied file by file, restarting the system between each copy
until I got a working graphical environment.
> 
> The files needed for me are:
> 
>   pitcairn_mc.bin
>   pitcairn_smc.bin
>   pitcairn_pfp.bin
>   pitcairn_me.bin
>   pitcairn_ce.bin
>   pitcairn_rlc.bin
> 
> Would you like me to test anything else?
> 
> 
> Regards,
> Felipe.
> 
> On 23/10/2018 15:41, Romain Perier wrote:
> > Hello,
> > 
> > ...
> > 
> > Yeah that's introduced by commit 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=8eaf2b1faaf4358c6337785f2192055c6ef41e0d
> > 
> > Instead of copying all the content of /lib/firmware/radeon into
> > /lib/firmware/amdgpu, could you:
> > 
> > 1. Uninstall firmware-amd-graphics properly so /lib/firmware/radeon
and
> > /lib/firmware/amdgpu are empty
> > 2. Re-install firmware-amd-graphics properly from archives (so,
> > basically, these two steps undo your changes)
> > 3. Copy only /lib/firmware/radeon/pitcairn_mc.bin to
> > /lib/firmware/amdgpu/pitcairn_mc.bin
> > 
> > Does this work for you ? Otherwise try to find messages in dmesg
> > complaining about missing firmware for your amdgpu driver, then
> > copy the right missing firmwares from /lib/firmware/radeon to
> > /lib/firmware/amdgpu and then once it works, please paste a list
here.
> > 
> > Thanks in advance,
> > Regards,
> > Romain
> 
> 



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

2018-10-23 Thread felipe
Hi!

Did as you suggested:

# apt purge firmware-amd-graphics
# rm -rf /lib/firmware/amdgpu
# apt install firmware-amd-graphics

Then I copied file by file, restarting the system between each copy until I got 
a working graphical environment.

The files needed for me are:

pitcairn_mc.bin
pitcairn_smc.bin
pitcairn_pfp.bin
pitcairn_me.bin
pitcairn_ce.bin
pitcairn_rlc.bin

Would you like me to test anything else?


Regards,
Felipe.

On 23/10/2018 15:41, Romain Perier wrote:
> Hello,
> 
> ...
> 
> Yeah that's introduced by commit 
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=8eaf2b1faaf4358c6337785f2192055c6ef41e0d
> 
> Instead of copying all the content of /lib/firmware/radeon into
> /lib/firmware/amdgpu, could you:
> 
> 1. Uninstall firmware-amd-graphics properly so /lib/firmware/radeon and
> /lib/firmware/amdgpu are empty
> 2. Re-install firmware-amd-graphics properly from archives (so,
> basically, these two steps undo your changes)
> 3. Copy only /lib/firmware/radeon/pitcairn_mc.bin to
> /lib/firmware/amdgpu/pitcairn_mc.bin
> 
> Does this work for you ? Otherwise try to find messages in dmesg
> complaining about missing firmware for your amdgpu driver, then
> copy the right missing firmwares from /lib/firmware/radeon to
> /lib/firmware/amdgpu and then once it works, please paste a list here.
> 
> Thanks in advance,
> Regards,
> Romain



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

2018-10-23 Thread Romain Perier
Hello,


On Fri, Sep 21, 2018 at 02:13:27PM -0300, felipe wrote:
> Tested again with experimental kernel 4.19-rc4 and the result is the same 
> (not able to find firmware) as with 4.19-rc3
> and 4.19-rc2.
> 
> Tried reinstalling the firmware-amd-graphics and firmware-linux packages.
> 
> Booting with kernel parameters 'radeon.si_support=0 amdgpu.si_support=1' and 
> kernel 4.19.rc-4 the system bails and
> cannot find the required firmware which is located at '/lib/firmware/radeon'.
> 
> If I copy the contents of '/lib/firmware/radeon' to '/lib/firmware/amdgpu' 
> and restart, the system boots, loads the
> firmware and works.
> 
> Since previous kernels (4.17, 4.18) the system had no problem finding the 
> correct firmware inside '/lib/firmware/radeon'
> when using amdgpu driver.
>

Yeah that's introduced by commit 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=8eaf2b1faaf4358c6337785f2192055c6ef41e0d

Instead of copying all the content of /lib/firmware/radeon into
/lib/firmware/amdgpu, could you:

1. Uninstall firmware-amd-graphics properly so /lib/firmware/radeon and
/lib/firmware/amdgpu are empty
2. Re-install firmware-amd-graphics properly from archives (so,
basically, these two steps undo your changes)
3. Copy only /lib/firmware/radeon/pitcairn_mc.bin to
/lib/firmware/amdgpu/pitcairn_mc.bin

Does this work for you ? Otherwise try to find messages in dmesg
complaining about missing firmware for your amdgpu driver, then
copy the right missing firmwares from /lib/firmware/radeon to
/lib/firmware/amdgpu and then once it works, please paste a list here.

Thanks in advance,
Regards,
Romain

> 
> 
> 
> On 9/13/18 1:44 PM, felipe wrote:
> > Today I had some spare time and I did some tests.
> > 
> > On kernel 4.17 and 4.18 I can switch from radeonsi to amdgpu using/removing 
> > 'radeon.si_support=0 amdgpu.si_support=1'
> > and the system finds and loads the relevant firmware in 
> > /lib/firmware/radeon, giving this system a boost in performance,
> > correct HDMI output and no crashes.
> > 
> > Booting kernel 4.19, the system could not load the relevant firmware when I 
> > tried to use amdgpu, but booted using radeonsi.
> > 
> > Today I did copy all the firmware in '/lib/firmware/radeon' to 
> > '/lib/firmware/amdgpu' and the system booted in a working
> > state and has been stable for the last hour.
> > 
> > Since it is possible to use amdgpu with older GCN cards, the kernel should 
> > also look for the firmware inside
> > '/lib/firmware/radeon' when using 'amdgpu' driver.
> > 
> > 
> > '$ cat /var/log/syslog' of this working session with kernel 4.19-rc3 and 
> > 'cp /lib/firmware/radeon/* /lib/firmware/amdgpu'



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

2018-10-10 Thread felipe
The problem persists on linux-image-4.19.0-rc6-amd64-unsigned and 
linux-image-4.19.0-rc7-amd64-unsigned.

The workaround mentioned above still fixes the problem on my end.



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

2018-09-21 Thread felipe
Tested again with experimental kernel 4.19-rc4 and the result is the same (not 
able to find firmware) as with 4.19-rc3
and 4.19-rc2.

Tried reinstalling the firmware-amd-graphics and firmware-linux packages.

Booting with kernel parameters 'radeon.si_support=0 amdgpu.si_support=1' and 
kernel 4.19.rc-4 the system bails and
cannot find the required firmware which is located at '/lib/firmware/radeon'.

If I copy the contents of '/lib/firmware/radeon' to '/lib/firmware/amdgpu' and 
restart, the system boots, loads the
firmware and works.

Since previous kernels (4.17, 4.18) the system had no problem finding the 
correct firmware inside '/lib/firmware/radeon'
when using amdgpu driver.




On 9/13/18 1:44 PM, felipe wrote:
> Today I had some spare time and I did some tests.
> 
> On kernel 4.17 and 4.18 I can switch from radeonsi to amdgpu using/removing 
> 'radeon.si_support=0 amdgpu.si_support=1'
> and the system finds and loads the relevant firmware in /lib/firmware/radeon, 
> giving this system a boost in performance,
> correct HDMI output and no crashes.
> 
> Booting kernel 4.19, the system could not load the relevant firmware when I 
> tried to use amdgpu, but booted using radeonsi.
> 
> Today I did copy all the firmware in '/lib/firmware/radeon' to 
> '/lib/firmware/amdgpu' and the system booted in a working
> state and has been stable for the last hour.
> 
> Since it is possible to use amdgpu with older GCN cards, the kernel should 
> also look for the firmware inside
> '/lib/firmware/radeon' when using 'amdgpu' driver.
> 
> 
> '$ cat /var/log/syslog' of this working session with kernel 4.19-rc3 and 'cp 
> /lib/firmware/radeon/* /lib/firmware/amdgpu'



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

2018-09-13 Thread felipe
Today I had some spare time and I did some tests.

On kernel 4.17 and 4.18 I can switch from radeonsi to amdgpu using/removing 
'radeon.si_support=0 amdgpu.si_support=1'
and the system finds and loads the relevant firmware in /lib/firmware/radeon, 
giving this system a boost in performance,
correct HDMI output and no crashes.

Booting kernel 4.19, the system could not load the relevant firmware when I 
tried to use amdgpu, but booted using radeonsi.

Today I did copy all the firmware in '/lib/firmware/radeon' to 
'/lib/firmware/amdgpu' and the system booted in a working
state and has been stable for the last hour.

Since it is possible to use amdgpu with older GCN cards, the kernel should also 
look for the firmware inside
'/lib/firmware/radeon' when using 'amdgpu' driver.


'$ cat /var/log/syslog' of this working session with kernel 4.19-rc3 and 'cp 
/lib/firmware/radeon/* /lib/firmware/amdgpu'

...
kernel: [8.347589] [drm] radeon kernel modesetting enabled.
kernel: [8.349804] kvm: Nested Virtualization enabled
kernel: [8.349806] kvm: Nested Paging enabled
kernel: [8.410811] MCE: In-kernel MCE decoding enabled.
kernel: [8.443255] EDAC amd64: Node 0: DRAM ECC disabled.
kernel: [8.443256] EDAC amd64: ECC disabled in the BIOS or no ECC 
capability, module will not load.
kernel: [8.443256]  Either enable ECC checking or force module loading by 
setting 'ecc_enable_override'.
kernel: [8.443256]  (Note that use of the override may cause unknown side 
effects.)
kernel: [8.443276] EXT4-fs (sdb1): mounted filesystem with ordered data 
mode. Opts: (null)
kernel: [8.448266] radeon :01:00.0: SI support disabled by module param
kernel: [8.563661] snd_hda_intel :01:00.1: Handle vga_switcheroo audio 
client
kernel: [8.563665] snd_hda_intel :01:00.1: Force to non-snoop mode
kernel: [8.621126] input: HDA ATI HDMI HDMI/DP,pcm=3 as
/devices/pci:00/:00:02.0/:01:00.1/sound/card0/input13
kernel: [8.621294] input: HDA ATI HDMI HDMI/DP,pcm=7 as
/devices/pci:00/:00:02.0/:01:00.1/sound/card0/input14
kernel: [8.621421] input: HDA ATI HDMI HDMI/DP,pcm=8 as
/devices/pci:00/:00:02.0/:01:00.1/sound/card0/input15
kernel: [8.621572] input: HDA ATI HDMI HDMI/DP,pcm=9 as
/devices/pci:00/:00:02.0/:01:00.1/sound/card0/input16
kernel: [8.621710] input: HDA ATI HDMI HDMI/DP,pcm=10 as
/devices/pci:00/:00:02.0/:01:00.1/sound/card0/input17
kernel: [8.621837] input: HDA ATI HDMI HDMI/DP,pcm=11 as
/devices/pci:00/:00:02.0/:01:00.1/sound/card0/input18
kernel: [8.723250] snd_hda_codec_realtek hdaudioC1D0: ALC1150: SKU not 
ready 0x
kernel: [8.723818] snd_hda_codec_realtek hdaudioC1D0: autoconfig for 
ALC1150: line_outs=4 (0x14/0x15/0x16/0x17/0x0)
type:line
kernel: [8.723822] snd_hda_codec_realtek hdaudioC1D0:speaker_outs=0 
(0x0/0x0/0x0/0x0/0x0)
kernel: [8.723826] snd_hda_codec_realtek hdaudioC1D0:hp_outs=1 
(0x1b/0x0/0x0/0x0/0x0)
kernel: [8.723831] snd_hda_codec_realtek hdaudioC1D0:mono: mono_out=0x0
kernel: [8.723835] snd_hda_codec_realtek hdaudioC1D0:dig-out=0x11/0x1e
kernel: [8.723838] snd_hda_codec_realtek hdaudioC1D0:inputs:
kernel: [8.723843] snd_hda_codec_realtek hdaudioC1D0:  Front Mic=0x19
kernel: [8.723848] snd_hda_codec_realtek hdaudioC1D0:  Rear Mic=0x18
kernel: [8.723851] snd_hda_codec_realtek hdaudioC1D0:  Line=0x1a
kernel: [8.741928] input: HDA Digital PCBeep as 
/devices/pci:00/:00:14.2/sound/card1/input19
kernel: [8.742625] input: HDA ATI SB Front Mic as 
/devices/pci:00/:00:14.2/sound/card1/input20
kernel: [8.742699] input: HDA ATI SB Rear Mic as 
/devices/pci:00/:00:14.2/sound/card1/input21
kernel: [8.742766] input: HDA ATI SB Line as 
/devices/pci:00/:00:14.2/sound/card1/input22
kernel: [8.742842] input: HDA ATI SB Line Out Front as 
/devices/pci:00/:00:14.2/sound/card1/input23
kernel: [8.742912] input: HDA ATI SB Line Out Surround as 
/devices/pci:00/:00:14.2/sound/card1/input24
kernel: [8.742974] input: HDA ATI SB Line Out CLFE as 
/devices/pci:00/:00:14.2/sound/card1/input25
kernel: [8.743044] input: HDA ATI SB Line Out Side as 
/devices/pci:00/:00:14.2/sound/card1/input26
kernel: [8.743114] input: HDA ATI SB Front Headphone as 
/devices/pci:00/:00:14.2/sound/card1/input27
kernel: [8.789068] [drm] amdgpu kernel modesetting enabled.
kernel: [9.088942] CRAT table not found
kernel: [9.088945] Virtual CRAT table created for CPU
kernel: [9.088946] Parsing CRAT table with 1 nodes
kernel: [9.088948] Creating topology SYSFS entries
kernel: [9.088964] Topology: Add CPU node
kernel: [9.088965] Finished initializing topology
kernel: [9.089023] kfd kfd: Initialized module
kernel: [9.089812] [drm] initializing kernel modesetting (PITCAIRN 
0x1002:0x6810 

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

2018-09-11 Thread felipe
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 :01:00.0: SI support disabled by module param
kernel: [8.900903] snd_hda_intel :01:00.1: Handle vga_switcheroo audio 
client
kernel: [8.900907] snd_hda_intel :01:00.1: Force to non-snoop mode
kernel: [8.95] input: HDA ATI HDMI HDMI/DP,pcm=3 as
/devices/pci:00/:00:02.0/:01:00.1/sound/card0/input13
kernel: [8.988999] input: HDA ATI HDMI HDMI/DP,pcm=7 as
/devices/pci:00/:00:02.0/:01:00.1/sound/card0/input14
kernel: [8.989111] input: HDA ATI HDMI HDMI/DP,pcm=8 as
/devices/pci:00/:00:02.0/:01:00.1/sound/card0/input15
kernel: [8.989225] input: HDA ATI HDMI HDMI/DP,pcm=9 as
/devices/pci:00/:00:02.0/:01:00.1/sound/card0/input16
kernel: [8.989315] input: HDA ATI HDMI HDMI/DP,pcm=10 as
/devices/pci:00/:00:02.0/:01:00.1/sound/card0/input17
kernel: [8.989374] input: HDA ATI HDMI HDMI/DP,pcm=11 as
/devices/pci:00/:00:02.0/:01:00.1/sound/card0/input18
kernel: [9.073407] snd_hda_codec_realtek hdaudioC1D0: ALC1150: SKU not 
ready 0x
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/pci:00/:00:14.2/sound/card1/input19
kernel: [9.090934] input: HDA ATI SB Front Mic as 
/devices/pci:00/:00:14.2/sound/card1/input20
kernel: [9.091020] input: HDA ATI SB Rear Mic as 
/devices/pci:00/:00:14.2/sound/card1/input21
kernel: [9.091102] input: HDA ATI SB Line as 
/devices/pci:00/:00:14.2/sound/card1/input22
kernel: [9.091189] input: HDA ATI SB Line Out Front as 
/devices/pci:00/:00:14.2/sound/card1/input23
kernel: [9.091316] input: HDA ATI SB Line Out Surround as 
/devices/pci:00/:00:14.2/sound/card1/input24
kernel: [9.091407] input: HDA ATI SB Line Out CLFE as 
/devices/pci:00/:00:14.2/sound/card1/input25
kernel: [9.091482] input: HDA ATI SB Line Out Side as 
/devices/pci:00/:00:14.2/sound/card1/input26
kernel: [9.091559] input: HDA ATI SB Front Headphone as 
/devices/pci:00/: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: 0xFEA0
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 
kernel: [9.509918] [drm] add ip block number 1 
kernel: [9.509919] [drm] add ip block number 2 
kernel: [9.509920] [drm] add ip block number 3 
kernel: [9.509920] [drm] add ip block number 4 
kernel: [9.509921] [drm] add ip block number 5 
kernel: [9.509921] [drm] add ip block number 6 
kernel: [9.509924] amdgpu :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 

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

2018-09-11 Thread Bastian Blank
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 :01:00.0: SI support disabled by module param

And you explicitely disbled SI for the in-use kernel mode support.

> [   10.072509] amdgpu :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 :01:00.0: Direct firmware load for 
> amdgpu/pitcairn_mc.bin failed with error -2
> [   10.072617] amdgpu :01:00.0: si_mc: Failed to load firmware 
> "amdgpu/pitcairn_mc.bin"
> [   10.072665] amdgpu :01:00.0: Failed to load mc firmware!
> [   10.072942] [drm:amdgpu_device_init.cold.28 [amdgpu]] *ERROR* sw_init of 
> IP block  failed -2
> [   10.072993] amdgpu :01:00.0: amdgpu_device_ip_init failed
> [   10.073036] amdgpu :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 :01:00.0 failed with error -2

Which makes it bail out.

Bastian

-- 
I have never understood the female capacity to avoid a direct answer to
any question.
-- Spock, "This Side of Paradise", stardate 3417.3



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

2018-09-11 Thread felipe
Package: src:linux
Version: 4.19~rc3-1~exp1
Severity: important

Dear Maintainer,

   The system fails to load amdgpu driver with
   linux-image-4.19-rc{2,3}-amd64-unsigned, making it impossible to
   start X session.

   If I boot without 'radeon.si_support=0 amdgpu.si_support=1' the
   system boots, I can start X session but it becomes unstable and
   eventually X crashes.

   Booting from kernel 4.18.6 makes it work again.

-- Package-specific info:
** Version:
Linux version 4.19.0-rc3-amd64 (debian-ker...@lists.debian.org) (gcc version 
8.2.0 (Debian 8.2.0-6)) #1 SMP Debian 4.19~rc3-1~exp1 (2018-09-10)

** Command line:
BOOT_IMAGE=/boot/vmlinuz-4.19.0-rc3-amd64 
root=UUID=a1b73323-8a0d-46ad-9723-72b1f6ca6962 ro apparmor=1 security=apparmor 
amd_iommu=on iommu=pt quiet radeon.si_support=0 amdgpu.si_support=1 amdgpu.dc=1 
radeon.dpm=0 amdgpu.dpm=1

** Tainted: E (8192)
 * Unsigned module has been loaded.

** Kernel log:
[9.147023] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: 
(null)
[9.210656] snd_hda_intel :01:00.1: Handle vga_switcheroo audio client
[9.210660] snd_hda_intel :01:00.1: Force to non-snoop mode
[9.235702] [drm] radeon kernel modesetting enabled.
[9.249358] input: HDA ATI HDMI HDMI/DP,pcm=3 as 
/devices/pci:00/:00:02.0/:01:00.1/sound/card0/input13
[9.249428] input: HDA ATI HDMI HDMI/DP,pcm=7 as 
/devices/pci:00/:00:02.0/:01:00.1/sound/card0/input14
[9.249483] input: HDA ATI HDMI HDMI/DP,pcm=8 as 
/devices/pci:00/:00:02.0/:01:00.1/sound/card0/input15
[9.249569] input: HDA ATI HDMI HDMI/DP,pcm=9 as 
/devices/pci:00/:00:02.0/:01:00.1/sound/card0/input16
[9.249623] input: HDA ATI HDMI HDMI/DP,pcm=10 as 
/devices/pci:00/:00:02.0/:01:00.1/sound/card0/input17
[9.249671] input: HDA ATI HDMI HDMI/DP,pcm=11 as 
/devices/pci:00/:00:02.0/:01:00.1/sound/card0/input18
[9.277226] radeon :01:00.0: SI support disabled by module param
[9.394212] snd_hda_codec_realtek hdaudioC1D0: ALC1150: SKU not ready 
0x
[9.394785] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC1150: 
line_outs=4 (0x14/0x15/0x16/0x17/0x0) type:line
[9.394789] snd_hda_codec_realtek hdaudioC1D0:speaker_outs=0 
(0x0/0x0/0x0/0x0/0x0)
[9.394793] snd_hda_codec_realtek hdaudioC1D0:hp_outs=1 
(0x1b/0x0/0x0/0x0/0x0)
[9.394796] snd_hda_codec_realtek hdaudioC1D0:mono: mono_out=0x0
[9.394799] snd_hda_codec_realtek hdaudioC1D0:dig-out=0x11/0x1e
[9.394801] snd_hda_codec_realtek hdaudioC1D0:inputs:
[9.394805] snd_hda_codec_realtek hdaudioC1D0:  Front Mic=0x19
[9.394809] snd_hda_codec_realtek hdaudioC1D0:  Rear Mic=0x18
[9.394812] snd_hda_codec_realtek hdaudioC1D0:  Line=0x1a
[9.403350] kvm: Nested Virtualization enabled
[9.403357] kvm: Nested Paging enabled
[9.412092] input: HDA Digital PCBeep as 
/devices/pci:00/:00:14.2/sound/card1/input19
[9.412858] input: HDA ATI SB Front Mic as 
/devices/pci:00/:00:14.2/sound/card1/input20
[9.412937] input: HDA ATI SB Rear Mic as 
/devices/pci:00/:00:14.2/sound/card1/input21
[9.413016] input: HDA ATI SB Line as 
/devices/pci:00/:00:14.2/sound/card1/input22
[9.413108] input: HDA ATI SB Line Out Front as 
/devices/pci:00/:00:14.2/sound/card1/input23
[9.413197] input: HDA ATI SB Line Out Surround as 
/devices/pci:00/:00:14.2/sound/card1/input24
[9.413303] input: HDA ATI SB Line Out CLFE as 
/devices/pci:00/:00:14.2/sound/card1/input25
[9.413388] input: HDA ATI SB Line Out Side as 
/devices/pci:00/:00:14.2/sound/card1/input26
[9.413474] input: HDA ATI SB Front Headphone as 
/devices/pci:00/:00:14.2/sound/card1/input27
[9.448004] MCE: In-kernel MCE decoding enabled.
[9.464568] EDAC amd64: Node 0: DRAM ECC disabled.
[9.464571] EDAC amd64: ECC disabled in the BIOS or no ECC capability, 
module will not load.
Either enable ECC checking or force module loading by setting 
'ecc_enable_override'.
(Note that use of the override may cause unknown side effects.)
[9.513818] EDAC amd64: Node 0: DRAM ECC disabled.
[9.513821] EDAC amd64: ECC disabled in the BIOS or no ECC capability, 
module will not load.
Either enable ECC checking or force module loading by setting 
'ecc_enable_override'.
(Note that use of the override may cause unknown side effects.)
[9.687950] Adding 15625212k swap on /dev/sda2.  Priority:-2 extents:1 
across:15625212k FS
[9.753144] [drm] amdgpu kernel modesetting enabled.
[9.935211] CRAT table not found
[9.935215] Virtual CRAT table created for CPU
[9.935217] Parsing CRAT table with 1 nodes
[9.935221] Creating topology SYSFS entries
[9.935252] Topology: Add CPU node
[9.935253] Finished initializing topology
[9.935358] kfd kfd: Initialized module
[