Help - Search - Members - Calendar
Full Version: Hpet Bug?
Project OS X Forums > Snow Leopard Guides & Tutorials > DSDT Patching
multigl
background:

asus p7p55d + 10.6.3 & bios version 1207: Everything works fine, flash video/opengl fine

Updated to bios version 1307, generated new DSDT for this version & patched: RTC, USB, PIC, TMR, (custom methods DTGP, MCID).

Here's the weird behavior:

boot, run something like opengl extension viewer tests ~2000 FPS
use computer for 5-10 minutes, try to watch some youtube, flash video jumps and skips, opengl extension viewer tests ~120 FPS

here is my relevant hpet section of the dsdt:

CODE
   Device (SBRG)
   {
   ...
      Device (HPET)
      {
         Name (_HID, EisaId ("PNP0103"))
         Name (CRS, ResourceTemplate ()
         {
            Memory32Fixed (ReadOnly,
            0xFED00000,         // Address Base
            0x00000400,         // Address Length
            _Y12)
         })
         OperationRegion (^LPCR, SystemMemory, 0xFED1F404, 0x04)
         Field (LPCR, AnyAcc, NoLock, Preserve)
         {
            HPTS,   2,
                ,   5,
            HPTE,   1,
            Offset (0x04)
         }
         Method (_STA, 0, NotSerialized)
         {
            Return (0x0F)
         }
         Method (_CRS, 0, NotSerialized)
         {
            CreateDWordField (CRS, \_SB.PCI0.SBRG.HPET._Y12._BAS, HPT)
            Multiply (HPTS, 0x1000, Local0)
            Add (Local0, 0xFED00000, HPT)
            Return (CRS)
         }
      }
   ...
   }


also, possibly unrelated, sleep works, but it's only going in S1 mode (it did S3 before)
multigl
I believe I have a tentative fix, video playback & opengl don't stutter (in fact I gained something absurd like 2000 FPS the extension viewer tests), and sleep is working again.

I'm attaching my dsdt.dsl file for perusal.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.