All videos corrupting - GPU failure?

volette1

New Member
Good day everyone,

I've been using OBS for a few years to record but exactly 2 and a half weeks ago I ran into an issue where all my videos started corrupting. Think green artifacts, morphing, etc. I've attached a sample of what it looks like.

Now, I've been trying to fix it with a lot of methods which I will mention here (I hope I don't forget anything). But, the important part is that there are a few things that seem to help which I will get out of the way first:
1. Removing the audio from the video file using ffpmeg in the windows terminal ("ffmpeg -i input.mp4 -an -c:v copy output.mp4) removes corruption.
2. Different media players react better to the corrupted video files. VLC, and Adobe's editing program Premiere Pro have the worst results, whereas windows media players have okay results. Skipping back and forth in the timeline visibly shows corruption, whereas playing it at normal speed isn't always noticeable.


Now, a list of things I tried to fix the issue.

[In OBS]
- Audio settings: Tried adjusting sample rate, tried all OBS different audio encoders, disabling mic and desktop audio, disabling all tracks, and unplugging all my audio devices from the computer.
- Video settings: Tried lower fps & resolution, 3 recording formats (hybrid mp4, regular mp4, mkv), 2 video encoders (I use AMD HW H.264 AVC by default, but same issue with x264), different max b-frames, presets, profiles, higher CQP level. To no avail
- Audio buffer: Around a month ago I enabled the replay buffer, which I believe was the last change I did in OBS. Disabled and enabled produce the same results with clips and recordings.
- Clean reinstall OBS: Uninstall OBS, and delete all the saved presets from %appdata%/OBS and %appdata%/obs-studio. Then, tried my luck using the auto configuration wizard and simple output mode
- Tried recording different sources: display capture, game capture, even color source net the same issue!

[Outside of OBS]
- Updates: VLC, OBS were already on the latest versions. I updated AMD drivers, and Windows 11 after this. No audio driver updates
- Switching audio sample rates for mic in windows settings
- Record to a separate drive
- Windows chkdsk, memory diagnostic (also memtest86): no errors. My disk has 700GB left of space.
- Monitor GPU temperature during recordings. No overheating according to my card's standards. (Note: I don't have any issues when gaming. These artifacts only occur when replaying with these videos)
- Windows game mode on/off
- Test recording with other programs: AMD's record tool is producing the same corrupted results. Bandicam (no shame!) records without artifacts but the video comes out laggy even at low preset.
- Tried replaying the corrupted video on another computer - same issue
- OBS analyzer no errors. Windows event viewer I see no errors pertaining to recording as far as I'm aware.

What's confusing to me is that, the audio plays fine. The video is the only corrupting part as far as I see. Disabling the audio tracks in vlc or OBS doesn't help the video (only copying into a separate file using ffmpeg does). I'm very uncertain on whether this is a hardware or software issue. I don't remember if it was a specific change that broke everything or not. For reference, I revamped my computer 10 months ago (only kept power supply and monitor).

So, I've attached both the log file and a short video recording of when the corruption happens. I recommend downloading it and playing it back and forth in a media player other than windows movies and tv/photos to really see it well. The settings are high, but, my computer handled it fine before, and as I said, lower settings didn't help. Google drive link to recording: https://drive.google.com/file/d/1BsSnIQU8TsAOljoAqlqEb-V2E-PfPltL/view?usp=sharing

Please help!
 

Attachments

  • 2024-10-31 01-00-01.txt
    10.5 KB · Views: 10

rockbottom

Active Member
Goofy refresh rate, HDR is enabled.
01:00:01.719: name=PX275h
01:00:01.719: pos={0, 0}
01:00:01.719: size={2560, 1440}
01:00:01.719: attached=true
01:00:01.719: refresh=95
01:00:01.719: bits_per_color=10

Not encoding AAC as stated above. Profile should be High. Hybrid recording in play
01:00:19.617: [texture-amf-h264: 'advanced_video_recording'] settings:
01:00:19.617: rate_control: CQP
01:00:19.617: bitrate: 2500
01:00:19.617: cqp: 20
01:00:19.617: keyint: 250
01:00:19.617: preset: balanced
01:00:19.617: profile: main
01:00:19.617: b-frames: 1
01:00:19.617: width: 2560
01:00:19.617: height: 1440
01:00:19.617: params: (none)
01:00:19.619: ---------------------------------
01:00:19.619: [FFmpeg pcm_s24le encoder: 'Track1'] bitrate: 0, channels: 2, channel_layout: stereo
01:00:19.619:
01:00:19.624: ==== Recording Start ===============================================
01:00:19.624: [mp4 output: 'adv_file_output'] Writing Hybrid MP4 file 'C:/Users/geome/Videos/vids/2024-10-31 01-00-19.mp4'...
01:00:31.010: [mp4 muxer: 'adv_file_output'] Flushing final fragment...
01:00:31.010: [mp4 muxer: 'adv_file_output'] Number of fragments: 252
01:00:31.010: [mp4 muxer: 'adv_file_output'] Full moov size: 16 KiB
01:00:31.010: [mp4 muxer: 'adv_file_output'] Final mdat size: 51656 KiB
01:00:31.010: Output 'adv_file_output': stopping
01:00:31.010: Output 'adv_file_output': Total frames output: 679
01:00:31.010: Output 'adv_file_output': Total drawn frames: 684
01:00:31.010: [mp4 output: 'adv_file_output'] Waiting for file writer to finish...
01:00:31.010: ==== Recording Stop ================================================
01:00:31.011: [mp4 output: 'adv_file_output'] MP4 file output complete. Finalization took 0 ms.
 

rockbottom

Active Member
Not sure what you are capturing, but Display Capture is the least performant. Try Game or Window Capture.
01:00:01.995: - scene 'Scene 2':
01:00:01.995: - source: 'Display Capture' (monitor_capture)
 

volette1

New Member
The AMD driver you are using was released 10/18/24. Not quite 2.5 weeks ago but....

Were you having issues prior to installing the update?

Yes, I updated my drivers only a few days ago. I didn't do anything about the issue for some time.

Goofy refresh rate, HDR is enabled.
01:00:01.719: name=PX275h
01:00:01.719: pos={0, 0}
01:00:01.719: size={2560, 1440}
01:00:01.719: attached=true
01:00:01.719: refresh=95
01:00:01.719: bits_per_color=10

Not encoding AAC as stated above. Profile should be High. Hybrid recording in play
01:00:19.617: [texture-amf-h264: 'advanced_video_recording'] settings:
1730353990711.png

My win settings say HDR is off. And 95hz is the max my monitor gives (even if it's a bit unconventional it's still significantly better than 60). Will revert profile back to high.
Not sure what you are capturing, but Display Capture is the least performant. Try Game or Window Capture.
01:00:01.995: - scene 'Scene 2':
01:00:01.995: - source: 'Display Capture' (monitor_capture)
Display capture is not optimal but it's not a game specific issue. Any program and even a color capture in obs are corrupted.
 

rockbottom

Active Member
Per the OBS log, HDR is enabled. Your monitor may have an auto HDR feature. HDR is most likely the cause of the corruption.

Run the monitor @ 60HZ for best performance & most importantly best encoding quality.

Turn Game Mode On, & use Game Capture.
 

volette1

New Member
Per the OBS log, HDR is enabled. Your monitor may have an auto HDR feature. HDR is most likely the cause of the corruption.

Run the monitor @ 60HZ for best performance & most importantly best encoding quality.

Turn Game Mode On, & use Game Capture.
May I ask which line specifically says that HDR is on? Is it this one: 01:00:01.719: bits_per_color=10?
 

volette1

New Member
Okay. you were right. Monitor specific settings had HDR on all this time. I'm trying 60hz refresh rate + game capture but the issue still persists.
 

rockbottom

Active Member
If OBS was open when you changed the HDR setting, your test was flawed. Always close OBS when making system changes.
 

rockbottom

Active Member
Sounds familiar...


GeneralOfThePoroArmy
8d ago

Adrenaline 24.9.1 and 24.10.1 messed up the H.264 encoder when using it in OBS to record games (Call of Duty). I'm experiencing artifacts, lags and long loading times when using the seek function in VLC to watch the recordings. H.265 has no issues.
I rolled back to 24.8.1
I'm running a RX 6700 XT on Windows 10 22H2.
 

volette1

New Member
If OBS was open when you changed the HDR setting, your test was flawed. Always close OBS when making system changes.
Here it is. Even restarted my PC just in case. From what I see, the bits per color is still at 10... Triple checked and HDR is off in both windows, monitor, and obs advanced color format is 8bit. Not sure about this.
Sounds familiar...


GeneralOfThePoroArmy
8d ago

Adrenaline 24.9.1 and 24.10.1 messed up the H.264 encoder when using it in OBS to record games (Call of Duty). I'm experiencing artifacts, lags and long loading times when using the seek function in VLC to watch the recordings. H.265 has no issues.
I rolled back to 24.8.1
I'm running a RX 6700 XT on Windows 10 22H2.
I just tried H265 and it does work fine. AMD drivers could be at fault. I will try reverting
 

Attachments

  • 2024-10-31 02-53-35.txt
    13.4 KB · Views: 6

volette1

New Member
Resolved!

Downgrading to AMD version 24.8.1 worked.

Here's the last log file just in case.
 

Attachments

  • 2024-10-31 03-34-47.txt
    11.7 KB · Views: 10

rockbottom

Active Member
Cool

Try unplugging the monitor from the outlet for 30 seconds or so next time you shut the PC down.

I still had the Pixio site up, here's the link. If unplugging it doesn't do anything, I would contact them about the monitor being stuck in HDR. Maybe it can be resolved with a firmware update. They only have the manual & specs available to download on-line.

 

rockbottom

Active Member
One other thing, I would 0 B Frames. They're the lowest quality frame type. Encodes should look clearer/sharper with them kicked to the curb.
 

rockbottom

Active Member
Right click on the Windows Start button > Device Manager > Monitors. Check too see if there are any monitors greyed out, like #'s 1 to 8. If so, delete them.

Currently connected:
03:34:47.822: alt_id=\\.\DISPLAY9
03:34:47.822: alt_id=\\.\DISPLAY10

1730363048381.png
 

volette1

New Member
Okay I had to change from 10bit to 8bit in AMD settings all along. However, when I go to pick the pixel format as seen in the img, there is no choice for 4:2:0. I guess YCbCr 4:4:4 will do fine? (Disconnected my 2nd monitor and now DISPLAY1)
1730399462793.png


Thanks for the help by the way. I was mislead for a while thinking it was audio issues.
Right click on the Windows Start button > Device Manager > Monitors. Check too see if there are any monitors greyed out, like #'s 1 to 8. If so, delete them.

Currently connected:
03:34:47.822: alt_id=\\.\DISPLAY9
03:34:47.822: alt_id=\\.\DISPLAY10

View attachment 108905
 

Attachments

  • 2024-10-31 14-19-43.txt
    13.1 KB · Views: 5

rockbottom

Active Member
Keep an eye out in the next few tests, Desktop Audio lagged on the most recent test but was A-OK in the earlier test.

14:21:22.984: Max audio buffering reached!
14:21:22.984: adding 960 milliseconds of audio buffering, total audio buffering is now 960 milliseconds (source: Desktop Audio)
14:21:22.984:
14:22:10.537: Source Desktop Audio audio is lagging (over by 31740.53 ms) at max audio buffering. Restarting source audio.
 
Top