aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Wang2021-01-21 14:32:18 -0600
committerAnthony Wang2021-01-21 14:32:18 -0600
commit4e44b042b377dcc7f58fd1fa495e0881e953ad2d (patch)
tree009587aa203b61b2a6f09f89b61b64df5564b419
parentcde9e9a910f3f63735ac6183ade870f50a809acc (diff)
Add GPU status check
-rw-r--r--pages/linux/prime.md5
1 files changed, 5 insertions, 0 deletions
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: <https://wiki.archlinux.org/index.php/PRIME>.
+> 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`