-
-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: improve and expand DRM environment variable documentation #80
Open
romanstingler
wants to merge
1
commit into
hyprwm:main
Choose a base branch
from
romanstingler:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,10 +4,28 @@ Unless specified otherwise, a variable is enabled if and only if it's set to `1` | |
|
||
### DRM | ||
|
||
`AQ_DRM_DEVICES` -> Set an explicit list of DRM devices (GPUs) to use. It's a colon-separated list of paths, with the first being the primary. E.g. `/dev/dri/card1:/dev/dri/card0` | ||
`AQ_NO_ATOMIC` -> Disables drm atomic modesetting | ||
`AQ_MGPU_NO_EXPLICIT` -> Disables explicit syncing on mgpu buffers | ||
`AQ_NO_MODIFIERS` -> Disables modifiers for DRM buffers | ||
### DRM Devices and Settings | ||
|
||
`AQ_DRM_DEVICES` -> This option allows you to set a specific list of DRM devices (GPUs) for the system to use. | ||
The list is separated by colons (:), and the first device listed will be the primary GPU. | ||
For example: `/dev/dri/card1:/dev/dri/card0`. | ||
This means the system will primarily use `card1` and then fall back to `card0` if needed. | ||
|
||
`AQ_NO_ATOMIC` -> Disables atomic mode setting for the DRM. | ||
Atomic mode setting is a feature that makes screen updates more reliable by grouping changes together. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this should not be encouraged whatsoever as legacy drm support is... poor in aq |
||
Setting AQ_NO_ATOMIC to 1 can be useful on hardware or drivers that don’t fully support atomic mode setting, | ||
as it can prevent crashes or freezes caused by incomplete or incorrect atomic updates. | ||
|
||
`AQ_MGPU_NO_EXPLICIT` -> Disables explicit synchronization between buffers when using multiple GPUs (multi-GPU setups). | ||
Without explicit syncing, the system handles buffer transfers between GPUs more automatically, | ||
which can improve performance in some cases but might introduce errors in more complex setups. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. implicit sync is less peformant |
||
|
||
`AQ_NO_MODIFIERS` -> Disables DRM modifiers for buffers. | ||
This can also resolve issues where a monitor fails to turn on or is not detected properly. | ||
DRM modifiers define how pixel data is stored in memory (e.g., in optimized formats). | ||
Setting `AQ_NO_MODIFIERS` to `1` ensures simpler buffer handling, | ||
which might be necessary on hardware that doesn’t support advanced memory layouts, | ||
especially for high resolutions like 4K. | ||
|
||
### Debugging | ||
|
||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
May be good to add a part here about symlinking to
~/.config/hypr/card
. There was a good section about that in the pre-aq docs.