Question / Help Screen capture blocked by a black bar

Cyphred

New Member
My native resolution is 1280x720 with the capture and output resolutions also set to 1280x720, what could be causing this? Any help is much appreciated.
ESwLNcF.png
 
Looks like the same issue I'm having at 1080p, so I guess it's a 16:9 bug, rather than resolution. Posted a bug report on mantis the other day. When my monitor is back at 16:10 or 1920x1200, this issue doesn't happen.

Not really much of a log file because it is happening in the OBS preview before even recording. The black bar is there in the recording too. I've tested with a fresh config, 32 & 64 bit, and several builds going back to 0.11.1.

I think it has something to do either with an update to Windows 10 (not anniversary though as I don't have that), or with the Nvidia drivers. I checked some footage I had from this past February/March and this wasn't happening then... but now even going back to the OBS build I was running then the black bar is there.

Edit: I should also note that this only happens when using monitor/desktop capture. Game capture is fine.
 
Last edited:
Like I said, no log because it's just happening in OBS, right in the preview window, you don't have to actually record anything for it to happen (but when you do record it's on screen). I'm attaching my latest log file but I don't think you'll find much helpful there since there's no recording. The issue is happening whether or not any recording is done.

There's also this thread that I posted screenshots and even show that the mouse cursor still shows up in that black bar area, so it's not cropping it out that section... it's like it's just a layer over the background/programs but under the mouse cursor or something.

And the Mantis bug report here.
 

Attachments

  • 2016-09-17 22-33-31.txt
    4.4 KB · Views: 23
I have nothing on the screen, I even went back to a brand new configuration (I use OBS in portable mode so I just moved the config folder out and let it create a brand new one) and added nothing but "Display Capture" to the sources, no overlays, no images, no text, no effects, no anything else.

And it wouldn't make much sense why it's happening to several others as well, why they would all have the same dark title bar or whatever, and in the exact same spot and taking up the exact same amount of space (relative to screen resolution) as me... and why it's not there when the monitor is set to 16:10.

However, it is certainly possible that OBS has a bug that is inserting some kind of overlay/title bar on it's own. Why only in 16:9 I have no idea, and why only on display capture, too. That's what the screenshots are for, to try and help the devs figure out what is going on and how to fix it.
 

Suslik V

Active Member
I mean that you post screens where something is running full screen, always. Original post has image where I see desktop only on that monitor.
 
Ah, yeah I'm just using that to make it more clear what's going on visually. But yeah, it happens everywhere, whatever the bar is, it's in OBS so it doesn't matter if it's an empty desktop or any programs open and running, it's always there.

And like I said before, it only happens with Desktop Capture and it's only when the monitor is in 16:9 (in my case 1920x1080, in OPs case 1280x720). When I set my monitor back to 16:10 (1920x1200) there's no black bar across the top (as demonstrated in this photo, the bars on the sides are the normal aspect ratio difference from OBS's preview being 16:9 capturing my desktop at 16:10.)
 

RytoEX

Forum Admin
Forum Moderator
Developer
@8BitCerberus
What are the native resolutions of your monitors? You keep saying that you sometimes set your monitor back to 16:10 (1920x1200). Is 1920x1200 its native resolution?

I saw two things in your log file of interest. The first was that your monitors are attached to different graphics hardware. Have you tried having them both on the same graphics card?

Code:
22:33:33.191: warning: deprecated pixel format used, make sure you did set range correctly
22:33:33.191: warning: Warning: data is not aligned! This can lead to a speedloss
This was the second item of interest. I'm afraid I don't know the cause of these warnings.

That said, we still haven't heard back from @Cyphred, so even though your issues look similar, and could be the same, we don't have all the information we could have.


My native resolution is 1280x720 with the capture and output resolutions also set to 1280x720, what could be causing this? Any help is much appreciated.
Your native monitor resolution is 1280x720?
 
Yeah the native resolution is 1920x1200. I reduce it to 1920x1080 when recording/streaming so that the aspect ratio is correct in OBS. And I do have my main monitor attached to my GPU, with the 2nd monitor attached to my iGPU. Eventually I'm going to have to change that up so that both are on the primary GPU. I wouldn't normally bother with it but Linux doesn't like them being attached to separate devices and I've been working towards switching to Linux as my daily OS for a long time (still dual booting for gaming when needed, of course).

The monitors have been like this, however, years before this black bar problem began. Again, looking at footage I recorded back in February/March there's no black bar and I was using nothing but Desktop Capture with borderless full screen on games. Now I have to use Game Capture and exclusive full screen on games, because the Desktop Capture has this black bar. Under Windows 7 OBS had no problem letting me choose a monitor to capture, but under Windows 10 OBS only seems to recognize the primary monitor, even though nothing changed from Windows 7 to Windows 10 as far as how the monitors were connected.

Those warnings appear to be related to FFMpeg but I haven't been able to find any solid reason behind them to try and find out what exactly it's saying. However the "deprecated pixel format" did lead me to one potential issue, I was using nvenc media foundation, but I have now changed over to proper nvenc and that seems to have removed those warnings (latest log is attached). Didn't do anything for the black bar, of course.

My next step is going back to Windows 7, I think, because I've only really stuck with 10 because of nvenc needing media foundation, but now that's no longer required I should be able to use it again in 7. That's my hope, at least, I haven't seen yet whether nvenc works on Windows 7 for sure. But also to see if this black bar happens there, or if it is as I suspect, some update to Windows 10 or Nvidia's drivers since February/March that brought this on.
 

Attachments

  • 2016-09-19 12-57-30.txt
    3.9 KB · Views: 12
As suspected, this is not happening on Windows 7. Looks like it's some update to Windows 10 (pre-anniversary since I never installed that one) because the same portable install of OBS, with the latest Nvidia drivers, on a patched up Windows 7 sees the full 1080p in the OBS preview window:

Windows 7 1080p is working fine
 
Top