New Mini PC with AMD components, and OBS over the NDI is staggering in the background windows only

MrGhost

Member
As long as I bring it to the front, it plays and looks good. But as soon as I put another window on top the thing won't go. Any ideas? I have a log analysis screenshot from the browser screenshot function in Firefox included

here are some points about my new machine and currently running OBS with the staggering audo dropouts (only when in the background window and not a problem when on top window) as found in the log:

CPU Name: AMD Ryzen 9 5900HX with Radeon Graphics
17:38:52.118: CPU Speed: 3294MHz
17:38:52.118: Physical Cores: 8, Logical Cores: 16
17:38:52.118: Physical Memory: 32178MB Total, 25824MB Free
17:38:52.118: Windows Version: 10.0 Build 22631 (release: 23H2; revision: 4169; 64-bit)
17:38:52.118: Running as administrator: true
17:38:52.119: Windows 10/11 Gaming Features:
17:38:52.119: Game DVR: On
17:38:52.119: Game Mode: Probably On (no reg key set)
17:38:52.123: Sec. Software Status:
17:38:52.126: Microsoft Defender Antivirus: enabled (AV)
17:38:52.126: Windows Firewall: enabled (FW)
17:38:52.127: Current Date/Time: 2024-10-07, 17:38:52
17:38:52.127: Browser Hardware Acceleration: true
17:38:52.127: Hide OBS windows from screen capture: false
17:38:52.127: Qt Version: 6.6.3 (runtime), 6.6.3 (compiled)
17:38:52.127: Portable mode: false
17:38:52.341: OBS 30.2.3 (64-bit, windows)
17:38:52.341: ---------------------------------
17:38:52.342: ---------------------------------
17:38:52.342: audio settings reset:
17:38:52.342: samples per sec: 48000
17:38:52.342: speakers: 2
17:38:52.342: max buffering: 960 milliseconds
17:38:52.342: buffering type: dynamically increasing
17:38:52.365: ---------------------------------
17:38:52.365: Initializing D3D11...
17:38:52.365: Available Video Adapters:
17:38:52.372: Adapter 0: AMD Radeon(TM) Graphics
17:38:52.372: Dedicated VRAM: 519847936 (0.5 GiB)
17:38:52.372: Shared VRAM: 16870883328 (15.7 GiB)
17:38:52.372: PCI ID: 1002:1638
17:38:52.372: HAGS Status: Disabled (Default: No, Driver status: Unsupported)
17:38:52.373: Driver Version: 31.0.12029.10015
17:38:52.373: output 0:
17:38:52.373: name=VG249Q3A
17:38:52.373: pos={0, 0}
17:38:52.373: size={1920, 1080}
17:38:52.373: attached=true
17:38:52.373: refresh=59
17:38:52.373: bits_per_color=8
17:38:52.373: space=RGB_FULL_G22_NONE_P709
17:38:52.373: primaries=[r=(0.648438, 0.329102), g=(0.309570, 0.628906), b=(0.153320, 0.045898), wp=(0.313477, 0.329102)]
17:38:52.373: relative_gamut_area=[709=1.090614, P3=0.803969, 2020=0.576794]
17:38:52.373: sdr_white_nits=80
17:38:52.373: nit_range=[min=0.500000, max=270.000000, max_full_frame=270.000000]
17:38:52.373: dpi=96 (100%)
17:38:52.373: id=\\?\DISPLAY#AUS2489#5&22eca053&0&UID256#{e6f07b5f-ee97-4a90-b076-33f57bf4eaa7}
17:38:52.373: alt_id=\\.\DISPLAY1
17:38:52.373: Loading up D3D11 on adapter AMD Radeon(TM) Graphics (0)
17:38:52.436: D3D11 loaded successfully, feature level used: b000
17:38:52.436: DXGI increase maximum frame latency success
17:38:52.436: D3D11 GPU priority setup success
17:38:52.764: ---------------------------------
17:38:52.764: video settings reset:
17:38:52.764: base resolution: 1920x1080
17:38:52.764: output resolution: 1280x720
17:38:52.764: downscale filter: Bicubic
17:38:52.764: fps: 30/1
17:38:52.764: format: NV12
17:38:52.764: YUV mode: Rec. 709/Partial
17:38:52.764: NV12 texture support enabled
17:38:52.764: P010 texture support not available
17:38:52.765: Audio monitoring device:
17:38:52.765: name: Speakers (High Definition Audio Device)

I am just setting up this computer over the last week or 2, and have installed the AMD driver downloaded from the Mini PC maker (slimbook). I haven't had the smoothest things going with this computer so far. It is not like a laptop where everything is just built in and works. The external monitor doesn't even work with Windows dimming function slider that you would typically find in the bottom right with the notification panel.

Other things are wormy. When I went in and just disabled all game bar things, the settings black was flicking on and off a brownish color. Most things work but at times there is a pause of 5 to 10 seconds if I open VLC from the taskbar or by clicking on a video file. Other little things like that are found here and there. Don't know what to think of this background window issue of OBS though, I have never seen anything like this in my NVIDIA computers. Even my other AMD computer never does this (which is a laptop though).

It is a Network source currently running at Gigabit speeds (100MB / s for file transfer of a movie I just tested it). So it's not a network issue. It is coming thru the NDI plugin in OBS, latest version with the new name of DistroAV. I set some power settings in the AMD driver to keep the computer running smoothly, and I found that it ran a whole lot better than the old NVIDIA 960 I kept in this room before for Monopoly. That old 960 which did an affable job of OBS streaming if the settings were run correctly, and never dreamed to stagger in the background window, would just not play with Ubisoft Monopoly's live board. It just would freeze and stagger under that pressure. The AMD machine here handles it in stride, and actually looks really snappy and doesn't even blow the fans after I changed the AMD display settings to power saving and lowered the frame rate max to 60 and min to 30.

I don't know what the screenshot means by the Audio thing it says. It's not something I have encountered in my Audio years working with music. So any ideas would be good.
 

Attachments

  • Screenshot 2024-10-07 at 17-32-24 Analyzer OBS.png
    Screenshot 2024-10-07 at 17-32-24 Analyzer OBS.png
    325.3 KB · Views: 24

MrGhost

Member
Just another person with this problem eh? Must be something going on there's no end in sight to OBS Max Audio Buffer problems in web search.
 

rockbottom

Active Member
Creating your own problems. NDI should never be used with Wi-Fi & neither should OBS.

I double checked the NDI requirements an AMD iGPU doesn't get a recommendation so you may always have issues.

Those mini PC's are known to throttle when pushed hard, are you monitoring temps?
 

rockbottom

Active Member

MrGhost

Member
The NDI is going thru Ethernet. I haven't got the computer quite set up yet. This AMD may be old. There may be something new. I should check it out but there's a lot of other things as well that need setting up on the computer. I never could quite figure out how to install the ASUS inf file driver file for the Monitor I am using. And there are so many settings in the AMD video driver for the device already. I'm swimming in it. There's just too many settings. Of course Windows also full of settings and OBS. The NDI though I can clearly confirm that it is going thru the 10/100/1000 ethernet and that is working as good as usual (100MB speed file transfer).

No I think this is something different. I already shut off all the NDI's extra Webcam inputs for audio, and disabled any sort of audio enhancements where possible.

It claims to be audio. I looked at the NDI settings for audio in the Studio Monitor and they seem pretty average. There's something going wrong there someplace. As I said in that other thread discussing the Ethernet use by Studio Monitor from NDI it is showing that in the last 5 days (since I installed NDI 6 Tools the first time on this new Used Mini PC) it used 65GB over my ethernet. So I checked that Studio Monitor and it is giving the same problems I have in OBS: breaks in audio at least once a minute, usually several breaks or staggerings in a row, with accompanying video freezes, usually starting when the OBS main screen is moved below another window.

Now I already am running a few of these on top type things. Windows Power Tools, Monitorium (dimmer) and Rainmeter, and Stardock Fences. I turned off Rainmeter and it didn't stop the problem. I set the brightness full and contrast in monitorium and it didn't change anything. Trying again tomorrow but for now I gotta quit for now.
 
Last edited:

MrGhost

Member
Seems to get fixed when in the (new or any) Radeon Adrenaline I seek out the Global Graphics settings, choose the higher frame rate (I had set it down to 60 the first thing when I started using it to make Monopoly work without the fans running) of 121 (couldn't pin it at 120 the slider was too coarse.

SO after doing this in the Radeon Adrenaline software app I have not had any issues with the buffering at all. Guess it helped. So far, it has been just the amount of time it took me to log in and type this, but that's a good deal longer than I had gotten OBS to not falter so far while streaming this Source from the other computer. I did just hear the audio sort of skip in the Monopoly music. Not ideal but better than a big drop out.

It is kind of hard to find that slider for the screen refresh rate in the AMD app. In the Gaming tab, under graphics, you choose custom, then you have to look at all the advanced settings. It only shows up when you toggle on Radeon Chill. That will bring up a max and min slider which were by default (the other day) set around the top of the sliders (when the fans were running hard). I had set them at 60 and 30 (max and min respectively) but today is the first time at 121. I wonder if this issue of the skipping (it's happened twice while I typed this) is due to my only being able to get it to 121. Probably would be better at 120. But you can't type it in, and there's not much luck getting the slider to work. I will try fullscreening it....ok I was able to get it to 120.

Perhaps if I wait a little longer it will NOT skip this time. That skip was annoying but so much better than what was going on with the staggering and faltering before.

I doubt that this was anything to do with the driver update, but there were those other issues, and ...oh no it did skip again just now.

Oh well. Those skips would be really bothering me if it was me doing a music livestream which is my basico Reason to do anything like it. Maybe I should set it up to 140 and try it and see , because now it skipped 2 times and it's been less overall time since I switched to 120. Ok trying 140 now. Looking for that point with no skipps. I know 140 is a commonly advertized start point for a lot of monitors.

Looking at the live stream I did yesterday (test of Monopoly) I found that the video wouldn't play at all...and no we have more skipping in the audio. Perhaps it's my minimum I have set of 30 which is the problem.

Any suggestions where to place these sliders or what?

I have changed so many settings and I mean windows power and graphics and privacy and apps settings since yesterday. But for sure this has made the most difference just setting that frame rate to 120 (now 140 but 121 was about the best).
 

MrGhost

Member
Actually worked eariier with only the skipping the whole time I typed that. Now it is just back to stuttering and faltering.
 

MrGhost

Member
after trying (not that anyone is here looking at this or gives 2 sh@rts) but after trying the update to the Windows 24h2 version using the windows update assistant (and not the insider program) I am finding it to work ok currently though not at first, after I changed my source by deleting it, and then recreating it, and deleted audio tracks 2-6 in the AdvAudProps. But the skipping just happened, and now the dropouts. This is the worst, but I think it is only from the network and that Monopoly game and not the OBS. Don't know maybe there's something wrong in my Ethernet someplace. Maybe an ethernet cable is rocking in and out of an ethernet port. Wouldn't be the first time.
 

MrGhost

Member
Yeah I'm pretty sure it might be an ethernet cable cause I am having no problems after pushing those in. But only time will tell. Also another computer on the network I was able to watch an entire tv show on the studio monitor from it (NDI) so it obviously wasn't having this issue at the same computer that other issue was present on. I am leaning towards thinking it's one of my shoddy broken ethernet cables jiggling in and out that's causing this problem. They are just going in then out. Or not quite contacting for full network capability.
 

MrGhost

Member
This is such a common issue and there is such a plethora of ideas about how to solve it.

I did use the 24H2 Windows update which was recommended on a nearby thread. I used that (insider build) for about 2 weeks since I was here before with these comments. Now I am back on the previous windows 23H2 because that insider track of the Windows was just disabling programs and would barely even start in the final hours of its use here, after at least 1 maybe 2 of the forced insider track updates.

But the thing is the video was streaming properly using the 24H2 for the 2 weeks. I had pretty much forgotten about the issue. Bad luck because the necessary act of going to the old version reminded me of what a huge problem this is. So I am using 2 different Windows versions neither of which is acceptable. I don't think it's OBS or hardware, It is a network thing as far as I can tell, the network connection is the bad point for me. It even happens in other things other than OBS. OBS sees it as Audio Max Buffering, but it only happens across network connections and didn't happen during the 24H2 weeks.

Looks like I'm just going to be stuck here until something changes. I have several different versions I could go with, the 24H2 before the updates might be acceptable, but how long would that work for? I just can't win. I am tired of trying to do this, and the whole thing is beside the point anyways. I will have to wait until the issue just works itself out.
 
Top