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


Groups > linux.debian.kernel > #65403 > unrolled thread

Bug#942513: linux 5.2.0-0.bpo.3-amd64: amdgpu doesn't find firmware

Started byFab Stz <fabstz-it@yahoo.fr>
First post2019-10-17 13:40 +0200
Last post2019-12-28 20:30 +0100
Articles 6 — 3 participants

Back to article view | Back to linux.debian.kernel


Contents

  Bug#942513: linux 5.2.0-0.bpo.3-amd64: amdgpu doesn't find firmware Fab Stz <fabstz-it@yahoo.fr> - 2019-10-17 13:40 +0200
    Processed: Re: Bug#942513: linux 5.2.0-0.bpo.3-amd64: amdgpu  doesn't find firmware "Debian Bug Tracking System" <owner@bugs.debian.org> - 2019-10-17 18:00 +0200
    Bug#942513: linux 5.2.0-0.bpo.3-amd64: amdgpu doesn't find firmware Ben Hutchings <ben@decadent.org.uk> - 2019-10-17 18:00 +0200
      Bug#942513: linux 5.2.0-0.bpo.3-amd64: amdgpu doesn't find firmware Fab Stz <fabstz-it@yahoo.fr> - 2019-10-17 20:40 +0200
        Bug#942513: linux 5.2.0-0.bpo.3-amd64: amdgpu doesn't find firmware Fab Stz <fabstz-it@yahoo.fr> - 2019-12-28 20:00 +0100
          Bug#942513: linux 5.2.0-0.bpo.3-amd64: amdgpu doesn't find firmware Fab Stz <fabstz-it@yahoo.fr> - 2019-12-28 20:30 +0100

#65403 — Bug#942513: linux 5.2.0-0.bpo.3-amd64: amdgpu doesn't find firmware

FromFab Stz <fabstz-it@yahoo.fr>
Date2019-10-17 13:40 +0200
SubjectBug#942513: linux 5.2.0-0.bpo.3-amd64: amdgpu doesn't find firmware
Message-ID<yScim-2C3-5@gated-at.bofh.it>
Source: linux
Severity: normal

Dear Maintainer,

On buster with linux image 5.2.0-0.bpo.3-amd64 at boot time I have this error
message :
"*ERROR* amdgpu requires firmware installed"

[    1.317558] [drm] amdgpu kernel modesetting enabled.
[    1.317812] [drm:amdgpu_pci_probe [amdgpu]] *ERROR* amdgpu requires firmware
installed

But firmware is actually installed both in
# ls /usr/lib/firmware/amdgpu/ | wc
--> 289 lines

and in
# lsinitramfs /boot/initrd.img-5.2.0-0.bpo.3-amd64 | grep firmware | grep
amdgpu | wc
--> 289 lines

$ dpkg -l :
ii  firmware-amd-graphics      20190717-2~bpo10+1           all



-- System Information:
Debian Release: 10.1
  APT prefers stable-updates
  APT policy: (991, 'stable-updates'), (991, 'stable'), (95, 'testing'), (90, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.2.0-0.bpo.3-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE= (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

[toc] | [next] | [standalone]


#65404 — Processed: Re: Bug#942513: linux 5.2.0-0.bpo.3-amd64: amdgpu doesn't find firmware

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2019-10-17 18:00 +0200
SubjectProcessed: Re: Bug#942513: linux 5.2.0-0.bpo.3-amd64: amdgpu doesn't find firmware
Message-ID<ySglY-55l-7@gated-at.bofh.it>
In reply to#65403
Processing control commands:

> tag -1 moreinfo
Bug #942513 [src:linux] linux 5.2.0-0.bpo.3-amd64: amdgpu doesn't find firmware
Added tag(s) moreinfo.

-- 
942513: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=942513
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#65405

FromBen Hutchings <ben@decadent.org.uk>
Date2019-10-17 18:00 +0200
Message-ID<ySglY-55l-9@gated-at.bofh.it>
In reply to#65403

[Multipart message — attachments visible in raw view] — view raw

Control: tag -1 moreinfo

On Thu, 2019-10-17 at 13:29 +0200, Fab Stz wrote:
> Source: linux
> Severity: normal
> 
> Dear Maintainer,
> 
> On buster with linux image 5.2.0-0.bpo.3-amd64 at boot time I have this error
> message :
> "*ERROR* amdgpu requires firmware installed"
> 
> [    1.317558] [drm] amdgpu kernel modesetting enabled.
> [    1.317812] [drm:amdgpu_pci_probe [amdgpu]] *ERROR* amdgpu requires firmware
> installed
> 
> But firmware is actually installed both in
> # ls /usr/lib/firmware/amdgpu/ | wc
> --> 289 lines

This sounds a lot like bug #928510…

> and in
> # lsinitramfs /boot/initrd.img-5.2.0-0.bpo.3-amd64 | grep firmware | grep
> amdgpu | wc
> --> 289 lines
> 
> $ dpkg -l :
> 
> ii  firmware-amd-graphics      20190717-2~bpo10+1           all

…but this seems to rule that out.  Are you sure you booted with this
version of the initramfs?  Could you try rebooting?

If you run:

    modprobe -r amdgpu && modprobe amdpgu

does the graphics driver start working?

Ben.

-- 
Ben Hutchings
I'm not a reverse psychological virus.
Please don't copy me into your signature.

[toc] | [prev] | [next] | [standalone]


#65406

FromFab Stz <fabstz-it@yahoo.fr>
Date2019-10-17 20:40 +0200
Message-ID<ySiQN-6Lw-7@gated-at.bofh.it>
In reply to#65405
Le jeudi 17 octobre 2019, 17:54:28 CEST Ben Hutchings a écrit :
> > and in
> > # lsinitramfs /boot/initrd.img-5.2.0-0.bpo.3-amd64 | grep firmware | grep
> > amdgpu | wc
> > --> 289 lines
> > 
> > $ dpkg -l :
> > 
> > ii  firmware-amd-graphics      20190717-2~bpo10+1           all
> 
> …but this seems to rule that out.  Are you sure you booted with this
> version of the initramfs?  Could you try rebooting?

I double checked and that's indeed the initramfs file that is used.

In grub config is as such :
        linux   /boot/vmlinuz-5.2.0-0.bpo.3-amd64 
root=UUID=58063ba7-15cf-4581-bf43-5da4b3486394 ro  quiet zswap.enabled=1 
zswap.max_pool_percent=20 drm.edid_firmware=DVI-D-1:edid/1024x768_75-F15.bin 
        initrd  /boot/initrd.img-5.2.0-0.bpo.3-amd64

Removing "drm.edid_firmware=DVI-D-1:edid/1024x768_75-F15.bin" doesn't 
workaround the issue.

> If you run:
> 
>     modprobe -r amdgpu && modprobe amdpgu
> 
> does the graphics driver start working?

Yes it does !

Regards
Fab

[toc] | [prev] | [next] | [standalone]


#65924

FromFab Stz <fabstz-it@yahoo.fr>
Date2019-12-28 20:00 +0100
Message-ID<ziptE-vh-23@gated-at.bofh.it>
In reply to#65406

[Multipart message — attachments visible in raw view] — view raw

Hello,

Problem is still present in "5.3.0-0.bpo.2-amd64"

It also looks similar to #933733 which I updated. Could these 
issues be duplicates ?

Regards
Fab

[toc] | [prev] | [next] | [standalone]


#65926

FromFab Stz <fabstz-it@yahoo.fr>
Date2019-12-28 20:30 +0100
Message-ID<zipWF-Ur-5@gated-at.bofh.it>
In reply to#65924

[Multipart message — attachments visible in raw view] — view raw

A workaround/fix is to patch /usr/share/initramfs-tools/hook-functions this 
way (see patch attached)

That way, the firmware will be copied from 
  /lib/firmware/5.3.0-0.bpo.2-amd64/amdgpu/
to this dir in the initramfs
  usr/lib/firmware/amdgpu/
instead of
  usr/lib/firmware/5.3.0-0.bpo.2-amd64/amdgpu/

After that, at boot-time the amdgpu firmware is found.

Please note that after patching it is necessary to run this command:
# update-initramfs -u -k <the_kernel_version>

BTW: #933733 and #942513 may be duplicates.

Regards

Le samedi 28 décembre 2019, 19:29:49 CET Fab Stz a écrit :
> Hello,
> 
> Problem is still present in "5.3.0-0.bpo.2-amd64"
> 
> It also looks similar to #933733 which I updated. Could these
> issues be duplicates ?
> 
> Regards
> Fab

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web