brunoherbelin / vimix

Live Video Mixer
GNU General Public License v3.0
259 stars 25 forks source link

anyone got this running under WSL2? #65

Open goatlady opened 1 year ago

goatlady commented 1 year ago

I've been using GLMixer on Windows 11 (awesome software, thanks so much @brunoherbelin!) and I'd love to try out vimix, but my Razer laptop can't dual boot Linux. I thought I might be able to run the Linux version under WSL2 (with Ubuntu), but I'm running into some issues.

I can install the Flatpak version but attempting to run results in bwrap: Can't mount tmpfs on /newroot/tmp/.X11-unix: No such file or directory which seems to be a general Flatpak issue on WSL2 - and I can't seem to even install the apt version (unable to load package vimix) or snap version (error: cannot communicate with server: Post http://localhost/v2/snaps/vimix: dial unix /run/snapd.socket: connect: no such file or directory.).

Anyone had any luck with WSL2?

brunoherbelin commented 1 year ago

aha! Interesting that the use of WSL2 could be an alternative to run vimix under Windows! As I don't have Windows, I admit I never tried WSL so can't answer your question.

That said, if you have a Flatpack installed, this could be a way in, modulo some adjustments... The instructions at https://github.com/brunoherbelin/vimix/tree/master/flatpak indicate how to build a custom flatpack: maybe compiling it under WSL would allow changing access rules appropriately (i.e. to resolve the access to tmpfs). Still, I am doubtful that the OpenGL drivers would be fully supported, but maybe things have changed since I last looked.

Of course, the best solution would be native build for Windows: issue #37 discussed that and I can reiterate that if I was provided with a Windows virtual machine to run Windows on my Linux machine, I could try to have a look...