Install OBS Studio 27.1.3 on Fedora 35/34 [NVIDIA NVENC Xorg (X11) / XWayland] [stable / edge]

OBS Studio LogoThis is guide howto install OBS Studio 27.1.3 [stable / edge] on Fedora 35/34 [Xorg or Wayland support]. OBS Studio is free and open source software for video recording and live streaming. I use here Snapcrafters (Snap) version of OBS Studio, which is community-supported modified build of OBS Studio. Screen capture in a Wayland session is at least available edge channel, in video I test to use NVIDIA NVENC with Xorg (X11) / XWayland.

Check Video version of Install OBS Studio 27.1.3 on Fedora 35/34 Guide:

Note: If you have snapd already installed, then you can skip steps 2-4.

Install OBS Studio 27.1.3 on Fedora 35/34

1. Change root User

su - 
## OR ##
sudo -i

2. Install Snapd

dnf install snapd

3. Start and enable needed services

systemctl start snapd.seeded.service
systemctl start snapd.service

systemctl enable snapd.seeded.service
systemctl enable snapd.service

4. Enable Classic Snap Support

ln -s /var/lib/snapd/snap /snap

At this point, log out and back in or reboot your system, to ensure snap’s paths are updated correctly.

5. Install OBS Studio Stable/Edge

Wayland support is available on Edge Channel.

## Install OBS Studio Stable ##
snap install obs-studio

## Install OBS Studio Edge ##
snap install obs-studio --edge

6. Connect Interfaces


## Removable Storage ##
snap connect obs-studio:removable-media

## ALSA & Jack audio ##
snap connect obs-studio:alsa
snap connect obs-studio:jack1

## Audio Record ##
snap connect obs-studio:audio-record

## NDI ##
snap connect obs-studio:avahi-control

## Camera ##
snap connect obs-studio:camera

## gPhoto ##
snap connect obs-studio:raw-usb

## Browser Process Control ##
snap connect obs-studio:kernel-module-observe

## Browser Password and Keys ##
snap connect obs-studio:password-manager-service

## Input Overlay ##
snap connect obs-studio:joystick

7. OBS Studio + NVIDIA NVENC [Optional]

Install latest NVIDIA Drivers on Fedora 35/34. NVIDIA drivers is not (yet) working for video encoding with Wayland.

7.1. Load nvidia-uvm module

## Load nvidia-uvm for current session ##
modprobe nvidia-uvm

## Load nvidia_uvm every boot ##
echo "nvidia_uvm" >> /etc/modules-load.d/nvidia-uvm.conf

7.2. Add OBS Studio user(s) to video group

usermod -aG video [username]

## Example ##
usermod -aG video inttf

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Close