Call for testing: OBS-Studio snap

Hey there!
My OBS snap won’t start.
I have 2 versions of OBS installed, first one from ppa:obsproject/obs-studio, second one is this snap. They both have version 24.0.3. The first one works, the second doesn’t.

$ obs-studio
libGL error: pci id for fd 4: 1002:731f, driver (null)
libGL error: No driver found
libGL error: failed to load driver: (null)
libGL error: pci id for fd 4: 1002:731f, driver (null)
pci id for fd 5: 1002:731f, driver (null)
libGL error: failed to create dri screen
libGL error: failed to load driver: radeonsi
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
X Error:  GLXBadContext
  Request Major code 152 (GLX)
  Request Minor code 6 ()
  Error Serial #60
  Current Serial #59
/snap/obs-studio/791/usr/sbin:/snap/obs-studio/791/usr/bin:/snap/obs-studio/791/sbin:/snap/obs-studio/791/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
Qt: Session management error: None of the authentication protocols specified are supported
Attempted path: ../../data/obs-studio/locale/en-US.ini
Attempted path: ../../data/obs-studio/locale.ini
Attempted path: ../../data/obs-studio/themes/Dark.qss
info: CPU Name: AMD Ryzen 9 3900X 12-Core Processor
info: CPU Speed: 2570.048MHz
info: Physical Cores: 12, Logical Cores: 24
info: Physical Memory: 32087MB Total, 4961MB Free
info: Kernel Version: Linux 5.3.10-050310-generic
info: Distribution: "Ubuntu Core" "18"
info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.20.4
info: Portable mode: false
Attempted path: ../../data/obs-studio/themes/Dark/no_sources.svg
QMetaObject::connectSlotsByName: No matching signal for on_advAudioProps_clicked()
QMetaObject::connectSlotsByName: No matching signal for on_advAudioProps_destroyed()
QMetaObject::connectSlotsByName: No matching signal for on_program_customContextMenuRequested(QPoint)
info: OBS 24.0.3-modified (linux)
info: ---------------------------------
libGL error: pci id for fd 13: 1002:731f, driver (null)
libGL error: No driver found
libGL error: failed to load driver: (null)
libGL error: pci id for fd 13: 1002:731f, driver (null)
pci id for fd 14: 1002:731f, driver (null)
libGL error: failed to create dri screen
libGL error: failed to load driver: radeonsi
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
info: ---------------------------------
info: audio settings reset:
	samples per sec: 44100
	speakers:        2
info: ---------------------------------
info: Initializing OpenGL...
libGL error: pci id for fd 14: 1002:731f, driver (null)
libGL error: No driver found
libGL error: failed to load driver: (null)
libGL error: pci id for fd 14: 1002:731f, driver (null)
pci id for fd 15: 1002:731f, driver (null)
libGL error: failed to create dri screen
libGL error: failed to load driver: radeonsi
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
error: X Error: GLXBadFBConfig, Major opcode: 152, Minor opcode: 34, Serial: 40
error: Failed to create OpenGL context.
error: Failed to create context!
error: device_create (GL) failed
error: Failed to initialize video.  Your GPU may not be supported, or your graphics drivers may need to be updated.

I have amdgpu-pro installed. I tried to run it on different kernels (4.15, 5.0, 5.3), I tried candidate channel (version 21), doesn’t make any change.

Is there something I can do to fix this?

UPD: spelling

I have a two PC streaming setup with the gaming PC running Windows 10 and the encoder PC running Ubuntu 19.10. However, if I install OBS from the official website, I can install and setup the NDI plugin and get it to see the gaming PC’s video stream without any issues. The problem is that I can’t see the Nvidia NVENC hardware encoder on this version of OBS.

If I install this snap version of OBS, then the encoder is available but the NDI plugin isn’t detected. I checked and it is indeed installed correctly (the NDI plugin) and fully up to date.

Bottom line is that I want to have both the NVENC hardware encoder and NDI plugin working in OBS to get the best possible encoding performance out of my system without having to go back to Windows 10. Is there something different about the snap version of OBS that prevents it from “seeing” the NDI plugin?

I fixed the problem by clean installing Ubuntu 18.04.3 and then doing the following:

  • Install the latest Nvidia driver from Nvidia.com
  • Install the latest Nvidia CUDA Toolkit from Nvidia.com
  • Install OBS from the OBS website, not the Snap version
  • Install the NDI plugin

Now my system has NVENC support in OBS and the NDI plugin works as it should.

Hello :wave:

I am new of SnapCraft, as already pointed out, it would be awesome if you provide the obs-linuxbrowser bundled within the package. Actually, being able to use a browser in OBS is quite an important feature. What do you think?

Everything is working fine from me, I am using Ubuntu 19.10 with NVENC.

Great work! :rocket:

1 Like

Hello,

Does someone know how to add plugins in the OBS snap folder?
I would like to add motion-transition and reaplugs.

Thanks.