Question / Help cant click start streaming or record

RytoEX

Forum Admin
Forum Moderator
Developer
If it worked before, and you haven't changed anything in OBS Studio, maybe your graphics adapters got swapped around. Did you recently enable your iGPU (the Intel HD Graphics)?

01:31:11.470: Initializing D3D11..
01:31:11.470: Available Video Adapters:
01:31:11.472: Adapter 1: Intel(R) HD Graphics 4600
01:31:11.472: Dedicated VRAM: 33554432
01:31:11.472: Shared VRAM: 1845493760
01:31:11.472: output 1: pos={0, 0}, size={1920, 1080}, attached=true
01:31:11.472: output 2: pos={1920, 0}, size={1600, 900}, attached=true
01:31:11.472: Adapter 2: NVIDIA GeForce GTX 860M
01:31:11.472: Dedicated VRAM: 2068705280
01:31:11.472: Shared VRAM: 2147610624
01:31:11.474: Loading up D3D11 on adapter Intel(R) HD Graphics 4600 (0)
01:31:11.479: D3D11 loaded sucessfully, feature level used: 45056
[...]
1:31:14 AM.916: [NVENC encoder: 'streaming_h264'] settings:
1:31:14 AM.916: rate_control: CBR
1:31:14 AM.916: bitrate: 2100
1:31:14 AM.916: cqp: 0
1:31:14 AM.916: keyint: 60
1:31:14 AM.916: preset: default
1:31:14 AM.916: profile: main
1:31:14 AM.916: level: auto
1:31:14 AM.916: width: 1280
1:31:14 AM.916: height: 720
1:31:14 AM.916: 2-pass: true
1:31:14 AM.916: GPU: 0
1:31:14 AM.916:
1:31:14 AM.916: warning: This encoder is deprecated, use 'h264_nvenc' instead
1:31:14 AM.917: error: Failed to create nvenc instance: invalid version (15)
1:31:14 AM.917: [NVENC encoder: 'streaming_h264'] Failed to open NVENC codec: Invalid argument
The bold emphasis is mine.

I'm not sure that I'm interpreting this correctly, but I think in this configuration, OBS Studio is trying to use the NVENC encoder on your Intel HD Graphics, which wouldn't work.

Try one of the following at a time (try one or the other, not both):
  • In your streaming settings, try setting "GPU" to 1, which should correspond to your GTX 860M.
    Don't do that. Sometimes I'm an idiot. The GPU setting here should be 0, so that's fine.
  • In your Advanced settings, try changing your Video Adapter to "NVIDIA GeForce GTX 860M" (or whatever it's actually labeled as).
Or, you could try what @H4ndy said and use QuickSync (QSV) on your Intel graphics adapter. Feel free to experiment and use whatever works best for your needs.

As an aside, I'm not sure that CBR at 2100-2500 Kbps is high enough for NVENC, but if it works for you and looks good, go for it!
 
Last edited:

kingkavman

New Member
before it defaulted to my 860 gpu. that area u are referring to is grayed out tho. so i cannot select any graphics card. ideas?
 

RytoEX

Forum Admin
Forum Moderator
Developer
before it defaulted to my 860 gpu. that area u are referring to is grayed out tho. so i cannot select any graphics card. ideas?

Ideas? Sure.

What defaulted to your 860? The Advanced setting? The GPU setting? Something else?


If it worked before, and you haven't changed anything in OBS Studio, maybe your graphics adapters got swapped around. Did you recently enable your iGPU (the Intel HD Graphics)?
Was your iGPU enabled before it stopped working, or did you recently enable it? Do you use your iGPU?


Try one of the following at a time (try one or the other, not both):
  • In your streaming settings, try setting "GPU" to 1, which should correspond to your GTX 860M.
  • In your Advanced settings, try changing your Video Adapter to "NVIDIA GeForce GTX 860M" (or whatever it's actually labeled as).
Or, you could try what @H4ndy said and use QuickSync (QSV) on your Intel graphics adapter. Feel free to experiment and use whatever works best for your needs.

As an aside, I'm not sure that CBR at 2100-2500 Kbps is high enough for NVENC, but if it works for you and looks good, go for it!

Also, if you try new settings, you should include a new log so that we can see if anything changed.
 

Osiris

Active Member
Try reinstalling the latest drivers from NVIDIA.

Also, it doesn't matter which GPU OBS is running on when it comes to the hardware encoders.
 

RytoEX

Forum Admin
Forum Moderator
Developer
Try reinstalling the latest drivers from NVIDIA.

Also, it doesn't matter which GPU OBS is running on when it comes to the hardware encoders.

Huh. Odd. Does OBS just ignore the setting and pick whatever seems appropriate?
 

Osiris

Active Member
OBS doesn't pick anything, it just uses what is provided by the drivers.

Also the GPU setting should not be changed to 1, that should be set to 0.
 

RytoEX

Forum Admin
Forum Moderator
Developer
OBS doesn't pick anything, it just uses what is provided by the drivers.

Also the GPU setting should not be changed to 1, that should be set to 0.
Wait... okay, I think I get it now. I'm tired, so it took me a bit. I think in your first reply you were talking about the Video Adapter setting, but here you're talking about the NVENC GPU setting. After reviewing the thread again and looking up a few more things, you're right: the GPU setting in this case should be 0, as there is only one NVENC capable GPU here (the GTX 860M).
 
Top