Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Desktop computer makes weird sounds

Discussion in 'Editor & General Support' started by Vivec73, Dec 4, 2020.

  1. Vivec73

    Vivec73

    Joined:
    Oct 29, 2016
    Posts:
    3
    I know it sounds strange, but you have to take my word for it. I am not schizophrenic, I am not affected by auditory illusions ;-) I tested with other version of Unity. This weird thing only happens with 2020.1.16f1 and no other. I say this again because I'm sure it will even seem impossible to some people, but I promise you it will be. When I run play mode in the editor without 'maximize on play' there is a slight high pitched sound starting in the power supply of my desktop computer. If I do it with 'maximize on play' this sound is not made. In all other cases nothing happens. I know it sounds crazy but I swear it does happen. Someone has any idea what's going on. Please don't joke on me or anything like that. It is very serious. I specify that I have a 750W beQuiet power supply. No Troll is serious ...
     
    KakouGame likes this.
  2. PraetorBlue

    PraetorBlue

    Joined:
    Dec 13, 2012
    Posts:
    7,722
    It's called "coil whine". It's a sound made by components providing power to your GPU. It happens when you are running applications at a very high framerate. It makes sense that it would happen when the game is not maximized because the game is probably running at a higher framerate when the resolution is lower.

    https://www.evga.com/support/faq/FAQdetails.aspx?faqid=59535
     
    Joe-Censored likes this.
  3. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    Coil whine basically is always happening. What is different with high framerates is the audio frequency of the coil whine increases with the framerate, and you start actually hearing it when that frequency enters the range of frequencies human ears start getting good at hearing.

    This topic has been coming up a lot lately now that very high refresh displays are a thing. I'm frankly surprised that hardware manufacturers haven't started producing low coil whine focused products, or listing max coil whine specs in decibels. Right now it is basically luck of the draw whether your computer will produce more or less at high frame rates. Maybe this is an opportunity for hardware manufacturers to cash in on.
     
    PraetorBlue likes this.
  4. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    As far as what you can do, if you are using a 60hz display with vsync, or set Application.targetFrameRate to the same value, you're unlikely to hear it. If you run a high refresh display or keep your frame rate entirely uncapped, you're more likely to hear it. If/when you start to hear it depends on how good your ears are too. Not everyone can hear the same frequency range.
     
  5. Vivec73

    Vivec73

    Joined:
    Oct 29, 2016
    Posts:
    3
    Well, thank you for responding. I didn't know about this "electric effect" and I didn't want my hardware to risk anything either. It is very nice to have explained this phenomenon in an understandable way for me (it is not my field of knowledge). Thank you also for not having said anything about my English because it is not my usual language.
     
  6. DhiaSendi

    DhiaSendi

    Joined:
    May 16, 2018
    Posts:
    42