• General
  • Flickering OLED screens on Google Pixel smartphones (PWM)

de0u I think the developers of GOS do not need to test on all smartphones at once. First, for example on the Pixel 6a. And then make a conclusion based on it.
There are people with sensitive eyes like mine. And of the developers almost no one tried to deal with PWM switching off on OLED screens, especially on the Pixel, because it is somehow accepted now that OLED screens have PWM and it is supposedly normal.
But this is just my opinion, please don't take it negatively.
If this possibility to disable PWM appears in GrapheneOS firmware, it will help not only me but also other people who use Google Pixel, because Google itself is not going to do it.

You might look into demonstrating that some specific Pixel can be flicker-free

I honestly do not even know how to demonstrate such a possibility, if I had the knowledge and ability to work with the kernel and the firmware, I would be happy to.

  • de0u replied to this.

    matemo It feels like Google is purposely putting these screens with such low PWM frequencies in cheaper models like the 4a, 6a, 7a, right on purpose to get people to buy the more expensive models.

    In general when a company makes a cheaper model they do so by using a variety of cheaper components: cheaper screen, smaller screen, smaller battery, less RAM, lower-resolution camera, etc. This is quite purposeful, and the purpose is to offer a cheaper device for the customers who want that.

    One potential strategy for getting the premium parts at a discount is buying used devices a year or so after they were released as new. Some people like to have the newest phone, and are willing to pay for that, but that produces a stream of devices that have been used only for a little while. Since Pixel devices receive firmware patches from Google for a long time (currently 5 years), buying a one-year-old premium device every four years might be a reasonable strategy.

    matemo I honestly do not even know how to demonstrate such a possibility, if I had the knowledge and ability to work with the kernel and the firmware, I would be happy to.

    It might be possible to collect a small amount of money each from a bunch of people and then hire somebody to do a feasibility investigation. There's probably a big gap between the effort to do some experiments and what it would take to produce solid code with a UI, so the experimentation step might be pretty cheap.

    19 days later

    nice seeing another kind soul bring this up!

    judging review it appears that measurements of some that have DC-dimming function appear much more stable compared to oled as used by Samsung however unsure how stable the waveform of an oled display can be in contrast to LCD.

    as for implementing it for gOS on pixel devices, not sure if the chipset or display controller support DC-dimming or PWM at 100 brightness can be avoided.

      8 days later

      Just bought a used 4a for GOS only. This sucks tremendously.

      Google hiding the better options behind a millionaire paywall is pure abuse. We don't want anything special - just a God damn phone. It shouldn't cost more than 20-50 Euros like it used to. But those don't exist anymore. I don't need a 6 million mega pixel cam. I don't want a fingerprint sensor or any other bullshit. It's a phone. Ideally it can play MP3, that's about it.

      Even a used low-end 4a costs several HUNDRED Euros, something the non-rich save up a year or two for, and then I find out it rapes our eyes?

      WONDERFUL

      Too bad GOS doesn't run on anything else. Can't find any cleaner phone that works as a phone than Pixels with GOS. But this means it's effectively impossible to look at.

      If GOS could fix this (if it's even possible on this hardware), it would add a lot of value to it.

      Right now it's not usable.

      I thought going from LCD to OLED would be an upgrade - what a perfect marketing lie!

      Consensus seems to be that oledsaver doesn't work. Any more experiences? I don't want to mess with proprietary apps that demand full permissions. But it's the only hope right now.

        Something small that may or may not help a little:

        Go to accessibility - extra dim. Turn that to lowest intensity, then turn screen brightness to whatever you need.

        It makes more screen elements pure black = OLED off. Not sure that helps much when everything else is flickering, but fewer flickering pixels sound good.

        If someone has a 2nd phone with a working slow-mo camera, we could analyze this and apps and test what works!

          7 days later

          Elephant Yeah, it's hard to say about OLED.

          cltqbfk359 I agree with you.

          I didn't knew about the presence of PWM in OLED/AMOLED either. Something that many manufacturers are hiding. And then people get eye strain from smartphones and don't know why.

          Samsung for example does not admit this problem and says that their screens comply with all safety measures. What a pathetic lie.

          It is a shame that there is no law in the EU (or anywhere else for that matter. and it can mostly affect this situation) that would regulate the safety of smartphone displays with PWM.

          Whether we like it or not, whether we can see it or not, our eyes are exposed to the terrible PWM on Google Pixel smartphones. The only way to try and start fixing this on GrapheneOS first is to recognize the problem.

          cltqbfk359 Extra Dim has the same method as the apps. Only it doesn't control the system brightness level (PWM doesn't change), it just dims the screen. Here I described how it works:

          I've already checked out this app, by the way. OLED Saver and PWMfree when I was still on the stock OS. And even on GrapheneOS I have already tested them.

          What they do is increase the brightness to the maximum available to them (the same can be done without the app) that is no higher than the user himself can do in the settings, and overlay an invisible (yet) black filter on the screen. So, when using dimming from the app, the black filter applied gets darker and darker depending on the brightness set in the app.

          The way OLED display works is the darker the image, the less voltage is applied to the LED. How do you get dark gray on an OLED display? Gray, dark gray, and light gray are really just shades of white. A gray pixel is obtained by forming a white pixel and then reducing the voltage going to the LEDs. On other smartphones this could work because some models completely turn off the PWM at 100 percent brightness.

          And here we should get supposedly DC Dimming, but it's not so easy on Google Pixel and Samsung smartphones.

          Because the main problem still remains - the PWM does not go anywhere. At maximum brightness, the display flickers because of PWM at 240 Hz.

          @treequell please add the "Development" tag to the topic title (without removing it from "General")

          10 days later

          This is going to be a long post. So, I've collected some info that can help GrapheneOS developers.

          I recently came across this question on Reddit - "Is using max brightness guaranteed to be PWM free?". There was this comment - "Yes if the display has no HDR. But most OLED displays on smartphones today have HDR so they advertise 2 different max brightness values - for example 1200 nits max brightness typically, with 1750 nits max for HDR content.

          This means individual LEDs can attain 1750 nits max brightness, but this will be only for HDR content. But this is very very bright for typical use and also unsustainable for long time (from thermal and power perspective) so they limit the individual LED to a lower typical value which means it must use PWM to have it at that lower-than-max brightness."


          As we know, the Pixel 6a display supports HDR. I wanted to do an experiment.

          The first thing I checked is that the brightness is set to 100 percent and adaptive mode is set in the display settings. Then I downloaded an image of an completely white background, opened the gallery and opened that image to full screen. I then took the camera, set the ISO to 3200 and took the first photo which shows the PWM flicker.

          Then on YouTube, I opened an HDR video with completely white color also full screen. I took a photo with the same camera settings.

          But a small remark - I do not have a device that measures the coefficient or frequency of PWM flickering, so the conclusion will be based on two different pictures. (and additionally the third one)
          The results are as follows, there are 3 pictures in the gallery -

          https://postimg.cc/gallery/cY1vXX5

          Picture 1 - maximum brightness at 100% without HDR content (PWM 240Hz)
          Picture 2 - HDR video is open and playing here, the width of flickering lines is less.
          Picture 3 is the most unusual. This is also HDR video. You can see that the PWM frequency has decreased. I think this is because I turned off the video and waited 5 minutes before taking another picture, thus the temperature of the display decreased and the brightness was at its peak. The PWM frequency decreased a lot. And the duty cycle stayed as short, it didn't increase (which is a good thing)

          What can I say:

          Samsung displays are one of the worst in terms of flicker. They even put these AMOLED displays on their most expensive smartphones (just like Google, of course), which have a PWM flicker frequency of 240 Hz.
          So, I've demonstrated some kind of opportunity for GrapheneOS developers. I'm not sure if FlickerFree is possible, but it is still possible to add an option to reduce PWM, which would be good for the eyes. And the method of adjusting the brightness when the option is enabled, can be done as in the app OLED saver (ie overlaying a dark layer depending on the preferred level of brightness) Thus we will get an improvised DC Dimming. (by the way, smartphones with DC Dimming also have PWM, but less).

          Since I do not have access to kernel and do not know how to modify it, the conclusion is based on surface experience. Maybe it will be possible to get rid of PWM at all, only GOS developers will be able to find out.


          Also saw another interesting Kernel for Google Pixel 2 & Pixel 2 XL today.
          It's called Moonflower Kernel. It is available on Github - https://github.com/JanPetrucci27/android_kernel_google_wahoo
          Based on the description, it implements Flicker-Free (DC Dimming) as the developer of this kernel wrote on GitHub:

          " DC Dimming was provided in the Nov 7, 2022 release -.
          " - Introducing DC Dimming "Flicker-free" display driver:
          "The flicker free provides flicker free function without changing panel hardware brightness to avoid PWM flicker on OLED devices."
          -"Backlight dimmer" and "Backlight max brightness" option. "

          At the path "android_kernel_google_google_wahoo/drivers/video/fbdev/msm/" I can see some changes. There are also two files there "flicker_free.c" and "flicker_free.h".

          I don't have a Pixel 2 or 2 XL, but I think the changes in the kernel set the display controller to run at full brightness, for example, instead of 800 nits it will get 1300 nits of brightness without PWM. Then, a dimming filter is applied on top of the screen. The same way as the OLED Saver. Then, you get improvised DC Dimming without PWM because of the changes in the kernel. But I can only speculate how it works.

          @GrapheneOS Dear GrapheneOS administrators and developers. At least do not leave this problem without attention. Including me.

          I have provided you with as much information as I could. I hope that you will take this situation with understanding.

          If there is a problem that hurts the eyes of many Pixel smartphone owners, including those who use GrapheneOS firmware, which Google does not want to fix, and you have the opportunity to do so, why not? I'd like to hear some reaction from you on this issue, rather than just ignoring the situation.

          Aside from the privacy features, adding this feature 100% would be a good idea. People who suffer from PWM will switch to GOS.

          Thank you for your attention to this issue, and I hope you will keep an open mind about the situation.

          a month later

          matemo Apparently, even in Fairphone 5 smartphones, the DC Dimming option has been added

          Was DC dimming also added retrospectively to the FP4?

            matemo It seems as if the possibility of DC dimming depends on screen hardware. If we don't know whether modern Pixel screens do or do not support DC dimming, it is unknown whether or not there is anything for theoretical software to theoretically enable.

              de0u Of course, I agree with that. But it is still possible to reduce the PWM, I did an "experiment". If you want, you can compare the first and third photo: https://postimg.cc/gallery/cY1vXX5
              P.S The first photo shows the default PWM (at 100 percent brightness, which can be set by the user)

              de0u And, as in the 2nd and 3rd photos, this cannot be done for long term use manually (only possible on the firmware or kernel level)

              9 days later

              It would be good if some programmer checked this problem. Xiaomi and even realme have DC dimming options. The Pixel 6a has a really bad display in terms of flicker.

              24 days later

              I too am annoyed by the PWM on my 6a. The only thing I could do was set the screen brightness manually above 50%. The flicker above 50% on the 6a pixel stabilises a bit so it alleviates the situation. But further than that it's just a relief. And I set a bright theme to tire my eyes less when reading. The weak thing is that google and Samsung don't give options to improve flicker. Motorola has much better displays in this respect. And xiaomi and other Chinese brands add DC dimming.

              matemo Have you tried enabling the nightshift / night light to run 24/7? It tints the screen and makes it much easier on your eyes. I have to enable this on everything, otherwise I'll have a migraine.