Skip to content

Add drm-lease output config option#3738

Open
PandorasFox wants to merge 2 commits intoniri-wm:mainfrom
PandorasFox:main
Open

Add drm-lease output config option#3738
PandorasFox wants to merge 2 commits intoniri-wm:mainfrom
PandorasFox:main

Conversation

@PandorasFox
Copy link
Copy Markdown
Contributor

Allow forcing an output to be offered for DRM leasing via a new drm-lease config flag. This serves as a workaround for drivers (notably NVIDIA) that fail to set the non-desktop DRM connector property on VR headsets and similar displays.


my rtx 3090 + valve index does DRM leasing fine under sway/kwin (with worse perf/weird display flickers when the lease starts/ends), after the HMD has been configured as 'disabled' in sway/kwin.

yet another case of the nvidia drivers being of bad quality. I couldn't see an appropriate way to handle this at the Smithay layer, as I think that'd more or less require mucking with EDID data, so I think this is the cleanest way to simply mark the device as being DRM-leasable.

Allow forcing an output to be offered for DRM leasing via a new
`drm-lease` config flag. This serves as a workaround for drivers
(notably NVIDIA) that fail to set the `non-desktop` DRM connector
property on VR headsets and similar displays.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Sempyos Sempyos added area:output Monitors, scaling, VRR, DPMS area:config Config parsing, default config, new settings pr kind:feature New features and functionality labels Mar 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:config Config parsing, default config, new settings area:output Monitors, scaling, VRR, DPMS pr kind:feature New features and functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants