graphics slowdowns (3 seconds delay between touch and response)
Expected Behavior
No slowdown.
Current Behavior
I installed months ago LineageOS for a friend of mine on a Google Pixel 2.
Here is what is say to me (translated to English) :
Well, basically, I've got some weird symptoms: I've got a 2017 google pixel, in relatively good condition, everything was working fine and then little by little, I started having graphics slowdowns. Now it's pretty bad (like 3 seconds between the moment I touch the screen and the action). But it's only graphical slowdowns, because when I make a text message, I type all the letters, the phone slows down but at the end of my sentence, after a 3-second delay, everything is written.
So I started using my phone with the command “scrcpy -w -S” on my computer. It's great! It works like a charm. However, if I remove the -S option, which keeps the screen off, bim there it lags, even when using the computer.
I asked him to give me logs and there is those messages that seems related :
11-19 17:03:13.263 3970 5896 I HWUI : Davey! duration=1088ms; Flags=0, FrameTimelineVsyncId=737027, IntendedVsync=55066973470007, Vsync=55067490136653, InputEventId=0, HandleInputStart=55067507693453, AnimationStart=55067507698661, PerformTraversalsStart=55067507700432, DrawStart=55067511708401, FrameDeadline=55068110803295, FrameInterval=55067506252932, FrameStartTime=16666666, SyncQueued=55067512312255, SyncStart=55068075410385, IssueDrawCommandsStart=55068075634916, SwapBuffers=55068622512106, FrameCompleted=55068624583356, DequeueBufferDuration=542334013, QueueBufferDuration=849011, GpuCompleted=55068624284189, SwapBuffersCompleted=55068624583356, DisplayPresentTime=51846647090356, CommandSubmissionCompleted=55068622512106,
11-19 17:03:13.820 3970 5896 I HWUI : Davey! duration=1129ms; Flags=0, FrameTimelineVsyncId=737171, IntendedVsync=55067516638449, Vsync=55068066638427, InputEventId=0, HandleInputStart=55068080956948, AnimationStart=55068080958562, PerformTraversalsStart=55068080959343, DrawStart=55068082057156, FrameDeadline=55068660803273, FrameInterval=55068080648510, FrameStartTime=16666666, SyncQueued=55068082625177, SyncStart=55068624767106, IssueDrawCommandsStart=55068625244606, SwapBuffers=55069186074766, FrameCompleted=55069188025808, DequeueBufferDuration=545585523, QueueBufferDuration=979062, GpuCompleted=55069187941537, SwapBuffersCompleted=55069188025808, DisplayPresentTime=51847206763172, CommandSubmissionCompleted=55069186074766,
11-19 17:03:13.821 3906 5746 I HWUI : Davey! duration=1092ms; Flags=0, FrameTimelineVsyncId=737180, IntendedVsync=55067549971781, Vsync=55068066638427, InputEventId=91514946, HandleInputStart=55068075705385, AnimationStart=55068075707468, PerformTraversalsStart=55068076123093, DrawStart=55068076838458, FrameDeadline=55068653971737, FrameInterval=55068075239551, FrameStartTime=16666666, SyncQueued=55068078491322, SyncStart=55068629674190, IssueDrawCommandsStart=55068630224190, SwapBuffers=55069189349975, FrameCompleted=55069194052111, DequeueBufferDuration=547712033, QueueBufferDuration=616719, GpuCompleted=55069194052111, SwapBuffersCompleted=55069191462058, DisplayPresentTime=52906624827199, CommandSubmissionCompleted=55069189349975,
11-19 17:03:14.382 3970 5896 I HWUI : Davey! duration=1111ms; Flags=0, FrameTimelineVsyncId=737324, IntendedVsync=55068092968244, Vsync=55068642968222, InputEventId=0, HandleInputStart=55068647389660, AnimationStart=55068647391691, PerformTraversalsStart=55068647392473, DrawStart=55068649088150, FrameDeadline=55069220638381, FrameInterval=55068646365129, FrameStartTime=16666666, SyncQueued=55068649691483, SyncStart=55069188201172, IssueDrawCommandsStart=55069188701850, SwapBuffers=55069735798883, FrameCompleted=55069743175759, DequeueBufferDuration=541883544, QueueBufferDuration=779532, GpuCompleted=55069742133103, SwapBuffersCompleted=55069743175759, DisplayPresentTime=51847766627863, CommandSubmissionCompleted=55069735798883,
11-19 17:03:14.382 3906 5746 I HWUI : Davey! duration=1121ms; Flags=0, FrameTimelineVsyncId=737309, IntendedVsync=55068076301578, Vsync=55068626301556, InputEventId=377465339, HandleInputStart=55068635342419, AnimationStart=55068635345805, PerformTraversalsStart=55068635836951, DrawStart=55068636445753, FrameDeadline=55069220638381, FrameInterval=55068634451794, FrameStartTime=16666666, SyncQueued=55068639322732, SyncStart=55069191669454, IssueDrawCommandsStart=55069192190496, SwapBuffers=55069745883676, FrameCompleted=55069750446489, DequeueBufferDuration=544141929, QueueBufferDuration=605625, GpuCompleted=55069750446489, SwapBuffersCompleted=55069747548155, DisplayPresentTime=52906624827199, CommandSubmissionCompleted=55069745883676,
I found this, may be related : https://stackoverflow.com/questions/57132218/openglrenderer-davey
Here is a video of the problem :
screen-20241120-181738
Here is a logcat file :
file
Do you know what can be wrong ?
Steps to Reproduce
Just use the phone with screen on.
Device information
/codename walleye /version lineage-21 /date 2024-10-25 /kernel lineage_walleye-userdebug 14 AP2A.240905.003 395dc8b62d /baseband AP2A.240905.003 395dc8b62d /mods
I have read the directions