!KEJUbONnoBpiYKGWEq:nixos.org

NixOS Gaming

706 Members
Gaming things, my hands are typing words.179 Servers

Load older messages


SenderMessageTime
24 Mar 2024
@k900:0upti.meK900The WSI plumbs the HDR metadata from the application to gamescope08:19:54
@elvishjerricco:matrix.org@elvishjerricco:matrix.org There is a FROG layer thing in my /run/opengl-driver 08:20:02
@k900:0upti.meK900And the VK_HDR layer plumbs it from gamescope to kwin08:20:07
@k900:0upti.meK900Because gamescope stable can't do it by itself yet08:20:21
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgI see. So both is necessary08:20:40
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgEven if you use a bleeding edge gamescope from got?08:21:01
@elvishjerricco:matrix.org@elvishjerricco:matrix.org* Even if you use a bleeding edge gamescope from git?08:21:08
@k900:0upti.meK900If you use gamescope from git, it does its own windowing08:21:09
@k900:0upti.meK900So it can propagate its own metadata08:21:23
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgGot it08:21:46
@k900:0upti.meK900(gamescope stable uses SDL)08:22:02
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgSo where will this stuff be implemented when everything is done right? Mesa?08:22:02
@k900:0upti.meK900Everywhere08:22:11
@k900:0upti.meK900That's the fun part08:22:13
@k900:0upti.meK900It needs to be plumbed through the entire stack08:22:23
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgOh I just figured a vulkan layer would be all that's truly needed and then applications using the proper vulkan extension would just work08:23:05
@elvishjerricco:matrix.org@elvishjerricco:matrix.org(I don't actually understand vulkan's architecture and what layers or extensions really are)08:23:43
@k900:0upti.meK900Extensions are the same thing as in OpenGL, just extra APIs added on top of the core spec08:24:00
@k900:0upti.meK900Layers are basically LD_PRELOAD08:24:08
@k900:0upti.meK900But somewhat more controlled08:24:16
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgSo why is gamescope needed at all for this? Why isn't it just a game using vulkan apis and then plasma doing all the plumbing08:25:27
@k900:0upti.meK900It's not going to be necessary08:25:56
@k900:0upti.meK900In the end08:25:57
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgWhy is it necessary right now though?08:27:07
@k900:0upti.meK900But right now it provides a WSI implementation that can actually use the HDR metadata08:27:10
@k900:0upti.meK900But the WSI implementation speaks a private protocol to Gamescope itself08:27:25
@k900:0upti.meK900 And then Gamescope itself speaks another private protocol to Kwin 08:27:34
@k900:0upti.meK900Eventually it'll be one stable protocol08:27:44
@k900:0upti.meK900And the WSI code will just talk directly to whatever compositor08:27:58
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgAnd what is wsi exactly? Obviously it's some kind of vulkan layer thing but what's it for?08:29:15

Show newer messages


Back to Room ListRoom Version: 6