1

When I play Call of Duty, I like to play music in the background on the PC. I've been doing this for several years and had no issues, but for the past month now VLC (at some point), lags really bad or even stops playing the music until I quit the game. I've increased the file and network cache size in VLC preferences to 3500ms and the problem persists. I've also tried reinstalling VLC.

No system changes were made on my PC, I'm running 4GB of RAM which copes just fine with both CoD and VLC running concurrently (about 1.9GB gets used), no new applications have been installed on my PC and malware scans with McAfee, Malwarebytes and AVG have not picked up any malware that could be causing interference. All music is stored locally on my PC and not streamed.

What could be the cause for this and what can I do to fix it?

1
  • See if there is a newer driver for your sound card.
    – Moab
    Commented Feb 19, 2019 at 14:07

2 Answers 2

0

Your PC is getting old to, you know.. I'm 90% sure is a problem with PC, not VLC. Check you computer processes to see what uses memory and processor.

5
  • 1
    CPU and RAM were running fine. It was one of the first things I checked and CPU was running at around 30-something % and and less than 2GB of RAM total was used. It was mainly Steam using most of the RAM.
    – No_One
    Commented Feb 19, 2019 at 13:22
  • And have you tried to re-install VLC? Commented Feb 19, 2019 at 13:25
  • Yea, I have tried that as well
    – No_One
    Commented Feb 19, 2019 at 13:27
  • Maybe it's a problems with updates. Reading another forums I see that such a problem is common enough. Maybe you can try MPC player? Commented Feb 19, 2019 at 13:28
  • I have a 3900X and a 2070SUPER with 32GB of RAM and the problem occurs for me as well. YouTube works fine, VLC is hanging.
    – Marv
    Commented Apr 14, 2021 at 15:43
0

This could be caused by both application using the same API for acceleration and the resource is being consumed by the game, or intermittently running of CPU compute due to the game.

There are a few things to try, each with their own drawbacks.

  1. Manually assign VLC's audio output module. Use an output setting other than DirectX audio output, file audio output, dummy audio output, or disable. These may invoke some other resource or playback compatibility issue - it depends on your system configuration and capability.
    • Tools > Preferences > Audio > Output Module
  2. Eliminate VLC's post processing, which may reduce audio quality:
    • Tools > Preferences > Show settings: All (Bottom Left)
    • Audio resampler: Disabled
    • Filters: Ensure all are disabled/unchecked
  3. Manually change the CPU affinity to ensure VLC is operating on a CPU core unused or lightly used by COD. This may degrade performance of both apps if they need more CPU cores than what is allowed by the affinity restrictions.
    • Ctrl + Alt + Delete > Task Manager > (Expand More details) > Details > Right-click on vlc.exe > Set Affinity > Uncheck , select the two last processors. This restriction may reduce VLC's performance.
    • Optionally, you may also use the steps above on COD and check all but the last two processors. This restriction may impact COD's performance.
  4. Increase the prcoessing priority of VLC to one setting higher than COD in the same task manager settings as the affinity. This is more of a last resort as its most likley to decrease performance. It is unecessary and counter-productive to combine this option with manual affinity assignment.
2
  • None of this helps, in the least. I want to play VLC videos while gaming in Windows & endure similar hell. I don't think I have any more of an informed point than this answer, but to be honest: I don't think VLC and it's priority and configuration the problem. I think Windows is going off the rails & is terrible & I don't think anyone has any advice to tame this terrible operating-system. I don't have any problems doing simultaneous gaming and videos on Linux. Something is wrong with Windows. Users are powerless. Commented Jun 13, 2022 at 2:19
  • I play multiple 4K videos while running games all the time without issue on Windows with MPC, so it seems to be more likely to be a VLC problem than an OS issue.
    – Amorphous
    Commented Mar 7, 2023 at 1:07

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .