Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #62413

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

From Romain Perier <romain.perier@gmail.com>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#908632: linux-image-4.19.0-rc3-amd64-unsigned: kernel 4.19 fails to load amdgpu driver on R9 270X.
Date 2018-10-23 19:50 +0200
Message-ID <wM8Yx-8i-1@gated-at.bofh.it> (permalink)
References (3 earlier) <wxCYx-674-9@gated-at.bofh.it> <wx4k9-2BL-3@gated-at.bofh.it> <wAxfY-2s6-11@gated-at.bofh.it> <wx4k9-2BL-3@gated-at.bofh.it> <wAxfY-2s6-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


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'

Back to linux.debian.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#908632: linux-image-4.19.0-rc3-amd64-unsigned: kernel 4.19 fails to load amdgpu driver on R9 270X. felipe <zeden@riseup.net> - 2018-09-12 05:50 +0200
  Bug#908632: linux-image-4.19.0-rc3-amd64-unsigned: kernel 4.19 fails to load amdgpu driver on R9 270X. Bastian Blank <waldi@debian.org> - 2018-09-12 06:30 +0200
    Bug#908632: linux-image-4.19.0-rc3-amd64-unsigned: kernel 4.19 fails to load amdgpu driver on R9 270X. felipe <zeden@riseup.net> - 2018-09-12 08:00 +0200
      Bug#908632: linux-image-4.19.0-rc3-amd64-unsigned: kernel 4.19 fails to load amdgpu driver on R9 270X. felipe <zeden@riseup.net> - 2018-09-13 18:50 +0200
        Bug#908632: linux-image-4.19.0-rc3-amd64-unsigned: kernel 4.19 fails to load amdgpu driver on R9 270X. felipe <zeden@riseup.net> - 2018-09-21 19:20 +0200
          Bug#908632: linux-image-4.19.0-rc3-amd64-unsigned: kernel 4.19 fails to load amdgpu driver on R9 270X. felipe <zeden@riseup.net> - 2018-10-10 16:00 +0200
          Bug#908632: linux-image-4.19.0-rc3-amd64-unsigned: kernel 4.19 fails to load amdgpu driver on R9 270X. Romain Perier <romain.perier@gmail.com> - 2018-10-23 19:50 +0200
            Bug#908632: linux-image-4.19.0-rc3-amd64-unsigned: kernel 4.19 fails to load amdgpu driver on R9 270X. felipe <zeden@riseup.net> - 2018-10-23 21:10 +0200
              Bug#908632: linux-image-4.19.0-rc3-amd64-unsigned: kernel 4.19 fails to load amdgpu driver on R9 270X. aguilar.sanchez.antonio@gmail.com - 2018-12-19 00:10 +0100

csiph-web