Skip to content

Latest commit

ย 

History

History
553 lines (416 loc) ยท 16.4 KB

File metadata and controls

553 lines (416 loc) ยท 16.4 KB

๐ŸŽฎ GameBar User Guide

Real-time Performance Monitoring & Logging


๐Ÿ“Š What is GameBar?

GameBar is a real-time performance overlay that displays FPS, CPU/GPU usage, temperatures, RAM stats, and more while you use apps. It includes powerful logging and analytics features to record and analyze performance data.

Perfect for:

  • ๐ŸŽฎ Gaming performance testing & optimization
  • ๐Ÿ“ฑ App benchmarking & comparison
  • ๐Ÿ”ฅ Thermal analysis & throttling detection
  • โšก Battery drain investigation
  • ๐Ÿ“ˆ Performance tracking over time

๐Ÿš€ Quick Start Guide

Step 1: Enable GameBar Overlay

  1. Open Settings app
  2. Navigate to System โ†’ GameBar
  3. Turn ON the "Enable GameBar Overlay" switch
  4. Grant overlay permission if asked

โœ… You'll see the GameBar overlay on your screen!

โš ๏ธ IMPORTANT: The GameBar overlay MUST be ON to collect performance data. Logging cannot work when the overlay is disabled.

Step 2: Choose Your Logging Mode

GameBar offers 3 logging modes to fit your needs:

Mode Icon Best For How It Works
Per-App ๐ŸŽฏ Specific apps/games Auto-logs when configured apps are in foreground
Universal ๐ŸŒ All apps Logs everything while GameBar is active
Manual ๐Ÿ‘† Quick testing Double-tap overlay to start/stop logging

Step 3: Configure & Start Logging

Follow the detailed guide below for your chosen mode โฌ‡๏ธ


๐ŸŽฏ Mode 1: Per-App Logging (Recommended)

๐ŸŒŸ Best for tracking specific games or apps over time

What it does:

  • Automatically starts logging when you open a configured app
  • Automatically stops and saves when you close the app
  • Each session saved separately with timestamp
  • Perfect for comparing performance across gaming sessions
  • Requires GameBar overlay to be ON

How to Set Up:

โš™๏ธ Setup (One Time)

  1. Go to Settings โ†’ System โ†’ GameBar
  2. Tap "Per-App GameBar"
  3. Tap "Configure Apps"
  4. Select your game/app from the list (e.g., BGMI, COD Mobile, Chrome)
  5. Enable the switch for that app
  6. Go back to GameBar main settings
  7. Tap "GameBar Logging"
  8. Select "Per-App Logging" mode
  9. Turn ON the main "Enable GameBar Overlay" switch

๐Ÿ“ฑ Using It

  1. Ensure GameBar overlay is ON (critical requirement!)
  2. Open your configured game/app
  3. That's it! ๐ŸŽ‰

What happens:

  • โœ… Toast message: "BGMI GameBar log started"
  • GameBar collects FPS, CPU, GPU, temps, etc. while you play
  • Close the game โ†’ Toast: "BGMI GameBar log ended"
  • Log automatically saved with timestamp!

โš ๏ธ Important: If GameBar overlay is OFF when you open the app, you'll see: "BGMI: GameBar logging enabled but GameBar overlay is OFF. Turn ON GameBar to collect logs."

๐Ÿ“‚ Viewing Your Logs

  1. Go to Settings โ†’ System โ†’ GameBar
  2. Tap "Per-App GameBar"
  3. Find your app โ†’ Tap it
  4. See all sessions with timestamps and duration!
  5. Tap any session to view detailed analytics

Log file location: /sdcard/Documents/GameBar/PerAppLogs/{package_name}/


๐Ÿ‘† Mode 2: Manual Logging (Double-Tap)

โšก Best for quick tests without setup!

What it does:

  • Start/stop logging with double-tap gesture
  • Works in any app (no configuration needed)
  • Logs saved under that app's name in per-app logs
  • Great for one-time performance checks
  • Only works in Per-App Logging mode

How to Use:

๐Ÿ“ฑ Taking a Manual Log

  1. Go to GameBar โ†’ GameBar Logging โ†’ Select "Per-App Logging"
  2. Turn ON GameBar overlay (must be ON!)
  3. Open any app (doesn't need to be configured)
  4. Double-tap the GameBar overlay
    • Toast: "AppName: Manual logging started"
  5. Use the app normally (gaming, browsing, etc.)
  6. Double-tap again to stop
    • Toast: "Manual logging stopped and saved"

โš ๏ธ Important Notes:

  • GameBar overlay must be ON to collect data
  • If app already has auto-logging enabled, double-tap shows: "This app has auto-logging enabled. Logs are saved automatically."
  • Manual logs and auto logs are stored in the same location
  • You can manually log apps that aren't in your configured list

๐Ÿ“‚ Finding Your Logs

Same location as auto logs:

  1. GameBar โ†’ "Per-App GameBar"
  2. Find the app you manually logged
  3. All sessions (auto + manual) appear together!

๐ŸŒ Mode 3: Universal Logging

๐Ÿ“Š Best for continuous monitoring across all apps!

What it does:

  • Records data from ALL apps in one continuous log
  • You control start/stop with double-tap
  • Good for multi-app benchmarks and system-wide monitoring
  • Logs everything while active (app switches included)

How to Use:

โš™๏ธ Setup

  1. Go to GameBar โ†’ "GameBar Logging"
  2. Select "Universal Logging" mode

๐Ÿ“ฑ Taking a Universal Log

  1. Turn ON GameBar overlay (required!)
  2. Double-tap GameBar overlay to start
    • Toast: "Capture Started"
  3. Use different apps, switch between them, test anything
  4. Double-tap again to stop
    • Toast: "Capture Stopped and Data Exported"

๐Ÿ“‚ Finding Your Logs

  1. GameBar โ†’ "GameBar Logging" โ†’ "View Logs"
  2. Universal logs are stored in: /sdcard/Documents/GameBar/GameBar_log_{timestamp}.csv
  3. Each log contains data from all apps used during that session

๐ŸŽ›๏ธ Customizing What to Log

Choosing Parameters

You can select which data to log:

  1. Go to GameBar โ†’ Logging
  2. Check/uncheck parameters:
    • โœ… FPS (Frames Per Second)
    • โœ… Frame Time
    • โœ… Battery Temperature
    • โœ… CPU Usage
    • โœ… CPU Clock Speed
    • โœ… CPU Temperature
    • โœ… RAM Usage
    • โœ… RAM Speed
    • โœ… RAM Temperature
    • โœ… GPU Usage
    • โœ… GPU Clock Speed
    • โœ… GPU Temperature

Tip: By default, all are enabled. Disable what you don't need!


๐Ÿ“ Understanding Your Logs

Log File Format

Logs are saved as CSV files (open with Excel, Google Sheets, etc.)

Columns:

DateTime | PackageName | FPS | Frame_Time | Battery_Temp | CPU_Usage | ...

Example:

2025-01-07 14:30:52,com.tencent.ig,60,16.67,35.2,45,2016MHz,42.5,...
2025-01-07 14:30:53,com.tencent.ig,59,16.95,35.3,47,2150MHz,43.0,...

File Naming

Per-App Logs:

{package_name}_GameBar_log_{timestamp}.csv

Examples:
๐Ÿ“ฑ com.tencent.ig_GameBar_log_20250107_143052.csv (PUBG)
๐ŸŒ com.android.chrome_GameBar_log_20250107_144530.csv (Chrome)

Global Logs:

GameBar_log_{timestamp}.csv

Example:
๐Ÿ“Š GameBar_log_20250107_150000.csv

๐Ÿ“Š Built-in Analytics & Visualization

Session Analytics (Per-App Logs Only)

GameBar includes powerful built-in analytics for per-app logs! No need for external tools.

๐Ÿ“ˆ How to View Analytics:

  1. Go to GameBar โ†’ "Per-App GameBar"
  2. Tap your app (e.g., BGMI)
  3. Tap any log session
  4. Instant analytics popup appears!

๐Ÿ“Š What You Get:

Session Information:

  • ๐Ÿ“… Date & time
  • โฑ๏ธ Session duration
  • ๐Ÿ“Š Total samples collected
  • ๐Ÿ“ File name

FPS Statistics:

  • Max FPS, Min FPS, Average FPS
  • Variance & Standard Deviation
  • Smoothness percentage (consistency metric)
  • 1% Low FPS (worst 1% of frames)
  • 0.1% Low FPS (worst 0.1% of frames)
  • Real-time FPS graph with average line

Frame Time Analysis:

  • Frame time graph (lower is better)
  • Average frame time
  • Frame time spikes visualization

CPU Metrics:

  • Max/Min/Avg CPU usage (%)
  • Max/Min/Avg CPU temperature (ยฐC)
  • CPU usage over time graph
  • CPU temperature over time graph
  • Per-core clock speeds graph

GPU Metrics:

  • Max/Min/Avg GPU usage (%)
  • Max/Min/Avg GPU clock speed (MHz)
  • Max/Min/Avg GPU temperature (ยฐC)
  • GPU usage over time graph
  • GPU clock frequency graph
  • GPU temperature graph

๐Ÿ’พ Export Options

From the analytics popup, tap "โ‹ฎ Actions" to access:

1. ๐Ÿ“Š Export Data (CSV)

  • Exports the raw CSV file
  • Share via any app (WhatsApp, Email, Drive, etc.)
  • Open in Excel, Google Sheets, or any CSV viewer

2. ๐Ÿ“ธ Save Graphics (PNG)

  • Saves all graphs as PNG images
  • Perfect for sharing performance screenshots
  • Includes FPS, CPU, GPU, and temperature graphs
  • Saved to: /sdcard/Pictures/GameBar/

3. ๐Ÿ”— Share Log

  • Quick share via system share sheet
  • Send to friends, forums, or developers
  • Includes CSV data file

4. ๐Ÿ“‚ Open External

  • Opens log file in external CSV viewer
  • Use your preferred spreadsheet app
  • Full data access for custom analysis

๐ŸŽจ Visual Analysis Tips

Reading the Graphs:

  • Green line = Average value
  • Spikes = Performance issues or intensive moments
  • Flat lines = Stable performance
  • Drops = Lag, stuttering, or throttling

What to Look For:

  • โœ… Consistent FPS = Smooth gameplay
  • โš ๏ธ FPS drops = Stuttering/lag
  • ๐Ÿ”ฅ Rising temps = Thermal throttling risk
  • ๐Ÿ“‰ 1% Low FPS = Worst-case performance

๐Ÿ“ฑ External Analysis (Optional)

If you prefer external tools:

Using Google Sheets:

  1. Export CSV from GameBar
  2. Upload to Google Drive
  3. Open with Google Sheets
  4. Create custom charts

Using Excel:

  1. Transfer CSV to PC
  2. Open in Excel
  3. Insert โ†’ Chart โ†’ Line Chart
  4. Analyze with pivot tables

๐ŸŽจ Visual Examples

Example: Gaming Session Log

Game: PUBG Mobile
Duration: 30 minutes
Result:

๐Ÿ“Š Average FPS: 58
โšก Max FPS: 60
๐Ÿ“‰ Min FPS: 45 (during intense battle)
๐Ÿ”ฅ Avg CPU Temp: 42.5ยฐC
๐ŸŒก๏ธ Max CPU Temp: 48.0ยฐC

Example: App Comparison

Comparing Browsers:
Chrome vs Firefox vs Edge

๐Ÿ“Š Chrome: 59 FPS avg, 40% CPU
๐Ÿ“Š Firefox: 57 FPS avg, 38% CPU  
๐Ÿ“Š Edge: 60 FPS avg, 42% CPU

โ“ Troubleshooting

โŒ "GameBar logging enabled but overlay is OFF"

Problem: You enabled per-app logging, but GameBar overlay is turned off.

Why this happens:

  • GameBar requires the overlay to be ON to collect performance data
  • Without the overlay, there's no data source to log

Solution:

  1. Go to GameBar settings
  2. Turn ON "Enable GameBar Overlay" switch
  3. You should see the overlay appear on screen
  4. Now logging will work automatically!

โŒ Double-tap doesn't start logging

Possible causes:

  1. Double-tap gesture disabled

    • Go to GameBar โ†’ Overlay Gesture Controls
    • Enable "Double-tap to capture"
  2. App has auto-logging enabled

    • If the app is in your per-app list, it's already logging automatically
    • You'll see: "This app has auto-logging enabled. Logs are saved automatically."
    • No need to double-tap!
  3. Wrong logging mode

    • Manual double-tap only works in Per-App Logging mode
    • Check: GameBar โ†’ GameBar Logging โ†’ Select "Per-App Logging"
  4. GameBar overlay is OFF

    • Logging requires overlay to be ON
    • Turn on the main GameBar switch
  5. Tapping too slow

    • Tap faster (like double-tap to unlock phone)

โŒ Can't find my logs

Check these locations:

For Per-App Logs:

  1. In-app: GameBar โ†’ Per-App GameBar โ†’ Select your app
  2. File manager: /sdcard/Documents/GameBar/PerAppLogs/{package_name}/
  3. Search for: *_GameBar_log_*.csv

For Universal Logs:

  1. In-app: GameBar โ†’ GameBar Logging โ†’ View Logs
  2. File manager: /sdcard/Documents/GameBar/
  3. Search for: GameBar_log_*.csv

โŒ No data in log file (empty or only header)

Common causes:

  1. GameBar overlay was OFF during session

    • Solution: Turn ON overlay before logging
  2. Session too short (< 2 seconds)

    • Solution: Log for at least 5-10 seconds to collect meaningful data
  3. App crashed or force closed

    • Solution: Let the app close naturally or use double-tap to stop
  4. Storage permission denied

    • Solution: Grant storage permission to GameBar in Android settings

โŒ Analytics won't open / Shows error

Possible causes:

  1. Corrupted log file

    • Try opening a different session
    • Re-log the session
  2. Log file too large

    • Very long sessions (>2 hours) may take time to analyze
    • Wait for "Analyzing..." dialog to complete
  3. Missing data columns

    • Ensure you have FPS, CPU, GPU data enabled in overlay settings

โŒ Export/Share not working

Solutions:

  1. No file manager app

    • Install a file manager (Files by Google, etc.)
  2. Storage permission denied

    • Go to Android Settings โ†’ Apps โ†’ GameBar โ†’ Permissions
    • Grant Storage permission
  3. No app to open CSV

    • Install Google Sheets, Excel, or any CSV viewer

๐Ÿ’ก Pro Tips

๐ŸŽฎ For Gamers

  1. Enable per-app logging for your main games
  2. Log a few sessions to find average performance
  3. After updates, compare logs to see improvements/issues
  4. Share logs with devs when reporting lag

๐Ÿ“ฑ For Testers

  1. Use global mode to compare apps
  2. Test in identical conditions (same brightness, network, etc.)
  3. Let apps run for at least 5 minutes for accurate data
  4. Close background apps for cleaner results

๐Ÿ”ฅ For Thermal Testing

  1. Enable all temperature sensors (CPU, GPU, Battery, RAM)
  2. Run intensive tasks (gaming, video recording)
  3. Watch for thermal throttling (FPS drops when temp rises)
  4. Compare temperatures across different scenarios

โšก For Battery Investigation

  1. Log with GameBar overlay OFF initially
  2. Then log with overlay ON
  3. Compare power consumption (overlay itself uses ~1-2% battery)
  4. Find which apps drain the most

๐ŸŽฏ Quick Reference Card

Common Scenarios

I Want To... Use This Mode Steps
๐ŸŽฎ Log every BGMI session automatically Per-App Auto Configure BGMI in Per-App GameBar โ†’ Turn ON overlay โ†’ Just play!
๐Ÿ‘† Quick one-time test of any app Manual (Double-Tap) Set Per-App mode โ†’ Turn ON overlay โ†’ Open app โ†’ Double-tap โ†’ Test โ†’ Double-tap
๐Ÿ“Š Compare multiple apps in one session Universal Set Universal mode โ†’ Turn ON overlay โ†’ Double-tap โ†’ Switch apps โ†’ Double-tap
๐Ÿ”ฅ Check game temperatures & throttling Per-App Auto Enable temp sensors in overlay โ†’ Configure game โ†’ Play normally
โšก Find which app drains battery most Universal Log 1 hour usage โ†’ View analytics โ†’ Check CPU/GPU usage
๐Ÿ“ˆ View detailed FPS graphs & analytics Per-App (any) Per-App GameBar โ†’ Select app โ†’ Tap session โ†’ View analytics
๐Ÿ“ค Share performance data with friends Per-App (any) Open analytics โ†’ Actions โ†’ Export CSV or Save PNG
๐Ÿ” Compare performance before/after update Per-App Auto Log sessions before update โ†’ Update app โ†’ Log again โ†’ Compare

Logging Mode Comparison

Feature Per-App Auto Manual (Double-Tap) Universal
Setup Required โœ… Yes (one-time) โŒ No โŒ No
Auto Start/Stop โœ… Yes โŒ Manual โŒ Manual
Works in Any App โŒ Only configured โœ… Yes โœ… Yes
Separate Logs per App โœ… Yes โœ… Yes โŒ All in one
Built-in Analytics โœ… Yes โœ… Yes โš ๏ธ Limited
Best For Regular gaming Quick tests Multi-app comparison

๐Ÿ“ž Need Help?

Still confused?

  1. Check GAMEBAR_FIXES_SUMMARY.md for technical details
  2. Watch in-app tutorials (if available)
  3. Post in XDA/Telegram group with screenshots

Reporting Issues?

Include:

  1. Which method you're using (Per-App/Manual/Global)
  2. Screenshot of settings
  3. Sample log file (if generated)
  4. What you expected vs what happened

โœจ Summary

The Easiest Way (For Most Users):

For Automatic Logging:

  1. โœ… Go to GameBar โ†’ Per-App GameBar โ†’ Configure Apps
  2. โœ… Select your favorite games/apps
  3. โœ… Go to GameBar Logging โ†’ Select "Per-App Logging"
  4. โœ… Turn ON GameBar overlay (main switch)
  5. โœ… Just play your games normally
  6. โœ… Logs save automatically when you close the app!

To View Your Logs:

  1. ๐Ÿ“Š GameBar โ†’ Per-App GameBar โ†’ Select your app
  2. ๐Ÿ“ˆ Tap any session to see detailed analytics with graphs
  3. ๐Ÿ’พ Export as CSV or save graphs as PNG images
  4. ๐Ÿ”— Share with friends or developers

That's it! ๐ŸŽ‰

Key Points to Remember:

  • โš ๏ธ GameBar overlay MUST be ON to collect data
  • ๐ŸŽฏ Per-App mode = Automatic logging for configured apps
  • ๐Ÿ‘† Double-tap = Manual logging for any app (in Per-App mode)
  • ๐ŸŒ Universal mode = Log everything across all apps
  • ๐Ÿ“Š Built-in analytics = No need for external tools!

GameBar 12