-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates to the HDMI configuration documentation
- Loading branch information
Showing
5 changed files
with
51 additions
and
152 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
documentation/asciidoc/computers/configuration/display-resolution.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
== Setting your display's resolution | ||
|
||
If you find yourself in circumstances where the Raspberry Pi may not be able to determine the best mode, or you specifically wish to set a non-default resolution, you can manually set the resolution by editing various config files. Which config file you need to edit depends on whether you're booting to the desktop environment or booting to the CLI (text console). | ||
|
||
=== Setting the desktop environment resolution | ||
|
||
If you are running the Raspberry Pi desktop then the resolution is most easily changed by using the `Screen Configuration Utility` from the desktop `Preferences` menu. This will bring up a graphical representation of the display or displays connected to the Raspberry Pi. Right click on the display you wish to modify and select the required option. | ||
|
||
It is also possible to change these settings by editing config files, although the method for doing this depends on whether you're running the Wayland or X11 backend. Type | ||
[,bash] | ||
---- | ||
ps ax | grep [w]ayfire | ||
---- | ||
into a Terminal window, and if you get `/usr/bin/wayfire` displayed then you're running Wayland, and if you get no output you're running X11. | ||
|
||
NOTE: In the current version of Raspberry Pi OS Bookworm, Raspberry Pi 4 and 400 default to using Wayland to display the desktop environment; whereas earlier models of Raspberry Pi default to using X11 to display the desktop environment. | ||
|
||
==== Manually setting the desktop environment resolution for Wayland | ||
|
||
Under Wayland you can set a custom display resolution by editing the `.config/wayfire.ini` file in your home directory. You need to edit the existing `[output:]` section, or add a new `[output:]` section for your display device if one doesn't exist. For example: | ||
---- | ||
[output:HDMI-A-1] | ||
mode = 1920x1080@60 | ||
---- | ||
|
||
The second half of the `[output:]` line (`HDMI-A-1` in the example shown here) matches the display options <<the-kernel-command-line,described for KMS>>. | ||
The `mode` line is _similar_ to that used by KMS, but slightly different. Consult the https://github.com/WayfireWM/wayfire-wiki/blob/master/Configuration.md#output-configuration[Wayfire documentation] for more extensive information. | ||
|
||
// TODO: ==== Manually setting the desktop environment resolution for X11 | ||
|
||
=== Manually setting the text console resolution | ||
|
||
This is achieved by editing the KMS settings - see <<the-kernel-command-line,configuring the kernel command line>> for more details. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters