Updated PC and now OBS makes the system stutter

Landi

New Member
We've been streaming for a couple of years, moved over to OBS about a year ago and love it. Just updated the main PC and have isolated an issue to only occur when OBS is running. The system micro freezes randomly, about every minute, the sound stops, the mouse becomes non-responsive, programs stop moving. Only for about a second but it makes game-play very painful. The system runs beautifully apart from that.

The suggested solution is to migrate back to Streamlabs OBS but we really don't want to. The other thing we thought of trying is to roll back OBS to a previous version and see if that helps. But we're not programmers and the previous version download file doesn't seem to have a plug and play installer. Is there a simple way to roll back the version?

System specs:

*CPU: AMD Ryzen 9 5900X 12 Core 24 Thread Up To 4.8Ghz
*GPU: GeForce RTX 3060 Ti 8GB GDDR6
*RAM: Corsair 32GB (2x16GB) DDR4 Vengeance Pro RGB C16 3200Mhz
*MB: ASUS ROG Strix B550-XE
*Cooling: Gigabyte Aorus WaterForce 240mm AIO CPU Liquid Cooler
*SSD: Gigabyte AORUS 1TB Gen 4
HDD: Many
*Case: Thermaltake View 71 Tempered Glass Edition Full Tower
Keyboard: Corsair K57 RGB Wireless
Mouse: Logitech HERO G502
Webcam: Logitech C922 PRO
Mic: Audio-Technica AT2020USB

(the items with * have changed, the rest is what we were using before)

Thanks in advance for any help.

Log file:
  1. https://obsproject.com/logs/X2JbewlysIegLWEb
 

Landi

New Member
Since I'm clearly an idiot, could you explain how to install the software without an installer? I downloaded the zip file but can't find a file that runs the installation. Thanks.
Screenshot 2021-10-31 160555.jpg
 

koala

Active Member
The system micro freezes randomly, about every minute, the sound stops, the mouse becomes non-responsive, programs stop moving. Only for about a second but it makes game-play very painful.
If even the mouse freezes for a second, there is a basic issue with the operating system handling the hardware, not with OBS. OBS might provoke this issue, but it is not the cause.

Since you built a new PC that develops this issue, there is some hardware issue you need to diagnose. Might be overheating or a defective component.
Look into the Windows event viewer, the system event log. Hardware issues often manifest themselves in some error entry in there that may help identify the component.
 

Landi

New Member
@koala - thank you, I'll have a look at the Windows event viewer and see whether I can interpret it. I'm not on the main system so the way I'm describing the error may be inaccurate, in regard to the mouse freezing. It absolutely makes sense that it's something to do with the new system setup.

However, it also has to be some interaction with OBS, since we played for hours yesterday with no issue until starting up OBS. We play in separate rooms in the same house so Discord, webcam, mic etc are all running when not streaming, only OBS and Touch Portal are added when the stream starts. We tested with Touch Portal off and the stutters still happen. Honestly, we really don't want it to be OBS, we have a lot of scenes set up and have our other PCs playing on stream via NDI, so it would be great if it was just a setting to fix.

@Tomasz Góral - right, thank you. I had only looked at 27.1.2 and just went back and saw that 27.1.1 has installers. We'll try that as well.
 

Landi

New Member
So, I had a go at looking at the log file linked in my first post. A large majority of the file is made up of this error message repeating:

15:18:00.631: warning: Alpha blending palette samples
15:18:00.631: warning: is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
15:18:00.632: warning: If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)


I don't actually know what that means. Is FFmpeg a separate program?

I also compared my file with someone else who posted with the same issue, playing the same game. Different system specs. We have a few errors in common:

15:17:54.761: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
15:17:54.773: Failed to load 'en-US' text for module: 'decklink-captions.dll'
15:17:54.789: Failed to load 'en-US' text for module: 'decklink-ouput-ui.dll'
15:17:55.076: [AMF] Unable to load 'amfrt64.dll', error code 126.
15:17:55.077: [AMF] AMF Test failed due to one or more errors.
15:17:55.077: Failed to initialize module 'enc-amf.dll'

15:17:59.205: DShow: HDevice::ConnectPins: failed to connect pins (0x80040207): The owner SID on a per-user subscription doesn't exist


I figure the decklink stuff might be because we don't have a stream deck connected (just using Touch Portal on an iPad). Not sure about the rest, whether we should have installed those files independently or if they are part of the OBS installation.

The plan from here is to roll back to 27.1.1 and see if that works. It would be really great to fix the "Alpha blending palette" error, if only to make the log file neater. If anyone could help, that would be appreciated.
 

koala

Active Member
Ffmpeg is a programming library as well as a standalone commandline program. It's a video processing library and program that can decode, encode, convert, resize and transform video. OBS uses the ffmpeg library for encoding. To give an estimate how "big" ffmpeg is: OBS contains probably 15-30 man years of development. Ffmpeg contains probably 150-200 man years of development, perhaps more.

However, the ffmpeg error message in your is something I've never seen in a obs logfile before. It doesn't point to some system error, it is more an information about a feature that was requested from the ffmpeg library, but was not compiled in. An internal programming error, a bug. Since it is quite unusual for OBS, it may be connected with some plugin you have installed.
 

Tomasz Góral

Active Member
CoreAudio - additional driver from Apple to encode AAC, in default system use AAC encoder from ffmpeg.
decklink - video card from BlackMagicDesign, if you don't have device you got error
AMF - video card from AMD

Error with Alpha channel, ffmpeg working with many many compression, filter, etc. probably you file has something who not working correclty with ffmpeg, i suggest save new file.
 

Landi

New Member
We've isolated the microfreeze issue to the camera - after removing the camera from all the scenes it stopped happening. Tried a different camera and streamed all night no issues.

(the ffmpeg error seems to be caused by using animated pngs, btw, removing them stopped the error)

Thanks for your help.
 
Top