Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to bring up Android cuttlefish on my Jetson nano ; error = exiting with error 1: failed to create IRQ chip #46

Open
Marietto2008 opened this issue Sep 10, 2024 · 6 comments

Comments

@Marietto2008
Copy link

Hello Matt.

I'm trying an experiment that no one tried yet : trying to booting up Android cuttlefish on my Jetson nano 4 GB,where I have installed Ubuntu 22.04 and the kernel 4.9. At the beginning the default compiler was gcc 7.5 linaro. So the first thing that I did has been to upgrade it.

I've upgraded gcc on the jetson nano,following these tutorials :

https://huobur.medium.com/build-gcc-10-to-support-c-20-on-windows-10-raspberry-pi-and-jetson-nano-929f9439c143

https://askubuntu.com/questions/26498/how-to-choose-the-default-gcc-and-g-version

and now this is the version reported :

root@jetson:/home/aresuser/Scrivania/Android/android-image# gcc --version
gcc (GCC) 10.1.0

and then,based on this tutorial :

https://linaro.atlassian.net/wiki/spaces/QEMU/pages/29464068097/Run+Android+using+QEMU

This is what I did :

# sudo apt install -y git devscripts equivs config-package-dev  debhelper-compat golang curl
# git clone https://github.com/google/android-cuttlefish
# cd android-cuttlefish
# tools/buildutils/build_packages.sh
# sudo dpkg -i ./cuttlefish-base_*_*64.deb || sudo apt-get install -f
# sudo dpkg -i ./cuttlefish-user_*_*64.deb || sudo apt-get install -f
# sudo usermod -aG kvm,cvdnetwork,render $USER

and then :

root@jetson:/home/aresuser/Scrivania/Android/android-image# HOME=$(pwd) ./bin/launch_cvd -vm_manager qemu_cli -report_anonymous_usage_stats=n --start_webrtc=false

Reading --config option from: /home/aresuser/Scrivania/Android/android-image/android-info.txt
Launching CVD using --config='phone'.
Unable to get the network config. Assuming defaults.
GPU auto mode: did not detect prerequisites for accelerated rendering support, enabling --  gpu_mode=guest_swiftshader.
GPU vhost user auto mode: not needed for --gpu_mode=guest_swiftshader. Not enabling vhost user gpu.
Requested resuming a previous session (the default behavior) but the base images have changed  under the overlay, making the overlay incompatible. Wiping the overlay files.
Path for instance UDS: /tmp/cf_avd_0
The following lines contain useful debugging information:
Serial console is disabled; use -console=true to enable it.
Logcat output: /home/aresuser/Scrivania/Android/android-image/cuttlefish/instances/cvd-1/logs/logcat
Kernel log: /home/aresuser/Scrivania/Android/android-image/cuttlefish/instances/cvd-1/kernel.log
Launcher log: /home/aresuser/Scrivania/Android/android-image/cuttlefish/instances/cvd-1/logs/launcher.log
Instance configuration: /home/aresuser/Scrivania/Android/android-image/cuttlefish/instances/cvd-1/cuttlefish_config.json
Launcher Build ID: 12309296
4. main.cc:232 | RunCvdMain |
3. main.cc:102 | Run |
2. feature.cpp:50 | RunSetup | Setup failed for cuttlefish::TombstoneReceiver
1. auto_cmd.h:53 | ResultSetup |
| device/google/cuttlefish/host/commands/run_cvd/launch/tombstone_receiver.cpp:47
| Result<MonitorCommand> cuttlefish::TombstoneReceiver(const CuttlefishConfig::InstanceSpecific &) v CF_EXPECT(socket->IsOpen())

Can't tombstone server socket: 'Address family not supported by protocol'

09-09 17:47:44.549 48022 48022 E launch_cvd: subprocess.cpp:207 Subprocess 48128 was interrupted by a signal 'Aborted' (6)
09-09 17:47:44.549 48022 48022 E launch_cvd: main.cc:357 run_cvd returned -1

I tried also like so :

aresuser@jetson:~/Scrivania/Android/android-image$ HOME=$(pwd) ./bin/launch_cvd -cpus=2 --
memory_mb=2048

Reading --config option from: /home/aresuser/Scrivania/Android/android-image/android-info.txt
Launching CVD using --config='phone'.
GPU auto mode: did not detect prerequisites for accelerated rendering support, enabling --  gpu_mode=guest_swiftshader.
GPU vhost user auto mode: not needed for --gpu_mode=guest_swiftshader. Not enabling vhost user gpu.
Requested resuming a previous session (the default behavior) but the base images have changed  under the overlay, making the overlay incompatible. Wiping the overlay files.
Path for instance UDS: /tmp/cf_avd_1000
The following lines contain useful debugging information:
Point your browser to https://localhost:8443 to interact with the device.
Serial console is disabled; use -console=true to enable it.
Logcat output: /home/aresuser/Scrivania/Android/android-image/cuttlefish/instances/cvd-1/logs/ logcat
Kernel log: /home/aresuser/Scrivania/Android/android-image/cuttlefish/instances/cvd-1/kernel.log
Launcher log: /home/aresuser/Scrivania/Android/android-image/cuttlefish/instances/cvd-1/logs/ launcher.log
Instance configuration: /home/aresuser/Scrivania/Android/android-image/cuttlefish/instances/cvd-1/cuttlefish_config.json
Launcher Build ID: 12309296
VhostDeviceVsock::vhost param is:guest-cid=3,socket=/tmp/vsock_3_1000/vhost.socket,uds-path=/tmp/vsock_3_1000/vm.vsock
/home/aresuser/Scrivania/Android/android-image/bin/modem_simulator
/home/aresuser/Scrivania/Android/android-image/bin/tombstone_receiver
/home/aresuser/Scrivania/Android/android-image/bin/log_tee
/home/aresuser/Scrivania/Android/android-image/bin/process_restarter
/home/aresuser/Scrivania/Android/android-image/bin/log_tee
/home/aresuser/Scrivania/Android/android-image/bin/process_restarter
/home/aresuser/Scrivania/Android/android-image/bin/log_tee
/home/aresuser/Scrivania/Android/android-image/bin/wmediumd
/home/aresuser/Scrivania/Android/android-image/bin/operator_proxy
/home/aresuser/Scrivania/Android/android-image/bin/webRTC
/home/aresuser/Scrivania/Android/android-image/bin/casimir_control_server
/home/aresuser/Scrivania/Android/android-image/bin/screen_recording_server
/home/aresuser/Scrivania/Android/android-image/bin/adb_connector
/home/aresuser/Scrivania/Android/android-image/bin/socket_vsock_proxy
/home/aresuser/Scrivania/Android/android-image/bin/socket_vsock_proxy
/home/aresuser/Scrivania/Android/android-image/bin/tcp_connector
/home/aresuser/Scrivania/Android/android-image/bin/control_env_proxy_server
/home/aresuser/Scrivania/Android/android-image/bin/echo_server
/home/aresuser/Scrivania/Android/android-image/bin/gnss_grpc_proxy
/home/aresuser/Scrivania/Android/android-image/bin/logcat_receiver
/home/aresuser/Scrivania/Android/android-image/bin/kernel_log_monitor
/home/aresuser/Scrivania/Android/android-image/bin/openwrt_control_server
/home/aresuser/Scrivania/Android/android-image/bin/log_tee
/home/aresuser/Scrivania/Android/android-image/bin/process_restarter
/home/aresuser/Scrivania/Android/android-image/bin/netsimd
/home/aresuser/Scrivania/Android/android-image/bin/socket_vsock_proxy
/home/aresuser/Scrivania/Android/android-image/bin/socket_vsock_proxy
/home/aresuser/Scrivania/Android/android-image/bin/secure_env
/home/aresuser/Scrivania/Android/android-image/bin/log_tee
/home/aresuser/Scrivania/Android/android-image/bin/process_restarter
Start modem simulator, server_fds: 73, Sim type: normal
Failed to open socket: Connection refused
proxy_socket_vsock_proxy] Could not open vsock socket: Address family not supported by protocol
proxy_socket_vsock_proxy] Could not open vsock socket: Address family not supported by protocol
Server listening on unix:/tmp/cf_avd_1000/cvd-1/grpc_socket/EchoServer.sock
Server listening on unix:/tmp/cf_avd_1000/cvd-1/grpc_socket/CasimirControlServer.sock
Server listening on unix:/tmp/cf_avd_1000/cvd-1/grpc_socket/ControlEnvProxyServer.sock
Server listening on unix:/tmp/cf_avd_1000/cvd-1/grpc_socket/OpenwrtControlServer.sock
root-canal I 09-09 20:45:08.997 device_boutique.cc:37                    Registering beacon
root-canal I 09-09 20:45:08.997 device_boutique.cc:37                    Registering beacon_swarm
root-canal I 09-09 20:45:08.997 device_boutique.cc:37                    Registering   scripted_beacon
root-canal I 09-09 20:45:08.997 device_boutique.cc:37                    Registering sniffer
netsimd I 09-09 18:45:08.998 rust_main.rs:98 - netsim artifacts path: "/tmp/android-aresuser/netsimd"
netsimd I 09-09 18:45:08.999 rust_main.rs:101 - NetsimdArgs {
fd_startup_str: Some(
    "{\"devices\":[{\"name\":\"0.0.0.0:6520\",\"chips\":[{\"kind\":\"BLUETOOTH\",\"fdIn\":111,
\"fdOut\":112},{\"kind\":\"UWB\",\"fdIn\":113,\"fdOut\":114}]}]}",
),
no_cli_ui: false,
no_web_ui: false,
pcap: false,
disable_address_reuse: false,
hci_port: Some(
    7300,
),
connector_instance: None,
instance: Some(
    1,
),
logtostderr: false,
dev: false,
rust_grpc: false,
rust_hostapd: false,
rust_slirp: true,
vsock: None,
config: None,
host_dns: None,
http_proxy: None,
wifi_tap: None,
test_beacons: false,
no_test_beacons: false,
no_shutdown: false,
verbose: false,
version: false,
}
[2024-09-09T18:45:09.006395395+00:00 ERROR crosvm] exiting with error 1: failed to create IRQ chip

Caused by:
No such device (os error 19)
[2024-09-09T18:45:09.014172151+00:00 ERROR crosvm] exiting with error 1: failed to create IRQ chip

Caused by:
No such device (os error 19)
Detected unexpected exit of monitored subprocess /home/aresuser/Scrivania/Android/android-image/bin/process_restarter
Subprocess /home/aresuser/Scrivania/Android/android-image/bin/process_restarter (7442) has exited with exit code 1
Stopping all monitored processes due to unexpected exit of critical process
WaylandServer running on socket 17
[2024/09/09 20:45:09:2576] N: lws_create_context: LWS: 4.3.0, NET CLI SRV H1 H2 WS ConMon IPv6-absent
[2024/09/09 20:45:09:2578] N: __lws_lc_tag:  ++ [wsi|0|pipe] (1)
[2024/09/09 20:45:09:2579] N: __lws_lc_tag:  ++ [vh|0|default|127.0.0.1|127.0.0.1|0] (1)
[2024/09/09 20:45:09:2593] N: [vh|0|default|127.0.0.1|127.0.0.1|0]: lws_socket_bind: source ads  127.0.0.1
[2024/09/09 20:45:09:2594] N: __lws_lc_tag:  ++ [wsi|1|listen|default|127.0.0.1|44581] (2)
Connection thread running
cannot connect to 3:6900
Failed to connect:Connection reset by peer
(adm_helpers.cc:48): Unable to access speaker.
Size of OBJECT = 1204
Size of components in TPMT_SENSITIVE = 744
TPMI_ALG_PUBLIC                 2
TPM2B_AUTH                      50
TPM2B_DIGEST                    50
TPMU_SENSITIVE_COMPOSITE        642
MAX_CONTEXT_SIZE can be reduced to 1264 (1344)
size : 360
starting Rust KeyMint TA implementation in a thread
starting C++ KeyMint implementation in a thread with FDs in=54, out=53
KeyMint Rust TA running with infile=60, outfile=59, security_level=Software
No secure deletion data file found. Creating one.
cannot connect to 3:6900
Failed to connect:Connection reset by peer

I have no idea about what's broken. Someone can help ? thanks.

@madisongh
Copy link
Member

I don't really know anything about this, but the "Address family not supported" errors might mean you need to modify your kernel configuration to add support for the VSOCK address family. Adding CONFIG_VHOST_VSOCK=y looks like it might help with that particular problem.

@Marietto2008
Copy link
Author

Marietto2008 commented Sep 17, 2024

Maybe you mean these entries ?

CONFIG_VHOST_NET=m
CONFIG_VHOST=m

they are set to m,so probably I can load these modules using this command :

modprobe vhost
modprobe vhost_net

right ? that's correct ?

@madisongh
Copy link
Member

No, I meant VHOST_VSOCK

@Marietto2008
Copy link
Author

Marietto2008 commented Sep 18, 2024

Ok Matt,I have enabled VHOST_VSOCK in the kernel. This is what happens now :


aresuser@jetson:~/Scrivania/Android/android-image$ HOME=$(pwd) ./bin/launch_cvd -report_anonymous_usage_stats=n --start_webrtc=false

09-18 23:17:33.233  8190  8190 I launch_cvd: main.cc:235 Using system_image_dir of:
===================================================================
NOTICE:

By using this Android Virtual Device, you agree to
Google Terms of Service (https://policies.google.com/terms).
The Google Privacy Policy (https://policies.google.com/privacy)
describes how Google handles information generated as you use
Google Services.
===================================================================

Reading --config option from: /home/aresuser/Scrivania/Android/android-image/android-info.txt
Launching CVD using --config='phone'.
GPU auto mode: did not detect prerequisites for accelerated rendering support, enabling --gpu_mode=guest_swiftshader.
GPU vhost user auto mode: not needed for --gpu_mode=guest_swiftshader. Not enabling vhost user gpu.
Path for instance UDS: /tmp/cf_avd_1000
The following lines contain useful debugging information:
  Serial console is disabled; use -console=true to enable it.
  Logcat output: /home/aresuser/Scrivania/Android/android-image/cuttlefish/instances/cvd-1/logs/logcat
  Kernel log: /home/aresuser/Scrivania/Android/android-image/cuttlefish/instances/cvd-1/kernel.log
  Launcher log: /home/aresuser/Scrivania/Android/android-image/cuttlefish/instances/cvd-1/logs/launcher.log
  Instance configuration: /home/aresuser/Scrivania/Android/android-image/cuttlefish/instances/cvd-1/cuttlefish_config.json
  Launcher Build ID: 12309296
VhostDeviceVsock::vhost param is:guest-cid=3,socket=/tmp/vsock_3_1000/vhost.socket,uds-path=/tmp/vsock_3_1000/vm.vsock
/home/aresuser/Scrivania/Android/android-image/bin/modem_simulator
/home/aresuser/Scrivania/Android/android-image/bin/tombstone_receiver
/home/aresuser/Scrivania/Android/android-image/bin/log_tee
/home/aresuser/Scrivania/Android/android-image/bin/process_restarter
/home/aresuser/Scrivania/Android/android-image/bin/log_tee
/home/aresuser/Scrivania/Android/android-image/bin/process_restarter
/home/aresuser/Scrivania/Android/android-image/bin/log_tee
/home/aresuser/Scrivania/Android/android-image/bin/wmediumd
/home/aresuser/Scrivania/Android/android-image/bin/casimir_control_server
/home/aresuser/Scrivania/Android/android-image/bin/screen_recording_server
/home/aresuser/Scrivania/Android/android-image/bin/adb_connector
/home/aresuser/Scrivania/Android/android-image/bin/socket_vsock_proxy
/home/aresuser/Scrivania/Android/android-image/bin/socket_vsock_proxy
/home/aresuser/Scrivania/Android/android-image/bin/tcp_connector
/home/aresuser/Scrivania/Android/android-image/bin/control_env_proxy_server
/home/aresuser/Scrivania/Android/android-image/bin/echo_server
/home/aresuser/Scrivania/Android/android-image/bin/gnss_grpc_proxy
/home/aresuser/Scrivania/Android/android-image/bin/logcat_receiver
/home/aresuser/Scrivania/Android/android-image/bin/kernel_log_monitor
/home/aresuser/Scrivania/Android/android-image/bin/openwrt_control_server
/home/aresuser/Scrivania/Android/android-image/bin/log_tee
/home/aresuser/Scrivania/Android/android-image/bin/process_restarter
/home/aresuser/Scrivania/Android/android-image/bin/netsimd
/home/aresuser/Scrivania/Android/android-image/bin/socket_vsock_proxy
/home/aresuser/Scrivania/Android/android-image/bin/socket_vsock_proxy
/home/aresuser/Scrivania/Android/android-image/bin/secure_env
/home/aresuser/Scrivania/Android/android-image/bin/log_tee
/home/aresuser/Scrivania/Android/android-image/bin/process_restarter
Start modem simulator, server_fds: 77, Sim type: normal
Server listening on unix:/tmp/cf_avd_1000/cvd-1/grpc_socket/CasimirControlServer.sock
Server listening on unix:/tmp/cf_avd_1000/cvd-1/grpc_socket/EchoServer.sock
Failed to open socket: Connection refused
Server listening on unix:/tmp/cf_avd_1000/cvd-1/grpc_socket/OpenwrtControlServer.sock
Server listening on unix:/tmp/cf_avd_1000/cvd-1/grpc_socket/ControlEnvProxyServer.sock
root-canal I 09-18 23:17:42.827 device_boutique.cc:37                    Registering beacon
root-canal I 09-18 23:17:42.827 device_boutique.cc:37                    Registering beacon_swarm
root-canal I 09-18 23:17:42.827 device_boutique.cc:37                    Registering scripted_beacon
root-canal I 09-18 23:17:42.827 device_boutique.cc:37                    Registering sniffer
netsimd I 09-18 21:17:42.829 [rust_main.rs:98](http://rust_main.rs:98/) - netsim artifacts path: "/tmp/android-aresuser/netsimd"
netsimd I 09-18 21:17:42.829 [rust_main.rs:101](http://rust_main.rs:101/) - NetsimdArgs {
    fd_startup_str: Some(
        "{\"devices\":[{\"name\":\"[0.0.0.0:6520](http://0.0.0.0:6520/)\",\"chips\":[{\"kind\":\"BLUETOOTH\",\"fdIn\":98,\"fdOut\":99},{\"kind\":\"UWB\",\"fdIn\":100,\"fdOut\":101}]}]}",

    ),
    no_cli_ui: false,
    no_web_ui: false,
    pcap: false,
    disable_address_reuse: false,
    hci_port: Some(
        7300,
    ),
    connector_instance: None,
    instance: Some(
        1,
    ),
    logtostderr: false,
    dev: false,
    rust_grpc: false,
    rust_hostapd: false,
    rust_slirp: true,
    vsock: None,
    config: None,
    host_dns: None,
    http_proxy: None,
    wifi_tap: None,
    test_beacons: false,
    no_test_beacons: false,
    no_shutdown: false,
    verbose: false,
    version: false,
}
[2024-09-18T21:17:43.082340806+00:00 ERROR crosvm] exiting with error 1: failed to create IRQ chip

Caused by:
    No such device (os error 19)
[2024-09-18T21:17:43.089676197+00:00 ERROR crosvm] exiting with error 1: failed to create IRQ chip

Caused by:
    No such device (os error 19)

Detected unexpected exit of monitored subprocess /home/aresuser/Scrivania/Android/android-image/bin/process_restarter
Subprocess /home/aresuser/Scrivania/Android/android-image/bin/process_restarter (8286) has exited with exit code 1
Detected unexpected exit of monitored subprocess /home/aresuser/Scrivania/Android/android-image/bin/process_restarter
Subprocess /home/aresuser/Scrivania/Android/android-image/bin/process_restarter (8310) has exited with exit code 1
Stopping all monitored processes due to unexpected exit of critical process
starting Rust KeyMint TA implementation in a thread
starting C++ KeyMint implementation in a thread with FDs in=31, out=30
KeyMint Rust TA running with infile=37, outfile=36, security_level=Software
Secure deletion data file found. Parsing.
transport message failed, response body: device '[0.0.0.0:6520](http://0.0.0.0:6520/)' not found
transport message failed, response body: device '[0.0.0.0:6520](http://0.0.0.0:6520/)' not found

aresuser@jetson:~$ adb devices
List of devices attached

nothing.

OR :

aresuser@jetson:~/Scrivania/Android/android-image$ HOME=$(pwd) ./bin/launch_cvd -vm_manager qemu_cli -report_anonymous_usage_stats=n --start_webrtc=false

09-18 23:28:19.514  8682  8682 I launch_cvd: main.cc:235 Using system_image_dir of:
===================================================================
NOTICE:

By using this Android Virtual Device, you agree to
Google Terms of Service (https://policies.google.com/terms).
The Google Privacy Policy (https://policies.google.com/privacy)
describes how Google handles information generated as you use
Google Services.
===================================================================

Reading --config option from: /home/aresuser/Scrivania/Android/android-image/android-info.txt
Launching CVD using --config='phone'.
GPU auto mode: did not detect prerequisites for accelerated rendering support, enabling --gpu_mode=guest_swiftshader.
GPU vhost user auto mode: not needed for --gpu_mode=guest_swiftshader. Not enabling vhost user gpu.
Requested resuming a previous session (the default behavior) but the base images have changed under the overlay, making the overlay incompatible. Wiping the overlay files.
Path for instance UDS: /tmp/cf_avd_1000

aresuser@jetson:~$ adb devices
List of devices attached

nothing.

Instead,the Android emulator works good :

aresuser@jetson:/opt/android-sdk$ emulator @android9 -cores 2 -lowram -memory 1000 -gpu host -ports 5554,5555 -skip-adb-auth -no-boot-anim -no-snapshot -no-metrics -qemu -machine gic-version=2

INFO    | Storing crashdata in: /tmp/android-aresuser/emu-crash-34.2.8.db, detection is enabled for process: 98752
INFO    | Android emulator version 34.2.8.0 (build_id 11435509) (CL:N/A)
INFO    | Found systemPath /opt/android-sdk/system-images/android-28/google_apis/arm64-v8a/
INFO    | Storing crashdata in: /tmp/android-aresuser/emu-crash-34.2.8.db, detection is enabled for process: 98752
INFO    | Duplicate loglines will be removed, if you wish to see each individual line launch with the -log-nofilter flag.
WARNING | FeatureControl is requesting a non existing feature.
library_mode host gpu mode host
Initializing hardware OpenGLES emulation supportandroid_startOpenglesRenderer: gpu infoI0915 14:29:22.230528   98752 HealthMonitor.cpp:279] HealthMonitor disabled.
added library libvulkan.so
createGlobalVkEmulation:995 Selecting Vulkan device: NVIDIA Tegra X1 (nvgpu)
initialize: Supports id properties, got a vulkan device UUID
I0915 14:29:23.908542   98752 VkCommonOperations.cpp:1276] Initializing VkEmulation features:
I0915 14:29:23.908639   98752 VkCommonOperations.cpp:1277]     glInteropSupported: true
I0915 14:29:23.908676   98752 VkCommonOperations.cpp:1278]     useDeferredCommands: true
I0915 14:29:23.908707   98752 VkCommonOperations.cpp:1279]     createResourceWithRequirements: true
I0915 14:29:23.908738   98752 VkCommonOperations.cpp:1281]     useVulkanComposition: false
I0915 14:29:23.908768   98752 VkCommonOperations.cpp:1282]     useVulkanNativeSwapchain: false
I0915 14:29:23.908809   98752 VkCommonOperations.cpp:1283]     enable guestRenderDoc: false
I0915 14:29:23.908839   98752 VkCommonOperations.cpp:1284]     ASTC LDR emulation mode: 2
I0915 14:29:23.908879   98752 VkCommonOperations.cpp:1285]     enable ETC2 emulation: true
I0915 14:29:23.908908   98752 VkCommonOperations.cpp:1286]     enable Ycbcr emulation: false
I0915 14:29:23.908944   98752 VkCommonOperations.cpp:1287]     guestUsesAngle: false
I0915 14:29:23.908972   98752 VkCommonOperations.cpp:1288]     useDedicatedAllocations: false
I0915 14:29:23.909777   98752 FrameBuffer.cpp:506] Graphics Adapter Vendor Google (NVIDIA Corporation)
I0915 14:29:23.909904   98752 FrameBuffer.cpp:507] Graphics Adapter Android Emulator OpenGL ES Translator (NVIDIA Tegra X1 (nvgpu)/integrated)
I0915 14:29:23.909952   98752 FrameBuffer.cpp:508] Graphics API Version OpenGL ES 3.0 (4.5.0 NVIDIA 32.7.3)
I0915 14:29:23.909983   98752 FrameBuffer.cpp:509] Graphics API Extensions GL_OES_EGL_sync GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_depth24 GL_OES_depth32 GL_OES_element_index_uint GL_OES_texture_float GL_OES_texture_float_linear GL_OES_compressed_paletted_texture GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth_texture GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_packed_depth_stencil GL_OES_vertex_half_float GL_OES_texture_npot GL_OES_rgb8_rgba8 GL_OVR_multiview2 GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_EXT_texture_format_BGRA8888 GL_APPLE_texture_format_BGRA8888 GL_EXT_texture_buffer
I0915 14:29:23.910022   98752 FrameBuffer.cpp:510] Graphics Device Extensions N/A
OpenGL Vendor=[Google (NVIDIA Corporation)]OpenGL Renderer=[Android Emulator OpenGL ES Translator (NVIDIA Tegra X1 (nvgpu)/integrated)]OpenGL Version=[OpenGL ES 3.0 (4.5.0 NVIDIA 32.7.3)]Could not init `oss' audio driver
I0915 14:29:24.439422   98794 FrameBuffer.cpp:2853] setDisplayConfigs w 320 h 640 dpiX 160 dpiY 160
I0915 14:29:24.439551   98794 FrameBuffer.cpp:2866] setDisplayActiveConfig 0
WARNING | FeatureControl is requesting a non existing feature.
WARNING | Cold boot: requested by the user

unnamed

Maybe because with the android emulator I have used gic-version=2 but not in Cuttlefish ? How can I define the gic-version in cuttlefish ? Which parameter should I use ?

@Marietto2008
Copy link
Author

Can I know if your patches include the KVM irqchip ? thanks.

@madisongh
Copy link
Member

I don't use KVM myself, but a bunch of KVM-related patches were ported over, some time back. If you have CONFIG_KVM=y in your kernel config, that should turn everything on. There might be some additional patches needed from the linux-stable linux-4.9.y branch, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants