Date: Mon, 6 Apr 2020 11:55:34 +0200 From: Matthias Andree <matthias.andree@gmx.de> To: freebsd-ports@freebsd.org Subject: Re: amdgpu panics Message-ID: <fcd64a2b-ca88-ca79-70de-1a2dd1036868@gmx.de> In-Reply-To: <5fb0aa95-9aa1-e170-15fe-ba5ce77869db@gjunka.com> References: <be363a85-cf11-f0d9-b6ca-39f0013322c7@gjunka.com> <d9f2137e-8e23-b00f-fe82-a1f83a6fe778@selasky.org> <6b0092f3-8d90-f1bc-b2ae-cf2fa2f029e0@gjunka.com> <d037e4dd-75a1-dcab-74f6-0cbfde452b7d@selasky.org> <47774b7a-0a6d-8806-6dee-4f0036651ace@gjunka.com> <20200312163447.GB42880@phouka1.phouka.net> <e880d6b2-92a5-ed60-5ef8-21812f193aa3@gjunka.com> <8d8ae2c8-1ecd-5c8c-2437-4e47cf48bd60@gmx.de> <96c03c59-b28e-3af1-e98b-e95517c20010@gjunka.com> <83bfb6f7-0a84-2905-7849-e4e93d9f6fb1@selasky.org> <9426b9bb-4fe6-37ba-ecb4-13a1ade47f92@gjunka.com> <9bc766aa-b17f-e8bc-bea2-11431972cf5d@selasky.org> <c5a5a71e-a1e2-2efd-b45d-d68daa893fa4@gjunka.com> <2ddfe444-7a20-9835-0875-6f93aa0f6ab3@gmx.de> <5fb0aa95-9aa1-e170-15fe-ba5ce77869db@gjunka.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Am 06.04.20 um 11:19 schrieb Grzegorz Junka: > > Sorry, what discrepancy do you mean? How does FreeBSD build the > drm-fbsd12.0-kmod on the FreeBSD pkg build server if not with > poudriere? Does it have any specific configuration I don't know about, > e.g. null mounted /usr/src to the host? The discrepancy between GENERIC and possibly between build host and with-Vega64 computer and your VENUS configuration. > Is it even possible to build a poudriere package with a non-generic > kernel configuration in the poudriere jail? > What if I create the poudriere build jail from the kernel / world I > built on the host? Is that possible? I guess it is feasible, because you can use an arbitrarily modified copy instead of /usr/src, but I have never tried that. GENERIC does ship with quite a lot of modules, so that's not a reason. > I can but I have more than one desktop and I don't want to recompile > everything from sources on each one. That's why I have a central build > server. Tell me how I should configure the build server to build the > packages and/or kernel and/or world in a way that the graphics stack > expects it to be build and it would be solved. > > Or what you are really saying is that if someone wants to use the new > drm graphics stack they HAVE TO recompile (a) kernel, (b) firmware, > (c) amdgpu from sources on the host every time? I thought you'd established that binary packages don't work for you, and in your previous post, there was writing about a nondefault kernel configuration named VENUS. Consequentially, I am saying let's reduce the number of variables first so you might at some point have a working baseline which you can record exactly, and then you can feed back to your build server so you have a way of tracing where things break. Assuming that the amdgpu module works at all. Poudriere packages are built against default binary packaged kernels you'd normally get, say, from freebsd-update obtaining 12.1-RELEASE, and since you mentioned a local/customized/changed kernel configuration, binary packages are out of the question. Note that "some vega10" module will be from gpu-firmware-kmod. I am not sure how current https://wiki.freebsd.org/Graphics#AMD_Graphics is... and if suppressing efifb might be required.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fcd64a2b-ca88-ca79-70de-1a2dd1036868>