Bug Report I have a black screen

thatwasonce

New Member
I have a black screen and can’t see my stream
Firstly, make sure you have created a scene and added a source to actually be seen. After that, you’ll need to turn on ‘Preview Stream’ or be streaming in order to see your stream
--
Windows 8 x64 - When using dedicated card as set default my laptop will only display a black screen in OBS, and OBS ceases to be able to capture a damn thing!

Have to set it to integrated gpu for OBS to work

IGP:
http://i.imgur.com/i04lM.png

GPU:
http://i.imgur.com/eKgCu.png
 

thatwasonce

New Member
Open Broadcaster Software v0.466a - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM) i5-2450M CPU @ 2.50GHz
CPU Speed: 2494MHz
Physical Memory: 4095MB Total, 4095MB Free
stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 2
Windows Version: 6.2 Build 9200
Aero is Enabled
------------------------------------------
Adapter 1
Video Adapter: Intel(R) HD Graphics 3000
Video Adapter Dedicated Video Memory: 1087344640
Video Adapter Shared System Memory: 3207557120
------------------------------------------
Adapter 2
Video Adapter: Microsoft Basic Render Driver
Video Adapter Dedicated Video Memory: 0
Video Adapter Shared System Memory: 268435456
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1280x720
Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: MP3
bitrate: 128
------------------------------------------
------------------------------------------
Using Monitor Capture
------------------------------------------
Video Encoding: x264
fps: 30
width: 1280, height: 720
preset: veryfast
CBR: no
max bitrate: 3000
buffer size: 3000
quality: 10
------------------------------------------
Using RTMP service: Twitch / Justin.tv
Server selection: rtmp://live-iad-backup.justin.tv/app
SO_SNDBUF already at 65536
bufferTime: 1611, outputRateWindowTime: 1000, dropThreshold: 2111
------------------------------------------
------------------------------------------
Total frames rendered: 2811, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
=====Stream End=======================================================================
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1280x720
Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: MP3
bitrate: 128
------------------------------------------
------------------------------------------
Using Monitor Capture
------------------------------------------
Video Encoding: x264
fps: 30
width: 1280, height: 720
preset: veryfast
CBR: no
max bitrate: 3000
buffer size: 3000
quality: 10
------------------------------------------
Using RTMP service: Twitch / Justin.tv
Server selection: rtmp://live-iad-backup.justin.tv/app
SO_SNDBUF already at 65536
bufferTime: 1584, outputRateWindowTime: 1000, dropThreshold: 2084
Total frames rendered: 5170, number of frames that lagged: 1 (0.02%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
=====Stream End=======================================================================
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1280x720
Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: MP3
bitrate: 128
------------------------------------------
------------------------------------------
Using Monitor Capture
------------------------------------------
Video Encoding: x264
fps: 30
width: 1280, height: 720
preset: veryfast
CBR: no
max bitrate: 3000
buffer size: 3000
quality: 10
------------------------------------------
Using RTMP service: Twitch / Justin.tv
Server selection: rtmp://live-iad-backup.justin.tv/app
SO_SNDBUF already at 65536
bufferTime: 1716, outputRateWindowTime: 1000, dropThreshold: 2216
Total frames rendered: 4254, number of frames that lagged: 1 (0.02%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
=====Stream End=======================================================================
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1280x720
Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: MP3
bitrate: 128
------------------------------------------
------------------------------------------
Using Monitor Capture
------------------------------------------
Video Encoding: x264
fps: 30
width: 1280, height: 720
preset: veryfast
CBR: no
max bitrate: 3000
buffer size: 3000
quality: 10
------------------------------------------
Using RTMP service: Twitch / Justin.tv
Server selection: rtmp://live-iad-backup.justin.tv/app
SO_SNDBUF already at 65536
bufferTime: 1582, outputRateWindowTime: 1000, dropThreshold: 2082
Total frames rendered: 2114, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 4.915 ms] [avg calls per frame: 1] [children: 90.5%] [unaccounted: 9.52%]
| scene->Preprocess - [6.19%] [avg time: 0.304 ms] [avg calls per frame: 1]
| video encoding and uploading - [84.3%] [avg time: 4.143 ms] [avg calls per frame: 1] [children: 36.7%] [unaccounted: 47.5%]
| | CopyResource - [0.61%] [avg time: 0.03 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.142%] [avg time: 0.007 ms] [avg calls per frame: 0]
| | call to encoder - [35.7%] [avg time: 1.755 ms] [avg calls per frame: 0]
| | sending stuff out - [0.285%] [avg time: 0.014 ms] [avg calls per frame: 0]
==============================================================
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
This can happen on multi-GPU computers. Almost everything in my application is GPU accelerated. If your desktop is rendered on the intel, then the texture memory from that will not be directly accessible if OBS is set to use the AMD, and it can create this black screen issue. The techniques I used are designed to maximize performance by bypassing CPU transfers and using texture memory directly. If it can't access the texture memory, it won't currently work without copying that texture onto ram, then back onto your AMD, which is not fun to do, as well as very inefficient. It would completely defeat the purpose of using GPU acceleration for stream rendering.
 
Top