guihkx / flatpak-app-obs-studio-nvidia-legacy

Flatpak build of OBS Studio for legacy NVIDIA GPUs / NVIDIA Video Codec SDK 11.1 / 470xx drivers series on Linux
GNU General Public License v2.0
1 stars 0 forks source link

Unable to launch OBS #3

Closed Yorisoft closed 6 months ago

Yorisoft commented 8 months ago
flatpak run com.obsproject.Studio
Qt: Session management error: Could not open network socket
debug: Found portal inhibitor
debug: Attempted path: share/obs/obs-studio/locale/en-US.ini
debug: Attempted path: /app/share/obs/obs-studio/locale/en-US.ini
debug: Attempted path: share/obs/obs-studio/locale.ini
debug: Attempted path: /app/share/obs/obs-studio/locale.ini
debug: Attempted path: share/obs/obs-studio/themes/Yami.qss
debug: Attempted path: /app/share/obs/obs-studio/themes/Yami.qss
warning: [Safe Mode] Unclean shutdown detected!

Im getting this error after restarting PC. Not sure if it me or the OBS app.

guihkx commented 8 months ago

Aside from the Qt: Session management error: Could not open network socket error (which is harmless and happens here too), I don't see any other actual errors.

Does the graphical interface not show up at all after that last message?

Yorisoft commented 8 months ago

Correct, it stays hung up in the terminal and no GUI.

I think it could be my setup. I have Ubuntu server with KDE desktop. It has caused issues before but I dont know how to confirm if its the case for this.

guihkx commented 8 months ago

Weird... Can you try starting fresh?

# backup existing config folder
mv ~/.var/app/com.obsproject.Studio ~/.var/app/com.obsproject.Studio.bak
# run
flatpak run com.obsproject.Studio
Yorisoft commented 6 months ago

Hey bud! Sorry for the delay, stopped streaming for a bit.

The GUI is launching :) I dont know what I did - It started to work even before I backed it up.

Now I'm able to use the plugins I want like vertical scenes. But now we have another issues haha, it seems my OBS is using software for encoding. Hardware encoder not available. Did I make a mistake?

image

guihkx commented 6 months ago

Hmm, it's hard to tell just from that information, but I suspect it's only a matter of updating the NVIDIA drivers on the Flatpak side, i.e. just run:

flatpak update

Then restart OBS and try again.

If that still doesn't work, please post the output of these two commands:

cat /sys/module/nvidia/version
flatpak info "org.freedesktop.Platform.GL.nvidia-$(cat /sys/module/nvidia/version | tr '.' '-')"
Yorisoft commented 6 months ago

Got some progress. There was an update from flatpak for me to update. After updating NVENC optioned showed up! But I'm still getting a similar error.

image

Same error when trying to stream from regular controls as well as vertical scene streaming controls.

Yorisoft commented 6 months ago

image

Results of the command you sent.

guihkx commented 6 months ago

Hmm, I've had that error happen to me "randomly" in the past. It'd usually happen after a driver update.

Try running this command:

sudo nvidia-modprobe -c0 -u

You can find the explanation for that here, if you're interested.

And then restart OBS before you try recording/streaming again.

If that doesn't work, run OBS via the terminal, like so:

flatpak run com.obsproject.Studio

And then make the error pop up again, and then share the entire output of the terminal here.

Yorisoft commented 6 months ago

I tried installing and running that command. I got the same error.

Then I looked at the console:

user@jarvis:~/obs-studio-portable/obs-portable-27.2.4-r22325-ubuntu-22.04$ flatpak run com.obsproject.Studio
Qt: Session management error: Could not open network socket
debug: Found portal inhibitor
debug: Attempted path: share/obs/obs-studio/locale/en-US.ini
debug: Attempted path: /app/share/obs/obs-studio/locale/en-US.ini
debug: Attempted path: share/obs/obs-studio/locale.ini
debug: Attempted path: /app/share/obs/obs-studio/locale.ini
debug: Attempted path: share/obs/obs-studio/themes/Yami.qss
debug: Attempted path: /app/share/obs/obs-studio/themes/Yami.qss
info: Using EGL/X11
info: CPU Name: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz
info: CPU Speed: 3806.350MHz
info: Physical Cores: 4, Logical Cores: 8
info: Physical Memory: 15936MB Total, 7514MB Free
info: Kernel Version: Linux 6.5.0-26-generic
info: Flatpak Branch: master
info: Flatpak Arch: x86_64
info: Flatpak Runtime: runtime/org.kde.Platform/x86_64/6.5
info: Runtime Extensions:
info:  - org.freedesktop.Platform.GL.default
info:  - org.freedesktop.Platform.GL.nvidia-470-239-06
info:  - org.freedesktop.Platform.openh264
info:  - org.gtk.Gtk3theme.Breeze
info:  - org.kde.PlatformTheme.QGnomePlatform
info:  - org.kde.WaylandDecoration.QAdwaitaDecorations
info:  - org.kde.WaylandDecoration.QGnomePlatform-decoration
info:  - org.kde.Platform.Locale
info:  - org.freedesktop.Platform.GL.default
info: Flatpak Framework Version: 1.12.7
info: Desktop Environment: KDE (KDE)
info: Session Type: x11
info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.21.1
info: Qt Version: 6.5.3 (runtime), 6.5.3 (compiled)
info: Portable mode: false
info: OBS 30.0.2-sdk-11.1-flatpak (linux)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
        samples per sec: 48000
        speakers:        2
        max buffering:   960 milliseconds
        buffering type:  dynamically increasing
info: ---------------------------------
info: Initializing OpenGL...
info: Loading up OpenGL on adapter NVIDIA Corporation NVIDIA GeForce GTX 670/PCIe/SSE2
info: OpenGL loaded successfully, version 3.3.0 NVIDIA 470.239.06, shading language 3.30 NVIDIA via Cg compiler
info: ---------------------------------
info: video settings reset:
        base resolution:   1920x1080
        output resolution: 1280x720
        downscale filter:  Bicubic
        fps:               60/1
        format:            NV12
        YUV mode:          Rec. 709/Partial
info: NV12 texture support not available
info: P010 texture support not available
info: Audio monitoring device:
        name: Default
        id: default
info: ---------------------------------
warning: No AJA devices found, skipping loading AJA UI plugin
warning: Failed to initialize module 'aja-output-ui.so'
warning: No AJA devices found, skipping loading AJA plugin
warning: Failed to initialize module 'aja.so'
warning: Failed to load 'en-US' text for module: 'decklink-captions.so'
warning: Failed to load 'en-US' text for module: 'decklink-output-ui.so'
libDeckLinkAPI.so: cannot open shared object file: No such file or directory
warning: A DeckLink iterator could not be created.  The DeckLink drivers may not be installed
warning: Failed to initialize module 'decklink.so'
info: [pipewire] Available captures:
info: [pipewire]     - Desktop capture
info: [pipewire]     - Window capture
info: [obs-browser]: Version 2.22.2
info: [obs-browser]: CEF Version 103.0.5060.134 (runtime), 103.0.0-5060-shared-textures.2594+g17f8588+chromium-103.0.5060.134 (compiled)
info: NVENC supported
error: VAAPI: Failed to initialize display in vaapi_device_h264_supported
info: FFmpeg VAAPI H264 encoding not supported
error: VAAPI: Failed to initialize display in vaapi_device_hevc_supported
info: FFmpeg VAAPI HEVC encoding not supported
info: [obs-websocket] [obs_module_load] you can haz websockets (Version: 5.3.4 | RPC Version: 1)
info: [obs-websocket] [obs_module_load] Qt version (compile-time): 6.5.3 | Qt version (run-time): 6.5.3
info: [obs-websocket] [obs_module_load] Linked ASIO Version: 102800
info: [obs-websocket] [obs_module_load] Module loaded.
warning: QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout
info: [obs-multi-rtmp] Load 0 targets, 0 video configs, 0 audio configs
info: [obs-multi-rtmp] Load config from /home/yelsin/.var/app/com.obsproject.Studio/config/obs-studio/basic/profiles/Untitled/obs-multi-rtmp.json
info: [obs-multi-rtmp] version: 0.5.0.4 by SoraYuki https://github.com/sorayuki/obs-multi-rtmp/
info: [Source Switcher] loaded version 0.4.2
info: [Vertical Canvas] loaded version 1.3.1
info: ---------------------------------
info:   Loaded Modules:
info:     vertical-canvas.so
info:     source-switcher.so
info:     obs-multi-rtmp.so
info:     text-freetype2.so
info:     rtmp-services.so
info:     obs-x264.so
info:     obs-websocket.so
info:     obs-webrtc.so
info:     obs-vst.so
info:     obs-transitions.so
info:     obs-qsv11.so
info:     obs-outputs.so
info:     obs-libfdk.so
info:     obs-filters.so
info:     obs-ffmpeg.so
info:     obs-browser.so
info:     linux-v4l2.so
info:     linux-pulseaudio.so
info:     linux-pipewire.so
info:     linux-jack.so
info:     linux-capture.so
info:     image-source.so
info:     frontend-tools.so
info:     decklink-output-ui.so
info:     decklink-captions.so
info: ---------------------------------
info: [Vertical Canvas] Loaded configuration file
warning: QLayout: Attempting to add QLayout "" to CanvasDock "contextContainer", which already has a layout
info: NV12 texture support not available
info: P010 texture support not available
warning: QWidget::setTabOrder: 'first' and 'second' must be in the same window
info: ==== Startup complete ===============================================
info: All scene data cleared
info: ------------------------------------------------
info: pulse-input: Server name: 'pulseaudio 15.99.1'
info: pulse-input: Audio format: s16le, 48000 Hz, 2 channels
info: pulse-input: Started recording from 'alsa_output.pci-0000_01_00.1.hdmi-stereo.monitor' (default)
info: [Loaded global audio device]: 'Desktop Audio'
info: pulse-am: Server name: 'pulseaudio 15.99.1'
info: pulse-am: Audio format: s16le, 48000 Hz, 2 channels
info: pulse-am: Started Monitoring in 'alsa_output.pci-0000_01_00.1.hdmi-stereo'
info: pulse-input: Server name: 'pulseaudio 15.99.1'
error: pulse-input: An error occurred while getting the source info!
info: pulse-am: Server name: 'pulseaudio 15.99.1'
info: pulse-am: Audio format: s16le, 48000 Hz, 2 channels
info: pulse-am: Started Monitoring in 'alsa_output.pci-0000_01_00.1.hdmi-stereo'
info: [Media Source 'Background']: settings:
        input:                   /home/yelsin/Pictures/Twitch Files/140078 (1080p).mp4
        input_format:            (null)
        speed:                   100
        is_looping:              yes
        is_linear_alpha:         no
        is_hw_decoding:          no
        is_clear_on_media_end:   yes
        restart_on_activate:     yes
        close_when_inactive:     no
        full_decode:             no
        ffmpeg_options:          
info: v4l2-input: Start capture from /dev/video0
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
info: v4l2-input: Input: 0
info: v4l2-input: Resolution: 1920x1080
info: v4l2-input: Pixelformat: BGR3
info: v4l2-input: Linesize: 5760 Bytes
info: v4l2-input: Framerate: 60.00 fps
info: v4l2-input: /dev/video0: select timeout set to 83333 (5x frame periods)
info: [Media Source 'Chatbox_Frame.webm']: settings:
        input:                   /home/yelsin/Pictures/Twitch Files/synthwave/Synthwave_Overlay/Graphic Assets - Individual Files/Scenes/Chatbox/Chatbox_Frame_Magenta.webm
        input_format:            (null)
        speed:                   100
        is_looping:              yes
        is_linear_alpha:         no
        is_hw_decoding:          yes
        is_clear_on_media_end:   yes
        restart_on_activate:     yes
        close_when_inactive:     yes
        full_decode:             no
        ffmpeg_options:          
info: [Media Source 'ChatFrame']: settings:
        input:                   /home/yelsin/Pictures/Twitch Files/synthwave/Synthwave_Overlay/Graphic Assets - Individual Files/Scenes/Chatbox/Chatbox_Frame_Magenta_Short.webm
        input_format:            (null)
        speed:                   100
        is_looping:              yes
        is_linear_alpha:         no
        is_hw_decoding:          yes
        is_clear_on_media_end:   yes
        restart_on_activate:     yes
        close_when_inactive:     yes
        full_decode:             no
        ffmpeg_options:          
info: pulse-am: Server name: 'pulseaudio 15.99.1'
info: pulse-am: Audio format: s16le, 48000 Hz, 2 channels
info: pulse-am: Started Monitoring in 'alsa_output.pci-0000_01_00.1.hdmi-stereo'
info: [window-capture: 'miyoo'] update settings:
        title: unknown
        class: unknown

info: [Media Source 'SocialMedia Banner']: settings:
        input:                   /home/yelsin/Pictures/Twitch Files/synthwave/Synthwave_Overlay/Graphic Assets - Individual Files/Support Bars/Magenta&Blue/SupportBar_Horizontal_Blank.webm
        input_format:            (null)
        speed:                   100
        is_looping:              yes
        is_linear_alpha:         no
        is_hw_decoding:          yes
        is_clear_on_media_end:   no
        restart_on_activate:     yes
        close_when_inactive:     no
        full_decode:             no
        ffmpeg_options:          
info: [source-switcher: 'Source Switcher'] switch to 'Follower Goal'
info: [Media Source 'Synthwave_Background_Loop_2xSpeed.mp4']: settings:
        input:                   /home/yelsin/Pictures/Twitch Files/synthwave/Synthwave_Overlay/Graphic Assets - Individual Files/Scenes/Background/Background_Loop.mp4
        input_format:            (null)
        speed:                   25
        is_looping:              yes
        is_linear_alpha:         no
        is_hw_decoding:          no
        is_clear_on_media_end:   yes
        restart_on_activate:     yes
        close_when_inactive:     yes
        full_decode:             no
        ffmpeg_options:          
info: [Media Source 'Text_JustChatting.webm']: settings:
        input:                   /home/yelsin/Pictures/Twitch Files/synthwave/Synthwave_Overlay/Graphic Assets - Individual Files/Scenes/Text/Text_JustChatting_A.webm
        input_format:            (null)
        speed:                   100
        is_looping:              yes
        is_linear_alpha:         no
        is_hw_decoding:          no
        is_clear_on_media_end:   yes
        restart_on_activate:     yes
        close_when_inactive:     yes
        full_decode:             no
        ffmpeg_options:          
[libvpx-vp9 @ 0x7dc878012540] v1.12.0
info: [Media Source 'Text_StreamStarting_A.webm']: settings:
        input:                   /home/yelsin/Pictures/Twitch Files/synthwave/Synthwave_Overlay/Graphic Assets - Individual Files/Scenes/Text/Text_StreamStarting_A.webm
        input_format:            (null)
        speed:                   100
        is_looping:              yes
        is_linear_alpha:         no
        is_hw_decoding:          no
        is_clear_on_media_end:   yes
        restart_on_activate:     yes
        close_when_inactive:     yes
        full_decode:             no
        ffmpeg_options:          
info: [Media Source 'Timer_B_2min.webm']: settings:
        input:                   /home/yelsin/Pictures/Twitch Files/synthwave/Synthwave_Overlay/Graphic Assets - Individual Files/Scenes/Timers/Timer_B_2min.webm
        input_format:            (null)
        speed:                   100
        is_looping:              yes
        is_linear_alpha:         no
        is_hw_decoding:          no
        is_clear_on_media_end:   yes
        restart_on_activate:     yes
        close_when_inactive:     yes
        full_decode:             no
        ffmpeg_options:          
[libvpx-vp9 @ 0x7dc878012540] v1.12.0
info: v4l2-input: Start capture from /dev/video2
info: v4l2-input: Input: 0
info: v4l2-input: Resolution: 1920x1080
info: v4l2-input: Pixelformat: MJPG
info: v4l2-input: Linesize: 0 Bytes
info: v4l2-input: Framerate: 30.00 fps
info: v4l2-input: /dev/video2: select timeout set to 166666 (5x frame periods)
info: [Media Source 'Webcam_Chat_16-9_Chat.webm']: settings:
        input:                   /home/yelsin/Pictures/Twitch Files/synthwave/Synthwave_Overlay/Graphic Assets - Individual Files/Webcam/Magenta&Blue/Webcam_16-9.webm
        input_format:            (null)
        speed:                   100
        is_looping:              yes
        is_linear_alpha:         no
        is_hw_decoding:          no
        is_clear_on_media_end:   yes
        restart_on_activate:     yes
        close_when_inactive:     yes
        full_decode:             no
        ffmpeg_options:          
info: Switched to scene 'Scene - In Game'
info: ------------------------------------------------
info: Loaded scenes:
info: - scene 'Scene - Starting':
info:     - source: 'Synthwave_Background_Loop_2xSpeed.mp4' (ffmpeg_source)
info:     - source: 'Text_StreamStarting_A.webm' (ffmpeg_source)
info:     - source: 'Timer_B_2min.webm' (ffmpeg_source)
info:     - source: 'Social' (group)
info:         - source: 'SocialMedia Banner' (ffmpeg_source)
info:         - source: 'brandName2' (image_source)
info:         - source: 'kick.png' (image_source)
info:         - source: 'brandName1' (image_source)
info:         - source: 'youtube.png' (image_source)
info:         - source: 'brandName0' (image_source)
info:         - source: 'twitch.png' (image_source)
info:     - source: 'Alert' (browser_source)
info:         - monitoring: monitor and output
info:     - source: 'Twitch Chat 2' (browser_source)
info:     - source: 'Audio Input Capture (PulseAudio)' (pulse_input_capture)
info:         - monitoring: monitor and output
info:         - filter: 'Noise Suppression' (noise_suppress_filter_v2)
info:         - filter: 'Limiter' (limiter_filter)
info:         - filter: '3-Band Equalizer' (basic_eq_filter)
info:         - filter: 'Expander' (expander_filter)
info:         - filter: 'Compressor' (compressor_filter)
info: - scene 'Scene - Just Chatting':
info:     - source: 'Audio Input Capture (PulseAudio)' (pulse_input_capture)
info:         - monitoring: monitor and output
info:         - filter: 'Noise Suppression' (noise_suppress_filter_v2)
info:         - filter: 'Limiter' (limiter_filter)
info:         - filter: '3-Band Equalizer' (basic_eq_filter)
info:         - filter: 'Expander' (expander_filter)
info:         - filter: 'Compressor' (compressor_filter)
info:     - source: 'Synthwave_Background_Loop_2xSpeed.mp4' (ffmpeg_source)
info:     - source: 'Text_JustChatting.webm' (ffmpeg_source)
info:     - source: 'Social 1' (group)
info:         - source: 'SocialMedia Banner' (ffmpeg_source)
info:         - source: 'brandName2' (image_source)
info:         - source: 'kick.png' (image_source)
info:         - source: 'brandName1' (image_source)
info:         - source: 'youtube.png' (image_source)
info:         - source: 'brandName0' (image_source)
info:         - source: 'twitch.png' (image_source)
info:     - source: 'Guest 0' (group)
info:         - source: 'Guest' (image_source)
info:         - source: 'Guest Name' (text_ft2_source_v2)
info:         - source: 'GuestName' (image_source)
info:     - source: 'Chat 0' (group)
info:         - source: 'Chatbox_Frame.webm' (ffmpeg_source)
info:         - source: 'Twitch Chat' (browser_source)
info:     - source: 'Webcam 0' (group)
info:         - source: 'Webcam_Chat_16-9_Chat.webm' (ffmpeg_source)
info:         - source: 'Webcam Placeholder.png' (image_source)
info:         - source: 'Webcam' (v4l2_input)
info:             - filter: 'LUTs' (clut_filter)
info:             - filter: 'Chroma Key' (chroma_key_filter_v2)
info:     - source: 'Alert' (browser_source)
info:         - monitoring: monitor and output
info: - scene 'Scene - In Game':
info:     - source: 'Audio Input Capture (PulseAudio)' (pulse_input_capture)
info:         - monitoring: monitor and output
info:         - filter: 'Noise Suppression' (noise_suppress_filter_v2)
info:         - filter: 'Limiter' (limiter_filter)
info:         - filter: '3-Band Equalizer' (basic_eq_filter)
info:         - filter: 'Expander' (expander_filter)
info:         - filter: 'Compressor' (compressor_filter)
info:     - source: 'Capture Card' (v4l2_input)
info:     - source: 'Guest 1' (group)
info:         - source: 'Guest' (image_source)
info:         - source: 'Guest Name' (text_ft2_source_v2)
info:         - source: 'GuestName' (image_source)
info:     - source: 'Chat 1' (group)
info:         - source: 'ChatFrame' (ffmpeg_source)
info:         - source: 'Twitch Chat 2' (browser_source)
info:     - source: 'Webcam 1' (group)
info:         - source: 'Webcam' (v4l2_input)
info:             - filter: 'LUTs' (clut_filter)
info:             - filter: 'Chroma Key' (chroma_key_filter_v2)
info:         - source: 'kick.png' (image_source)
info:         - source: 'youtube.png' (image_source)
info:         - source: 'twitch.png' (image_source)
info:         - source: 'twitch BrandName' (image_source)
info:         - source: 'Donation Ticker' (browser_source)
info:     - source: 'Follower Goal' (browser_source)
info:         - monitoring: monitor and output
info:     - source: 'Alert' (browser_source)
info:         - monitoring: monitor and output
info:     - source: 'Donation Goal' (browser_source)
info:     - source: 'Text (FreeType 2)' (text_ft2_source_v2)
info:     - source: 'Text (FreeType 2) (2)' (text_ft2_source_v2)
info: - scene 'Scene - Podcast':
info:     - source: 'Audio Input Capture (PulseAudio)' (pulse_input_capture)
info:         - monitoring: monitor and output
info:         - filter: 'Noise Suppression' (noise_suppress_filter_v2)
info:         - filter: 'Limiter' (limiter_filter)
info:         - filter: '3-Band Equalizer' (basic_eq_filter)
info:         - filter: 'Expander' (expander_filter)
info:         - filter: 'Compressor' (compressor_filter)
info:     - source: 'Overlay' (group)
info:         - source: 'Background' (ffmpeg_source)
info:         - source: 'Bus Overlay' (image_source)
info:             - filter: 'Chroma Key' (chroma_key_filter_v2)
info:     - source: 'TV' (group)
info:         - source: 'Capture Card' (v4l2_input)
info:         - source: 'TVPole' (image_source)
info:     - source: 'Guest 2' (group)
info:         - source: 'Guest' (image_source)
info:         - source: 'Azazer' (image_source)
info:         - source: 'Guest Name' (text_ft2_source_v2)
info:         - source: 'Guest Name 2' (text_ft2_source_v2)
info:         - source: 'Lazuli' (image_source)
info:         - source: 'Guest Name 3' (text_ft2_source_v2)
info:         - source: 'GuestName' (image_source)
info:     - source: 'Chat 2' (group)
info:         - source: 'ChatFrame' (ffmpeg_source)
info:         - source: 'Twitch Chat 2' (browser_source)
info:     - source: 'Webcam 2' (group)
info:         - source: 'Webcam' (v4l2_input)
info:             - filter: 'LUTs' (clut_filter)
info:             - filter: 'Chroma Key' (chroma_key_filter_v2)
info:         - source: 'BrandName' (image_source)
info:     - source: 'Alert' (browser_source)
info:         - monitoring: monitor and output
info:     - source: 'Follower Goal' (browser_source)
info:         - monitoring: monitor and output
info: - scene 'Scene - Reaction ( CONTENT )':
info:     - source: 'Audio Input Capture (PulseAudio)' (pulse_input_capture)
info:         - monitoring: monitor and output
info:         - filter: 'Noise Suppression' (noise_suppress_filter_v2)
info:         - filter: 'Limiter' (limiter_filter)
info:         - filter: '3-Band Equalizer' (basic_eq_filter)
info:         - filter: 'Expander' (expander_filter)
info:         - filter: 'Compressor' (compressor_filter)
info:     - source: 'Capture Card' (v4l2_input)
info:     - source: 'Social 3' (group)
info:         - source: 'brandName2' (image_source)
info:         - source: 'kick.png' (image_source)
info:         - source: 'brandName1' (image_source)
info:         - source: 'youtube.png' (image_source)
info:         - source: 'brandName0' (image_source)
info:         - source: 'twitch.png' (image_source)
info:     - source: 'Chat 3' (group)
info:         - source: 'ChatFrame' (ffmpeg_source)
info:         - source: 'Twitch Chat 2' (browser_source)
info:     - source: 'Webcam' (v4l2_input)
info:         - filter: 'LUTs' (clut_filter)
info:         - filter: 'Chroma Key' (chroma_key_filter_v2)
info:     - source: 'miyoo' (xcomposite_input)
info:     - source: 'Follower Goal' (browser_source)
info:         - monitoring: monitor and output
info:     - source: 'Sub Goal' (browser_source)
info:     - source: 'Alert' (browser_source)
info:         - monitoring: monitor and output
info:     - source: 'Source Switcher' (source_switcher)
info:     - source: 'Guest 2 2' (group)
info:         - source: 'Guest' (image_source)
info:         - source: 'Azazer' (image_source)
info:         - source: 'Guest Name' (text_ft2_source_v2)
info:         - source: 'Guest Name 2' (text_ft2_source_v2)
info:         - source: 'Lazuli' (image_source)
info:         - source: 'Guest Name 3' (text_ft2_source_v2)
info:         - source: 'GuestName' (image_source)
info: - scene 'Vertical Scene':
info:     - source: 'Webcam' (v4l2_input)
info:         - filter: 'LUTs' (clut_filter)
info:         - filter: 'Chroma Key' (chroma_key_filter_v2)
info:     - source: 'Capture Card' (v4l2_input)
info:     - source: 'Audio Input Capture (PulseAudio)' (pulse_input_capture)
info:         - monitoring: monitor and output
info:         - filter: 'Noise Suppression' (noise_suppress_filter_v2)
info:         - filter: 'Limiter' (limiter_filter)
info:         - filter: '3-Band Equalizer' (basic_eq_filter)
info:         - filter: 'Expander' (expander_filter)
info:         - filter: 'Compressor' (compressor_filter)
info:     - source: 'Source Switcher' (source_switcher)
info:     - source: 'Alert' (browser_source)
info:         - monitoring: monitor and output
info: ------------------------------------------------
info: [source-switcher: 'Source Switcher'] transition to 'Sub Goal' using 'Transition' for 1000 ms, resize {800,600}
info: ---------------------------------
info: [FFmpeg NVENC encoder: 'advanced_video_stream'] settings:
        encoder:      NVIDIA NVENC H.264 (FFmpeg)
        rate_control: CBR
        bitrate:      2500
        cqp:          0
        keyint:       120
        preset:       p5
        tuning:       hq
        multipass:    qres
        profile:      high
        width:        1280
        height:       720
        b-frames:     2
        psycho-aq:    1
        GPU:          0

[h264_nvenc @ 0x64aeb2027140] Temporal AQ not supported
[h264_nvenc @ 0x64aeb2027140] No capable devices found
warning: [NVENC encoder] nvenc_create_internal failed, trying again without Psycho Visual Tuning
info: ---------------------------------
info: [FFmpeg NVENC encoder: 'advanced_video_stream'] settings:
        encoder:      NVIDIA NVENC H.264 (FFmpeg)
        rate_control: CBR
        bitrate:      2500
        cqp:          0
        keyint:       120
        preset:       p5
        tuning:       hq
        multipass:    qres
        profile:      high
        width:        1280
        height:       720
        b-frames:     2
        psycho-aq:    0
        GPU:          0

[h264_nvenc @ 0x64aeb271da80] InitializeEncoder failed: invalid param (8): ::NV_ENC_TWO_PASS_FULL_RESOLUTION is only supported multipass encoding on this architecture.

warning: Stream output type 'rtmp_output' failed to start!  Last Error: Failed to open NVENC codec: Generic error in an external library<br><br>Try installing the latest <a href="https://obsproject.com/go/nvidia-drivers">NVIDIA driver</a> and closing other recording software that might be using NVENC such as NVIDIA ShadowPlay or Windows Game DVR.
guihkx commented 6 months ago

Probably a clue:

[h264_nvenc @ 0x64aeb271da80] InitializeEncoder failed: invalid param (8): :NV_ENC_TWO_PASS_FULL_RESOLUTION is only supported multipass encoding on this architecture.

Here are the encoder settings (specifically for streaming) that have been working great for me:

image

Though, in some cases (i.e. not heavy 3D content), you can even get away with using the P5 preset for improved quality.

Yorisoft commented 6 months ago

This worked! Thanks a ton!!!

Tbh Im still experiencing a lot of encoding lag when trying to run the vertical canvas stream to youtube alongside the twitch stream. But I think thats just the limit of the hardware.

image

image

As is things should work fine streaming either one on its own. Thanks again!!!!!!

guihkx commented 6 months ago

No problem. :)

Tbh Im still experiencing a lot of encoding lag when trying to run the vertical canvas stream to youtube alongside the twitch stream. But I think thats just the limit of the hardware.

That's most likely the reason, yeah...

In any case, I think we can close this one now.