Installation: point to Crashes and Bugs

Crashes and Bugs: fixes
This commit is contained in:
Mihai Fufezan 2022-08-13 20:56:20 +03:00
parent 80c523c461
commit b2ec020ace
No known key found for this signature in database
GPG key ID: 5899325F2F120900
2 changed files with 4 additions and 21 deletions

View file

@ -3,15 +3,15 @@
If you are in a TTY, and the hyprland session that crashed was the last one you If you are in a TTY, and the hyprland session that crashed was the last one you
launched, the log will be printed with launched, the log will be printed with
``` ```sh
cat /tmp/hypr/$(ls -t /tmp/hypr/ | head -n 1)/hyprland.log 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 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 cat /tmp/hypr/$(ls -t /tmp/hypr/ | head -n 2 | tail -n 1)/hyprland.log
``` ```

View file

@ -102,24 +102,7 @@ debug.
## Crash on launch ## Crash on launch
See the log, `cat /tmp/hypr/[INSTANCE_SIGNATURE]/hyprland.log` See [Crashes and Bugs](../../Crashes-and-Bugs).
*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.
## Custom installation (legacy renderer, etc) ## Custom installation (legacy renderer, etc)