From 6b1e43333bb1dc6751bef443684e3b07516e595a Mon Sep 17 00:00:00 2001 From: Alfredo Monclus Date: Tue, 2 Jul 2024 12:19:00 -0300 Subject: [PATCH] refactor(docs): add changelog update some troubleshooting pages --- docs/Troubleshooting.md | 18 ++------- docs/Troubleshooting/Framebuffer_id.md | 52 ++++++++++++++++++++++++++ docs/Troubleshooting/Network.md | 4 -- docs/{Changelog.md => breaking.md} | 4 +- docs/changelog.md | 1 + mkdocs.yml | 4 +- 6 files changed, 61 insertions(+), 22 deletions(-) create mode 100644 docs/Troubleshooting/Framebuffer_id.md rename docs/{Changelog.md => breaking.md} (96%) create mode 120000 docs/changelog.md diff --git a/docs/Troubleshooting.md b/docs/Troubleshooting.md index 82915fc1..2a189648 100644 --- a/docs/Troubleshooting.md +++ b/docs/Troubleshooting.md @@ -85,27 +85,15 @@ With the method described in the first section. You may need to press refresh or ```sh modprobe: FATAL: Module g2d_23 not found in directory /lib/modules/6.1.21-v8+ ``` - This error is common on RaspberryOS when using FBturbo, it's not a related issue. + This error is common on RaspberryOS when using FBturbo, it's not a related issue, it works correctly with the error present. !!! abstract "If you see this line in the [system logs](#system-logs):" ```sh (EE) Cannot run in framebuffer mode. Please specify busIDs for all framebuffer devices ``` - This has been known to happen on RaspberryOS Bookworm Lite on Pi5 - ```sh - sudo nano /etc/X11/xorg.conf.d/99-vc4.conf - ``` - paste this into the file: - ``` - Section "OutputClass" - Identifier "vc4" - MatchDriver "vc4" - Driver "modesetting" - Option "PrimaryGPU" "true" - EndSection - ``` - reboot + [Follow this steps](Troubleshooting/Framebuffer_id.md) + [Maybe it's the wrong framebuffer](Troubleshooting/Framebuffer.md) diff --git a/docs/Troubleshooting/Framebuffer_id.md b/docs/Troubleshooting/Framebuffer_id.md new file mode 100644 index 00000000..a6d13d41 --- /dev/null +++ b/docs/Troubleshooting/Framebuffer_id.md @@ -0,0 +1,52 @@ +# Troubleshooting Framebuffer Issues + +Here are some solutions if this line is in the logs: +```sh +(EE) Cannot run in framebuffer mode. Please specify busIDs for all framebuffer devices +``` + +!!! abstract "Raspberry Pi" + + This has been known to happen on RaspberryOS Bookworm Lite on Pi5. + + Later versions of the OS fixed the issue. + + ```sh + sudo nano /etc/X11/xorg.conf.d/99-v3d.conf + ``` + Paste this into the file: + ```sh + Section "OutputClass" + Identifier "vc4" + MatchDriver "vc4" + Driver "modesetting" + Option "PrimaryGPU" "true" + EndSection + ``` + Reboot. + +!!! abstract "Generic" + + This will heavily vary with different hardware. Find the correct busID and create a config like: + + ```sh + sudo nano /etc/X11/xorg.conf.d/99-busid.conf + ``` + Paste this into the file: + ```sh + Section "Device" + Identifier "Card0" + Driver "fbdev" + BusID "pci:1:0:0" + EndSection + ``` + Where the busID in this example is the first pci card. You will have to find the identifier and id of the video output device using tools like: + ```sh + lspci + ``` + Or sometimes with: + ```sh + lshw + ``` + +If you find a solution not listed here, please consider contributing with the information. diff --git a/docs/Troubleshooting/Network.md b/docs/Troubleshooting/Network.md index 2a1813ac..50f52984 100644 --- a/docs/Troubleshooting/Network.md +++ b/docs/Troubleshooting/Network.md @@ -34,10 +34,6 @@ Usually permissions are set with the installer, try to update and then re-run th ???+ "Alternative workaround for network-manager not having permissions" - in order to fix this polkit needs to be configured or disabled: - - here is how to disable polkit for network-manager: - ```sh mkdir -p /etc/NetworkManager/conf.d sudo nano /etc/NetworkManager/conf.d/any-user.conf diff --git a/docs/Changelog.md b/docs/breaking.md similarity index 96% rename from docs/Changelog.md rename to docs/breaking.md index 265aa621..2cd31f09 100644 --- a/docs/Changelog.md +++ b/docs/breaking.md @@ -1,9 +1,9 @@ -# Changelog +Only breaking changes will be listed here. -Breaking changes will be listed here. #### [2024_05_24](https://github.com/KlipperScreen/KlipperScreen/commit/524aa0e7dc2b27c93534d356ba19963b793f38d8) * Drop python 3.7 support, last version for it is v0.4.1: `git reset --hard v0.4.1` +* Drop old WiFi manager, only maintain sdbus-networkmanager #### [2024_01_26](https://github.com/KlipperScreen/KlipperScreen/commit/9d0e4b841f905f0034a7c6fefefcf041e38b90a3) * Deprecated old ~/klipper_config folder users need to place the configfile diff --git a/docs/changelog.md b/docs/changelog.md new file mode 120000 index 00000000..04c99a55 --- /dev/null +++ b/docs/changelog.md @@ -0,0 +1 @@ +../CHANGELOG.md \ No newline at end of file diff --git a/mkdocs.yml b/mkdocs.yml index 4a3990fa..40e48170 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -27,6 +27,7 @@ nav: - Network: Troubleshooting/Network.md - Physical install: Troubleshooting/Physical_Install.md - Wrong Framebuffer: Troubleshooting/Framebuffer.md + - Framebuffer ID: Troubleshooting/Framebuffer_id.md - Screen Rotation: Troubleshooting/Rotation.md - Touch: Troubleshooting/Touch_issues.md - Virtual Console Error: Troubleshooting/VC_ERROR.md @@ -40,7 +41,8 @@ nav: - Z Calibrate: Panels/Zcalibrate.md - Theming.md - Translations.md - - Breaking Changes: Changelog.md + - Changelog: changelog.md + - Breaking Changes: breaking.md - Developers.md - Contact.md theme: