Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 646020 - media-video/obs-studio-20.1.3 USE=jack - tracks not showing
Summary: media-video/obs-studio-20.1.3 USE=jack - tracks not showing
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chiitoo
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-29 03:36 UTC by Renich Bon Ciric
Modified: 2018-02-02 19:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
My emerge info (emerge-info.txt,6.73 KB, text/plain)
2018-01-29 03:37 UTC, Renich Bon Ciric
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Renich Bon Ciric 2018-01-29 03:36:43 UTC
Hello,

I've successfully compiled and installed obs-studio with jack support. When I start it, it shows it's loading jack. 

That said, I am using jack2 and I don't see jack in the audio drivers available on obs-studio's settings.

Any idea of what could be the problem?

# OBS sample run
renich@introdesk ~ $ obs --verbose
Attempted path: share/obs/obs-studio/locale/en-US.ini
Attempted path: /usr/share/obs/obs-studio/locale/en-US.ini
Attempted path: share/obs/obs-studio/locale.ini
Attempted path: /usr/share/obs/obs-studio/locale.ini
Attempted path: share/obs/obs-studio/themes/Default.qss
Attempted path: /usr/share/obs/obs-studio/themes/Default.qss
Attempted path: share/obs/obs-studio/license/gplv2.txt
Attempted path: /usr/share/obs/obs-studio/license/gplv2.txt
info: CPU Name: AMD Ryzen 7 1800X Eight-Core Processor
info: CPU Speed: 2649.513MHz
info: Physical Cores: 8, Logical Cores: 16
info: Physical Memory: 64419MB Total, 35191MB Free
info: Kernel Version: Linux 4.14.14-gentoo
info: Distribution: Gentoo Unknown
info: Portable mode: false
QMetaObject::connectSlotsByName: No matching signal for on_advAudioProps_clicked()
QMetaObject::connectSlotsByName: No matching signal for on_advAudioProps_destroyed()
info: OBS 20.1.3 (linux)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
	samples per sec: 48000
	speakers:        2
info: ---------------------------------
info: Initializing OpenGL...
info: OpenGL version: 4.5 (Core Profile) Mesa 18.0.0-rc2
info: ---------------------------------
info: video settings reset:
	base resolution:   1920x1080
	output resolution: 1280x720
	downscale filter:  Bicubic
	fps:               30/1
	format:            NV12
info: Audio monitoring device:
	name: Default
	id: default
info: ---------------------------------
libDeckLinkAPI.so: cannot open shared object file: No such file or directory
info: No blackmagic support
info: ---------------------------------
info:   Loaded Modules:
info:     text-freetype2.so
info:     rtmp-services.so
info:     obs-x264.so
info:     obs-transitions.so
info:     obs-outputs.so
info:     obs-libfdk.so
info:     obs-filters.so
info:     obs-ffmpeg.so
info:     linux-v4l2.so
info:     linux-pulseaudio.so
info:     linux-jack.so
info:     linux-decklink.so
info:     linux-capture.so
info:     linux-alsa.so
info:     image-source.so
info:     frontend-tools.so
info: ---------------------------------
info: ==== Startup complete ===============================================
info: All scene data cleared
info: ------------------------------------------------
info: pulse-input: Server name: 'pulseaudio 11.1'
info: pulse-input: Audio format: s32le, 48000 Hz, 16 channels
info: pulse-input:  channels not supported by OBS,using  instead for recording
info: pulse-input: Started recording from 'alsa_output.usb-Focusrite_Scarlett_18i20_USB-00.multichannel-output.monitor'
info: xshm-input: Geometry 1920x1080 @ 1920,0
info: xshm-input: Geometry 1920x1080 @ 0,0
info: v4l2-input: Start capture from /dev/video0
info: v4l2-input: Input: 0
info: v4l2-input: Resolution: 1280x720
info: v4l2-input: Pixelformat: VYUY
info: v4l2-input: Linesize: 2560 Bytes
info: v4l2-input: Framerate: 10.00 fps
info: Switched to scene 'Desktop 2'
info: ------------------------------------------------
info: Loaded scenes:
info: - scene 'Desktop 1':
info:     - source: 'Screen left' (xshm_input)
info:     - source: 'Cam' (v4l2_input)
info: - scene 'Desktop 2':
info:     - source: 'Screen right' (xshm_input)
info:     - source: 'Cam' (v4l2_input)
info: - scene 'Face':
info:     - source: 'Cam' (v4l2_input)
info: ------------------------------------------------
Attempted path: share/obs/obs-studio/locale.ini
Attempted path: /usr/share/obs/obs-studio/locale.ini
Attempted path: share/obs/obs-studio/themes/
Attempted path: /usr/share/obs/obs-studio/themes/
info: pulse-input: Server name: 'pulseaudio 11.1'
info: pulse-input: Audio format: s16le, 32000 Hz, 2 channels
info: pulse-input: Started recording from 'alsa_input.usb-046d_HD_Pro_Webcam_C920_D31E16EF-02.analog-stereo'
info: Settings changed (audio)
info: ------------------------------------------------
info: adding 42 milliseconds of audio buffering, total audio buffering is now 42 milliseconds
info: adding 21 milliseconds of audio buffering, total audio buffering is now 64 milliseconds
info: adding 21 milliseconds of audio buffering, total audio buffering is now 85 milliseconds
info: adding 42 milliseconds of audio buffering, total audio buffering is now 128 milliseconds
Attempted path: share/obs/obs-studio/locale.ini
Attempted path: /usr/share/obs/obs-studio/locale.ini
Attempted path: share/obs/obs-studio/themes/
Attempted path: /usr/share/obs/obs-studio/themes/
info: pulse-input: Stopped recording from 'default'
info: pulse-input: Got 6521 packets with 3145200 frames
info: pulse-input: Server name: 'pulseaudio 11.1'
info: pulse-input: Audio format: s32le, 48000 Hz, 16 channels
info: pulse-input:  channels not supported by OBS,using  instead for recording
info: pulse-input: Started recording from 'alsa_output.usb-Focusrite_Scarlett_18i20_USB-00.multichannel-output.monitor'
info: pulse-input: Stopped recording from 'alsa_input.usb-046d_HD_Pro_Webcam_C920_D31E16EF-02.iec958-stereo'
info: pulse-input: Got 10327 packets with 3321952 frames
info: pulse-input: Server name: 'pulseaudio 11.1'
info: pulse-input: Audio format: s16le, 32000 Hz, 2 channels
info: pulse-input: Started recording from 'alsa_input.usb-046d_HD_Pro_Webcam_C920_D31E16EF-02.iec958-stereo'
info: Settings changed (audio)
info: ------------------------------------------------
info: Switched to Preview/Program mode
info: ------------------------------------------------
info: User switched to scene 'Desktop 2'
info: Switched to regular Preview mode
info: ------------------------------------------------
info: Switched to Preview/Program mode
info: ------------------------------------------------
info: User switched to scene 'Desktop 2'
info: Switched to regular Preview mode
info: ------------------------------------------------
Attempted path: share/obs/obs-studio/locale.ini
Attempted path: /usr/share/obs/obs-studio/locale.ini
Attempted path: share/obs/obs-studio/themes/
Attempted path: /usr/share/obs/obs-studio/themes/
Attempted path: share/obs/obs-studio/locale.ini
Attempted path: /usr/share/obs/obs-studio/locale.ini
Attempted path: share/obs/obs-studio/themes/
Attempted path: /usr/share/obs/obs-studio/themes/
info: ==== Shutting down ==================================================
info: Switched to scene '(null)'
info: v4l2-input: Stopped capture after 7174 frames
info: pulse-input: Stopped recording from 'alsa_output.usb-Focusrite_Scarlett_18i20_USB-00.multichannel-output.monitor'
info: pulse-input: Got 261178 packets with 22810317 frames
info: pulse-input: Stopped recording from 'alsa_input.usb-046d_HD_Pro_Webcam_C920_D31E16EF-02.iec958-stereo'
info: pulse-input: Got 40627 packets with 22057536 frames
info: All scene data cleared
info: ------------------------------------------------
info: Freeing OBS context data
info: == Profiler Results =============================
info: run_program_init: 549.321 ms
info:  ┣OBSApp::AppInit: 1.114 ms
info:  ┃ ┗OBSApp::InitLocale: 0.884 ms
info:  ┗OBSApp::OBSInit: 467.542 ms
info:    ┣obs_startup: 13.773 ms
info:    ┗OBSBasic::OBSInit: 428.242 ms
info:      ┣OBSBasic::InitBasicConfig: 0.07 ms
info:      ┣OBSBasic::ResetAudio: 0.099 ms
info:      ┣OBSBasic::ResetVideo: 174.565 ms
info:      ┣OBSBasic::InitOBSCallbacks: 0.005 ms
info:      ┣OBSBasic::InitHotkeys: 0.042 ms
info:      ┣obs_load_all_modules: 78.758 ms
info:      ┃ ┣obs_init_module(frontend-tools.so): 2.291 ms
info:      ┃ ┣obs_init_module(image-source.so): 0.004 ms
info:      ┃ ┣obs_init_module(linux-alsa.so): 0.001 ms
info:      ┃ ┣obs_init_module(linux-capture.so): 0.383 ms
info:      ┃ ┣obs_init_module(linux-decklink.so): 0.098 ms
info:      ┃ ┣obs_init_module(linux-jack.so): 0.001 ms
info:      ┃ ┣obs_init_module(linux-pulseaudio.so): 0.003 ms
info:      ┃ ┣obs_init_module(linux-v4l2.so): 0.002 ms
info:      ┃ ┣obs_init_module(obs-ffmpeg.so): 0.018 ms
info:      ┃ ┣obs_init_module(obs-filters.so): 0.008 ms
info:      ┃ ┣obs_init_module(obs-libfdk.so): 0.001 ms
info:      ┃ ┣obs_init_module(obs-outputs.so): 0.002 ms
info:      ┃ ┣obs_init_module(obs-transitions.so): 0.014 ms
info:      ┃ ┣obs_init_module(obs-x264.so): 0.001 ms
info:      ┃ ┣obs_init_module(rtmp-services.so): 0.496 ms
info:      ┃ ┗obs_init_module(text-freetype2.so): 0.007 ms
info:      ┣OBSBasic::ResetOutputs: 0.225 ms
info:      ┣OBSBasic::CreateHotkeys: 0.028 ms
info:      ┣OBSBasic::InitService: 0.984 ms
info:      ┣OBSBasic::InitPrimitives: 0.065 ms
info:      ┗OBSBasic::Load: 108.561 ms
info: obs_hotkey_thread(25 ms): min=0.082 ms, median=0.188 ms, max=10.668 ms, 99th percentile=6.103 ms, 100% below 25 ms
info: audio_thread(Audio): min=0 ms, median=0.058 ms, max=1.527 ms, 99th percentile=0.153 ms
info: obs_graphics_thread(33.3333 ms): min=0.593 ms, median=8.863 ms, max=92.525 ms, 99th percentile=11.54 ms, 99.9954% below 33.333 ms
info:  ┣tick_sources: min=0 ms, median=6.094 ms, max=86.561 ms, 99th percentile=8.176 ms
info:  ┣render_displays: min=0.008 ms, median=0.52 ms, max=7.188 ms, 99th percentile=2.021 ms
info:  ┗output_frame: min=0.572 ms, median=2.057 ms, max=5.936 ms, 99th percentile=2.571 ms
info:    ┣gs_context(video->graphics): min=0.572 ms, median=1.897 ms, max=5.935 ms, 99th percentile=2.401 ms
info:    ┃ ┣render_video: min=0.114 ms, median=1.876 ms, max=5.923 ms, 99th percentile=2.381 ms
info:    ┃ ┃ ┣render_main_texture: min=0.011 ms, median=0.06 ms, max=2.279 ms, 99th percentile=0.129 ms
info:    ┃ ┃ ┣render_output_texture: min=0.005 ms, median=0.021 ms, max=0.612 ms, 99th percentile=0.043 ms
info:    ┃ ┃ ┣render_convert_texture: min=0.001 ms, median=0.02 ms, max=0.242 ms, 99th percentile=0.044 ms
info:    ┃ ┃ ┗stage_output_texture: min=0 ms, median=1.756 ms, max=3.578 ms, 99th percentile=2.267 ms
info:    ┃ ┣download_frame: min=0 ms, median=0.004 ms, max=0.366 ms, 99th percentile=0.109 ms
info:    ┃ ┗gs_flush: min=0.001 ms, median=0.001 ms, max=4.334 ms, 99th percentile=0.003 ms
info:    ┗output_video_data: min=0.125 ms, median=0.158 ms, max=0.829 ms, 99th percentile=0.245 ms
info: video_thread(video): min=0 ms, median=0 ms, max=0.054 ms, 99th percentile=0.001 ms
info: =================================================
info: == Profiler Time Between Calls ==================
info: obs_hotkey_thread(25 ms): min=25.108 ms, median=25.261 ms, max=59.803 ms, 86.3279% within ±2% of 25 ms (0% lower, 13.6721% higher)
info: obs_graphics_thread(33.3333 ms): min=12.44 ms, median=33.333 ms, max=92.53 ms, 99.9768% within ±2% of 33.333 ms (0.0139108% lower, 0.00927386% higher)
info: =================================================
info: Number of memory leaks: 0
Comment 1 Renich Bon Ciric 2018-01-29 03:37:16 UTC
Created attachment 517034 [details]
My emerge info
Comment 2 Chiitoo gentoo-dev 2018-02-02 17:47:38 UTC
I've not played with JACK in a long time, but I have had other reasons to look into it for quite a while, and that inspired me to do so now.

With regards to OBS Studio, I was able to get a 'JACK Input Client' by adding it as a new Source (not as a new 'Audio Capture Device').

Is this not what you're looking for, and/or is it not available in the 'Add' context menu for you?
Comment 3 Renich Bon Ciric 2018-02-02 18:42:16 UTC
Ah, you're completely right. Sorry for this; but thanks a lot for helping out. Not a bug.
Comment 4 Chiitoo gentoo-dev 2018-02-02 19:16:18 UTC
Closing then.  :]

And no sorries; I'm glad it was easy to 'fix'.