!KEJUbONnoBpiYKGWEq:nixos.org

NixOS Gaming

704 Members
Gaming things, my hands are typing words.182 Servers

Load older messages


SenderMessageTime
6 Nov 2023
@atemu12:matrix.org@atemu12:matrix.orgBut the same still applies13:52:07
@atemu12:matrix.org@atemu12:matrix.org(Also isn't libgbm == mesa?)13:52:19
@k900:0upti.meK900libgbm is part of Mesa13:53:43
@k900:0upti.meK900 But the NixOS compositor issues stem from the fact that we load the Mesa drivers impurely 13:53:54
@k900:0upti.meK900And the drivers and libgbm need to match13:54:06
@atemu12:matrix.org@atemu12:matrix.orgBut isn't that the same for flatpak on any distro ever?13:54:34
@atemu12:matrix.org@atemu12:matrix.orgThe distro runs the compositor with mesa version x. Apps in flatpak are linked against libgbm a b and c13:55:33
@k900:0upti.meK900It doesn't matter13:55:53
@atemu12:matrix.org@atemu12:matrix.orgOh, they link against mesa a b and c at runtime because that's what's in the sandbox..13:55:55
@k900:0upti.meK900As long as they're the same within one app13:55:59
@atemu12:matrix.org@atemu12:matrix.orgSo compositor mesa/libgbm doesn't matter13:56:17
@k900:0upti.meK900Yes13:59:20
@atemu12:matrix.org@atemu12:matrix.orgSo, 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@atemu12:matrix.orgWhy do we have the impure driver anyways for mesa?14:06:12
@atemu12:matrix.org@atemu12:matrix.org(Other than for running impure apps of course.)14:06:27
@k900:0upti.meK9001) it can be Nvidia and not Mesa14:06:48
@k900:0upti.meK9002) forward compatibility14:06:51
@k900:0upti.meK900 I think 2) was an accident 14:06:59
@k900:0upti.meK900But it's the reason I don't agree with "let's just shove mesa into the closure for everything"14:07:13
@k900:0upti.meK900Because we could technically just load Nvidia impurely now14:08:08
@k900:0upti.meK900But I actually think the impure Mesa is important, because it allows people to run older nixpkgs stuff with recent hardware14:08:35
@atemu12:matrix.org@atemu12:matrix.orgYeah, yeah right14:08:50
@atemu12:matrix.org@atemu12:matrix.orgThough isn't that broken anyways now that libgbm doesn't want to work with different mesa?14:09:08
@k900:0upti.meK900It is, but the solution here is to make libgbm also impure14:09:37
@k900:0upti.meK900Which we can do14:09:42
@atemu12:matrix.org@atemu12:matrix.orgUrgh14:09:48
@k900:0upti.meK900I just need to find the spoons to talk to Mesa people about it14:09:50
@k900:0upti.meK900And figure out a solution14:10:00
@atemu12:matrix.org@atemu12:matrix.orgI guess if mesa is tightly coupled with libgbm, it should probably be handled the same, yeah.14:10:30
@atemu12:matrix.org@atemu12:matrix.orgDidn't you open an issue on that in their issue tracker?14:10:49

Show newer messages


Back to Room ListRoom Version: 6