ChanServ changed the topic of #linux-msm to:
<HappY[m]> <konradybcio> "HappY🤗: try using mipi_dsi_dcs_s..." <- after this display is black and error is `[drm:dpu_crtc_get_vblank_counter] *ERROR* no encoder found for crtc 0`
<konradybcio> are you sure it's black and not at 0 brightness
<konradybcio> try echo 1000 > /sys/class/backlight/*/brightness
davidinux has quit [Ping timeout: 480 seconds]
davidinux has joined #linux-msm
<Degdag_Med[m]> <konradybcio> "are you sure it's black and..." <- I have the same issue and removing _large just make it worse , when adjusting the brightness it's not continues from low to high , it changes randomly and even goes blank
<konradybcio> _large just handles 16-bit-wide big endian values
<Degdag_Med[m]> * In reply to @konradybcio:matrix.org
<Degdag_Med[m]> I have the same issue and removing _large just make it worse , when adjusting the brightness it's not continues from low to high , it changes randomly and even goes black
<Degdag_Med[m]> are you sure it's black and not at 0 brightness
<konradybcio> panels accept and expect a range of bit-wideness and bit order values
<Degdag_Med[m]> How to check if my panel handle 16 or 8 bit-wide value?
<konradybcio> what's the maximum backlight value specified in downstream dt?
<Degdag_Med[m]> konradybcio: qcom,mdss-brightness-max-level = <0x7ff>;
<Degdag_Med[m]> 2047
<konradybcio> that's equivalent to setting 11 low bits
<konradybcio> is the panel brighter if you send 255 than if you send 512?
<Degdag_Med[m]> Not sure let me test
<Degdag_Med[m]> <konradybcio> "is the panel brighter if you..." <- Yes it is
<konradybcio> and if you send 2048 does it go black?
<Degdag_Med[m]> Degdag_Med[m]: This with mipi_dsi_dcs_set_display_brightness_large
<Degdag_Med[m]> konradybcio: Nah it's maxed at 2047
<konradybcio> did you update the function to _large in both get and set functions?
<Degdag_Med[m]> with mipi_dsi_dcs_set_display_brightness
<Degdag_Med[m]> I'm sure it can get black on random brightness value
<Degdag_Med[m]> konradybcio: Yes sure
<Degdag_Med[m]> But with _large brightness works correctly it's just has some glitches
<Degdag_Med[m]> When adjusting the brightness
<Degdag_Med[m]> I'm not entirely sure but this might just be an issue with Mesa
<flamingradian[m]> I believe the brightness setting is sent directly to the kernel
<Degdag_Med[m]> Brightness is fine , just the ui dose glitch
<Degdag_Med[m]> Tried gnome KDE phosh xfce all has this issue
<flamingradian[m]> if 255 brightness is brighter than 512, then I think it's a brightness problem
<Degdag_Med[m]> <flamingradian[m]> "if 255 brightness is brighter..." <- It's not
<Degdag_Med[m]> <Degdag_Med[m]> "Yes it is" <- Sorry I misunderstood
<Degdag_Med[m]> No it isn't brighter
<Degdag_Med[m]> 512 is brighter than 255
<flamingradian[m]> Okay, are the graphical glitches only when changing brightness, or do they happen when something else is happening?
<Degdag_Med[m]> flamingradian[m]: Only when changing the brightness
<flamingradian[m]> if it's a bit order issue, I'd set the brightness to each power of 2 from 1 through 1024 and see if it keeps getting brighter
<HappY[m]> <konradybcio> "what's the maximum backlight..." <- This is my all types of brightness level..... (full message at <https://matrix.org/_matrix/media/v3/download/matrix.org/xxejzqggslUaaNVJdNGjsXZb>)
davidinux is now known as Guest1410
davidinux has joined #linux-msm
Guest1410 has quit [Ping timeout: 480 seconds]
<Marijn[m]> <flamingradian[m]> "Okay, are the graphical glitches..." <- Happens on other devices as well, probably something with interleaving brightness commands in the DSI stream while it is transmitting pixel data, though on qcom I thought BURST_MODE was supposed to mitigate that
<z3ntu> fwiw I see also bad display glitches when changing brightness on msm8974 Fairphone 2, that one uses these dsi dcs commands for changing brightness
sibis1 has joined #linux-msm
<Marijn[m]> Hopefully folks don't mistake the glitchiness for using the wrong set_brightness(_large) function and/or messing up endianness, they're two distinct issues
sibis has quit [Ping timeout: 480 seconds]
<z3ntu> on this msm8974 it's glitchyness as in the picture jumps a bit randomly up and down the screen, I'd guess the synchronization between the start and end of the pixel data is lost
ZkliA_ has quit [Remote host closed the connection]
ZkliA_ has joined #linux-msm
sibis1 is now known as sibis
ZkliA__ has joined #linux-msm
ZkliA has joined #linux-msm
ZkliA_ has quit [Ping timeout: 480 seconds]
ZkliA__ has quit [Ping timeout: 480 seconds]
<HappY[m]> <z3ntu> "on this msm8974 it's glitchyness..." <- Same happen with me.. suppose I open keyboard.. after work close and then I see screen colour changed & sometime screen going up & sometimes down..
pespin has joined #linux-msm
<Degdag_Med[m]> <Marijn[m]> "Hopefully folks don't mistake..." <- Well for me the brightness is fine.
<Degdag_Med[m]> if I swap the brightness slider slowly there's even no glitches at all or if I change it without swapping
junari has joined #linux-msm
junari has quit [Remote host closed the connection]
junari has joined #linux-msm
Mis012[m]1 is now known as Mis012[m]
<HappY[m]> <Degdag_Med[m]> "Well for me the brightness is..." <- > <@degdag:matrix.org> Well for me the brightness is fine.
<HappY[m]> > if I swap the brightness slider slowly there's even no glitches at all or if I change it without swapping
<HappY[m]> Just checked same like you.. if I reduce brightness without swipe then no issues..
<HappY[m]> But I can reduce brightness upto 50%
ZkliA has quit []
<Degdag_Med[m]> <HappY[m]> "But I can reduce brightness upto..." <- For brightness control works as expected it can go low and night at max without issue , only the graphical glitches occur
<HappY[m]> Degdag_Med[m]: With large?
<HappY[m]> Now I am on large
<Degdag_Med[m]> HappY[m]: Yes
<HappY[m]> Without swipe I also don't have issues only issue with 1% 49% working fine or 50% to 100% working fine
<HappY[m]> Check this video you can understand https://matrix.to/#/!mCFUAbDMChDbEFqHbW:matrix.org/$U4Lvv2lyV9si-m_8X5YJdh-628XHgpV11_2ks0cUuTU?via=matrix.org&via=reactos.org&via=igalia.com
<bamse> ajhalaney[m]: damn you! you tricked me to review the ufs series again
<Degdag_Med[m]> HappY[m]: I saw it , probably I don't have the same as you since my BL control works as expected
<ajhalaney[m]> tricking others into doing work is part of my job description i think bamse :P
<bamse> ajhalaney[m]: i thought that was my job description ;)
<ajhalaney[m]> what would you say you do here?
<HappY[m]> Degdag_Med[m]: But its okay it's usable.. if I reduce to 1 to 49% working fine without swipe.. & same 50 to 100% working fine without swipe..
junari has quit [Remote host closed the connection]
pespin has quit [Remote host closed the connection]
Adrian[m]1 has joined #linux-msm