microsoft / microsoft/wslg

Changing color depth over wslg

Open
#545 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C++
Stars
11.9k
Forks
429
PR merge metrics
No merged PRs in 30d

Description

Is your feature request related to a problem? Please describe.
I've been trying to play old games over wslg with wine (because it has better compatibility for ancient programs than windows) but some games require a color depth of 16 as opposed to 32, and there is no option to change wslg's color depth to fix this

Describe the solution you'd like
a configuration tool for wslg to allow specific programs (and other programs/windows spawned by that program) to have a specific color depth

Describe alternatives you've considered
i have tried to edit the included .rdp file to no avail
i have checked if there is any way to get wine to change the color depth of the internal desktop environment, wiki says this is bound to the system and there is no way for them to do it internally
I have tried to alter the xorg.conf to force color depth, but wslg doesn't use/like xorg and i can't find a way to do it for wayland
color depth settings just don't exist on windows 11

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing WSLg's display and configuration architecture, including its Wayland, X server, and RDP interactions. Compare the requested per-program color-depth behavior with the reported Wine and Windows 11 limitations; done would require an agreed configuration design and validation with affected games.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
desktop, operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.