The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    Streaming on Linux

    Discussion in 'Linux Compatibility and Software' started by krisguy, Jul 17, 2017.

  1. krisguy

    krisguy Newbie

    Reputations:
    0
    Messages:
    7
    Likes Received:
    3
    Trophy Points:
    6
    I don't do a lot of streaming, but I have been streaming some 3D printing on Mixer.

    I've taken a break and have decided to redo my internal network and add a lot of new hardware. I picked up a Clevo N240BU and installed Ubuntu on it. Would anyone here have an idea if this laptop would be good enough to handle streaming 2 cams, one on me and a second cam. I would think the only bottleneck should be my internet connection.
     
    Vasudev likes this.
  2. Dennismungai

    Dennismungai Notebook Deity

    Reputations:
    785
    Messages:
    933
    Likes Received:
    867
    Trophy Points:
    106
    Well, your chip supports Intel's VAAPI hardware acceleration, and should work just fine with OBS studio.
     
    Vasudev likes this.
  3. Mr.Koala

    Mr.Koala Notebook Virtuoso

    Reputations:
    568
    Messages:
    2,307
    Likes Received:
    566
    Trophy Points:
    131
    Running OBS (Arch Linux packaged version) on a dual-GPU system. VAAPI is available according to vainfo, but OBS only shows software and NVENC. Any idea about what to check first?
     
  4. Dennismungai

    Dennismungai Notebook Deity

    Reputations:
    785
    Messages:
    933
    Likes Received:
    867
    Trophy Points:
    106
    What's your hardware setup?

    lspci and the graphics switching method you use would suffice.
     
  5. Mr.Koala

    Mr.Koala Notebook Virtuoso

    Reputations:
    568
    Messages:
    2,307
    Likes Received:
    566
    Trophy Points:
    131
    Intel HD 4600 + NV GTX765M on a Clevo W230ST. All drivers on latest stable.

    Running OBS through Bumblebee ($ optirun obs) or not makes no difference in terms of hardware encoding support detected, which seems to indicate OBS is looking for the relevant files rather than actually making any calls to test support. If I run OSB through Bumblebee NVENC works as expected.

    OSB's console output doesn't mention anything about VAAPI. It does say NVENC being supported.

    Some relevant output:
    Code:
    $ lspci|grep -i 'nvidia\|graphics'
    00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
    01:00.0 3D controller: NVIDIA Corporation GK106M [GeForce GTX 765M] (rev ff)
    
    $ pacman -Q|grep '^nvidia \|^mesa '
    mesa 17.3.0-2
    nvidia 387.34-11
    
    $ vainfo
    libva info: VA-API version 1.0.0
    libva info: va_getDriverName() returns 0
    libva info: Trying to open /usr/lib/dri/i965_drv_video.so
    libva info: Found init function __vaDriverInit_1_0
    libva info: va_openDriver() returns 0
    vainfo: VA-API version: 1.0 (libva 2.0.0)
    vainfo: Driver version: Intel i965 driver for Intel(R) Haswell Mobile - 2.0.0
    vainfo: Supported profile and entrypoints
          VAProfileMPEG2Simple            :    VAEntrypointVLD
          VAProfileMPEG2Simple            :    VAEntrypointEncSlice
          VAProfileMPEG2Main              :    VAEntrypointVLD
          VAProfileMPEG2Main              :    VAEntrypointEncSlice
          VAProfileH264ConstrainedBaseline:    VAEntrypointVLD
          VAProfileH264ConstrainedBaseline:    VAEntrypointEncSlice
          VAProfileH264Main               :    VAEntrypointVLD
          VAProfileH264Main               :    VAEntrypointEncSlice
          VAProfileH264High               :    VAEntrypointVLD
          VAProfileH264High               :    VAEntrypointEncSlice
          VAProfileH264MultiviewHigh      :    VAEntrypointVLD
          VAProfileH264MultiviewHigh      :    VAEntrypointEncSlice
          VAProfileH264StereoHigh         :    VAEntrypointVLD
          VAProfileH264StereoHigh         :    VAEntrypointEncSlice
          VAProfileVC1Simple              :    VAEntrypointVLD
          VAProfileVC1Main                :    VAEntrypointVLD
          VAProfileVC1Advanced            :    VAEntrypointVLD
          VAProfileNone                   :    VAEntrypointVideoProc
          VAProfileJPEGBaseline           :    VAEntrypointVLD
    
    $ obs --version
    OBS Studio - 20.1.3-1 (linux)
     
    Last edited: Dec 19, 2017
    Vasudev likes this.
  6. Dennismungai

    Dennismungai Notebook Deity

    Reputations:
    785
    Messages:
    933
    Likes Received:
    867
    Trophy Points:
    106