From 4e44b042b377dcc7f58fd1fa495e0881e953ad2d Mon Sep 17 00:00:00 2001 From: Anthony Wang Date: Thu, 21 Jan 2021 14:32:18 -0600 Subject: Add GPU status check --- pages/linux/prime.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pages/linux/prime.md b/pages/linux/prime.md index e254465..c0f5101 100644 --- a/pages/linux/prime.md +++ b/pages/linux/prime.md @@ -2,7 +2,12 @@ > Manage hybrid graphics. > More information: . +> Also see `clock`. - Run application on dedicated GPU: `DRI_PRIME=1 {{application_name}}` + +- Check status of dedicated GPU: + +`sudo cat /sys/kernel/debug/vgaswitcheroo/switch` -- cgit v1.2.3-70-g09d2