Genymobile / scrcpy

Display and control your Android device
Apache License 2.0
110.85k stars 10.62k forks source link

Colors Washed out #1868

Open jogadaexcelente opened 3 years ago

jogadaexcelente commented 3 years ago

Every time I run Scrcpy the colors on the screen seems to be washed out even my screen brightness is at the maximum. This screenshot is from the app itself. The box in the middle is supposed to be full white but it's kinda gray as if the brightness was low. Maybe it's something simple to fix but I couldn't find anything related on the issues page. Thanks! PRINT01

rom1v commented 3 years ago

Is it the same with:

adb shell screenrecord /sdcard/file.mp4
adb pull /sdcard/file.mp4
vlc file.mp4

?

jamespharvey20 commented 3 years ago

I had this happen because of a blue light filter app. In addition to filtering out a percentage of blue light to affect the color temperature, it allows dimming. (I like using this, because even with Android dimmed to its lowest setting, I'd prefer it to be dimmer if I'm using it with the lights off, to not disturb my wife.) The Android doesn't have these functions for it to use, so it has to simulate them by doing something like a transparent overlay on top. So, when I first used scrcpy, it displayed as a different color temperature and dimmer, because the white pixels on the screen that it was copying were in fact not 100% white.

Our eyes adjust to what we perceive as the whitepoint. If you've ever had an app like this, see if it's still running. Even if looking at the actual phone looks like it's not affecting it.

jogadaexcelente commented 3 years ago

Well.. turns out the "problem" was on my phone. The same thing would happen when taking a screenshot. The screenshot itself would be darker than what was on the screen. While looking for a way to solve this, I came across a post on reddit saying that if you set your phone to automatic brightness this might happen. So I just unchecked this option, restarted the phone and it was solved. I'm on a Xiomi Mi9 SE by the way. At least now we know what to do in case this happens again. Thanks!

SibiAkkash commented 3 years ago

I noticed a quirk while watching Youtube. When I press the spacebar while watching a video, a grey overlay appears on the screen and on the phone as well. This effect vanishes when i close and reopen the video. I've attached a video here, you can see the screen greying out when i press the spacebar.

https://user-images.githubusercontent.com/39093537/132947979-9aaffe93-9927-4fbc-a757-1fea71201447.mp4

mfs-jorgearenas commented 2 years ago

I have noticed that the problem is due to dark mode being on at least in Xiaomi devices, the moment you turn off dark mode this it's solved

AngeloTadeucci commented 1 year ago

Can confirm it's an Xiaomi issue with dark mode, @rom1v is this possible to be fixed? If you are too busy and you can give me an direction of where I can find the issue in the code base I could try to fix it

rom1v commented 1 year ago

@rom1v is this possible to be fixed?

No idea.

Does it also happen with screenrecord? https://github.com/Genymobile/scrcpy/issues/1868#issuecomment-719095574

AngeloTadeucci commented 1 year ago

No idea.

Does it also happen with screenrecord? #1868 (comment)

Yes, it does happen on recording. @rom1v

https://github.com/Genymobile/scrcpy/assets/15664821/d34926e2-34d5-46d6-bb1d-64e4cf7980e1

blackmatrixx commented 3 months ago

I have noticed that the problem is due to dark mode being on at least in Xiaomi devices, the moment you turn off dark mode this it's solved

This dark mode thing effects nothing to me any other fix?

rom1v commented 3 months ago

Does it still happen with scrcpy 2.5?