ChanServ changed the topic of #wayland to: https://wayland.freedesktop.org | Discussion about the Wayland protocol and its implementations, plus libinput
kabaka101 has quit [Ping timeout: 480 seconds]
adamtajti has joined #wayland
MrCooper_ has joined #wayland
MrCooper has quit [Read error: Connection reset by peer]
adamtajti_ has quit [Ping timeout: 480 seconds]
ity1 has joined #wayland
ity has quit [Ping timeout: 480 seconds]
Hypfer has quit [Ping timeout: 480 seconds]
MrCooper_ has quit [Read error: Connection reset by peer]
MrCooper has joined #wayland
Hypfer has joined #wayland
kabaka101 has joined #wayland
tokyo4j has quit [Read error: Connection reset by peer]
glennk has quit [Ping timeout: 480 seconds]
tokyo4j has joined #wayland
garnacho has quit [Ping timeout: 480 seconds]
Dami_Lu has quit [Remote host closed the connection]
MrCooper has quit [Read error: Connection reset by peer]
MrCooper has joined #wayland
MrCooper_ has joined #wayland
MrCooper has quit [Remote host closed the connection]
karenw has joined #wayland
feaneron has quit [Remote host closed the connection]
bwbuhse has joined #wayland
bwbuhse has quit [Remote host closed the connection]
bwbuhse has joined #wayland
bwbuhse has quit [Remote host closed the connection]
feaneron has joined #wayland
Brainium has quit [Quit: Konversation terminated!]
feaneron has quit [Quit: feaneron]
feaneron has joined #wayland
Calandracas has quit [Ping timeout: 480 seconds]
eroc1990 has quit [Quit: The Lounge - https://thelounge.chat]
Calandracas has joined #wayland
eroc1990 has joined #wayland
ity1 has quit []
ity has joined #wayland
MrCooper__ has joined #wayland
MrCooper_ has quit [Read error: Connection reset by peer]
MrCooper_ has joined #wayland
MrCooper__ has quit [Read error: Connection reset by peer]
feaneron has quit [Quit: feaneron]
feaneron has joined #wayland
feaneron has quit []
feaneron has joined #wayland
nerdopolis has quit [Ping timeout: 480 seconds]
bjorkintosh has quit [Ping timeout: 480 seconds]
MrCooper_ has quit [Read error: Connection reset by peer]
MrCooper_ has joined #wayland
<whot> Consolatis: to can download the messages as mbox format. month-per-month but the urls are predictable so you can script it
mxz_ has joined #wayland
feaneron has quit [Quit: feaneron]
feaneron has joined #wayland
mxz has quit [Ping timeout: 480 seconds]
mxz__ has quit [Ping timeout: 480 seconds]
mxz_ is now known as mxz
feaneron has quit [Quit: feaneron]
feaneron has joined #wayland
feaneron has quit [Quit: feaneron]
feaneron has joined #wayland
feaneron has quit [Quit: feaneron]
feaneron has joined #wayland
feaneron has quit [Quit: feaneron]
feaneron has joined #wayland
<wlb> weston Issue #979 opened by () Weston 14 will affect the performance of glmark https://gitlab.freedesktop.org/wayland/weston/-/issues/979
karenw has quit [Ping timeout: 480 seconds]
kts has joined #wayland
feaneron has quit [Quit: feaneron]
feaneron has joined #wayland
kabaka101 has quit [Ping timeout: 480 seconds]
feaneron has quit [Quit: feaneron]
feaneron has joined #wayland
feaneron has quit []
feaneron has joined #wayland
mxz_ has joined #wayland
rv1sr has joined #wayland
kabaka101 has joined #wayland
rgallaispou has quit [Ping timeout: 480 seconds]
bbhtt has quit [Quit: Bye!]
sima has joined #wayland
coldfeet has joined #wayland
bbhtt has joined #wayland
kabaka101 has quit [Ping timeout: 480 seconds]
feaneron has quit [Quit: feaneron]
feaneron has joined #wayland
kts has quit [Quit: Konversation terminated!]
garnacho has joined #wayland
rasterman has joined #wayland
tzimmermann has joined #wayland
Dami_Lu has joined #wayland
immibis has joined #wayland
coldfeet has quit [Quit: Lost terminal]
immibis has quit [autokilled: Host violated network policy. - Contact support@oftc.net for help. (2024-12-03 08:08:44)]
azerov has quit [Quit: Gateway shutdown]
azerov has joined #wayland
glennk has joined #wayland
leon-anavi has joined #wayland
kts has joined #wayland
coldfeet has joined #wayland
kts has quit [Quit: Konversation terminated!]
coldfeet has quit [Quit: Lost terminal]
feaneron has quit [Quit: feaneron]
feaneron has joined #wayland
Hypfer has quit [Ping timeout: 480 seconds]
feaneron has quit [Quit: feaneron]
feaneron has joined #wayland
rgallaispou has joined #wayland
Hypfer has joined #wayland
Moprius has joined #wayland
feaneron has quit [Quit: feaneron]
feaneron has joined #wayland
feaneron has quit []
feaneron has joined #wayland
feaneron has quit [Quit: feaneron]
Calandracas has quit [Remote host closed the connection]
feaneron has joined #wayland
Calandracas has joined #wayland
feaneron has quit []
feaneron has joined #wayland
feaneron has quit [Quit: feaneron]
feaneron has joined #wayland
feaneron has quit [Quit: feaneron]
feaneron has joined #wayland
feaneron has quit []
feaneron has joined #wayland
Brainium has joined #wayland
JakeSays1 has joined #wayland
feaneron has quit [Quit: feaneron]
feaneron has joined #wayland
JakeSays has quit [Ping timeout: 480 seconds]
feaneron has quit [Quit: feaneron]
feaneron has joined #wayland
lsd|2 has joined #wayland
feaneron has quit [Quit: feaneron]
feaneron has joined #wayland
The_Buhs09 has quit [Quit: Ping timeout (120 seconds)]
The_Buhs09 has joined #wayland
vincejv- has joined #wayland
vincejv- has quit []
vincejv has quit [Ping timeout: 480 seconds]
vincejv has joined #wayland
coldfeet has joined #wayland
Calandracas has quit [Ping timeout: 480 seconds]
coldfeet has quit [Quit: Lost terminal]
nerdopolis has joined #wayland
Calandracas has joined #wayland
upichika has joined #wayland
<upichika> Hello, I have a question on sharing the image data to the fragment shader in weston
lsd|2 has quit [Quit: KVIrc 5.2.2 Quasar http://www.kvirc.net/]
<upichika> the client is giving the data to the compositor as dmabuf in YUV. Could some one please help me to point, where exactly this buffer is being fed to shaders ?
<upichika> I see in gl-renderer.c -> gl_renderer_attach_dmabuf() -> gr->image_target_texture_2d(target, gb->images[i]);
<upichika> Is this is correct ?
<pq> upichika, the dmabug is imported into an EGLImage or a few, then those are bound as textures, and the shader samples from those. Depending on the importing and formats, the shader does YUV-to-RGB conversion.
<pq> *dmabuf
<pq> upichika, that is a texture binding step, yes.
<upichika> will it be possible to read the pixel data from this dmabuf before shader reads this data ?
<pq> what do you mean?
<pq> by CPU?
<upichika> yes
<pq> well, GBM does have API for it, but it will likely take significant time to do so.
<pq> as in, it's slow.
<pq> For what purpose?
<any1> I doubt that gbm_bo_map is implemented for YCbCr on any platform
<pq> true - one could lie about the format through, it's likely DRM_FORMAT_MOD_LINEAR I guess.
<upichika> I wanted to implement a small functionality to get the mean brightness of the frame on CPU side
<pq> that's probably going to be quite slow
<upichika> okay, but is there any feasibility of that ?
<pq> feasiblity as in, can it work, even if slow? Theoretically yes, if gbm_bo_map() does not refuse.
<pq> Maybe a compute shader would be a performant way.
<upichika> Yeah, I got it
<any1> Well, you're intested in the brightness, so you only need the luma plane
<upichika> can we differentiate only luma plane data from the dmabuf ?
<any1> yes
<upichika> Y-plane data
<any1> yep
<pq> if it's a planar pixel format
<any1> Let's hop that it's not that interleaved YUYV crap :p
<any1> hope*
<upichika> Got it
<any1> But, yeah, if it's coming from a webcam, it's most likely interleaved
<pq> unfortunately luma is not quite luminance
<pq> upichika, is this about computing maxFALL specifically, or something else?
<upichika> that is the reason, am trying to calculate the brightness of the whole pixels in the frame
<upichika> pq, as the content is not giving maxFAL, am trying to calculate it in the compositor
<upichika> maxFALL*
feaneron has quit [Quit: feaneron]
feaneron has joined #wayland
<pq> upichika, there a few problems with that. One is that the compositor can take max() over only the frames it has already seen (and displayed), but it has no knowledge of the future. Future frames may change the current idea of maxFALL radically. If you use maxFALL for tone mapping purposes, the tone mapping won't be stable - or even deterministic.
<pq> hmm, where was maxFALL defined again...
<pq> cta-861-h
p7cq has quit [Quit: The Lounge - https://thelounge.chat]
<pq> upichika, while you get some sort of approximation by averaging the luma channel, the algorithm in CTA-861-I uses max(R, G, B), which requires you to convert YUV to R'G'B' and then use the EOTF.
p7cq has joined #wayland
<pq> given that luma is in electrical domain, it might be a poor approximation, since the average is supposed to be computed in optical domain.
<pq> If it's a live video stream, I suspect it might be better to not try to measure any FALL.
bjorkintosh has joined #wayland
<pq> Maybe a player application can do some dynamic contrast control, maybe a sliding window for estimating maxFALL and then communicate that to the compositor. The player knows when that estimate needs to be reset for deterministic tone mapping, while the compositor does not.
kts has joined #wayland
<pq> e.g. user switches videos, or rewinds the video for re-play
<upichika> we cant use the maxFALL calculated based on the luma plane.
<upichika> to get the proper brightness value, we need to convert to linear data first
p7cq4 has joined #wayland
p7cq has quit [Read error: Connection reset by peer]
p7cq4 is now known as p7cq
feaneron has quit [Quit: feaneron]
feaneron has joined #wayland
<pq> upichika, right.
<upichika> pq, thanks for the info
_whitelogger has joined #wayland
feaneron has quit [Quit: feaneron]
feaneron has joined #wayland
iomari891 has quit [Ping timeout: 480 seconds]
feaneron has quit [Quit: feaneron]
feaneron has joined #wayland
feaneron has quit []
feaneron has joined #wayland
p7cq has quit [Read error: No route to host]
p7cq has joined #wayland
nerdopolis has quit [Read error: Connection reset by peer]
kts has quit [Quit: Konversation terminated!]
nerdopolis has joined #wayland
feaneron has quit [Quit: feaneron]
feaneron has joined #wayland
<wlb> weston/main: Tomek Bury * gl-renderer: make DMABUF allocator optional https://gitlab.freedesktop.org/wayland/weston/commit/b14461b13b54 libweston/ meson.build renderer-gl/gl-renderer.c renderer-gl/meson.build
<wlb> weston Merge request !1648 merged \o/ (Make DMABUF allocator optional https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1648)
feaneron has quit [Quit: feaneron]
feaneron has joined #wayland
DodoGTA has quit [Quit: DodoGTA]
DodoGTA has joined #wayland
Sid127 has quit [Ping timeout: 480 seconds]
Sid127 has joined #wayland
rasterman has quit [Quit: Gettin' stinky!]
p7cq has quit [Quit: The Lounge - https://thelounge.chat]
mohit81582263530 has quit [Quit: mohit81582263530]
iomari891 has joined #wayland
mohit81582263530 has joined #wayland
garnacho has quit [Remote host closed the connection]
feaneron has quit [Quit: feaneron]
adamtajti has quit [Ping timeout: 480 seconds]
feaneron has joined #wayland
kasper93_ has joined #wayland
kasper93 has quit [Ping timeout: 480 seconds]
feaneron has quit [Read error: Connection reset by peer]
feaneron has joined #wayland
ity has quit [Remote host closed the connection]
<wlb> weston Merge request !1657 opened by () compositor: re-order paint node placeholder checks https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1657 [Core compositor]
feaneron has quit [Quit: feaneron]
feaneron has joined #wayland
ity has joined #wayland
<llyyr> is there a test client for xdg-foreign?
FreeFull has quit []
karenw has joined #wayland
feaneron has quit [Quit: feaneron]
feaneron has joined #wayland
feaneron has quit []
feaneron has joined #wayland
<upichika> pq, could you please help in sharing the details on where the texture is being sent to shaders for the yuv to rgb conversion ?
rgallaispou has left #wayland [#wayland]
feaneron has quit [Quit: feaneron]
feaneron has joined #wayland
feaneron has quit [Quit: feaneron]
feaneron has joined #wayland
andyrtr_ has joined #wayland
<upichika> soreau, first link is to call perform pixel conversion from yuv to rgb which is happening in Fragment shader
<upichika> and the second link is to bind elg-image as texture
<upichika> what i want to know is, how does the fragment shader will get the texture from gl-renderer ?
<soreau> one of the glTexImage2D() calls in the renderer? maybe in gl_renderer_flush_damage()
andyrtr has quit [Ping timeout: 480 seconds]
andyrtr_ is now known as andyrtr
feaneron has quit [Quit: feaneron]
feaneron has joined #wayland
FreeFull has joined #wayland
feaneron has quit [Quit: feaneron]
feaneron has joined #wayland
karenw has quit [Ping timeout: 480 seconds]
p7cq has joined #wayland
p7cq has quit []
rasterman has joined #wayland
<wlb> weston Merge request !1658 opened by () drm: Fix underlay test https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1658 [DRM/KMS backend]
iomari891 has quit [Ping timeout: 480 seconds]
<bluetail> seriously, are there any works in regard of fixing xwayland and making it work with wayland without having to force one screen to be at pos 0 0? It even applies for winecfg, and the issue has been stale upstream at winehq now for a while. And it is because in wayland positions are relative, compared to xorg where they are absolute.
p7cq has joined #wayland
tzimmermann has quit [Quit: Leaving]
leon-anavi has quit [Remote host closed the connection]
<ofourdan> no, I tried and it's been discussed in https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/395 and the consensus is it's easier to fix your Wayland ouput configuration than making Xwayland accept non-zero coordinate for the top left screen corner.
<ofourdan> so I gave up on this.
<bluetail> that kind of sucks.
adamtajti has joined #wayland
<bluetail> okay, so I am going to ask at #sway more about a convenient mode switch.
<bluetail> I got 7 screens at the moment, and it would just need to reload part of the config
feaneron has quit [Quit: feaneron]
feaneron has joined #wayland
<bluetail> I use sway. If you already got some convenient script, you could share it, otherwise I'd temporarily comment/uncomment stuff and reload
<ofourdan> I don't use sway myself, but it looks like you can play with the config using swaymsg?
<bluetail> correct. I currently use output identifiers, but the proper call to them is somewhere in my notes, it's somewhat of a lemon. And I know it will work...
<bluetail> oh yea, found. The syntax is: swaymsg "focus output 'BNQ ZOWIE XL LCD REDACTED'"
<bluetail> instead, I would define pos
rasterman has quit [Quit: Gettin' stinky!]
<soreau> there is a wlr function to get the nearest output to a point IIRC
upichika has quit [Remote host closed the connection]
coldfeet has joined #wayland
feaneron has quit [Quit: feaneron]
feaneron has joined #wayland
feaneron has quit [Quit: feaneron]
feaneron has joined #wayland
feaneron has quit [Quit: feaneron]
feaneron has joined #wayland
rasterman has joined #wayland
sewn has quit [Ping timeout: 480 seconds]
feaneron has quit [Read error: Connection reset by peer]
feaneron has joined #wayland
feaneron has quit []
feaneron has joined #wayland
rasterman- has joined #wayland
rasterman has quit [Read error: Connection reset by peer]
feaneron has quit [Quit: feaneron]
feaneron has joined #wayland
iomari891 has joined #wayland
rasterman- has quit []
rasterman has joined #wayland
feaneron has quit [Quit: feaneron]
feaneron has joined #wayland
iomari891 has quit [Ping timeout: 480 seconds]
rasterman has quit [Quit: Gettin' stinky!]
sewn has joined #wayland
feaneron has quit [Read error: Connection reset by peer]
feaneron has joined #wayland
pochu has quit [Quit: reboot]
pochu has joined #wayland
karenw has joined #wayland
feaneron has quit [Quit: feaneron]
feaneron has joined #wayland
coldfeet has quit [Quit: Lost terminal]
feaneron has quit [Read error: Connection reset by peer]
feaneron has joined #wayland
feaneron has quit []
feaneron has joined #wayland
garnacho has joined #wayland
feaneron has quit [Quit: feaneron]
feaneron has joined #wayland
feaneron has quit []
feaneron has joined #wayland
feaneron has quit [Quit: feaneron]
feaneron has joined #wayland
feaneron has quit [Quit: feaneron]
feaneron has joined #wayland
<wlb> weston/main: Derek Foreman * drm: Fix underlay test https://gitlab.freedesktop.org/wayland/weston/commit/8dbb3e17d038 libweston/backend-drm/state-propose.c
<wlb> weston Merge request !1658 merged \o/ (drm: Fix underlay test https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1658)
sewn has quit [Ping timeout: 480 seconds]
<wlb> weston/main: Derek Foreman * compositor: re-order paint node placeholder checks https://gitlab.freedesktop.org/wayland/weston/commit/53189ebb89df libweston/compositor.c
<wlb> weston Merge request !1657 merged \o/ (compositor: re-order paint node placeholder checks https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1657)
sewn has joined #wayland
feaneron has quit [Quit: feaneron]
feaneron has joined #wayland
<wlb> weston/main: Tomek Bury * tests: fix test build error on older Linux https://gitlab.freedesktop.org/wayland/weston/commit/67253b30e8e8 tests/constraints-test.c
<wlb> weston Merge request !1647 merged \o/ (Fix test build error on older Linux https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1647)
rasterman has joined #wayland
feaneron has quit [Quit: feaneron]
feaneron has joined #wayland
rasterman has quit [Read error: No route to host]
feaneron has quit []
rasterman has joined #wayland
feaneron has joined #wayland
rasterman has quit []
feaneron has quit []
feaneron has joined #wayland
rv1sr has quit []
rasterman has joined #wayland
feaneron has quit [Quit: feaneron]
feaneron has joined #wayland
iomari891 has joined #wayland
Brainium has quit [Quit: Konversation terminated!]
Moprius has quit [Quit: bye]
Moprius has joined #wayland
Brainium has joined #wayland
feaneron has quit [Quit: feaneron]
feaneron has joined #wayland
feaneron has quit []
feaneron has joined #wayland
iomari891 has quit [Ping timeout: 480 seconds]
glennk has quit [Ping timeout: 480 seconds]
MrCooper_ has quit [Remote host closed the connection]
MrCooper has joined #wayland
saumon has quit [Ping timeout: 480 seconds]
rasterman has quit [Remote host closed the connection]
feaneron has quit [Quit: feaneron]
feaneron has joined #wayland
MrCooper has quit [Read error: Connection reset by peer]
MrCooper has joined #wayland
saumon has joined #wayland