Bug Report Screen garbled / stride issue

Lain

Forum Admin
Lain
Forum Moderator
Developer
Okay, this looks pretty much like the same thing that was happening before in 0.41. Problem is, I don't get it on my end. Could you try messing with the "Disable Direct3D Compatibility mode" option in the advanced section and tell me if it changes anything? It was only happening with that before. Also, could you do a code paste of your log file when this occurs?

Also, does this only happen with a capture card, or without as well? Just to make sure again.

Hmm. It looks like a potential width pitch issue on the output. Edit - yep, I'm not checking the pitch when doing Map on the stream output. This could be caused by that, but not entirely sure. The output looks indicative of such though. This may be a a slight pain to fix.
 

Muf

Forum Moderator
This is on my laptop, so unusually for me, no capture cards involved. I already disabled the DirectX compatibility mode since you mentioned in another thread that it was causing problems for discrete GPUs, and I'm using my laptop's nvidia 520M.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Well, having compatibility mode on was the fix to the problem, so I made it on by default in 0.411a. Does your card not work otherwise?
 

Muf

Forum Moderator
Jim said:
Well, having compatibility mode on was the fix to the problem, so I made it on by default in 0.411a. Does your card not work otherwise?
Oh, sorry. I must've misunderstood then. I just disabled it without giving it a second thought. I can enable it and test again?

Although, I looked at my log file, and I think this entry says it all:

Code:
  Base resolution: 1366x768
  Output resolution: 1364x768
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Well I meant your entire log. And no, that's actually by intention. It forces the width to a 128bit boundry so I can perform SSE operations on the output as fast as humanly possible.
 

Muf

Forum Moderator
Full log:

Code:
Open Broadcaster Software v0.411a - 64bit ( ^ω^)
-------------------------------
CPU Name: Intel(R) Core(TM) i5-2430M CPU @ 2.40GHz
CPU Speed: 2394MHz
Physical Memory:  8105MB Total, 3405MB Free
stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0
=====Stream Start=====================================================================
  Base resolution: 1366x768
  Output resolution: 1364x768
------------------------------------------
------------------------------------------
Adapter 1
  Video Adapter: NVIDIA GeForce GT 520M  
  Video Adapeter Dedicated Video Memory: 1026097152
  Video Adapeter Shared System Memory: 3221262336
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (High Definition Audio Device)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1364, height: 768
    quality: 5
    preset: veryfast
    i444: no
    max bitrate: 6000
    buffer size: 8000
------------------------------------------
Total frames rendered: 113, number of frames that lagged: 1 (0.88%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Base resolution: 1366x768
  Output resolution: 1364x768
------------------------------------------
------------------------------------------
Adapter 1
  Video Adapter: NVIDIA GeForce GT 520M  
  Video Adapeter Dedicated Video Memory: 1026097152
  Video Adapeter Shared System Memory: 3221262336
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (High Definition Audio Device)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1364, height: 768
    quality: 5
    preset: veryfast
    i444: no
    max bitrate: 6000
    buffer size: 8000
------------------------------------------
Total frames rendered: 3880, number of frames that lagged: 105 (2.71%) (it's okay for some frames to lag)
Number of b-frames dropped: 0, Number of p-frames dropped: 0
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Base resolution: 1360x768
  Output resolution: 1360x768
------------------------------------------
------------------------------------------
Adapter 1
  Video Adapter: NVIDIA GeForce GT 520M  
  Video Adapeter Dedicated Video Memory: 1026097152
  Video Adapeter Shared System Memory: 3221262336
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (High Definition Audio Device)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1360, height: 768
    quality: 5
    preset: veryfast
    i444: no
    max bitrate: 6000
    buffer size: 8000
------------------------------------------
Total frames rendered: 89, number of frames that lagged: 1 (1.12%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Base resolution: 1360x768
  Output resolution: 1360x768
------------------------------------------
------------------------------------------
Adapter 1
  Video Adapter: NVIDIA GeForce GT 520M  
  Video Adapeter Dedicated Video Memory: 1026097152
  Video Adapeter Shared System Memory: 3221262336
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (High Definition Audio Device)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1360, height: 768
    quality: 5
    preset: veryfast
    i444: no
    max bitrate: 6000
    buffer size: 8000
------------------------------------------
Total frames rendered: 713, number of frames that lagged: 67 (9.40%) (it's okay for some frames to lag)
Number of b-frames dropped: 0, Number of p-frames dropped: 0
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Base resolution: 1280x720
  Output resolution: 1280x720
------------------------------------------
------------------------------------------
Adapter 1
  Video Adapter: NVIDIA GeForce GT 520M  
  Video Adapeter Dedicated Video Memory: 1026097152
  Video Adapeter Shared System Memory: 3221262336
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (High Definition Audio Device)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1280, height: 720
    quality: 5
    preset: veryfast
    i444: no
    max bitrate: 6000
    buffer size: 8000
------------------------------------------
Total frames rendered: 455, number of frames that lagged: 3 (0.66%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Base resolution: 1280x720
  Output resolution: 1280x720
------------------------------------------
------------------------------------------
Adapter 1
  Video Adapter: NVIDIA GeForce GT 520M  
  Video Adapeter Dedicated Video Memory: 1026097152
  Video Adapeter Shared System Memory: 3221262336
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (High Definition Audio Device)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1280, height: 720
    quality: 5
    preset: veryfast
    i444: no
    max bitrate: 6000
    buffer size: 8000
------------------------------------------
Total frames rendered: 31080, number of frames that lagged: 16476 (53.01%) (it's okay for some frames to lag)
Number of b-frames dropped: 0, Number of p-frames dropped: 0
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 41.283 ms] [avg calls per frame: 1] [children: 93.3%] [unaccounted: 6.7%]
| scene->Preprocess - [19.6%] [avg time: 8.105 ms] [avg calls per frame: 1]
| video encoding and uploading - [73.7%] [avg time: 30.414 ms] [avg calls per frame: 1] [children: 17.4%] [unaccounted: 56.2%]
| | CopyResource - [0.114%] [avg time: 0.047 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [17.3%] [avg time: 7.149 ms] [avg calls per frame: 0]
==============================================================
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
This definitely has to be a pitch issue. It's pretty easy to tell easily from the output. I'll see what I can do about fixing the pitch issue - but for a temporary fix, you think you could see if the option in advanced settings changes anything? Does it not work with your GPU?
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Yea, but I'm still going to ask you to test a version to see if we can fix this pitch issue, if you have time. Try this version, turn that option back to the way it was where you were getting the garbled output, and see if it isn't fixed.

[fixed in 0.42a]
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
I am most happy. Strange how the pitch is affected by the compatibility mode.
 
Top