ChanServ changed the topic of #wayland to: https://wayland.freedesktop.org | Discussion about the Wayland protocol and its implementations, plus libinput
Brainium has quit [Quit: Konversation terminated!]
bim9262 has joined #wayland
andreasbackx has quit []
andreasbackx has joined #wayland
andreasbackx has quit []
fmuellner has quit [Ping timeout: 480 seconds]
nerdopolis has quit [Ping timeout: 480 seconds]
kts has quit [Ping timeout: 480 seconds]
Sachiel has quit [Quit: WeeChat 3.8]
Sachiel has joined #wayland
Company has quit [Quit: Leaving]
privacy has joined #wayland
tzimmermann has joined #wayland
kts has joined #wayland
sevz has quit [Quit: WeeChat 4.1.1]
bim9262 has quit [Ping timeout: 480 seconds]
bim9262 has joined #wayland
kts has quit [Ping timeout: 480 seconds]
sima has joined #wayland
bim9262 has quit [Ping timeout: 480 seconds]
bim9262 has joined #wayland
bim9262 has quit [Ping timeout: 480 seconds]
bim9262 has joined #wayland
bim9262 has quit [Ping timeout: 480 seconds]
bim9262 has joined #wayland
qaqland is now known as Guest7680
qaqland has joined #wayland
leon-anavi has joined #wayland
Guest7680 has quit [Ping timeout: 480 seconds]
bim9262 has quit [Ping timeout: 480 seconds]
bim9262 has joined #wayland
i509vcb has quit [Quit: Connection closed for inactivity]
kyomawolf has joined #wayland
qaqland is now known as Guest7683
Guest7683 has quit [Read error: Connection reset by peer]
qaqland has joined #wayland
floof58 has quit [Ping timeout: 480 seconds]
floof58 has joined #wayland
maxzor has joined #wayland
mvlad has joined #wayland
bim9262 has quit [Ping timeout: 480 seconds]
bim9262 has joined #wayland
rasterman has joined #wayland
maxzor has quit [Ping timeout: 480 seconds]
<kyomawolf>
Hey Guys, do you know How I can savely detect, if the device is a Touchpad? I havent found anything, except for checking for names/capabilities. Is there a common way?
<emersion>
can you explain your use-case? why do you need to know?
<kyomawolf>
I have some settings I want to apply only for mice but not for touchpad and vice versa (like pointer speed)
<emersion>
are you writing a compositor?
<emersion>
are you using libinput, or are you writing a Wayland client?
<kyomawolf>
compositor? I want to work directly with libinput
<emersion>
what kind of program are you writing?
<kyomawolf>
A small C program that is able to apply set settings from a config, maybe something with a ui later
<jadahl>
kyomawolf: you can do `libinput_device_config_tap_get_finger_count (device) > 0`
<kyomawolf>
okay, so just checking for capabilites is a thing
<jadahl>
thats what mutter uses to tag a device as "touchpad"
<kyomawolf>
thanks guys
<emersion>
is it running as root?
<kyomawolf>
probably, otherwise I dont get device evnets
<emersion>
you won't be able to use libinput in a regular program, mind
bim9262 has quit [Ping timeout: 480 seconds]
tristianc6704 has quit [Read error: No route to host]
<ara1307>
soreau, this is weird... I'm using a wlroots based client and the only place where wl_registry_bind is called is from registry_global function, but registry_global is not being called from anywhere... Nevertheless manager_bind is being called somehow (I know for sure it happens from registry_bind)
<ara1307>
In other words, wl_global_create(...,manager_bind) is called from both wlr_screencopy and wlr_export_dmabuf, and only one (wlr_screencopy's one) manager_bind is being called back
maxzor has quit [Ping timeout: 480 seconds]
<ara1307>
wlr_export_dmabuf's manager_bind is never called back
sima has quit [Ping timeout: 480 seconds]
bbhtt has quit [Ping timeout: 480 seconds]
whot1 has joined #wayland
bbhtt has joined #wayland
whot has quit [Remote host closed the connection]
pounce has quit [Ping timeout: 480 seconds]
pounce has joined #wayland
<ara1307>
nevermind, found wl_registry_bind calls inside xdg-desktop-portal-wlr. Why doesn't it call the one for wlr_export_dmabuf?
<emersion>
wlroots is used to build compositors not clients
<ara1307>
right, sorry... so is xdg-desktop-portal-wlr going to support wlr_export_dmabuf interface? Right now it supports zwp_linux_dmabuf_v1_interface... Is it similar?
<emersion>
not sure it's worth it
<emersion>
wlroots would need to grow the swapchain as needed, and the client would need to use a fixed modifier
<ara1307>
sorry, not familiar with the project enough to understand what swapchain is... Just trying to understand the basics first. Can we say that xdg-desktop-portal-wlr uses zwlr_screencopy_manager_v1_interface for screenshots and zwp_linux_dmabuf_v1_interface for screencast?
privacy has quit [Ping timeout: 480 seconds]
<emersion>
no, screencopy for both
<ara1307>
I'm trying to build a basic pipewiresrc gstreamer pipeline where headless wlroots based compositor is tied with pipewire through the xdg-desktop-portal-wlr and I see no frames are coming into pipewiresrc... I see the issue in wlroots - it basically doesn't produce any frames. Well, it produces just few and then stops with no errors. Trying to find the loop which calls "capture_output" in wlr_screencopy_v1.c as I believe it'
bim9262 has quit [Ping timeout: 480 seconds]
<emersion>
wlroots won't produce frames if nothing changed on screen
<emersion>
maybe try running an animated client in the headless compositor, such as weston-simple-egl
<ara1307>
thanks, good to know... What if I connect by VNC and start moving cursor there - should this trigger frames generation?
rasterman has joined #wayland
bim9262 has joined #wayland
<ara1307>
yes, it worked. Spent a day hunting for a ghost!