Genymobile / scrcpy

Display and control your Android device
Apache License 2.0
106.09k stars 10.28k forks source link

Visual issues with the Volla Phone X on Linux #5013

Open Idcrafter opened 4 weeks ago

Idcrafter commented 4 weeks ago

Environment

Describe the bug A clear and concise description of what the bug is. it's just colored dots like a GPU with Failing Vram, it looks like white dots on a black background with some green pixels on the top and touch or changes in anything on the screen change the random patterns i see in scrcpy. grafik

On errors, please provide the output of the console (and adb logcat if relevant).

06-22 09:22:43.601   651  5367 D r_submix:   in_read unread data (1024)/(1024)
06-22 09:22:43.665   762  5345 I VDO_LOG : [Info][eVideoFlushCache]cmd:ION_SYS_CACHE_SYNC, va:0xe52a5000, handle:0x8, size: 2621440, type:ION_CACHE_FLUSH_BY_RANGE
06-22 09:22:43.665   762  5345 I VDO_LOG : [Info][eVideoFlushCache]cmd:ION_SYS_CACHE_SYNC, va:0xe50fe000, handle:0x9, size: 1731584, type:ION_CACHE_FLUSH_BY_RANGE
06-22 09:22:43.676   762  5345 I VDO_LOG : [Info][eVideoInvalidateCache]cmd:ION_SYS_CACHE_SYNC, va:0xe52a5000, handle:0x8, size: 2621440, type:ION_CACHE_INVALID_BY_RANGE
06-22 09:22:43.677   762  5345 D MtkOmxVenc: [0xeb383810] AVC EncTime=18080 (us), RGB_2_YUV=5, FrameCount= 14, buf timestamp=736297 (736297579) IsKey(0), Size(2909)  Slotbitcount(60664) : in VA=0xEED86740, offset=0x00000000, len=12, flags=0x00000010 : out VA=0xE52A5000, offset=0x00000000sec:0x0, 0x0, pending=1
Please paste terminal output in a code block.

Please do not post screenshots of your terminal, just post the content as text instead.

rom1v commented 3 weeks ago

Probably an encoder issue on the device.

  1. Try with another encoder.
  2. Try with a lower resolution (scrcpy -m1024)
  3. Try to record (scrcpy --record=file.mp4) and play the file with some player (VLC), is the result ok?
  4. Try to record the screen using:

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

    Is the result ok?

Refs #4399

Idcrafter commented 3 weeks ago

the phone only has h264 available and yes adb screenrecord does work scrcpy --record=file.mp4 does not, it's also not why i want or do use scrcpy for. i also tried with lower refreshrates, bitrates and resolutions and all resulted in the same issue. i also have used scrcpy on other phones like a Pixel 6 Pro, Redmi Note 10, Volla Phone 22, Pinephone (GD DROID), Samsung Galaxy A50, LG G4c, LG G4, LG G8S, fire TV stick, Android TV and a Medion tablet and all of them worked very well.