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


Groups > linux.debian.user > #211359 > unrolled thread

amdgpu requires firmware installed

Started byVuk Vasiljevic <vukv93@gmail.com>
First post2019-07-14 01:40 +0200
Last post2019-07-18 02:10 +0200
Articles 8 — 5 participants

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


Contents

  amdgpu requires firmware installed Vuk Vasiljevic <vukv93@gmail.com> - 2019-07-14 01:40 +0200
    Re: amdgpu requires firmware installed Esteban L <esteban@little-beak.com> - 2019-07-14 04:20 +0200
    Re: amdgpu requires firmware installed Shahryar Afifi <shahryarafifi@yahoo.com> - 2019-07-14 07:00 +0200
      Re: amdgpu requires firmware installed Shahryar Afifi <shahryarafifi@yahoo.com> - 2019-07-14 07:10 +0200
        Re: amdgpu requires firmware installed Vuk Vasiljevic <vukv93@gmail.com> - 2019-07-14 12:40 +0200
          Re: amdgpu requires firmware installed Georgi Naplatanov <gosho@oles.biz> - 2019-07-14 13:20 +0200
    Re: amdgpu requires firmware installed Sven Joachim <svenjoac@gmx.de> - 2019-07-14 07:30 +0200
      Re: Re: amdgpu requires firmware installed Vuk Vasiljevic <vukv93@gmail.com> - 2019-07-18 02:10 +0200

#211359 — amdgpu requires firmware installed

FromVuk Vasiljevic <vukv93@gmail.com>
Date2019-07-14 01:40 +0200
Subjectamdgpu requires firmware installed
Message-ID<yjzMt-6Bu-1@gated-at.bofh.it>
Hello,

I have a problem with AMDGPU driver after an update from stretch to buster.
On startup no X server is started (but can be later on by calling startx),
and following error appears in the log.

[    1.311354] [drm] amdgpu kernel modesetting enabled.
[    1.311464] [drm:amdgpu_pci_probe [amdgpu]] *ERROR* amdgpu requires 
firmware installed

While on stretch, I have installed some proprietary parts of AMDGPU-PRO,
and only removed it after the update. Can this be the cause of error,
and if so, can it be fixed?

amdgpu module appears not to be loaded, but not used.

$ lsmod | grep amdgpu
amdgpu               3416064  0
chash                  16384  1 amdgpu
gpu_sched              28672  1 amdgpu
i2c_algo_bit           16384  1 amdgpu
ttm                   126976  1 amdgpu
drm_kms_helper        200704  1 amdgpu
drm                   483328  4 gpu_sched,drm_kms_helper,amdgpu,ttm


I have following firmware packages installed and up to date.

firmware-amd-graphics
firmware-linux
firmware-linux-free
firmware-linux-nonfree


Some system info:

$ uname -a
Linux optimus 4.19.0-5-amd64 #1 SMP Debian 4.19.37-5 (2019-06-19) x86_64 
GNU/Linux

$ glxinfo|egrep "string"
server glx vendor string: SGI
server glx version string: 1.4
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: llvmpipe (LLVM 7.0, 128 bits)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 18.3.6
OpenGL core profile shading language version string: 3.30
OpenGL version string: 3.1 Mesa 18.3.6
OpenGL shading language version string: 1.40
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 18.3.6
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00


Please tell me if any additional logs or other info is needed.

Thanks in advance,
Vuk

[toc] | [next] | [standalone]


#211361

FromEsteban L <esteban@little-beak.com>
Date2019-07-14 04:20 +0200
Message-ID<yjChj-8iG-1@gated-at.bofh.it>
In reply to#211359

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

I had this exact same problem.

https://linuxconfig.org/how-to-install-the-latest-amd-drivers-on-debian-10-buster


On July 14, 2019 1:13:15 AM GMT+02:00, Vuk Vasiljevic <vukv93@gmail.com> wrote:
>Hello,
>
>I have a problem with AMDGPU driver after an update from stretch to
>buster.
>On startup no X server is started (but can be later on by calling
>startx),
>and following error appears in the log.
>
>[    1.311354] [drm] amdgpu kernel modesetting enabled.
>[    1.311464] [drm:amdgpu_pci_probe [amdgpu]] *ERROR* amdgpu requires 
>firmware installed
>
>While on stretch, I have installed some proprietary parts of
>AMDGPU-PRO,
>and only removed it after the update. Can this be the cause of error,
>and if so, can it be fixed?
>
>amdgpu module appears not to be loaded, but not used.
>
>$ lsmod | grep amdgpu
>amdgpu               3416064  0
>chash                  16384  1 amdgpu
>gpu_sched              28672  1 amdgpu
>i2c_algo_bit           16384  1 amdgpu
>ttm                   126976  1 amdgpu
>drm_kms_helper        200704  1 amdgpu
>drm                   483328  4 gpu_sched,drm_kms_helper,amdgpu,ttm
>
>
>I have following firmware packages installed and up to date.
>
>firmware-amd-graphics
>firmware-linux
>firmware-linux-free
>firmware-linux-nonfree
>
>
>Some system info:
>
>$ uname -a
>Linux optimus 4.19.0-5-amd64 #1 SMP Debian 4.19.37-5 (2019-06-19)
>x86_64 
>GNU/Linux
>
>$ glxinfo|egrep "string"
>server glx vendor string: SGI
>server glx version string: 1.4
>client glx vendor string: Mesa Project and SGI
>client glx version string: 1.4
>OpenGL vendor string: VMware, Inc.
>OpenGL renderer string: llvmpipe (LLVM 7.0, 128 bits)
>OpenGL core profile version string: 3.3 (Core Profile) Mesa 18.3.6
>OpenGL core profile shading language version string: 3.30
>OpenGL version string: 3.1 Mesa 18.3.6
>OpenGL shading language version string: 1.40
>OpenGL ES profile version string: OpenGL ES 3.0 Mesa 18.3.6
>OpenGL ES profile shading language version string: OpenGL ES GLSL ES
>3.00
>
>
>Please tell me if any additional logs or other info is needed.
>
>Thanks in advance,
>Vuk

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

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


#211362

FromShahryar Afifi <shahryarafifi@yahoo.com>
Date2019-07-14 07:00 +0200
Message-ID<yjEMa-1gG-1@gated-at.bofh.it>
In reply to#211359
remove: 
firmware-linux
firmware-linux-free

install:
linux headers


On Sun, 2019-07-14 at 01:13 +0200, Vuk Vasiljevic wrote:
> Hello,
> 
> I have a problem with AMDGPU driver after an update from stretch to
> buster.
> On startup no X server is started (but can be later on by calling
> startx),
> and following error appears in the log.
> 
> [    1.311354] [drm] amdgpu kernel modesetting enabled.
> [    1.311464] [drm:amdgpu_pci_probe [amdgpu]] *ERROR* amdgpu
> requires 
> firmware installed
> 
> While on stretch, I have installed some proprietary parts of AMDGPU-
> PRO,
> and only removed it after the update. Can this be the cause of error,
> and if so, can it be fixed?
> 
> amdgpu module appears not to be loaded, but not used.
> 
> $ lsmod | grep amdgpu
> amdgpu               3416064  0
> chash                  16384  1 amdgpu
> gpu_sched              28672  1 amdgpu
> i2c_algo_bit           16384  1 amdgpu
> ttm                   126976  1 amdgpu
> drm_kms_helper        200704  1 amdgpu
> drm                   483328  4 gpu_sched,drm_kms_helper,amdgpu,ttm
> 
> 
> I have following firmware packages installed and up to date.
> 
> firmware-amd-graphics
> firmware-linux
> firmware-linux-free
> firmware-linux-nonfree
> 
> 
> Some system info:
> 
> $ uname -a
> Linux optimus 4.19.0-5-amd64 #1 SMP Debian 4.19.37-5 (2019-06-19)
> x86_64 
> GNU/Linux
> 
> $ glxinfo|egrep "string"
> server glx vendor string: SGI
> server glx version string: 1.4
> client glx vendor string: Mesa Project and SGI
> client glx version string: 1.4
> OpenGL vendor string: VMware, Inc.
> OpenGL renderer string: llvmpipe (LLVM 7.0, 128 bits)
> OpenGL core profile version string: 3.3 (Core Profile) Mesa 18.3.6
> OpenGL core profile shading language version string: 3.30
> OpenGL version string: 3.1 Mesa 18.3.6
> OpenGL shading language version string: 1.40
> OpenGL ES profile version string: OpenGL ES 3.0 Mesa 18.3.6
> OpenGL ES profile shading language version string: OpenGL ES GLSL ES
> 3.00
> 
> 
> Please tell me if any additional logs or other info is needed.
> 
> Thanks in advance,
> Vuk
> 

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


#211363

FromShahryar Afifi <shahryarafifi@yahoo.com>
Date2019-07-14 07:10 +0200
Message-ID<yjEVP-1A5-1@gated-at.bofh.it>
In reply to#211362
if that didnt work remove:
xorg-video-intel



On Sat, 2019-07-13 at 21:53 -0700, Shahryar Afifi wrote:
> remove: 
> firmware-linux
> firmware-linux-free
> 
> install:
> linux headers
> 
> 
> On Sun, 2019-07-14 at 01:13 +0200, Vuk Vasiljevic wrote:
> > Hello,
> > 
> > I have a problem with AMDGPU driver after an update from stretch to
> > buster.
> > On startup no X server is started (but can be later on by calling
> > startx),
> > and following error appears in the log.
> > 
> > [    1.311354] [drm] amdgpu kernel modesetting enabled.
> > [    1.311464] [drm:amdgpu_pci_probe [amdgpu]] *ERROR* amdgpu
> > requires 
> > firmware installed
> > 
> > While on stretch, I have installed some proprietary parts of
> > AMDGPU-
> > PRO,
> > and only removed it after the update. Can this be the cause of
> > error,
> > and if so, can it be fixed?
> > 
> > amdgpu module appears not to be loaded, but not used.
> > 
> > $ lsmod | grep amdgpu
> > amdgpu               3416064  0
> > chash                  16384  1 amdgpu
> > gpu_sched              28672  1 amdgpu
> > i2c_algo_bit           16384  1 amdgpu
> > ttm                   126976  1 amdgpu
> > drm_kms_helper        200704  1 amdgpu
> > drm                   483328  4 gpu_sched,drm_kms_helper,amdgpu,ttm
> > 
> > 
> > I have following firmware packages installed and up to date.
> > 
> > firmware-amd-graphics
> > firmware-linux
> > firmware-linux-free
> > firmware-linux-nonfree
> > 
> > 
> > Some system info:
> > 
> > $ uname -a
> > Linux optimus 4.19.0-5-amd64 #1 SMP Debian 4.19.37-5 (2019-06-19)
> > x86_64 
> > GNU/Linux
> > 
> > $ glxinfo|egrep "string"
> > server glx vendor string: SGI
> > server glx version string: 1.4
> > client glx vendor string: Mesa Project and SGI
> > client glx version string: 1.4
> > OpenGL vendor string: VMware, Inc.
> > OpenGL renderer string: llvmpipe (LLVM 7.0, 128 bits)
> > OpenGL core profile version string: 3.3 (Core Profile) Mesa 18.3.6
> > OpenGL core profile shading language version string: 3.30
> > OpenGL version string: 3.1 Mesa 18.3.6
> > OpenGL shading language version string: 1.40
> > OpenGL ES profile version string: OpenGL ES 3.0 Mesa 18.3.6
> > OpenGL ES profile shading language version string: OpenGL ES GLSL
> > ES
> > 3.00
> > 
> > 
> > Please tell me if any additional logs or other info is needed.
> > 
> > Thanks in advance,
> > Vuk
> > 

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


#211376

FromVuk Vasiljevic <vukv93@gmail.com>
Date2019-07-14 12:40 +0200
Message-ID<yjK5c-4D1-9@gated-at.bofh.it>
In reply to#211363
Hello,

This did not work. The same error is still present.

On 7/14/19 7:01 AM, Shahryar Afifi wrote:
> if that didnt work remove:
> xorg-video-intel
> 
> 
> 
> On Sat, 2019-07-13 at 21:53 -0700, Shahryar Afifi wrote:
>> remove:
>> firmware-linux
>> firmware-linux-free
>>
>> install:
>> linux headers
>>
>>
>> On Sun, 2019-07-14 at 01:13 +0200, Vuk Vasiljevic wrote:
>>> Hello,
>>>
>>> I have a problem with AMDGPU driver after an update from stretch to
>>> buster.
>>> On startup no X server is started (but can be later on by calling
>>> startx),
>>> and following error appears in the log.
>>>
>>> [    1.311354] [drm] amdgpu kernel modesetting enabled.
>>> [    1.311464] [drm:amdgpu_pci_probe [amdgpu]] *ERROR* amdgpu
>>> requires
>>> firmware installed
>>>
>>> While on stretch, I have installed some proprietary parts of
>>> AMDGPU-
>>> PRO,
>>> and only removed it after the update. Can this be the cause of
>>> error,
>>> and if so, can it be fixed?
>>>
>>> amdgpu module appears not to be loaded, but not used.
>>>
>>> $ lsmod | grep amdgpu
>>> amdgpu               3416064  0
>>> chash                  16384  1 amdgpu
>>> gpu_sched              28672  1 amdgpu
>>> i2c_algo_bit           16384  1 amdgpu
>>> ttm                   126976  1 amdgpu
>>> drm_kms_helper        200704  1 amdgpu
>>> drm                   483328  4 gpu_sched,drm_kms_helper,amdgpu,ttm
>>>
>>>
>>> I have following firmware packages installed and up to date.
>>>
>>> firmware-amd-graphics
>>> firmware-linux
>>> firmware-linux-free
>>> firmware-linux-nonfree
>>>
>>>
>>> Some system info:
>>>
>>> $ uname -a
>>> Linux optimus 4.19.0-5-amd64 #1 SMP Debian 4.19.37-5 (2019-06-19)
>>> x86_64
>>> GNU/Linux
>>>
>>> $ glxinfo|egrep "string"
>>> server glx vendor string: SGI
>>> server glx version string: 1.4
>>> client glx vendor string: Mesa Project and SGI
>>> client glx version string: 1.4
>>> OpenGL vendor string: VMware, Inc.
>>> OpenGL renderer string: llvmpipe (LLVM 7.0, 128 bits)
>>> OpenGL core profile version string: 3.3 (Core Profile) Mesa 18.3.6
>>> OpenGL core profile shading language version string: 3.30
>>> OpenGL version string: 3.1 Mesa 18.3.6
>>> OpenGL shading language version string: 1.40
>>> OpenGL ES profile version string: OpenGL ES 3.0 Mesa 18.3.6
>>> OpenGL ES profile shading language version string: OpenGL ES GLSL
>>> ES
>>> 3.00
>>>
>>>
>>> Please tell me if any additional logs or other info is needed.
>>>
>>> Thanks in advance,
>>> Vuk
>>>
> 

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


#211379

FromGeorgi Naplatanov <gosho@oles.biz>
Date2019-07-14 13:20 +0200
Message-ID<yjKHT-566-7@gated-at.bofh.it>
In reply to#211376
On 7/14/19 1:21 PM, Vuk Vasiljevic wrote:
> Hello,
> 
> This did not work. The same error is still present.
> 
> On 7/14/19 7:01 AM, Shahryar Afifi wrote:
>> if that didnt work remove:
>> xorg-video-intel
>>
>>
>>
>> On Sat, 2019-07-13 at 21:53 -0700, Shahryar Afifi wrote:
>>> remove:
>>> firmware-linux
>>> firmware-linux-free
>>>
>>> install:
>>> linux headers
>>>
>>>
>>> On Sun, 2019-07-14 at 01:13 +0200, Vuk Vasiljevic wrote:
>>>> Hello,
>>>>
>>>> I have a problem with AMDGPU driver after an update from stretch to
>>>> buster.
>>>> On startup no X server is started (but can be later on by calling
>>>> startx),
>>>> and following error appears in the log.
>>>>
>>>> [    1.311354] [drm] amdgpu kernel modesetting enabled.
>>>> [    1.311464] [drm:amdgpu_pci_probe [amdgpu]] *ERROR* amdgpu
>>>> requires
>>>> firmware installed
>>>>
>>>> While on stretch, I have installed some proprietary parts of
>>>> AMDGPU-
>>>> PRO,
>>>> and only removed it after the update. Can this be the cause of
>>>> error,
>>>> and if so, can it be fixed?
>>>>
>>>> amdgpu module appears not to be loaded, but not used.
>>>>
>>>> $ lsmod | grep amdgpu
>>>> amdgpu               3416064  0
>>>> chash                  16384  1 amdgpu
>>>> gpu_sched              28672  1 amdgpu
>>>> i2c_algo_bit           16384  1 amdgpu
>>>> ttm                   126976  1 amdgpu
>>>> drm_kms_helper        200704  1 amdgpu
>>>> drm                   483328  4 gpu_sched,drm_kms_helper,amdgpu,ttm
>>>>
>>>>
>>>> I have following firmware packages installed and up to date.
>>>>
>>>> firmware-amd-graphics
>>>> firmware-linux
>>>> firmware-linux-free
>>>> firmware-linux-nonfree
>>>>
>>>>
>>>> Some system info:
>>>>
>>>> $ uname -a
>>>> Linux optimus 4.19.0-5-amd64 #1 SMP Debian 4.19.37-5 (2019-06-19)
>>>> x86_64
>>>> GNU/Linux
>>>>
>>>> $ glxinfo|egrep "string"
>>>> server glx vendor string: SGI
>>>> server glx version string: 1.4
>>>> client glx vendor string: Mesa Project and SGI
>>>> client glx version string: 1.4
>>>> OpenGL vendor string: VMware, Inc.
>>>> OpenGL renderer string: llvmpipe (LLVM 7.0, 128 bits)
>>>> OpenGL core profile version string: 3.3 (Core Profile) Mesa 18.3.6
>>>> OpenGL core profile shading language version string: 3.30
>>>> OpenGL version string: 3.1 Mesa 18.3.6
>>>> OpenGL shading language version string: 1.40
>>>> OpenGL ES profile version string: OpenGL ES 3.0 Mesa 18.3.6
>>>> OpenGL ES profile shading language version string: OpenGL ES GLSL
>>>> ES
>>>> 3.00
>>>>
>>>>
>>>> Please tell me if any additional logs or other info is needed.
>>>>
>>>> Thanks in advance,
>>>> Vuk
>>>>

Can you attach your /var/log/Xorg.0.log

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


#211365

FromSven Joachim <svenjoac@gmx.de>
Date2019-07-14 07:30 +0200
Message-ID<yjFfb-1GX-1@gated-at.bofh.it>
In reply to#211359
On 2019-07-14 01:13 +0200, Vuk Vasiljevic wrote:

> Hello,
>
> I have a problem with AMDGPU driver after an update from stretch to buster.
> On startup no X server is started (but can be later on by calling startx),
> and following error appears in the log.
>
> [    1.311354] [drm] amdgpu kernel modesetting enabled.
> [    1.311464] [drm:amdgpu_pci_probe [amdgpu]] *ERROR* amdgpu requires
> firmware installed
>
> While on stretch, I have installed some proprietary parts of AMDGPU-PRO,
> and only removed it after the update. Can this be the cause of error,
> and if so, can it be fixed?

Possibly.  Your log shows that the amdgpu module is loaded very early,
this must be done by the initramfs.  By default graphics drivers are not
included in the initramfs, so maybe amdgpu is listed in
/etc/initramfs-tools/modules ?

> I have following firmware packages installed and up to date.
>
> firmware-amd-graphics

That's the one you need.  If the amdgpu module complains that it's
missing, maybe the firmware is not included in the initramfs.  I don't
know how that could happen, though.

Cheers,
       Sven

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


#211490

FromVuk Vasiljevic <vukv93@gmail.com>
Date2019-07-18 02:10 +0200
Message-ID<yl29H-3BD-5@gated-at.bofh.it>
In reply to#211365
 >> Hello,
 >>
 >> I have a problem with AMDGPU driver after an update from stretch to 
buster.
 >> On startup no X server is started (but can be later on by calling 
startx),
 >> and following error appears in the log.
 >>
 >> [    1.311354] [drm] amdgpu kernel modesetting enabled.
 >> [    1.311464] [drm:amdgpu_pci_probe [amdgpu]] *ERROR* amdgpu requires
 >> firmware installed
 >>
 >> While on stretch, I have installed some proprietary parts of AMDGPU-PRO,
 >> and only removed it after the update. Can this be the cause of error,
 >> and if so, can it be fixed?
 >
 >Possibly.  Your log shows that the amdgpu module is loaded very early,
 >this must be done by the initramfs.  By default graphics drivers are not
 >included in the initramfs, so maybe amdgpu is listed in
 >/etc/initramfs-tools/modules ?
 >
 >> I have following firmware packages installed and up to date.
 >>
 >> firmware-amd-graphics
 >
 >That's the one you need.  If the amdgpu module complains that it's
 >missing, maybe the firmware is not included in the initramfs.  I don't
 >know how that could happen, though.
 >
 >Cheers,
 >       Sven

How can I check if amdgpu is loaded during intiramfs operation?
Anyway, I think that lsinitramfs shows that firmware is included:

$ lsinitramfs /boot/initrd.img-$(uname -r) | grep amdgpu
usr/lib/firmware/4.19.0-5-amd64/amdgpu
usr/lib/firmware/4.19.0-5-amd64/amdgpu/banks_k_2_smc.bin
usr/lib/firmware/4.19.0-5-amd64/amdgpu/bonaire_ce.bin
usr/lib/firmware/4.19.0-5-amd64/amdgpu/bonaire_k_smc.bin
...


Seems that its location is usr/lib/firmware, while it is installed in
/lib/firmware on the root filesystem...

[toc] | [prev] | [standalone]


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


csiph-web