ChanServ changed the topic of #wayland to: https://wayland.freedesktop.org | Discussion about the Wayland protocol and its implementations, plus libinput
Brainium has joined #wayland
Brainium has quit [Quit: Konversation terminated!]
nerdopolis has quit [Ping timeout: 480 seconds]
DMJC has joined #wayland
<DMJC>
trying to run amdgpu on wayland with a PSVR2 VR headset
<DMJC>
EDID has block1 1920x1080 and block2 4k@120hz
<DMJC>
the AMDGPU is only choosing the 1920 option, any way to force it to use the 4k 120hz?
pramodvu has quit [Remote host closed the connection]
pramodvu has joined #wayland
marcelospe_ has quit [Quit: Leaving]
lou has joined #wayland
<lou>
Hello there, I have made a simple program to 'snoop' on the wayland socket to learn more about wayland. The program creates a new unix domain socket which parses and prints the wayland messages transmitted. However, whenever I set the WAYLAND_DISPLAY environment variable to the absolute path of my newly created unix socket, I can't seem to be able to run programs. Could someone explain to me why would this fail?
<lou>
Running foot for example, I get the errors:
<lou>
err: wayland.c:1230: failed to read events from the Wayland socket: Invalid argumenterr: fdm.c:215: no such FD: 6
<kennylevinsen>
lou: look at wlhax for inspiration maybe, it does something similar
<vyivel>
lou: are you using send/recv to pass data around?
<kennylevinsen>
Could be that you fail to copy fds from the cmsg’s
<vyivel>
if so, look into sendmsg/recvmsg, wayland programs send file descriptors as aux data
<lou>
looks nice, thank you kennylevinsen
<lou>
I made the dumbest program ever in golang
<lou>
go io.Copy(debugDestConn, sourceConn) // Send data from source to destination. go io.Copy(debugSourceConn, destConn) // Send data from destination back to source.
<kennylevinsen>
wlhax ain’t pretty inside either
<kennylevinsen>
Yeah that won’t work lol
<kennylevinsen>
Need to deal with control messages
<lou>
alright, I'll look into it, thank you!
<linkmauve>
Have a look at waypipe as well, it uses a different protocol to transmit the data from those fds from one computer to another.
<lou>
The end goal of my project is to be able to create a waypipe "proxy" to impede my virtual machines from obtaining the contents of my clipboard while still being able of triggering a copy manually
iomari891 has joined #wayland
pramodvu has quit [Remote host closed the connection]
pramodvu has joined #wayland
pramodvu has quit [Remote host closed the connection]
pramodvu has joined #wayland
pramodvu has quit [Remote host closed the connection]
nerdopolis has quit [Ping timeout: 480 seconds]
nerdopolis has joined #wayland
pramodvu has joined #wayland
iomari891 has quit [Ping timeout: 480 seconds]
iomari891 has joined #wayland
nerdopolis has quit [Ping timeout: 480 seconds]
Brainium has quit [Quit: Konversation terminated!]
Brainium has joined #wayland
Brainium has quit []
pramodvu has quit [Remote host closed the connection]
rgallaispou has joined #wayland
lsd|2 has joined #wayland
lsd|2 has quit [Ping timeout: 480 seconds]
nerdopolis has joined #wayland
nerdopolis has quit [Ping timeout: 480 seconds]
nniro has quit [Ping timeout: 480 seconds]
coldfeet has quit [Remote host closed the connection]
riteo has quit [Ping timeout: 480 seconds]
nniro has joined #wayland
psykose has quit [Remote host closed the connection]