hirschmann / nbfc

NoteBook FanControl
Other
2.9k stars 488 forks source link

REQUEST: Razer Blade 15 (RTX 2060, mid 2019) #823

Closed marcinciarka closed 3 years ago

marcinciarka commented 4 years ago

I need help finding out the right config for my blade (the fans are killing me, they spin with no load when the external monitor is plugged in).

marcinciarka commented 4 years ago

I ran some ec-dump:

0x56: 2E,29                  ,2B,29   ,2D,2A,29      ,28         ,27         ,26                     ,25,26
0x58: 2A                              ,2B,2C,00
0x59: 32                                    ,33   ,34      ,33   ,32         ,31            ,30
0x5A: 2B                                       ,2A      ,29   ,28         ,27      ,26            ,25
0x5B: 2A                                                ,29,28,27   ,26      ,25            ,24
0xA8: C7,C6                                 ,C7,C6,C7,C6,C8            ,C6                           ,C7,C6

About halfway the fans slowed down significantly.

marcinciarka commented 4 years ago

I've got some new stuff, I managed to find the EmbeddedControl in the DSDT:


OperationRegion(ERAM, EmbeddedControl, Zero, 0xFF)
Field(ERAM, ByteAcc, NoLock, Preserve)
{
    RTYR, 8,
    RTMH, 8,
    RTDY, 8,
    RTHR, 8,
    RTME, 8,
    NDTT, 8,
    Offset(0x10),   //Offset(16),
    BADN, 128,
    ECVR, 32,
    Offset(0x28),   //Offset(40),
    BDID, 8,
    Offset(0x56),   //Offset(86),
    CPUT, 8,
    CP2T, 8,
    GPUT, 8,
    Offset(0x5D),   //Offset(93),
    VOLT, 8,
    PCHT, 8,
    TMMD, 8,
    ECCM, 256,
    Offset(0x90),   //Offset(144),
    BIF0, 16,
    BIF1, 16,
    BIF2, 16,
    BIF3, 16,
    BIF4, 16,
    BIF5, 16,
    BIF6, 16,
    BIF7, 16,
    BIF8, 16,
    BST0, 16,
    BST1, 16,
    BST2, 16,
    BST3, 16,
    PSTA, 8,
    ECN0, 8,
    Offset(0xE1),   //Offset(225),
    ECE1, 8,
    Offset(0xE5),   //Offset(229),
    ECE2, 8,
    Offset(0xE9),   //Offset(233),
    DGPS, 8,
    , 8,
    ACTP, 8,
    CORP, 8,
    SKID, 8,
    Offset(0xF8),   //Offset(248),
    ECMD, 8,
    ECAD, 8,
    ECDT, 8,
}
Method(_Q13, 0, NotSerialized)
{
    Store(0x13, DBG8)
    Notify(PR00, 0x80)
    Notify(BAT0, 0x80)
    Notify(BAT0, 0x81)
    Notify(AC0, 0x80)
    If(LEqual(DPTF, One))
    {
        If(LEqual(PWRE, One))
        {
            Notify(TPWR, 0x81)
        }
        Notify(IETM, 0x86)
        If(LEqual(CHGE, One))
        {
            Notify(CHRG, 0x80)
        }
    }
}
Method(_Q14, 0, NotSerialized)
{
    Store(0x14, DBG8)
    And(PSTA, 0x04, Local0)
    Store(Zero, LIDS)
    If(Local0)
    {
        Store(One, LIDS)
    }
    If(IGDS)
    {
        If(LEqual(LIDS, One))
        {
            Store(0x03, ^^^GFX0.CLID)
        }
        Else
        {
            Store(Zero, ^^^GFX0.CLID)
        }
    }
    Notify(LID0, 0x80)
}
Method(_Q15, 0, NotSerialized)
{
    If(LEqual(DPTF, One))
    {
        If(LEqual(PWRE, One))
        {
            Notify(TPWR, 0x86)
        }
        Notify(IETM, 0x86)
        If(LEqual(CHGE, One))
        {
            Notify(CHRG, 0x80)
        }
    }
}
Method(_Q16, 0, NotSerialized)
{
    If(LAnd(LEqual(DPTF, One), LEqual(PWRE, One)))
    {
        Notify(TPWR, 0x80)
    }
}
Method(_Q17, 0, NotSerialized)
{
    If(LAnd(LEqual(DPTF, One), LEqual(PWRE, One)))
    {
        Notify(TPWR, 0x80)
    }
}
Method(_Q21, 0, NotSerialized)
{
    Store(0x21, DBG8)
    Store(ECE1, DBG8)
    Store(ECE1, CPPC)
    PNOT()
}
Method(_Q22, 0, NotSerialized)
{
    Store(0x22, DBG8)
    ^^^B0D4.SPUR(CORP)
}
Method(_Q23, 0, NotSerialized)
{
}
Method(_Q30, 0, NotSerialized)
{
    Store(0x30, DBG8)
    If(LEqual(DPTF, One))
    {
        Store(TMMD, ODV0)
        Notify(IETM, 0x88)
    }
    If(LAnd(LEqual(SKID, One), LEqual(TMMD, One)))
    {
        Store(One, ^^^PEG0.PEGP.CTGP)
    }
    Else
    {
        Store(Zero, ^^^PEG0.PEGP.CTGP)
    }
    Notify(^^^PEG0.PEGP, 0xC0)
}
Method(_Q32, 0, NotSerialized)
{
    Store(One, ECUP)
    If(LEqual(DPTF, One))
    {
        Store(Zero, DPTF)
        Notify(IETM, 0x08)
        Notify(IETM, 0xA0)
        Notify(IETM, One)
    }
}
Method(_QD1, 0, NotSerialized)
{
    Notify(^^^PEG0.PEGP, 0xD1)
    Sleep(0x32)
    Store(0xD1, DGPS)
    Store(0xD1, DBG8)
}
Method(_QD2, 0, NotSerialized)
{
    Notify(^^^PEG0.PEGP, 0xD2)
    Sleep(0x32)
    Store(0xD2, DGPS)
    Store(0xD2, DBG8)
}
Method(_QD3, 0, NotSerialized)
{
    Notify(^^^PEG0.PEGP, 0xD3)
    Sleep(0x32)
    Store(0xD3, DGPS)
    Store(0xD3, DBG8)
}
Method(_QD4, 0, NotSerialized)
{
    Notify(^^^PEG0.PEGP, 0xD4)
    Sleep(0x32)
    Store(0xD4, DGPS)
    Store(0xD4, DBG8)
}
Method(_QD5, 0, NotSerialized)
{
    Notify(^^^PEG0.PEGP, 0xD5)
    Sleep(0x32)
    Store(0xD5, DGPS)
    Store(0xD5, DBG8)
}
Device(LID0)
{
    Name(_HID, EISAID("PNP0C0D"))
    Method(_STA, 0, NotSerialized)
    {
        Return(0x0F)
    }
    Method(_LID, 0, NotSerialized)
    {
        Return(LIDS)
    }
}

Full file: DSDT.txt

cosemo1996 commented 4 years ago

Hi, I have the Razer Blade Mid 2019 too.. Same problems.. ThrottleStop (undervolting -130mV) help a lot but a config for NBFC would be better for the fan noise :/

cosemo1996 commented 4 years ago

Do you have a config for the Razer Blade 15 Mid 19 ? Du you need help ?

marcinciarka commented 4 years ago

I haven't figured out out yet, and yes, I need help.

cosemo1996 commented 4 years ago

Ok, I am reading the "How to create a NBFC config".. What can I do?

dsuth1 commented 4 years ago

Upvoting this. Anyway I can assist @dreszczyk ? This tool is new to me but I'm a software engineer and own the same model, looking for the same fix.

marcinciarka commented 4 years ago

Upvoting this. Anyway I can assist @dreszczyk ? This tool is new to me but I'm a software engineer and own the same model, looking for the same fix.

Well, we're on the same boat. I cannot figure out how to map the config properly, one time I ended up with 255% battery charge 🤔

We need to wait for Synapse update (not likely) or someone to create a config (not likely too).

l0f3n commented 4 years ago

You have managed to make any progress?

kirankunigiri commented 3 years ago

Any updates on this? I really, really need it for my Razer Blade to be silent when I record audio! I am going to have to return this if I can't find a way to turn off the fans in a week :(

kinglouie commented 3 years ago

@kirankunigiri I would suggest you return it. I did the same with my 15" Blade 2019 :( This laptop has really nice specs but the fans are just horrible.

github-actions[bot] commented 3 years ago

This issue is stale because it has been open more than 180 days with no activity. If nobody comments within 7 days, this issue will be closed