Genymobile / scrcpy

Display and control your Android device
Apache License 2.0
111.83k stars 10.7k forks source link

WARNING: cgroup v2 is not fully supported yet, proceeding with partial confinement #2266

Open AlienProber opened 3 years ago

AlienProber commented 3 years ago

Environment

I went to launch Scrcpy today and keep getting the below. I just used it without issue a couple of days ago. I honestly have no idea why now it's acting up.

[alienprober@TheMothership ~]$ scrcpy
WARNING: cgroup v2 is not fully supported yet, proceeding with partial confinement
INFO: scrcpy 1.17 <https://github.com/Genymobile/scrcpy>
* daemon not running; starting now at tcp:5037
* daemon started successfully
adb: error: failed to get feature set: no devices/emulators found
ERROR: "adb push" returned with value 1
[alienprober@TheMothership ~]$ scrcpy
WARNING: cgroup v2 is not fully supported yet, proceeding with partial confinement
INFO: scrcpy 1.17 <https://github.com/Genymobile/scrcpy>
adb: error: failed to get feature set: no devices/emulators found
ERROR: "adb push" returned with value 1

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

[alienprober@TheMothership ~]$ adb logcat
bash: adb: command not found
                   /-                      alienprober@TheMothership 
                   ooo:                     ------------------------- 
                  yoooo/                    OS: ArcoLinux x86_64 
                 yooooooo                   Kernel: 5.11.15-arch1-2 
                yooooooooo                  Uptime: 9 mins 
               yooooooooooo                 Packages: 1847 (pacman), 20 (flatpak), 10 ( 
             .yooooooooooooo                Shell: bash 5.1.4 
            .oooooooooooooooo               Resolution: 2560x1080 
           .oooooooarcoooooooo              DE: Plasma 5.21.4 
          .ooooooooo-oooooooooo             WM: KWin 
         .ooooooooo-  oooooooooo            WM Theme: Neonyt-Aurorae 
        :ooooooooo.    :ooooooooo           Theme: Neonyt-Dark-Color [Plasma], Neonyt-B 
       :ooooooooo.      :ooooooooo          Icons: breeze_grey_folders [Plasma], breeze 
      :oooarcooo         .oooarcooo         Terminal: konsole 
     :ooooooooy           .ooooooooo        Terminal Font: Hack 11 
    :ooooooooo   /ooooooooooooooooooo       CPU: AMD Ryzen 3 3200G (4) @ 3.600GHz 
   :ooooooooo      .-ooooooooooooooooo.     GPU: NVIDIA GeForce GTX 1650 SUPER 
  ooooooooo-             -ooooooooooooo.    Memory: 5306MiB / 15986MiB 
 ooooooooo-                 .-oooooooooo.   GPU Driver: NVIDIA 465.24.02 
ooooooooo.                     -ooooooooo   CPU Usage: 35% 
                                            Disk (/): 118G / 238G (50%) 
                                            Font: Noto Sans Bold 11 [Plasma], Noto Sans 
                                            Users: alienprober 
                                            Locale: en_US.UTF-8
rom1v commented 3 years ago

Probably related to snap. Try a non-snap version.

AlienProber commented 3 years ago

OK give me a min or to to switch, thanks.

EDIT:

[alienprober@TheMothership ~]$ scrcpy
INFO: scrcpy 1.17 <https://github.com/Genymobile/scrcpy>
adb server version (39) doesn't match this client (41); killing...
* daemon started successfully
adb: error: failed to get feature set: no devices/emulators found
ERROR: "adb push" returned with value 1
brunoais commented 3 years ago

Is your phone connected with USB to the PC? Is your phone's USB debug mode turn on?