Problem with scrcpy on Ubuntu 24.04

Đang mở
#7,071 8 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
42/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Ít trao đổi
Công nghệ
linux, ubuntu
Lĩnh vực
cli, tooling

Hướng nghiên cứu

Reproduce the reported pkgx scrcpy invocation on Ubuntu 24.04, then inspect the scrcpy package manifest and its dependency handling. Confirm whether installing adb resolves the fatal startup error and whether the SDL audio warning is independent; done when the package starts without the reported error or the required limitation is documented.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

After search around, I found pkgx is the most convenient way to run latest scrcpy on ubuntu without manually build.
But I encounter some problems:

>>> pkgx scrcpy
scrcpy 2.6 <https://github.com/Genymobile/scrcpy>
ERROR: Could not initialize SDL audio: dsp: No such audio device
exec: No such file or directory
ERROR: Command not found: [adb], [start-server]
ERROR: (make 'adb' accessible from your PATH or define its fullpath in the ADB environment variable)
INFO: You may install 'adb' by "apt install adb"
ERROR: Could not start adb server

Seemes the dependency adb is missing.
After install 'adb' as suggested, I still get error

>>> sudo apt install adb
>>> pkgx scrcpy
scrcpy 2.6 <https://github.com/Genymobile/scrcpy>
ERROR: Could not initialize SDL audio: dsp: No such audio device
ERROR: Could not start adb server

Any suggestion to fix the problem?

Ngôn ngữ chính
C
Star
199
Fork
142
Merge trung bình
2 giờ 33 phút
Pull request đã merge (30 ngày)
145

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của pkgxdev/pantry

Tất cả issue của pkgxdev/pantry

Issue tương tự

Thêm issue về C

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.