Hardware/Framework/Laptop 16: Difference between revisions
Cleanup, mention nixos-hardware, explain validation and troubleshooting |
m Use non-flake version of nix shell |
||
| Line 83: | Line 83: | ||
<syntaxhighlight lang="sh"> | <syntaxhighlight lang="sh"> | ||
$ nix shell | $ nix-shell -p pciutils --run 'lspci | grep -E "VGA|3D|Display"' | ||
</syntaxhighlight> | </syntaxhighlight> | ||
| Line 103: | Line 103: | ||
<syntaxhighlight lang="sh"> | <syntaxhighlight lang="sh"> | ||
# Default: should show AMD iGPU | # Default: should show AMD iGPU | ||
nix shell | nix-shell -p mesa-demos --run 'glxinfo -B | grep -E "OpenGL vendor|OpenGL renderer"' | ||
# Offload: should show NVIDIA dGPU | # Offload: should show NVIDIA dGPU | ||
nix shell | nix-shell -p mesa-demos --run 'nvidia-offload glxinfo -B | grep -E "OpenGL vendor|OpenGL renderer"' | ||
# Idle power check: should become "suspended" when idle | # Idle power check: should become "suspended" when idle | ||