Bug#990662: nouveau 0000:01:00.0: firmware: failed to load nouveau/nvd9_fuc084 (-2)

2022-07-17 Thread Andreas Beckmann

On 16/07/2022 17.05, Mathieu Malaterre wrote:

If I understand correctly, all I need is the file
`NVIDIA-Linux-x86-340.108.run` which is distributed directly in
contrib in package nvidia-graphics-drivers-legacy-340xx-340.108.

I'll see if I can patch this package directly instead of duplicating
the code in another package.


The 340 series is long EoL, not in stable and won't return to testing.

For extracting the firmware, it's probably better to have a downloader 
package that wgets the .run file from nvidia, validates against a known 
hash and runs the script on it.



Andreas



Bug#990662: nouveau 0000:01:00.0: firmware: failed to load nouveau/nvd9_fuc084 (-2)

2022-07-16 Thread Mathieu Malaterre
Andreas,

On Mon, Jul 11, 2022 at 9:03 PM Andreas Beckmann  wrote:
>
> On 11/07/2022 18.35, Mathieu Malaterre wrote:
> > Since the nvidia* package do the heavy lifting of downloading locally
> > binary, it would make sense to add yet-another package for firmware
> > related within the group.
>
> Putting a downloader package in contrib under the Nvidia Team umbrella
> is fine, but someone needs to come up with an initial implementation.
> A quick glance at the script gave me the impression that you need to
> extract firmware from the 340xx legacy or older drivers.
> Looking at existing packages (e.g. firmware-b43-installer), a name of
> firmware-nouveau-installer might work.

If I understand correctly, all I need is the file
`NVIDIA-Linux-x86-340.108.run` which is distributed directly in
contrib in package nvidia-graphics-drivers-legacy-340xx-340.108.

I'll see if I can patch this package directly instead of duplicating
the code in another package.

-M



Bug#990662: nouveau 0000:01:00.0: firmware: failed to load nouveau/nvd9_fuc084 (-2)

2022-07-11 Thread Andreas Beckmann

On 11/07/2022 18.35, Mathieu Malaterre wrote:

Since the nvidia* package do the heavy lifting of downloading locally
binary, it would make sense to add yet-another package for firmware
related within the group.


Putting a downloader package in contrib under the Nvidia Team umbrella 
is fine, but someone needs to come up with an initial implementation.
A quick glance at the script gave me the impression that you need to 
extract firmware from the 340xx legacy or older drivers.
Looking at existing packages (e.g. firmware-b43-installer), a name of 
firmware-nouveau-installer might work.


Andreas



Bug#990662: nouveau 0000:01:00.0: firmware: failed to load nouveau/nvd9_fuc084 (-2)

2022-07-11 Thread Mathieu Malaterre
Dear Debian NVIDIA Maintainers,

Is there any interest in maintaining a nvidia-firmware package within
Debian NVIDIA group maintenance ? It seems some of the nvidia firmware
blob cannot be maintained within firmware-misc-nonfree:

* https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=990662#12

Since the nvidia* package do the heavy lifting of downloading locally
binary, it would make sense to add yet-another package for firmware
related within the group.

Thanks for comments,

-M



Bug#990662: nouveau 0000:01:00.0: firmware: failed to load nouveau/nvd9_fuc084 (-2)

2021-11-20 Thread Sven Joachim
On 2021-07-04 09:36 +0200, Mathieu Malaterre wrote:

> Package: firmware-misc-nonfree
> Version: 20210315-2~bpo10+1
>
> It would be super nice to distribute the nividia/nouveau firmware in
> firmware-misc-nonfree.

There are two classes of firmware for NVidia cards: official ones from
NVidia for newer cards which is already included in
firmware-misc-nonfree and placed under /lib/fimware/nvidia, and firmware
for older cards which is not distributable but needs to be extracted
from the non-free driver and is put under /lib/firmware/nouveau.  This
firmware can be useful for video decoding, but is not necessary for other
operations.

https://nouveau.freedesktop.org/VideoAcceleration.html

> Right now symptoms are:
> [127020.582478] nouveau :01:00.0: firmware: failed to load
> nouveau/nvd9_fuc084 (-2)
> [127020.582481] firmware_class: See https://wiki.debian.org/Firmware
> for information about missing firmware
> [127020.582482] nouveau :01:00.0: Direct firmware load for
> nouveau/nvd9_fuc084 failed with error -2
> [127020.582487] nouveau :01:00.0: firmware: failed to load
> nouveau/nvd9_fuc084d (-2)
> [127020.582488] nouveau :01:00.0: Direct firmware load for
> nouveau/nvd9_fuc084d failed with error -2
> [127020.582489] nouveau :01:00.0: msvld: unable to load firmware data
> [127020.582491] nouveau :01:00.0: msvld: init failed, -19
> [127064.484342] nouveau :01:00.0: firmware: failed to load
> nouveau/nvd9_fuc084 (-2)
> [127064.484353] nouveau :01:00.0: Direct firmware load for
> nouveau/nvd9_fuc084 failed with error -2
> [127064.484375] nouveau :01:00.0: firmware: failed to load
> nouveau/nvd9_fuc084d (-2)
> [127064.484380] nouveau :01:00.0: Direct firmware load for
> nouveau/nvd9_fuc084d failed with error -2
> [127064.484384] nouveau :01:00.0: msvld: unable to load firmware data
> [127064.484389] nouveau :01:00.0: msvld: init failed, -19
>
> Reference:
>
> https://build.opensuse.org/package/view_file/hardware/nvidia-firmware-installer/nvidia-firmware-installer.spec?expand=1
> https://raw.githubusercontent.com/envytools/firmware/master/extract_firmware.py

Since the firmware is not distributable as-is, it cannot be put into
firmware-misc-nonfree (or any other package).  What could be done is to
package an installer in contrib.  Would you like to do that?

Cheers,
   Sven



Bug#990662: nouveau 0000:01:00.0: firmware: failed to load nouveau/nvd9_fuc084 (-2)

2021-07-04 Thread Mathieu Malaterre
Package: firmware-misc-nonfree
Version: 20210315-2~bpo10+1

It would be super nice to distribute the nividia/nouveau firmware in
firmware-misc-nonfree. Right now symptoms are:

[127020.582478] nouveau :01:00.0: firmware: failed to load
nouveau/nvd9_fuc084 (-2)
[127020.582481] firmware_class: See https://wiki.debian.org/Firmware
for information about missing firmware
[127020.582482] nouveau :01:00.0: Direct firmware load for
nouveau/nvd9_fuc084 failed with error -2
[127020.582487] nouveau :01:00.0: firmware: failed to load
nouveau/nvd9_fuc084d (-2)
[127020.582488] nouveau :01:00.0: Direct firmware load for
nouveau/nvd9_fuc084d failed with error -2
[127020.582489] nouveau :01:00.0: msvld: unable to load firmware data
[127020.582491] nouveau :01:00.0: msvld: init failed, -19
[127064.484342] nouveau :01:00.0: firmware: failed to load
nouveau/nvd9_fuc084 (-2)
[127064.484353] nouveau :01:00.0: Direct firmware load for
nouveau/nvd9_fuc084 failed with error -2
[127064.484375] nouveau :01:00.0: firmware: failed to load
nouveau/nvd9_fuc084d (-2)
[127064.484380] nouveau :01:00.0: Direct firmware load for
nouveau/nvd9_fuc084d failed with error -2
[127064.484384] nouveau :01:00.0: msvld: unable to load firmware data
[127064.484389] nouveau :01:00.0: msvld: init failed, -19

Reference:

https://build.opensuse.org/package/view_file/hardware/nvidia-firmware-installer/nvidia-firmware-installer.spec?expand=1
https://raw.githubusercontent.com/envytools/firmware/master/extract_firmware.py

Thanks