hirschmann / nbfc

NoteBook FanControl
Other
2.87k stars 485 forks source link

Notebook Fan control causes high dpc latency windows 10 and lag on games #260

Closed ghost closed 7 years ago

ghost commented 7 years ago

Hello friend! Acer F5-573g-59aj windows 10 x64 creators!

Your software works amazingly to controll fan with my notebook model, i do use 471g profile and works great!

The problem is: When i do turn it on it causes hugh fps drops on my games and on latencymon i can see that the acpi driver latency goes to the moon when its turned on!

Can u please fix it and save me? haha your software is the only one that works with my notebook model i think and i would love to be able to use it without having these issues.

Its not my laptop problem or any other thing, i tried many many methods, formated, im also TI tech and wasnt able to fix it ...

If you do need more information please let me know!

ghost commented 7 years ago

Infos of the system!

f5-573g-59aj dxdiag.txt HWMonitorf5-573-59aj.txt

hirschmann commented 7 years ago

You could try to increase the poll interval in your config or disable NBFC during gaming. I guess the config you've selected is not 100% compatible to your notebook and writes to registers which trigger ACPI-events. That could be the reason why you see an increased ACPI-driver latency.

I doubt I can help much with this problem. On my system, latencymon show no problem at all, even if I set the poll interval as low as 100ms.

ghost commented 7 years ago

Can you please so write a config that is full compatible with my laptop model?

I have no reason to use it while not in game...the main reason i use it is to low temperature while playing only.

hirschmann commented 7 years ago

Sorry, but no. I have neither access to an Acer F5-573g-59aj, nor any knowledge about it.

ghost commented 7 years ago

no problem, can u please tell me how do i make one and test it? i will test it myself just need to understand how to do it hehehhe and insert the proper values =DD

hirschmann commented 7 years ago

I can't explain it in a few sentences, but currently I'm working on a tutorial about how to create a NBFC config. I will publish it in the NBFC Wiki when it's done.

In the meantime you can read the (outdated) NBFC user manual: https://1drv.ms/b/s!AjbOVawzvTRshCHgDRKhhzanSsRS

ghost commented 7 years ago

No problem my friend, i just am note able to find wich values change because lots of em change and i cant identify the one i need =( any tips?

hirschmann commented 7 years ago

have a look at the brand new tutorial: https://github.com/hirschmann/nbfc/wiki/How-to-create-a-NBFC-config

ghost commented 7 years ago

Thank you so much! The dsdt method looks great im trying it right now =DD

ghost commented 7 years ago

In my case what i found is this:

  OperationRegion (VERM, EmbeddedControl, Zero, 0xFF)
            Field (VERM, ByteAcc, NoLock, Preserve)
            {
                LNPS,   8
            }
            OperationRegion (ERAM, SystemMemory, 0xFE708500, 0x0100)
            Field (ERAM, ByteAcc, NoLock, Preserve)
            {
                ECTM,   8, 
                Offset (0x04), 
                CMCM,   8, 
                CMD1,   8, 
                CMD2,   8, 
                CMD3,   8, 
                Offset (0x18), 
                SMPR,   8, 
                SMST,   8, 
                SMAD,   8, 
                SMCM,   8, 
                SMD0,   256, 
                BCNT,   8, 
                SMAA,   8, 
                BATD,   16, 
                ACDF,   1, 
                Offset (0x41), 
                    ,   1, 
                APBF,   1, 
                    ,   3, 
                FLS4,   1, 
                Offset (0x42), 
                FLS3,   1, 
                    ,   1, 
                S0EF,   1, 
                    ,   4, 
                PECE,   1, 
                    ,   1, 
                LMAT,   1, 
                Offset (0x45), 
                ECPF,   8, 
                Offset (0x48), 
                KBBL,   1, 
                    ,   1, 
                RFST,   1, 
                Offset (0x49), 
                ERCT,   8, 
                Offset (0x4B), 
                TBLV,   8, 
                ARCD,   1, 
                    ,   3, 
                DOCK,   1, 
                LANC,   1, 
                LIDT,   1, 
                CRTS,   1, 
                Offset (0x4E), 
                TJMX,   3, 
                    ,   1, 
                VGAF,   1, 
                EDTS,   1, 
                Offset (0x53), 
                DOFF,   8, 
                Offset (0x58), 
                CTMP,   8, 
                RG59,   8, 
                Offset (0x60), 
                WLAN,   1, 
                BLTH,   1, 
                ST3G,   1, 
                CPLE,   1, 
                    ,   1, 
                ED3G,   1, 
                WLST,   1, 
                BLTS,   1, 
                    ,   1, 
                DPBL,   1, 
                    ,   4, 
                NIWM,   1, 
                TOHP,   1, 
                Offset (0x63), 
                WLPH,   1, 
                BBST,   1, 
                ODST,   1, 
                GPSW,   1, 
                Offset (0x64), 
                Offset (0x70), 
                BTMD,   8, 
                MBTS,   1, 
                MBTF,   1, 
                    ,   1, 
                MFCF,   1, 
                    ,   2, 
                MBDX,   1, 
                MBAD,   1, 
                MBTC,   1, 
                    ,   4, 
                MBPC,   1, 
                Offset (0x77), 
                BA1C,   8, 
                MCYC,   16, 
                MTMP,   16, 
                MDAT,   16, 
                MCUR,   16, 
                MBRM,   16, 
                MBVG,   16, 
                BHVC,   16, 
                BLVC,   16, 
                LFCC,   16, 
                BTSN,   16, 
                BTDC,   16, 
                BTDV,   16, 
                BTMN,   8, 
                Offset (0xBB), 
                TARU,   8, 
                TARN,   8, 
                TARD,   8, 
                Offset (0xC0), 
                ROMD,   8, 
                Offset (0xD0), 
                EBPL,   1, 
                    ,   1, 
                    ,   1, 
                TPRD,   1, 
                Offset (0xD1), 
                    ,   1, 
                ECS4,   1, 
                ECS3,   1, 
                RFAT,   1, 
                OSW8,   1, 
                WOLF,   1, 
                WOWL,   1, 
                Offset (0xD5), 
                ECDY,   8, 
                DBPL,   8, 
                CPTS,   8
            }
            Scope (\_SB)
            {

Question: what does these paths means? 8 is the cicle? so the frdc is the first? 0x04? or 0x18? im trying to understand the logical here hehehehe

hirschmann commented 7 years ago

The only thing relevant for you is EmbeddedControl space (EC registers), because this is how NBFC controls the fan. I don't know what you mean by FRDC. There is no FRDC in the code you've posted. The numbers next to the field names tell you how many bits are reserved for each field.

ghost commented 7 years ago

i dont know anything else hahahahaa!

By the way here it is my config, please add it to the official software. Its working great. http://www.mediafire.com/file/7jazu8fp395yy45/Acer_Aspire_F5-573G.xml

hirschmann commented 7 years ago

So, did you solve the latency problem?

ghost commented 7 years ago

Nope it did not, you need to fix it in the software code and test with latencymon ....im sorry.

hirschmann commented 7 years ago

As far as I know, the latency problem exists only on your system. This seems not to be related to NBFC itself, but either to your system or the config you're using. Therefore I can't fix it.

I also can't add a config to the official repo wich causes fps drops and other latency problems, sorry.

ghost commented 7 years ago

Its not the config that causes drops and problems, its your software...more users have the same problem...i have more than 3 friends with the same problem when they do use your software. cheers.

hirschmann commented 7 years ago

Could you please tell me which notebooks and which configs they are using?

ghost commented 7 years ago

As far as i know they are all acer users using 471g config.

hirschmann commented 7 years ago

Are they all using the 471g config on an Acer Aspire E5-471G, or on unsupported Acer notebooks? In case they are all using an Acer Aspire E5-471G, I think I have to drop support for the Acer Aspire E5-471G. I can't fix this issue because I can't reproduce it on my system.

ghost commented 7 years ago

thats sad =( acer sucks.

hirschmann commented 7 years ago

I've removed the config: c20c4dd Thanks for the bug report!

hotbabyspace commented 5 months ago

Hello! I've been using your software for more than 5 years and it works great on my acer aspire VN7-593G to control the fans. I haven't found any other software that works. I use Ableton for producing music and I have been always living with this latency issue. I also changed my audio interface because I thought it might fix the problem. Im not very technical with computers but today I started a new troubleshooting session to fix the latency issue and I finally found out that when I disable the nbfc service, the latency is gone! Please try and fix it! It does something with the ACPI driver, as the other people mentioned. I use the acer aspire VN7-593G config.

Or maybe im not using it correctly, I dont really know how to set it up, I just have setup the temperature thresholds in a way that the fans are not constantly blasting because its so annoying when producing music. it works like a charm, my laptop is super quiet and doesnt overheat when setup properly. I havent changed any other parameter in the program. Can you help me set it up correctly or can I provide you with information so you can fix the bug?

Thank you anyway, i can do my music with latency, but not with the fans blasting, so you have saved my life all these years.