My screen colors may be potentially off compared to Windows

I am using vscode on both Windows and Linux on the exact same computer and monitor setup.

And for some reason the color text on vscode looks a little more colorful on Windows compared to Linux. Even though I am using the exact same font and exact same theme extension.

if this is something to do with linux not giving me enough color ranges, I ran xrandr --output DVI-D-0 --set "Broadcast RGB" "Full" however I got an error:

X Error of failed request:  BadName (named color or font does not exist)
  Major opcode of failed request:  140 (RANDR)
  Minor opcode of failed request:  11 (RRQueryOutputProperty)
  Serial number of failed request:  45
  Current serial number in output stream:  45

I am not sure what other option I could use to try and use more rgb values?

Do the colors look washed out, or are there issues with gamma? Not sure what you mean with colorful.
In the first case the color depth is an issue and in the second it might be the wrong ICC profile.

What is the output of

grep -i depth /var/log/Xorg.0.log

Also that xrandr command will only work on intel graphics AFAIR, what kind of graphics hardware do you have?

THe colors look sensible, but I don’t know the colors just look a bit different on Linux vs Windows on vscode, I am not too sure why this is

The output is this:

	"Default Screen Section" for depth/fbbpp 24/32
[     6.337] (==) AMDGPU(0): Depth 24, (--) framebuffer bpp 32
[     6.337] (II) AMDGPU(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)

Oh I never knew that. I have amd graphics card :slight_smile:

Yeah it looks color depth is ok. Maybe the color profile is not correct. Check for more info.

Edit: more details here for adjusting the depth on AMD cards, you can try that too

Is this a laptop or a desktop?

I know on my monitor using it over HDMI causes it to default to YCbCr instead of RGB which causes it to look REALLY weird

you may need to do the EDID hack to force RGB as amdgpu doesnt have a way to force RGB normally. Im not sure why Linux and MacOS STILL have to do this for AMD GPUs but apparently its issues with monitor EDIDs and neither handle it well

Thanks mate.

Maybe I am imagining things, I mean the colors do look different in different days due to sunlight etc. Plus everything else looks the same from Windows to Linux so I don’t know. But I will look at this thanks :slight_smile:

I am using a laptop, what about you when you said it looks really weird I assume this is from a laptop?

Thanks mate I will look at this thanks :slight_smile:

No its not a laptop, that might not be your issue then. Maybe on windows there is some color control or ICC not applied on Linux.

Do you still have windows to investigate?