From 6585a510415610d59e399d44e865121962ab0d12 Mon Sep 17 00:00:00 2001 From: Yousef Sultan Date: Thu, 24 Oct 2019 15:51:17 +0300 Subject: [PATCH] Add troubleshooting for crash when unloading modules Signed-off-by: Yousef Sultan --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 205bb0c..30b481d 100644 --- a/README.md +++ b/README.md @@ -106,6 +106,12 @@ To fix, you can change the DPI settings in `~/.Xresources (~/.Xdefaults)` file b Xft.dpi: 192 ``` +### `nvidia-xrun` fails to unload modules + +This can happen if you switch between tty sessions while nvidia-xrun is active. Usually switching to another tty, running `nvidia-xrun` and closing it without switching to another tty should exit gracefully. + +If you currently have such an issue, you can avoid restarting the system by logging out of all X sessions (perhaps `sudo systemctl restart gdm` or whatever) and then manually unloading the modules and turning off GPU. + ### `nouveau` driver conflict `nouveau` driver should be automatically blacklisted by `nvidia` but in case it is not, `nvidia` might not get access to GPU. Then you need to manually blacklist `nouveau` following Arch wiki https://wiki.archlinux.org/index.php/kernel_modules#Blacklisting.