moonlight-stream / moonlight-embedded

Gamestream client for embedded systems
https://github.com/moonlight-stream/moonlight-embedded/wiki
GNU General Public License v3.0
1.48k stars 322 forks source link

Raspbian binary packages from APT repo not ARMv6 compatible #867

Open MichaIng opened 1 year ago

MichaIng commented 1 year ago

Please provide the following info.

NVidia Geforce Experience version: Moonlight Embedded version: 2.5.3-1 Moonlight Embedded source:

deb https://dl.cloudsmith.io/public/moonlight-game-streaming/moonlight-embedded/deb/raspbian/ bullseye main

Moonlight Embedded running on: Raspberry Pi Zero W (1) Moonlight Embedded running on distribution: Raspbian Bullseye

Verbose output -verbose of Moonlight Embedded:

Illegal instruction

What is the expected result? I cannot find some docs about this, but as the repo has "raspbian" in it's patch, I'd expect it to be armv6l compatible binaries as this is what the Raspbian repository is. If it is Debian-style armhf (=armv7l), then it probably makes sense to also use "debian" in the repo's path.

What happens instead of that?

root@Amizero:~# moonlight -h
Illegal instruction
root@Amizero:~# readelf -A /usr/bin/moonlight
Attribute Section: aeabi
File Attributes
  Tag_CPU_name: "7-A"
  Tag_CPU_arch: v7
  Tag_CPU_arch_profile: Application
  Tag_ARM_ISA_use: Yes
  Tag_THUMB_ISA_use: Thumb-2
  Tag_FP_arch: VFPv3-D16
  Tag_ABI_PCS_wchar_t: 4
  Tag_ABI_FP_rounding: Needed
  Tag_ABI_FP_denormal: Needed
  Tag_ABI_FP_exceptions: Needed
  Tag_ABI_FP_number_model: IEEE 754
  Tag_ABI_align_needed: 8-byte
  Tag_ABI_align_preserved: 8-byte, except leaf SP
  Tag_ABI_enum_size: int
  Tag_ABI_VFP_args: VFP registers
  Tag_CPU_unaligned_access: v6

Related issue, where it was naturally solved by compiling from source: https://github.com/moonlight-stream/moonlight-embedded/issues/832