[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#805151: [PATCH] Install GPU firmware



So, if I understand correctly, the drm driver is initialized when the initramfs runs, and the i915 drm loads the skylake firmware blob. Without the firmware being in the initramfs, I got an error message during early boot:

Nov 13 11:30:43 midna kernel: [   10.747038] i915 0000:00:02.0: Direct firmware load for i915/skl_dmc_ver1.bin failed with error -2

I also recall the screen resolution (on my 3840x2160 display) not being quite right, but that’s purely from memory and I’d need to reproduce it to describe the way in which behavior differs.

On Sun, Nov 15, 2015 at 2:33 PM, Ben Hutchings <ben@decadent.org.uk> wrote:
On Sun, 2015-11-15 at 13:00 +0100, Michael Stapelberg wrote:
>
>
> On Sun, Nov 15, 2015 at 12:47 PM, Ben Hutchings <ben@decadent.org.uk>
> wrote:
> > Control: tag -1 moreinfo
> >
> > On Sun, 2015-11-15 at 11:49 +0100, Michael Stapelberg wrote:
> > > Package: initramfs-tools
> > > Version: 0.120
> > > Severity: normal
> > > Tags: patch
> > >
> > > Please apply the attached patch, see its commit message for
> > details.
> > [...]
> >
> > This is not about adding firmware, it is adding modules (and the
> > firmware they refer to).  This will increase the initramfs size
> > substantially and is not needed on most systems.
> >
> > > This is necessary to include files such as
> > > /lib/firmware/i915/skl_dmc_ver1.bin and others (shipped in the
> > > firmware-misc-nonfree package), which are necessary to properly
> > > initialize the graphics output in early boot.
> >
> > Presumably there are some systems that need this.  But most do not.
> > Maybe the installer should detect those and add the appropriate
> > drivers
> > to /etc/initramfs-tools/modules?
> Whatever makes my initrd contain the i915 firmware files makes me
> happy.
>
> Do you need any more information from me to get this done?

There is no reason to have the firmware files there without the driver
that loads them.  So you need to explain why you think all GPU drivers,
or specifically the i915 driver, should be included.

Ben.

--
Ben Hutchings
Everything should be made as simple as possible, but not simpler.
                                                           - Albert Einstein



--
Best regards,
Michael

Reply to: