Repository navigation
mesa: use buildEnv to join mesa(noglu) and glu - #405
Conversation
Since mesa-9.x, upstream has separated mesa and glu. @peti suggested using buildEnv to create a mesa environment that acts like old mesa, which is what this commit does.
This is no longer needed since unifying mesa(noglu) and glu in a mesa buildEnv.
|
This looks nice, thanks. I'll leave some time for other interested people to react. |
|
What is the real scale of things fixed by this? Do I need to have X.org built with fixed Mesa to benefit? Currently, running updated glxinfo on top of old x-updates X.org yields Is this an unrelated problem? What specific application should work so I can test it before/after? |
|
Yes, you do need to rebuild the X stack to test this, I forgot to mention. Now that you have a broken config, you can test which applications don't work and retest after rebuilding X. I saw this problem while doing some stuff with SDL. I noticed that for example xmoto or blackshades wouldn't start with an error similar to what you describe. |
|
Well, I am running a full rebuild, but it is slow (because Hydra is not used and I have a big configuration), so I wondered whether I already see it doesn't work or I jut haven't rebuit enough. |
|
For getting such builds from Hydra I use EDIT: sorry, I didn't realize it hasn't been merged yet, so I'll do it now to simplify testing :-) |
mesa: use buildEnv to join mesa(noglu) and glu
|
Continue reporting any problems with mesa here, please. |
My experience that directly using Hydra dynamic binary cache is actually |
|
@7c6f434c: It's possible that dynamic binary cache is enough, I'm not sure. It's a bit deprecated, however, as it's said to need nontrivial computation on the server-side. Using buildenv instead of the separate packages should change very little as only paths change, nothing else. wine evaluation: do you have any idea how to add passthru attributes to buildEnv output? Another option is to take wine's libdrm from elsewhere. |
It is also recommended for testing large changes pre-merge, so you I try not to use it when nixos.org static binary cache does have what
I think we could take top-level libdrm. |
|
Yes, probably, I can't imagine a reason why we wanted to use multiple libdrm versions in one nixpkgs tree revision. |
|
Even dynamic cache does not work for me on x-updates, but the nix-pull way above does (maybe my settings is bad). |
doc: remove pypi, add updateScript
We had a brief discussion in aa0fb73 and @peti suggested what I think was the best solution to the upstream split of mesa and glu.
From the (little) tests I did, it seems to work (for example, SDL GL apps do work again) and I found no more references of mesa_noglu in nixpkgs besides the wxGTK one that I already fixed.