ValveSoftware / csgo-osx-linux

Counter-Strike: Global Offensive
http://counter-strike.net
776 stars 69 forks source link

[Mac] Players and objects are laggy when watching a demo #101

Closed ghost closed 10 years ago

ghost commented 10 years ago

When I download a demo (either of one of my own games or from a tournament) the players are laggy when I watch it. The FPS is fine and when flying around the map in free look it's all smooth. Viewing first person or watching players move around in other views stutters though. It's not that the FPS drops, it's like the player position is updated less than once per frame with no smoothing in between (seems like it might be updated somewhere around 16 times per second, so maybe something to do with the tickrate of the demo? I'm could be wrong though.) making their movement seem to stutter. And it's not just players. If someone drops a gun the worldmodel acts the same and other physics objects probably do as well.

System information:

Mac OS X 10.10 Yosemite (latest public beta) Mid 2014 15" Retina MacBook Pro (Model Identifier: MacBookPro 11,3) NVIDIA GeForce 750M (2048MB)

Steam Hardware Information:

Processor Information: Model: MacBookPro11,3 Vendor: GenuineIntel CPU Family: 0x6 CPU Model: 0x46 CPU Stepping: 0x1 CPU Type: 0x0 Speed: 2500 Mhz 8 logical processors 4 physical processors HyperThreading: Supported FCMOV: Supported SSE2: Supported SSE3: Supported SSSE3: Supported SSE4a: Unsupported SSE41: Supported SSE42: Supported

Network Information: Network Speed:

Operating System Version: MacOS 10.10.0 (64 bit)

Video Card: Driver: Intel Iris Pro

Driver Version:  1.2
Driver Date: 0  0
OpenGL Version: 2.1
Desktop Color Depth: 32 bits per pixel
Monitor Refresh Rate: 0 Hz
VendorID:  0x8086
DeviceID:  0xd26
Number of Monitors:  1
Number of Logical Video Cards:  2
Primary Display Resolution:  1440 x 900
Desktop Resolution: 1440 x 900
Primary Display Size: 13.03" x 8.11"  (15.31" diag)
                                        33.1cm x 20.6cm  (38.9cm diag)
Primary VRAM: 1536 MB

Memory: RAM: 16384 Mb

Miscellaneous: UI Language: English Microphone: Not set Media Type: DVD Total Hard Disk Space Available: 1190989 Mb Largest Free Hard Disk Block: 85856 Mb

Installed software:  Drop games to install   Open DOS prompt  Accessibility Inspector Adium Adobe Flash Player Uninstaller Adobe Help Adobe Illustrator CC Adobe Media Player Adobe Photoshop CC Adobe Reader AESCrypt Agent Airfoil Airfoil Speakers AirServer Alarm Clock Analyze Documents Angband AntiRSI Aperture App Store AppCleaner Application Loader Automator Bartender Battle.net Setup Battle.net.app Bioshock BioShock 2 Bitcoin Ticker TTM Bitcoin-Qt BitTorrent Sync Blackmagic Disk Speed Test Blizzard Error Blizzard Launcher Boxer Brogue Burn Calendar CamTwist CD Spin Doctor Chicken of the VNC Civilization V: Campaign Edition ClamAV Engine REMOVER ClamXav Colloquy Contact Sheets Contacts Continuity Keypad ControllerMate Uninstaller Convert For Internet Convert To AAC Convert To AIFF Convert To MP3 Crash Reporter CronniX CrossOver Cryptocat Cyberduck Digi CoreAudio Manager Disc Cover 2 RE DiscCatalogMaker RE Disk Drill Disk Inventory X Dolphin Doom 3 DoomRL Drive Genius 3 Dropbox Dungeon Crawl Stone Soup - Console Dungeon Crawl Stone Soup - Tiles Equation Editor Export Flash Animation FaceTime FileMerge Final Cut Pro Firefox FlashMediaLiveEncoder Flux Free42-Binary Free42-Decimal Game Center Get Backup 2 RE Get Lyrical gfxCardStatus GIFfun GNS3 Google Chrome Google Earth GPG Keychain Access GPGServices.service Grand Theft Auto: San Andreas Growl Guitar Rig 4 GuitarPro GZDoom HandBrake Hearthstone Hearthstone Beta Launcher Helpdesk Helpdesk (Remote) Hexen II Hexen II gl HWSleepNotify iBooks IcyTower iExplorer Image Capture Impulse Response Utility InsomniaX Instruments iSquint iStat Menus iStumbler iTerm Kext Utility Keynote KisMAC Komodo Edit KSP Launcher Launchpad LineIn LineIn (2) LiteIcon Little Snitch Configuration Logic Express Logic Pro X LogTransport2 Lynxlet Mac2Tivo MacDaddyX MacGPG2_Updater Mactracker Magic Number Machine Make Calendar MAMP ManyCam ManyCam_Uninstaller Maps Marker Editor Messages Microsoft Alerts Daemon Microsoft Chart Converter Microsoft Clip Gallery Microsoft Communicator Microsoft Database Daemon Microsoft Database Utility Microsoft Document Connection Microsoft Excel Microsoft Graph Microsoft Language Register Microsoft Office Reminders Microsoft Office Setup Assistant Microsoft Outlook Microsoft PowerPoint Microsoft Query Microsoft Upload Center Microsoft Word Minecraft MiniTerm Miro Video Converter Mirror-QWERTY Mission Control Mumble My Day NameChanger NeoOffice Nestopia Nicecast Notes Numbers Open XML for Excel Outguess Outlook Web Access Pages Paintbrush Parallels Desktop Parallels Link Parallels Mounter Photo Police pinentry-mac Plants vs. Zombies Plex Home Theater PokerStarsEU Popcorn-Time Portal of Praevus Portal of Praevus gl POWDER_117 Private Internet Access Pro Tools LE ProToolsRegistration QuickRes 4 Razer Synapse 2.0 Reddit Notifier Reminders Remote Desktop Remote Desktop Connection RequiemDroplet Retinizer Rhyme Finder RPG Scrivener Simple Comic SiteSucker sixtyforce Skype Slender SmallImage Smultron 4 Snes9x SoftwareUpdater Solver Source Finagler Spark Split Movie Tracks Split Sides of Conversation Spotify Start I2P Router Steam Stellarium Stickies Streamer Strife StuffIt Expander StuffIt User Guide SyncServicesAgent TeamSpeak 3 Client TeamViewer TextWrangler The Unarchiver Toast Titanium TotalFinder TotalFinder Uninstaller Transmission TrueCrypt Uninstall Uninstall Pro Tools Uninstall VMware Fusion Unison UnRarX Unreal Tournament 2004 Unreal Tournament GOTY uTorrent VecTripper VirusTotalUploader VLC VNC Viewer Web Gallery Wineskin Winery Wireshark Worms Reloaded Xcode Yap YouTube to MP3 Zattoo Zenmap

sjtrny commented 10 years ago

Test it on a 128-tick demo.

ghost commented 10 years ago

I tested it on one of my own MM replays and on a demo from ESL One and it was the same in both cases. I'm not sure where I'd get a 128 tick demo from, but if you send me one, I'll gladly test it.

sjtrny commented 10 years ago

MM replays are 16-tick not sure about the ESL One demo. You can see the tick rate of the demo by enabling netgraph.

ghost commented 10 years ago

Netgraph says the tick is 64 for the MM replay and 128 for the ESL demo. I know that MM replays are 16 tick, so I'm guessing that's just the tickrate that the server was running at. "up" and "cmd" are both at 16.0/s on both the MM replay and the ESL demo though.

ghost commented 10 years ago

I found the problem. I had cl_interpolate set to 0 (d'oh). Setting it to 1 fixed it. As far as I'm concerned this can be closed.