ogra1 / zoom-snap

75 stars 13 forks source link

Add shared-memory and posix-mq interfaces to fix background blur #130

Open rolandd opened 3 weeks ago

rolandd commented 3 weeks ago

Add shared-memory and posix-mq interfaces to fix background blur

As suggested by Peter Bui pbui@bx612.space, add a shared-memory plug to allow the Zoom snap to create the files like

/dev/shm/aomshm.337bce.0

that it uses internally to communicated with the background blur helper processes it creates.

Also add a dummy posix-mq slot to allow Zoom to create and manage the POSIX message queues it uses for communication with the helper process.

This should fully fix issue #128.

pbui commented 3 weeks ago

I got the virtual background to work with the changes mentioned in https://github.com/ogra1/zoom-snap/issues/128#issuecomment-2215316918

rolandd commented 3 weeks ago

Thanks @pbui ! Updated per your comment.

rolandd commented 3 weeks ago

Just to be very explicit - I took this exact tree, ran "snapcraft", installed the resulting snap, and have background blur working on my Ubuntu 24.04 system, where I used to run into apparmor problems with both shm and POSIX MQ system calls being denied.

rkaminsk commented 1 day ago

My current workaround is to install the snap package in dev mode. I would like to see this merged.