tech-x11 archive

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

Re: CVS commit: src/sys/external/bsd/drm2/nouveau



On Fri, Jul 05, 2019 at 08:53:45PM +0000, maya%netbsd.org@localhost wrote:
> On Fri, Jul 05, 2019 at 10:25:50PM +0200, Thomas Klausner wrote:
> > On Wed, Jul 03, 2019 at 10:56:09PM +0000, maya%netbsd.org@localhost wrote:
> > > On Wed, Jul 03, 2019 at 08:47:22PM +0000, Thomas Klausner wrote:
> > > > Module Name:	src
> > > > Committed By:	wiz
> > > > Date:		Wed Jul  3 20:47:22 UTC 2019
> > > > 
> > > > Modified Files:
> > > > 	src/sys/external/bsd/drm2/nouveau: nouveau_pci.c
> > > > 
> > > > Log Message:
> > > > Improve nouveau pci attachment code so it waits for the availability of /
> > > > before trying to load firmware.
> > > > 
> > > 
> > > Which firmware is it loading? we should probably ship it...
> > 
> > I've tried to provide the nvidia firmware from Debian's
> > firmware-nonfree_20161130.orig.tar.xz
> > 
> > Putting the files into
> > 
> > /usr/libdata/firmware/nvidia/gm206/gr
> > 
> > or
> > 
> > /usr/libdata/firmware/nouveau/gm206/gr
> > 
> > isn't enough, it still doesn't find them. Is the full searched path printed somewhere?
> >  Thomas
> 
> nouveau code doesn't make it super obvious, but try
> /usr/libdata/firmware/nouveau/nvidia/gm206/gr/
> 
> If that fails, printf drvname and imgname in
> sys/dev/firmload.c:firmware_open

[     4.764204] firmware_open tries /libdata/firmware/nouveau/nvidia/gm206/fecs_inst.bin
[     4.764204] firmware_open tries /usr/libdata/firmware/nouveau/nvidia/gm206/fecs_inst.bin
[     4.764204] firmware_open tries /usr/pkg/libdata/firmware/nouveau/nvidia/gm206/fecs_inst.bin
[     4.764204] firmware_open tries /usr/pkg/libdata/nouveau/nvidia/gm206/fecs_inst.bin

So I moved the contents from gr/* one level higher and it worked.

[     4.654748] firmware_open tries /libdata/firmware/nouveau/nvidia/gm206/fecs_inst.bin
[     4.654748] firmware_open tries /usr/libdata/firmware/nouveau/nvidia/gm206/fecs_inst.bin
[     4.664754] firmware_open tries /libdata/firmware/nouveau/nvidia/gm206/fecs_data.bin
[     4.664754] firmware_open tries /usr/libdata/firmware/nouveau/nvidia/gm206/fecs_data.bin
[     4.664754] firmware_open tries /libdata/firmware/nouveau/nvidia/gm206/gpccs_inst.bin
[     4.664754] firmware_open tries /usr/libdata/firmware/nouveau/nvidia/gm206/gpccs_inst.bin
[     4.664754] firmware_open tries /libdata/firmware/nouveau/nvidia/gm206/gpccs_data.bin
[     4.664754] firmware_open tries /usr/libdata/firmware/nouveau/nvidia/gm206/gpccs_data.bin

Should we ship those?


I still get the same 4 errors from the driver as before though:

[     4.674760] nouveau0: autoconfiguration error: error: DRM: Pointer to flat panel table invalid
[     4.674760] nouveau0: autoconfiguration error: warn: DRM: unknown connector type 70
[     4.674760] nouveau0: autoconfiguration error: warn: DRM: failed to create encoder 1/8/0: -19
[     4.674760] nouveau0: autoconfiguration error: warn: DRM: Unknown-1 has no encoders, removing

 Thomas


Home | Main Index | Thread Index | Old Index