Question / Help Direct3D 11 problem...

SBWgaming

New Member
Hi, i have had a problem with streaming for a long time now, the stream was lagging and stuttering. after days trying to fix it. i switched* from direct3d 11 to opengl. then my stream looked better than ever. but the problem starts when i switch back. please help can't seem to find anyone else with the same problem.
 

Attachments

  • 2017-02-13 01-05-23.txt
    18.2 KB · Views: 77

Harold

Active Member
Switch back to direct3d and turn off multi-adapter compatibility on your game capture source.
 

SBWgaming

New Member
do you mean on? it wass off then i turned it on and it worked kinda, still lags from time to time but it's really acceptable :)
 

Harold

Active Member
Do you use sweetfx?
If so, remove it COMPLETELY.

Also, run OBS as admin.

Do NOT enable multi-adapter compatibility hooking. Your system has precisely 0 need for it.
 

SBWgaming

New Member
I don't use sweetfx, i did just reinstall just to be sure but nothing has changed. i did also try to stream as admin but still nothing.
Do you use sweetfx?
If so, remove it COMPLETELY.

Also, run OBS as admin.

Do NOT enable multi-adapter compatibility hooking. Your system has precisely 0 need for it.
 
15:56:15.697: CAM: data.GetDevice failed
15:56:15.697: CAM: Video configuration failed
15:56:16.000: gs_image_file_init: Failed to load file ''
The above shows your CAM (Webcam?) is not functioning correctly with OBS.
The above also shows you have an image not being displayed, not sure which file though as it doesn't state, only gives ' ' for the name.

15:56:19.082: - scene 'Top overlay':
15:56:19.082: - source: 'Skærm optager' (monitor_capture)
15:56:19.083: - source: 'Spil optager' (game_capture)
The above scene has two conflicting sources, you should never have monitor/display & game capture in the same source, this is quite likely the root cause of a lot of your issues, possibly the one below as well.

18:12:39.034: [game-capture: 'Spil optager'] d3d9_shmem_capture: GetRenderTargetData failed (0x88760868)
The above line indicates a conflict, perhaps an overlay that you have running (MSI Afterburner/EVGA Precision or similar)

20:09:12.993: Output 'adv_stream': Total encoded frames: 892691
20:09:12.993: Output 'adv_stream': Total drawn frames: 892691
20:09:12.993: Output 'adv_stream': Number of skipped frames due to encoding lag: 15 (0.0%)
20:09:12.993: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 364 (0.0%)
20:09:12.993: Output 'adv_stream': Number of dropped frames due to insufficient bandwidth/connection stalls: 2398 (0.3%)

Do you cap your frame rate in-game? If not doing so will assist you with your encoding & rendering lag. If you already do then you need to lower your in-game settings slightly.
You have some bandwidth issues going on, you need to drop your bitrate a slight amount.

Below is a link to a guide created by @NerdOrDie:
https://obsproject.com/forum/resources/full-video-guide-for-obs-studio-and-twitch.377/
It contains some great information on configuring OBS for streaming.
 

SBWgaming

New Member
15:56:15.697: CAM: data.GetDevice failed
15:56:15.697: CAM: Video configuration failed
15:56:16.000: gs_image_file_init: Failed to load file ''
The above shows your CAM (Webcam?) is not functioning correctly with OBS.
The above also shows you have an image not being displayed, not sure which file though as it doesn't state, only gives ' ' for the name.

15:56:19.082: - scene 'Top overlay':
15:56:19.082: - source: 'Skærm optager' (monitor_capture)
15:56:19.083: - source: 'Spil optager' (game_capture)
The above scene has two conflicting sources, you should never have monitor/display & game capture in the same source, this is quite likely the root cause of a lot of your issues, possibly the one below as well.

18:12:39.034: [game-capture: 'Spil optager'] d3d9_shmem_capture: GetRenderTargetData failed (0x88760868)
The above line indicates a conflict, perhaps an overlay that you have running (MSI Afterburner/EVGA Precision or similar)

20:09:12.993: Output 'adv_stream': Total encoded frames: 892691
20:09:12.993: Output 'adv_stream': Total drawn frames: 892691
20:09:12.993: Output 'adv_stream': Number of skipped frames due to encoding lag: 15 (0.0%)
20:09:12.993: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 364 (0.0%)
20:09:12.993: Output 'adv_stream': Number of dropped frames due to insufficient bandwidth/connection stalls: 2398 (0.3%)

Do you cap your frame rate in-game? If not doing so will assist you with your encoding & rendering lag. If you already do then you need to lower your in-game settings slightly.
You have some bandwidth issues going on, you need to drop your bitrate a slight amount.

Below is a link to a guide created by @NerdOrDie:
https://obsproject.com/forum/resources/full-video-guide-for-obs-studio-and-twitch.377/
It contains some great information on configuring OBS for streaming.

Will it help reistalling obs? just seems like nothing helps.
 

SBWgaming

New Member
Oki so i think i have found the problem, it's my sli... is there any way obs can work with out having to turn sli off??
 
Oki so i think i have found the problem, it's my sli... is there any way obs can work with out having to turn sli off??
sli/cfx shouldn't affect, drawback in streaming you need to vsync 60fps your pc games - that should help, unless you are already doing that then buuu like above lower game settings is the only thing next besides dropping cpu encoding preset as in from VeryFast going to UltraFast but that massively drops the quality of the stream/recording
 
In the source settings (Highlight a source, right-click and select properties) there is an option for Multi-adapter Compatibility, this is what you need to tick for SLI/CFX configurations.

Capping your fps in-game it will most likely resolve the slight encoder (CPU load) issue and the render (GPU load) issue, if you don't already do so. If you do already cap your fps in-game then three options are available to try and resolve the performance issues (From least to most quality reduction):
- Reducing graphics options a tad, Anti-Aliasing first and fore-most, shadows, lighting, particles, player & non-player textures and environment textures is usually most to least intensive on resources.
- Reduce your fps capture rate from 60fps to 30fps.
- Lower the CPU encoding preset from Veryfast to UltraFast as @sendblink23 stated. <--- Last resort!

Can you upload a new logfile to see how you are going after you attempt another stream, this way most recent changes will provide more relevant information in your logfile so someone can fine-tune the troubleshooting.

Side note:
18:12:39.034: [game-capture: 'Spil optager'] d3d9_shmem_capture: GetRenderTargetData failed (0x88760868)
Was caused by crossfire/sli with Multi-adapter compatibility turned off, really sorry I didn't pick up on that (OBS was only seeing one card and your PC was using both cards which in turn was 'idling' one card whilst the other one was being used, effectively, causing OBS to lose the hook?)
 

SBWgaming

New Member
15:56:15.697: CAM: data.GetDevice failed
15:56:15.697: CAM: Video configuration failed
15:56:16.000: gs_image_file_init: Failed to load file ''
The above shows your CAM (Webcam?) is not functioning correctly with OBS.
The above also shows you have an image not being displayed, not sure which file though as it doesn't state, only gives ' ' for the name.

15:56:19.082: - scene 'Top overlay':
15:56:19.082: - source: 'Skærm optager' (monitor_capture)
15:56:19.083: - source: 'Spil optager' (game_capture)
The above scene has two conflicting sources, you should never have monitor/display & game capture in the same source, this is quite likely the root cause of a lot of your issues, possibly the one below as well.

18:12:39.034: [game-capture: 'Spil optager'] d3d9_shmem_capture: GetRenderTargetData failed (0x88760868)
The above line indicates a conflict, perhaps an overlay that you have running (MSI Afterburner/EVGA Precision or similar)

20:09:12.993: Output 'adv_stream': Total encoded frames: 892691
20:09:12.993: Output 'adv_stream': Total drawn frames: 892691
20:09:12.993: Output 'adv_stream': Number of skipped frames due to encoding lag: 15 (0.0%)
20:09:12.993: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 364 (0.0%)
20:09:12.993: Output 'adv_stream': Number of dropped frames due to insufficient bandwidth/connection stalls: 2398 (0.3%)

Do you cap your frame rate in-game? If not doing so will assist you with your encoding & rendering lag. If you already do then you need to lower your in-game settings slightly.
You have some bandwidth issues going on, you need to drop your bitrate a slight amount.

Below is a link to a guide created by @NerdOrDie:
https://obsproject.com/forum/resources/full-video-guide-for-obs-studio-and-twitch.377/
It contains some great information on configuring OBS for streaming.

i just dont really get it? why is im having these problems? are my pc to good or what is happening...
 
Ok, can you upload another recording/streaming attempt if you have made any changes to suggested settings please.

After uploading that logfile can do a complete do-over of your settings, including reverting your streaming settings in Output to the recommended settings found in @Jack0r's guide:
https://obsproject.com/forum/resour...lity-recording-and-multiple-audio-tracks.221/

After that can you do another recording/streaming attempt with those settings from the guide and upload that please. Hopefully this will show a difference. If not then I think maybe try re-doing your scenes and sources, it may be an issue with the setup for streaming for those.
 

SBWgaming

New Member
Ok, can you upload another recording/streaming attempt if you have made any changes to suggested settings please.

After uploading that logfile can do a complete do-over of your settings, including reverting your streaming settings in Output to the recommended settings found in @Jack0r's guide:
https://obsproject.com/forum/resour...lity-recording-and-multiple-audio-tracks.221/

After that can you do another recording/streaming attempt with those settings from the guide and upload that please. Hopefully this will show a difference. If not then I think maybe try re-doing your scenes and sources, it may be an issue with the setup for streaming for those.

I can try to do a test stream when i get home tommorow. but i have tryed streaming with 1 980(and it worked really good) and then with 2x 980 in sli(got my problem) can obs not handle sli? when i think back i think my problem started when i got my second card?
 
Top