I want to compile mesa new crocus driver for haswell gpu using i965 && gallium use flag right now there is only i965 classic driver. more information on this new driver on upstream: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11146 thanks for your work! Reproducible: Always
Created attachment 719478 [details] ebuild with crocus support Here's an ebuild that seems to work for me. It's not ready to commit because a) I don't know what I'm doing, I just copied code wherever looked reasonable, and b) I didn't even pay attention to code cleanliness or alphabetical order or things like that. But for testing, it seems to work.
(In reply to dolphinling from comment #1) > Created attachment 719478 [details] > ebuild with crocus support > > Here's an ebuild that seems to work for me. > > It's not ready to commit because a) I don't know what I'm doing, I just > copied code wherever looked reasonable, and b) I didn't even pay attention > to code cleanliness or alphabetical order or things like that. But for > testing, it seems to work. crocus apparently saw its first public release in Mesa 21.2. I've came up w/ similar patch which is obvious, and can confirm that the driver obviously works. I've neither tested it using Mesa test suite nor benchmarked it against i965 on my GM965 which I still happen to have around, though. But I dont' see much point in exposing it in the ebuild. It won't magically double performance, or enable newer OpenGL features, or something. Or will classic drivers be removed from Mesa any time soon?
(In reply to Arseny Solokha from comment #2) > (In reply to dolphinling from comment #1) > > Created attachment 719478 [details] > > ebuild with crocus support > > > > Here's an ebuild that seems to work for me. > > > > It's not ready to commit because a) I don't know what I'm doing, I just > > copied code wherever looked reasonable, and b) I didn't even pay attention > > to code cleanliness or alphabetical order or things like that. But for > > testing, it seems to work. > > crocus apparently saw its first public release in Mesa 21.2. > > I've came up w/ similar patch which is obvious, and can confirm that the > driver obviously works. I've neither tested it using Mesa test suite nor > benchmarked it against i965 on my GM965 which I still happen to have around, > though. > > But I dont' see much point in exposing it in the ebuild. It won't magically > double performance, or enable newer OpenGL features, or something. Or will > classic drivers be removed from Mesa any time soon? Classic drivers are going to dissapear. https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10557 old drivers will stay on "amber" like a fossil inside a LTS branch. but the tar.gz releases won't contain any code about classic drivers. i915g is already being shiped on gentoo but I wanted to have gallium for newer graphic cards. on intel side will be only on master branch the following drivers: i915g, crocus and iris. on amd side will only stay radeonsi and r600g gently ping to mattst88@gentoo.org
Thanks for the ping and sorry for not handling this sooner. I'll try to get to it ASAP.
thank you for answering so quick. thanks for your work :)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f20b8394b687bc73339d9acbd46ff4d1f884f330 commit f20b8394b687bc73339d9acbd46ff4d1f884f330 Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2021-10-30 20:33:27 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2021-10-30 23:04:13 +0000 media-libs/mesa: Add VIDEO_CARDS=crocus Closes: https://bugs.gentoo.org/796764 Signed-off-by: Matt Turner <mattst88@gentoo.org> media-libs/mesa/mesa-9999.ebuild | 5 ++++- profiles/arch/amd64/use.mask | 1 + profiles/arch/base/use.mask | 1 + profiles/arch/x86/use.mask | 1 + profiles/desc/video_cards.desc | 1 + 5 files changed, 8 insertions(+), 1 deletion(-)
Thank you for your work :)