Post 9j3mkBHAulIv6EfVYm by jb55@maly.io
(DIR) More posts by jb55@maly.io
(DIR) Post #9j2nhFzIqUAhdkWDXE by jb55@maly.io
2019-05-21T19:03:17Z
0 likes, 0 repeats
@sir would wlroots be useful to me if I'm looking to build a KMS+DRM+EGL environment for gaming, but not necessarily wayland related? I was looking to try out a game console-like design without relying on any specific windowing abstraction.
(DIR) Post #9j2ntQBQlRt0jhzY7U by sir@cmpwn.com
2019-05-21T19:05:29Z
0 likes, 0 repeats
@jb55 yes, it would be useful for that. But if a game-console-like interaface is what you're going for, I would add Wayland to the equation, to give games a way to send you frames and a means of giving them input, so you can implement a dashboard kind of deal like most modern consoles have for backgrounding games and doing overlays and shit
(DIR) Post #9j2oez0l5oasMagAPQ by jb55@maly.io
2019-05-21T19:14:06Z
0 likes, 0 repeats
@sir hmm perhaps, but I wasn't looking to do anything fancy like dashboards. my goal is making it really easy for devs to target: simple, stable, high performance apis for portability across all distros, avoiding some of the dynamic linking and packaging issues that plague linux gaming.Not sure if that's possible but I'm exploring possibilities here.
(DIR) Post #9j2okuH5cGipPW8tJg by sir@cmpwn.com
2019-05-21T19:14:56Z
0 likes, 0 repeats
@jb55 where does KMS/DRM/GBM fit into this? What will your application actually do? Or in other words, what responsibilities does your application have, which does the game have, and how do they talk to each other?
(DIR) Post #9j2pbL5TAm79cui13Y by jb55@maly.io
2019-05-21T19:24:38Z
0 likes, 0 repeats
@sir I'm starting from goals and exploring possibilities. The goals are: a devkit where devs can ship a binary that can be expected to work with only wires into low level, stable kernel interfaces, without dynamic linking into any specific windowing system, no SDL2 needed. the binary really only needs to queue vulkan/opengl commands through dri/drm (if I'm reading this right, EGL has something to do with this?).Still new to this, not sure if I'm coming at this in the right direction.
(DIR) Post #9j3mkBHAulIv6EfVYm by jb55@maly.io
2019-05-22T06:27:18Z
0 likes, 0 repeats
@sir so after doing a bunch more research I guess the main issue is that so much of the graphics driver stack is in userspace (mesa, libdrm), so you're kind of forced to dynamically link everything. I guess you can't really do what I was thinking.perhaps kms-drm-egl-gbm game-console-like project would still be interesting nonetheless. At the very least I'm interested in how much perf is improved if any.