support icon indicating copy to clipboard operation
support copied to clipboard

🐛 [BUG] Scrcpy can not show screen

Open dezhishen opened this issue 10 months ago • 6 comments
trafficstars

Description

https://github.com/Genymobile/scrcpy/issues/4784

BlissOS 14| BlissOS 15 |BlissOS 16 get same issue

some logs from logcat

Could not load /vendor/lib64/hw/[email protected] from sphal namespace: dlopen failed: "/system/vendor/lib64/arm64/[email protected]" is for EM_AARCH64 (183) instead of EM_X86_64 (62)

Reproduction steps

use scrcpy connect to os

Screenshots

No response

Logs

Could not load /vendor/lib64/hw/[email protected] from sphal namespace: dlopen failed: "/system/vendor/lib64/arm64/[email protected]" is for EM_AARCH64 (183) instead of EM_X86_64 (62)

Category

No response

OS Version

No response

dezhishen avatar Jan 16 '25 09:01 dezhishen

mark

lwy980328 avatar Feb 13 '25 11:02 lwy980328

hi, i have same error on Bliss-v16.9.7-x86_64-OFFICIAL-foss-20241011 in proxmox:

scrcpy
scrcpy 3.1 <https://github.com/Genymobile/scrcpy>
INFO: ADB device found:
INFO:     --> (tcpip)  192.168.1.216:5555              device  Generic_Android_x86_64
/usr/local/share/scrcpy/scrcpy-server: 1 file pushed, 0 skipped. 8.3 MB/s (90640 bytes in 0.010s)
[server] INFO: Device: [unknown] QEMU Generic Android-x86_64 (Android 13)
[server] ERROR: Exception on thread Thread[audio-encoder,5,main]
java.lang.UnsupportedOperationException: Cannot create AudioRecord
        at android.media.AudioRecord$Builder.build(AudioRecord.java:977)
        at com.genymobile.scrcpy.FakeContext$$ExternalSyntheticApiModelOutline0.m(D8$$SyntheticClass:0)
        at com.genymobile.scrcpy.audio.AudioDirectCapture.createAudioRecord(AudioDirectCapture.java:65)
        at com.genymobile.scrcpy.audio.AudioDirectCapture.startRecording(AudioDirectCapture.java:108)
        at com.genymobile.scrcpy.audio.AudioDirectCapture.start(AudioDirectCapture.java:137)
        at com.genymobile.scrcpy.audio.AudioEncoder.encode(AudioEncoder.java:204)
        at com.genymobile.scrcpy.audio.AudioEncoder.lambda$start$0$com-genymobile-scrcpy-audio-AudioEncoder(AudioEncoder.java:133)
        at com.genymobile.scrcpy.audio.AudioEncoder$$ExternalSyntheticLambda3.run(D8$$SyntheticClass:0)
        at java.lang.Thread.run(Thread.java:1012)
[server] INFO: Retrying with -m1024...
[server] ERROR: Capture/encoding error: java.lang.IllegalStateException: null
[server] INFO: Retrying with -m800...
[server] ERROR: Capture/encoding error: java.lang.IllegalStateException: null
INFO: Renderer: opengl
INFO: OpenGL version: 4.6 (Compatibility Profile) Mesa 24.2.2-1~mx23ahs
INFO: Trilinear filtering enabled
WARN: Demuxer 'audio': stream explicitly disabled by the device
INFO: Texture: 1280x800
[server] ERROR: Capture/encoding error: java.lang.IllegalStateException: null
[server] ERROR: Exception on thread Thread[video,5,main]
java.lang.IllegalStateException
        at android.media.MediaCodec.native_dequeueOutputBuffer(Native Method)
        at android.media.MediaCodec.dequeueOutputBuffer(MediaCodec.java:3572)
        at com.genymobile.scrcpy.video.SurfaceEncoder.encode(SurfaceEncoder.java:202)
        at com.genymobile.scrcpy.video.SurfaceEncoder.streamCapture(SurfaceEncoder.java:110)
        at com.genymobile.scrcpy.video.SurfaceEncoder.lambda$start$0$com-genymobile-scrcpy-video-SurfaceEncoder(SurfaceEncoder.java:296)
        at com.genymobile.scrcpy.video.SurfaceEncoder$$ExternalSyntheticLambda0.run(D8$$SyntheticClass:0)
        at java.lang.Thread.run(Thread.java:1012)
WARN: Device disconnected

Image 2 different scrcpy version return different error when i want to connect.

onlineapps-cloud avatar Feb 16 '25 08:02 onlineapps-cloud

i get good answer about this error here i think that will be helpfull to fix problem in blissos.

onlineapps-cloud avatar Feb 18 '25 15:02 onlineapps-cloud

https://github.com/Genymobile/scrcpy/issues/4784#issuecomment-2666113350

Also I'll not close this issue until the new release out.

hmtheboy154 avatar Feb 18 '25 15:02 hmtheboy154

i can confirm that scrcpy work well on Bliss OS Zenith

Image

onlineapps-cloud avatar Feb 19 '25 12:02 onlineapps-cloud

i can confirm that scrcpy work well on Bliss OS Zenith

I didn't build Zenith with that change

hmtheboy154 avatar Feb 19 '25 12:02 hmtheboy154