00:09
fmuellner has quit [Ping timeout: 480 seconds]
00:12
pseigo_ has joined #wayland
00:29
bindu_ has joined #wayland
00:29
bindu has quit [Remote host closed the connection]
00:57
columbarius has joined #wayland
00:58
co1umbarius has quit [Ping timeout: 480 seconds]
01:53
cvmn has joined #wayland
02:12
Company has quit [Quit: Leaving]
02:13
pseigo_ has quit []
02:13
pseigo_ has joined #wayland
03:06
nerdopolis has quit [Ping timeout: 480 seconds]
04:54
Seirdy has joined #wayland
05:14
hardening has joined #wayland
05:22
Lucretia has quit []
05:22
tzimmermann has joined #wayland
05:24
dcz_ has joined #wayland
05:28
Lucretia has joined #wayland
05:43
jgrulich has joined #wayland
06:10
dcz_ has quit [Ping timeout: 480 seconds]
06:30
MajorBiscuit has joined #wayland
06:31
Major_Biscuit has joined #wayland
06:39
MajorBiscuit has quit [Ping timeout: 480 seconds]
06:45
maxzor_ has joined #wayland
06:57
rasterman has joined #wayland
06:59
mvlad has joined #wayland
07:02
pseigo_ has quit [Ping timeout: 480 seconds]
07:16
wvanhauwaert has joined #wayland
07:22
<
wlb >
weston Merge request !917 closed (leak-sanitizer: Suppress libfontconfig leaks)
07:32
danvet has joined #wayland
07:42
client1 has joined #wayland
07:43
client1 has quit []
07:49
rv1sr has joined #wayland
07:56
pseigo_ has joined #wayland
07:58
Guest3183 has quit [Ping timeout: 480 seconds]
08:03
cool110 has joined #wayland
08:04
cool110 is now known as Guest3502
08:44
pseigo_ has quit [Read error: No route to host]
08:45
pseigo_ has joined #wayland
08:59
<
zubzub >
XWayland gives me an explicit invalid modifier for a dmabuf, how should I map this? linear or something else? Do I get the actualy modifier somewhere else? Google doesn't tell me much.
09:02
<
zubzub >
or is there a way I can get XWayland to use linux dmabuf protocol with an explicit modifier?
09:02
<
zubzub >
*explicit linear
09:04
<
MrCooper >
explicit invalid modifier != linear
09:04
<
MrCooper >
it means the driver gets to choose a modifier
09:05
<
zubzub >
right so if a library, like gstreamer, then hard codes linear, things will go wrong?
09:06
<
MrCooper >
the likely result will be pixel soup
09:07
<
zubzub >
stride issues it seems
09:07
<
zubzub >
right, so can I somehow make XWayland give me a linear modifier?
09:08
<
MrCooper >
don't think so, it's up to Xwayland or the X11 client
09:08
<
pq >
you cannot meaningfully mmap() a dmabuf with explicit invalid modifier yourself.
09:09
<
MrCooper >
there are more reasons than just tiling why direct mmap() of a dma-buf is a bad idea
09:10
<
pq >
Maybe if you import to GBM to get a gbm_bo, then gbm_bo_map() could work, if you know you use the same DRM device as the X11 app?
09:12
<
zubzub >
I'm afraid that's all done inside gstreamer in my case
09:12
<
pq >
zubzub, what's wrong in that video? It looks ok to me...
09:12
<
zubzub >
I guess I'll just have to wait for gstreamer to support modifiers with dmabuffers
09:12
<
MrCooper >
gbm_bo_map is better in general than direct mmap even with a different device
09:12
<
zubzub >
pq: the xterm lines are all shifted
09:13
<
pq >
MrCooper, but you do need to use the same device if you don't have a valid modifier, right?
09:13
<
pq >
zubzub, what xterm? It's a 3 second loop with just a little mouse movement.
09:14
<
zubzub >
there's a play button ;)
09:14
<
pq >
but it's autoplaying?=
09:14
<
zubzub >
yes the first 3 seconds
09:14
<
pq >
aaha, how very confusing
09:14
<
MrCooper >
confused me as well
09:17
<
zubzub >
the gtk one uses explicit linear modifier so that one works
09:25
pnowack has joined #wayland
09:25
pnowack has quit []
09:27
<
pq >
daniels, what would be the benefit of compositors supporting both attach-is-wl_buffer-ref and attach-is-storage-ref, and clients still needing paths for both?
09:27
<
MrCooper >
zubzub: note that for a non-direct-rendering client like xterm, AFAICT Xwayland should pick the first modifier advertised by the compositor
09:31
dcz_ has joined #wayland
09:36
<
zubzub >
MrCooper: at least on xwayland 22.1.1 it seems to use/fallback to wl_drm which implies invalid modifier, I also have linux_dmabuf implemented which advertises linear/none but xwayland doesn't seem to use that?
09:41
<
pq >
zubzub, what do you mean by "none"?
09:42
<
MrCooper >
zubzub: AFAICT it should use linux_dmabuf if it and the EGL_EXT_image_dma_buf_import{,_modifiers} extensions are available
09:43
<
emersion >
"none" is just another deprecated name for "linear"
09:43
<
MrCooper >
zubzub: maybe try stepping through xwl_glamor_gbm_create_pixmap
09:43
<
emersion >
please use only "linear"
09:43
<
emersion >
the whole modifier thing already confusing enough as-is :P
09:46
<
zubzub >
MrCooper: those extensions are available, not sure if I can step through as I dont' have XWayland build from source
09:46
<
zubzub >
I'll double check my advertised modifiers code first
09:46
floof58 has quit [Ping timeout: 480 seconds]
09:47
<
MrCooper >
what does wayland-info/weston-info say?
09:51
<
MrCooper >
only invalid modifier advertised
09:52
<
MrCooper >
that would explain it :)
09:53
* zubzub
messed a bit with the modifier code last week
09:54
<
zubzub >
anyway, I guess I can disable the wl_drm support for now as I can't support invalid modifier anyway due to gstreamer lack of modifier support
09:54
<
zubzub >
thanks for all the help!
09:58
<
MrCooper >
remember that Xwayland currently requires wl_drm
10:04
<
zubzub >
MrCooper: wait now I'm confused. How does it decide what modifier to use? Does it use zwp linux dmabuf for that and then use wl_drm?
10:05
<
MrCooper >
it uses just zwp linux dmabuf for buffer allocation if available
10:06
<
MrCooper >
but it refuses to use HW acceleration in general without wl_drm
10:06
<
zubzub >
ok now it works \o/
10:07
<
MrCooper >
wl_drm effectively supports only the invalid modifier anyway, doesn't it?
10:07
<
zubzub >
that's what I thought?
10:08
<
MrCooper >
anyway, glad you got it working!
10:08
<
zubzub >
I now advertise linear modifier only in zwp linux dmabuf and that seems to make xwayland happy
10:10
<
MrCooper >
FWIW, linear has bad performance characteristics, it would be better to fix gstreamer to work with any modifier
10:16
jgrulich has quit [Remote host closed the connection]
10:17
<
zubzub >
MrCooper: yeah agreed, but I'm afraid I'm not a good person to do that :p
10:21
jgrulich has joined #wayland
10:22
devilhorns has joined #wayland
10:27
txtsd has quit [Ping timeout: 480 seconds]
10:39
<
wlb >
weston/main: Daniel Stone * Move libweston-desktop into libweston
https://gitlab.freedesktop.org/wayland/weston/commit/9336263d9bc9 libweston/desktop/client.c libweston/desktop/internal.h libweston/desktop/libweston-desktop.c libweston/desktop/meson.build libweston/desktop/seat.c libweston/desktop/surface.c libweston/desktop/xdg-shell-v6.c libweston/desktop/xdg-shell.c libweston/deskto
10:43
txtsd has joined #wayland
10:57
flacks has quit [Quit: Quitter]
10:59
flacks has joined #wayland
11:00
Company has joined #wayland
11:01
devilhorns has quit []
11:03
fmuellner has joined #wayland
11:04
devilhorns has joined #wayland
11:09
nerdopolis has joined #wayland
11:19
Consolatis has joined #wayland
11:53
mbalmer has joined #wayland
12:11
ppascher has quit [Ping timeout: 480 seconds]
12:23
hergertme has quit [Remote host closed the connection]
12:40
Guest3502 is now known as cool110
12:43
maxzor_ has quit [Ping timeout: 480 seconds]
12:44
jmdaemon has quit [Ping timeout: 480 seconds]
12:46
mclasen has joined #wayland
13:08
nerdopolis has quit [Ping timeout: 480 seconds]
14:42
maxzor_ has joined #wayland
14:56
maxzor_ has quit [Ping timeout: 480 seconds]
15:30
<
wb9688 >
Can protocol name and interface name be the same?
15:31
<
i509VCB >
I believe protocol names use dashes and interfaces use underscores
15:43
<
i509VCB >
line 62 matches the protocol name, so I assume it would be fine then?
15:43
floof58 has joined #wayland
15:49
tzimmermann has quit [Quit: Leaving]
15:56
wvanhauwaert has quit [Ping timeout: 480 seconds]
15:59
<
wb9688 >
Oh, I missed that, yeah, I think so too then, thanks
16:17
devilhorns has quit []
16:27
ybogdano has joined #wayland
16:35
nerdopolis has joined #wayland
16:35
ppascher has joined #wayland
17:01
<
wb9688 >
I created new MRs for the foreign-toplevel-{info,management} protocols, but it seems like CI doesn't like me using the GitLab private e-mail
17:01
<
emersion >
make sure your fork is public
17:02
pseigo_ has quit [Ping timeout: 480 seconds]
17:03
<
emersion >
that should be fine
17:03
<
wb9688 >
Well, CI complains with: 1. git author email invalid
17:03
<
wb9688 >
And: 2. Missing "Signed-off-by: author information", but for the commit that was originally made by ifreund
17:04
<
emersion >
missing a @ in that email
17:04
<
emersion >
you've used a . instead
17:05
<
wb9688 >
54943-wb9688@users.noreply.gitlab.freedesktop.org has an @? Or am I looking at something else?
17:05
<
emersion >
and yes you need a S-o-b
17:06
<
emersion >
oh yeah. nvm
17:06
<
emersion >
mobile view is a bit hard to read
17:06
<
emersion >
beats me then
17:07
<
wb9688 >
I will add the S-o-b though
17:25
Major_Biscuit has quit [Ping timeout: 480 seconds]
17:27
jgrulich has quit [Remote host closed the connection]
17:48
pseigo_ has joined #wayland
18:05
pseigo_ has quit [Read error: No route to host]
18:05
pseigo_ has joined #wayland
18:27
hergertme has joined #wayland
18:28
pseigo_ has quit [Ping timeout: 480 seconds]
18:45
rustylerp has joined #wayland
19:01
pseigo_ has joined #wayland
19:08
rustylerp has quit []
19:28
sumoon_ has quit [Remote host closed the connection]
19:28
sumoon has joined #wayland
19:29
fmuellner has quit [Ping timeout: 480 seconds]
19:32
<
sumoon >
Is there any reason for it?
19:49
zvarde has joined #wayland
19:49
dcz_ has quit [Ping timeout: 480 seconds]
19:54
pseigo_ has quit [Ping timeout: 480 seconds]
19:57
pseigo_ has joined #wayland
20:14
pseigo_ has quit [Ping timeout: 480 seconds]
20:20
mbalmer has quit []
20:42
fmuellner has joined #wayland
20:43
mvlad has quit [Remote host closed the connection]
20:43
mclasen has quit [Ping timeout: 480 seconds]
20:47
neonking_ has quit [Remote host closed the connection]
20:48
neonking_ has joined #wayland
21:21
ybogdano has quit [Ping timeout: 480 seconds]
21:27
ybogdano has joined #wayland
21:31
ybogdano is now known as Guest3565
21:31
ybogdano has joined #wayland
21:37
Guest3565 has quit [Ping timeout: 480 seconds]
22:09
hardening has quit [Ping timeout: 480 seconds]
22:15
ybogdano is now known as Guest3566
22:16
ybogdano has joined #wayland
22:18
danvet has quit [Ping timeout: 480 seconds]
22:21
Guest3566 has quit [Ping timeout: 480 seconds]
22:35
jmdaemon has joined #wayland
22:53
ybogdano has quit [Ping timeout: 480 seconds]
22:54
rasterman has quit [Quit: Gettin' stinky!]
23:00
ybogdano has joined #wayland
23:35
bodiccea has quit [Remote host closed the connection]
23:37
bodiccea has joined #wayland