| 6 Nov 2023 |
K900 | It doesn't matter | 13:55:53 |
@atemu12:matrix.org | Oh, they link against mesa a b and c at runtime because that's what's in the sandbox.. | 13:55:55 |
K900 | As long as they're the same within one app | 13:55:59 |
@atemu12:matrix.org | So compositor mesa/libgbm doesn't matter | 13:56:17 |
K900 | Yes | 13:59:20 |
@atemu12:matrix.org | So, wouldn't a good solution to this be to propagate the version of mesa an app was linked against and use that rather than the impure driver? | 14:05:55 |
@atemu12:matrix.org | Why do we have the impure driver anyways for mesa? | 14:06:12 |
@atemu12:matrix.org | (Other than for running impure apps of course.) | 14:06:27 |
K900 | 1) it can be Nvidia and not Mesa | 14:06:48 |
K900 | 2) forward compatibility | 14:06:51 |
K900 | I think 2) was an accident | 14:06:59 |
K900 | But it's the reason I don't agree with "let's just shove mesa into the closure for everything" | 14:07:13 |
K900 | Because we could technically just load Nvidia impurely now | 14:08:08 |
K900 | But I actually think the impure Mesa is important, because it allows people to run older nixpkgs stuff with recent hardware | 14:08:35 |
@atemu12:matrix.org | Yeah, yeah right | 14:08:50 |
@atemu12:matrix.org | Though isn't that broken anyways now that libgbm doesn't want to work with different mesa? | 14:09:08 |
K900 | It is, but the solution here is to make libgbm also impure | 14:09:37 |
K900 | Which we can do | 14:09:42 |
@atemu12:matrix.org | Urgh | 14:09:48 |
K900 | I just need to find the spoons to talk to Mesa people about it | 14:09:50 |
K900 | And figure out a solution | 14:10:00 |
@atemu12:matrix.org | I guess if mesa is tightly coupled with libgbm, it should probably be handled the same, yeah. | 14:10:30 |
@atemu12:matrix.org | Didn't you open an issue on that in their issue tracker? | 14:10:49 |
K900 | Not yet | 14:10:54 |
K900 | I wanted to talk first | 14:10:59 |
K900 | Instead of busting into the issue tracker with LOOK I HAVE AN IDEA | 14:11:07 |
@atemu12:matrix.org | Someone did IIRC | 14:11:04 |
@atemu12:matrix.org | :D | 14:11:14 |
K900 | There's also option C - make grafts actually work properly | 14:11:39 |
@atemu12:matrix.org | I think it's fine to lay out requirements we have and why the current way of doing things doesn't work for us | 14:11:52 |