ive been experimenting with running linux wayland apps in an ubuntu jail
the jail is running ubuntu mantic with the nvidia drivers manually installed
so they match the version on the freebsd host
wayland enabled in the jails ~/.zshenv config
running a simple application like qt5ct displays the window on the freebsd host running labwc
so i thought id try running obs studio in the jail
i have pulseaudio working using a socket in /tmp which is mounted in the jail
and the /dev/dri, /dev/drm and /dev/nvidia* exposed to the jail using devfs_rules
so the jail can use the gpu on the host
opening obs studio with error message saying obs is running which it isnt
obs studio nvenc encoding enabled
i had to build and install wlrobs on ubuntu to enable wayland screen capture
but i just get a black window
i have the xdg-portal-wlroots installed
maybe an issue with the portal and dbus
so i need to figure out why the display is black
next i thought id try running firefox
so i installed firefox as a deb using this guide
however when i try and run firefox as a wayland application
i get an empty window with this error message
so i exported the drm render in the zshenv
i actually managed to get firefox to open once and play a video on youtube with the audio working
but havent managed to get it to work again
firefox empty transparent window
with window i use for taking screenshots in the foreground
if you need a version of obs studio to record just a black screen then look no further
and if you want a super secure browser thats impossible to spy on
i present firefox invisible mode
the jail is running ubuntu mantic with the nvidia drivers manually installed
so they match the version on the freebsd host
wayland enabled in the jails ~/.zshenv config
Code:
export WAYLAND_DISPLAY=wayland-0
export QT_QPA_PLATFORM=wayland
export GDK_BACKEND=wayland
running a simple application like qt5ct displays the window on the freebsd host running labwc
so i thought id try running obs studio in the jail
i have pulseaudio working using a socket in /tmp which is mounted in the jail
and the /dev/dri, /dev/drm and /dev/nvidia* exposed to the jail using devfs_rules
so the jail can use the gpu on the host
opening obs studio with error message saying obs is running which it isnt
obs studio nvenc encoding enabled
i had to build and install wlrobs on ubuntu to enable wayland screen capture
but i just get a black window
i have the xdg-portal-wlroots installed
maybe an issue with the portal and dbus
so i need to figure out why the display is black
next i thought id try running firefox
so i installed firefox as a deb using this guide
How to Install Firefox as DEB on Ubuntu (Not Snap) - OMG! Ubuntu
A short guide on how to install Firefox from a PPA on Ubuntu 22.04 and remove the Firefox Snap. Doing this gets you a faster Firefox that can do more OOTB.
www.omgubuntu.co.uk
however when i try and run firefox as a wayland application
i get an empty window with this error message
Code:
[GFX1-]: glxtest: DRM device has no render node
[GFX1-]: glxtest: Cannot find DRM device
so i exported the drm render in the zshenv
Code:
export MOZ_DRM_DEVICE=/dev/dri/renderD128
i actually managed to get firefox to open once and play a video on youtube with the audio working
but havent managed to get it to work again
firefox empty transparent window
with window i use for taking screenshots in the foreground
if you need a version of obs studio to record just a black screen then look no further
and if you want a super secure browser thats impossible to spy on
i present firefox invisible mode