From b2ec020ace6b0f6574b4ec0581ce017955151f00 Mon Sep 17 00:00:00 2001 From: Mihai Fufezan Date: Sat, 13 Aug 2022 20:56:20 +0300 Subject: [PATCH] Installation: point to Crashes and Bugs Crashes and Bugs: fixes --- pages/Crashes and Bugs/_index.md | 6 +++--- pages/Getting Started/Installation.md | 19 +------------------ 2 files changed, 4 insertions(+), 21 deletions(-) diff --git a/pages/Crashes and Bugs/_index.md b/pages/Crashes and Bugs/_index.md index 901deda..cf7c47c 100644 --- a/pages/Crashes and Bugs/_index.md +++ b/pages/Crashes and Bugs/_index.md @@ -3,15 +3,15 @@ If you are in a TTY, and the hyprland session that crashed was the last one you launched, the log will be printed with -``` +```sh cat /tmp/hypr/$(ls -t /tmp/hypr/ | head -n 1)/hyprland.log ``` -feel free to send it to a file, save, copy, etc. +feel free to save it to a file, save, copy, etc. if you are in a Hyprland session, and you want the log of the last session, use -``` +```sh cat /tmp/hypr/$(ls -t /tmp/hypr/ | head -n 2 | tail -n 1)/hyprland.log ``` diff --git a/pages/Getting Started/Installation.md b/pages/Getting Started/Installation.md index adc85c2..530ea94 100644 --- a/pages/Getting Started/Installation.md +++ b/pages/Getting Started/Installation.md @@ -102,24 +102,7 @@ debug. ## Crash on launch -See the log, `cat /tmp/hypr/[INSTANCE_SIGNATURE]/hyprland.log` - -*If you are unsure of the signature, grab the one that's the most recently -modified.* - -Diagnose the issue by what is in the log: - -- `sWLRBackend was NULL!` -> launch in the TTY and refer to the wlr logs in RED. -- `Monitor X has NO PREFERRED MODE, and an INVALID one was requested` -> your - monitor is borked. -- Other -> see the coredump. Use `coredumpctl`, find the latest one's PID and do - `coredumpctl info PID`. -- failing on a driver (e.g. `radeon`) -> try compiling with - `make legacyrenderer`. If that doesn't help, report an issue. -- failing on `wlr-xxx` -> try compiling with `make legacyrenderer`. If that - doesn't help, report an issue, and also refer to the TTY wlr logs in RED like - in the first point. -- failing on `Hyprland` -> report an issue. +See [Crashes and Bugs](../../Crashes-and-Bugs). ## Custom installation (legacy renderer, etc)