UnityRenderStreaming使用记录(五)

UnityRenderStreaming不一样的错误,船新的版本

  • 继续docker部署UnityRenderStreaming
    • dockerfile
    • 一些命令
    • 出现了新的错误
    • 先解决一个报错
    • 不知道怎么解决,先跑个glxgears测试一下
    • 先解决MESA和glx的问题
    • 新的log,额新的错误
    • 尝试解决libnvidia-encode.so找不到的问题
    • 访问一下,成功了!怎么操作不了旋转,点击也没用……
    • 呵呵,还是高兴的太早,看看log
    • 一些链接
    • 25.1.8 未完,不知道还续不续
    • 25.1.9 容器里 top命令看了下,cpu 百分之一千多,gpu未使用……这没法用啊,弃了,这篇不续了

继续docker部署UnityRenderStreaming

这次用xvfb试一下

dockerfile

FROM ubuntu:24.04
RUN apt-get update && apt-get install -y openssh-server
RUN mkdir /var/run/sshd
RUN echo 'root:123456' | chpasswd
RUN sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config
EXPOSE 22
EXPOSE 80
CMD ["/usr/sbin/sshd", "-D"]

一些命令

宿主机

xuefei@xuefei:~/UnityProject/UnityRenderStreaming/Docker$ nvidia-smi 
Wed Jan  8 10:51:47 2025       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 560.35.05              Driver Version: 560.35.05      CUDA Version: 12.6     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce GTX 1070        Off |   00000000:01:00.0  On |                  N/A |
| 29%   40C    P8             10W /  151W |     430MiB /   8192MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
                                                                                         
+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A      2605      G   /usr/lib/xorg/Xorg                            235MiB |
|    0   N/A  N/A      2893      G   /usr/bin/gnome-shell                           41MiB |
|    0   N/A  N/A      3766      G   ...24,262144 --variations-seed-version         58MiB |
|    0   N/A  N/A      4538      G   ...an,WebOTP --variations-seed-version         25MiB |
|    0   N/A  N/A      9244      G   /usr/bin/nautilus                              17MiB |
|    0   N/A  N/A      9489      G   /usr/bin/gnome-text-editor                     10MiB |
|    0   N/A  N/A     10219      G   /opt/v2rayN-linux-64/v2rayN                    16MiB |
|    0   N/A  N/A     11682      G   /opt/plasticscm5/client/linplasticx            18MiB |
+-----------------------------------------------------------------------------------------+
sudo apt-get install nvidia-container-toolkit
sudo systemctl restart docker
docker stop unity
docker remove unity
docker build -t unity:v25.1.8.1 .
docker run -d -p 2222:22 -p 8080:80 --name unity --gpus all unity:v25.1.8.1

docker

root@2d22a07c714e:~# nvidia-smi 
Wed Jan  8 02:26:18 2025       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 560.35.05              Driver Version: 560.35.05      CUDA Version: 12.6     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce GTX 1070        Off |   00000000:01:00.0  On |                  N/A |
| 29%   42C    P8             11W /  151W |     424MiB /   8192MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
                                                                                         
+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
+-----------------------------------------------------------------------------------------+
apt install xvfb
apt install xserver-xorg
apt install nano
xvfb-run ./Broadcast.x86_64 &

出现了新的错误

Mono path[0] = '/root/unity/Broadcast_Data/Managed'
Mono config path = '/root/unity/Broadcast_Data/MonoBleedingEdge/etc'
Preloaded 'libwebrtc.so'
Display 0 'screen': 1280x1024 (primary device).
[Physics::Module] Initialized MultithreadedJobDispatcher with {0} workers.
Unable to load player prefs
Desktop is 1280 x 1024 @ 0 Hz
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
MESA: error: ZINK: failed to choose pdev
glx: failed to create drisw screen
Initialize engine version: 2021.3.45f1 (0da89fac8e79)
[Subsystems] Discovering subsystems at path /root/unity/Broadcast_Data/UnitySubsystems
GfxDevice: creating device client; threaded=1; jobified=1
Renderer: llvmpipe (LLVM 17.0.6, 256 bits)
Vendor:   Mesa
Version:  4.5 (Core Profile) Mesa 24.0.9-0ubuntu0.3
GLES:     0
 GL_3DFX_texture_compression_FXT1 GL_AMD_conservative_depth GL_AMD_draw_buffers_blend GL_AMD_gpu_shader_int64 GL_AMD_multi_draw_indirect GL_AMD_pinned_memory GL_AMD_query_buffer_objec>
RB_draw_buffers_blend GL_ARB_draw_elements_base_vertex GL_ARB_draw_indirect GL_ARB_draw_instanced GL_ARB_enhanced_layouts GL_ARB_explicit_attrib_location GL_ARB_explicit_uniform_locat>
_ARB_query_buffer_object GL_ARB_robust_buffer_access_behavior GL_ARB_robustness GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_seamless_cubemap_per_textu>
RB_texture_compression_bptc GL_ARB_texture_compression_rgtc GL_ARB_texture_cube_map_array GL_ARB_texture_filter_anisotropic GL_ARB_texture_filter_minmax GL_ARB_texture_float GL_ARB_te>
_equation_separate GL_ATI_meminfo GL_ATI_texture_float GL_ATI_texture_mirror_once GL_EXT_EGL_image_storage GL_EXT_EGL_sync GL_EXT_abgr GL_EXT_blend_equation_separate GL_EXT_debug_labe>
re_shadow_lod GL_EXT_texture_shared_exponent GL_EXT_texture_snorm GL_EXT_texture_swizzle GL_EXT_timer_query GL_EXT_transform_feedback GL_EXT_vertex_array_bgra GL_EXT_vertex_attrib_64b>
OPENGL LOG: Creating OpenGL 4.5 graphics device ; Context level  <OpenGL 4.5> ; Context handle 856038592
implib-gen: libX11.so: failed to load library: libX11.so: cannot open shared object file: No such file or directory

先解决一个报错

error: XDG_RUNTIME_DIR is invalid or not set in the environment.
#运行一下
export XDG_RUNTIME_DIR=/unity

剩下的

Mono path[0] = '/root/unity/Broadcast_Data/Managed'
Mono config path = '/root/unity/Broadcast_Data/MonoBleedingEdge/etc'
Preloaded 'libwebrtc.so'
Display 0 'screen': 1280x1024 (primary device).
[Physics::Module] Initialized MultithreadedJobDispatcher with {0} workers.
Unable to load player prefs
Desktop is 1280 x 1024 @ 0 Hz
MESA: error: ZINK: failed to choose pdev
glx: failed to create drisw screen
Initialize engine version: 2021.3.45f1 (0da89fac8e79)
[Subsystems] Discovering subsystems at path /root/unity/Broadcast_Data/UnitySubsystems
GfxDevice: creating device client; threaded=1; jobified=1
Renderer: llvmpipe (LLVM 17.0.6, 256 bits)
Vendor:   Mesa
Version:  4.5 (Core Profile) Mesa 24.0.9-0ubuntu0.3
GLES:     0
 GL_3DFX_texture_compression_FXT1 GL_AMD_conservative_depth GL_AMD_draw_buffers_blend GL_AMD_gpu_shader_int64 GL_AMD_multi_draw_indirect GL_AMD_pinned_memory >
RB_draw_buffers_blend GL_ARB_draw_elements_base_vertex GL_ARB_draw_indirect GL_ARB_draw_instanced GL_ARB_enhanced_layouts GL_ARB_explicit_attrib_location GL_A>
_ARB_query_buffer_object GL_ARB_robust_buffer_access_behavior GL_ARB_robustness GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_s>
RB_texture_compression_bptc GL_ARB_texture_compression_rgtc GL_ARB_texture_cube_map_array GL_ARB_texture_filter_anisotropic GL_ARB_texture_filter_minmax GL_AR>
_equation_separate GL_ATI_meminfo GL_ATI_texture_float GL_ATI_texture_mirror_once GL_EXT_EGL_image_storage GL_EXT_EGL_sync GL_EXT_abgr GL_EXT_blend_equation_s>
re_shadow_lod GL_EXT_texture_shared_exponent GL_EXT_texture_snorm GL_EXT_texture_swizzle GL_EXT_timer_query GL_EXT_transform_feedback GL_EXT_vertex_array_bgra>
OPENGL LOG: Creating OpenGL 4.5 graphics device ; Context level  <OpenGL 4.5> ; Context handle 669329120
implib-gen: libX11.so: failed to load library: libX11.so: cannot open shared object file: No such file or directory
apt install libx11-dev

之后又有新的错误

Mono config path = '/root/unity/Broadcast_Data/MonoBleedingEdge/etc'
Preloaded 'libwebrtc.so'
Display 0 'screen': 1280x1024 (primary device).
[Physics::Module] Initialized MultithreadedJobDispatcher with {0} workers.
Unable to load player prefs
Desktop is 1280 x 1024 @ 0 Hz
MESA: error: ZINK: failed to choose pdev
glx: failed to create drisw screen
Initialize engine version: 2021.3.45f1 (0da89fac8e79)
[Subsystems] Discovering subsystems at path /root/unity/Broadcast_Data/UnitySubsystems
GfxDevice: creating device client; threaded=1; jobified=1
Renderer: llvmpipe (LLVM 17.0.6, 256 bits)
Vendor:   Mesa
Version:  4.5 (Core Profile) Mesa 24.0.9-0ubuntu0.3
GLES:     0
 GL_3DFX_texture_compression_FXT1 GL_AMD_conservative_depth GL_AMD_draw_buffers_blend GL_AMD_gpu_shader_int64 GL_AMD_multi_draw_indirect GL_AMD_pinned_memory >
RB_draw_buffers_blend GL_ARB_draw_elements_base_vertex GL_ARB_draw_indirect GL_ARB_draw_instanced GL_ARB_enhanced_layouts GL_ARB_explicit_attrib_location GL_A>
_ARB_query_buffer_object GL_ARB_robust_buffer_access_behavior GL_ARB_robustness GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_s>
RB_texture_compression_bptc GL_ARB_texture_compression_rgtc GL_ARB_texture_cube_map_array GL_ARB_texture_filter_anisotropic GL_ARB_texture_filter_minmax GL_AR>
_equation_separate GL_ATI_meminfo GL_ATI_texture_float GL_ATI_texture_mirror_once GL_EXT_EGL_image_storage GL_EXT_EGL_sync GL_EXT_abgr GL_EXT_blend_equation_s>
re_shadow_lod GL_EXT_texture_shared_exponent GL_EXT_texture_snorm GL_EXT_texture_swizzle GL_EXT_timer_query GL_EXT_transform_feedback GL_EXT_vertex_array_bgra>
OPENGL LOG: Creating OpenGL 4.5 graphics device ; Context level  <OpenGL 4.5> ; Context handle 257741888
MESA: error: ZINK: failed to choose pdev
glx: failed to create drisw screen
FMOD failed to initialize any audio devices, running on emulated software output with no sound. Please check your audio drivers and/or hardware for malfunctio>
Begin MonoManager ReloadAssembly
- Completed reload, in  0.065 seconds
implib-gen: libnvidia-encode.so: failed to load library: libnvidia-encode.so: cannot open shared object file: No such file or directory

不知道怎么解决,先跑个glxgears测试一下

apt install mesa-utils

root@2d22a07c714e:~/unity# xvfb-run glxgears
MESA: error: ZINK: failed to choose pdev
glx: failed to create drisw screen

17126 frames in 5.0 seconds = 3425.143 FPS
17331 frames in 5.0 seconds = 3466.109 FPS
^Z
[3]+  Stopped                 xvfb-run glxgears

先解决MESA和glx的问题

MESA: error: ZINK: failed to choose pdev
glx: failed to create drisw screen
#更新mesa版本
apt install software-properties-common
add-apt-repository ppa:kisak/kisak-mesa
apt update
apt upgrade

新的log,额新的错误

Mono path[0] = '/root/unity/Broadcast_Data/Managed'
Mono config path = '/root/unity/Broadcast_Data/MonoBleedingEdge/etc'
Preloaded 'libwebrtc.so'
Display 0 'screen': 1280x1024 (primary device).
[Physics::Module] Initialized MultithreadedJobDispatcher with {0} workers.
Unable to load player prefs
Desktop is 1280 x 1024 @ 0 Hz
Initialize engine version: 2021.3.45f1 (0da89fac8e79)
[Subsystems] Discovering subsystems at path /root/unity/Broadcast_Data/UnitySubsystems
GfxDevice: creating device client; threaded=1; jobified=1
Renderer: llvmpipe (LLVM 17.0.6, 256 bits)
Vendor:   Mesa
Version:  4.5 (Core Profile) Mesa 24.3.3 - kisak-mesa PPA
GLES:     0
 GL_3DFX_texture_compression_FXT1 GL_AMD_conservative_depth GL_AMD_draw_buffers_blend GL_AMD_gpu_shader_int64 GL_AMD_multi_draw_indire>
RB_draw_buffers_blend GL_ARB_draw_elements_base_vertex GL_ARB_draw_indirect GL_ARB_draw_instanced GL_ARB_enhanced_layouts GL_ARB_expli>
_ARB_query_buffer_object GL_ARB_robust_buffer_access_behavior GL_ARB_robustness GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_se>
RB_texture_compression_bptc GL_ARB_texture_compression_rgtc GL_ARB_texture_cube_map_array GL_ARB_texture_filter_anisotropic GL_ARB_tex>
_equation_separate GL_ATI_meminfo GL_ATI_texture_float GL_ATI_texture_mirror_once GL_EXT_EGL_image_storage GL_EXT_EGL_image_storage_co>
_EXT_texture_sRGB_decode GL_EXT_texture_shadow_lod GL_EXT_texture_shared_exponent GL_EXT_texture_snorm GL_EXT_texture_storage GL_EXT_t>
OPENGL LOG: Creating OpenGL 4.5 graphics device ; Context level  <OpenGL 4.5> ; Context handle 399593216
FMOD failed to initialize any audio devices, running on emulated software output with no sound. Please check your audio drivers and/or>
Begin MonoManager ReloadAssembly
- Completed reload, in  0.063 seconds
implib-gen: libnvidia-encode.so: failed to load library: libnvidia-encode.so: cannot open shared object file: No such file or directory

尝试解决libnvidia-encode.so找不到的问题

apt install libnvidia-encode-565-server
#运行程序
root@2d22a07c714e:~/unity# ./webserver &
[10] 5192
root@2d22a07c714e:~/unity# Use websocket for signaling server ws://127.0.0.1
start as public mode
http://127.0.0.1:80
http://172.17.0.2:80

root@2d22a07c714e:~/unity# xvfb-run ./Broadcast.x86_64 &
[12] 5217
root@2d22a07c714e:~/unity# [UnityMemory] Configuration Parameters - Can be set up in boot.config
    "memorysetup-bucket-allocator-granularity=16"
    "memorysetup-bucket-allocator-bucket-count=8"
    "memorysetup-bucket-allocator-block-size=4194304"
    "memorysetup-bucket-allocator-block-count=1"
    "memorysetup-main-allocator-block-size=16777216"
    "memorysetup-thread-allocator-block-size=16777216"
    "memorysetup-gfx-main-allocator-block-size=16777216"
    "memorysetup-gfx-thread-allocator-block-size=16777216"
    "memorysetup-cache-allocator-block-size=4194304"
    "memorysetup-typetree-allocator-block-size=2097152"
    "memorysetup-profiler-bucket-allocator-granularity=16"
    "memorysetup-profiler-bucket-allocator-bucket-count=8"
    "memorysetup-profiler-bucket-allocator-block-size=4194304"
    "memorysetup-profiler-bucket-allocator-block-count=1"
    "memorysetup-profiler-allocator-block-size=16777216"
    "memorysetup-profiler-editor-allocator-block-size=1048576"
    "memorysetup-temp-allocator-size-main=4194304"
    "memorysetup-job-temp-allocator-block-size=2097152"
    "memorysetup-job-temp-allocator-block-size-background=1048576"
    "memorysetup-job-temp-allocator-reduction-small-platforms=262144"
    "memorysetup-temp-allocator-size-background-worker=32768"
    "memorysetup-temp-allocator-size-job-worker=262144"
    "memorysetup-temp-allocator-size-preload-manager=262144"
    "memorysetup-temp-allocator-size-nav-mesh-worker=65536"
    "memorysetup-temp-allocator-size-audio-worker=65536"
    "memorysetup-temp-allocator-size-cloud-worker=32768"
    "memorysetup-temp-allocator-size-gfx=262144"
Loading in SingleInstance mode

访问一下,成功了!怎么操作不了旋转,点击也没用……

在这里插入图片描述

呵呵,还是高兴的太早,看看log

Mono path[0] = '/root/unity/Broadcast_Data/Managed'
Mono config path = '/root/unity/Broadcast_Data/MonoBleedingEdge/etc'
Preloaded 'libwebrtc.so'
Display 0 'screen': 1280x1024 (primary device).
[Physics::Module] Initialized MultithreadedJobDispatcher with {0} workers.
Desktop is 1280 x 1024 @ 0 Hz
Initialize engine version: 2021.3.45f1 (0da89fac8e79)
[Subsystems] Discovering subsystems at path /root/unity/Broadcast_Data/UnitySubsystems
GfxDevice: creating device client; threaded=1; jobified=1
Renderer: llvmpipe (LLVM 17.0.6, 256 bits)
Vendor:   Mesa
Version:  4.5 (Core Profile) Mesa 24.3.3 - kisak-mesa PPA
GLES:     0
 GL_3DFX_texture_compression_FXT1 GL_AMD_conservative_depth GL_AMD_draw_buffers_blend GL_AMD_gpu_shader_int64 GL_AMD_multi_draw_indirect GL_AMD_pinned_memory GL_AMD_query_buffer_object GL_AMD_seamless_cubemap_per_texture GL_AMD_shader_stencil_export GL_AMD_shader_trinary_minmax GL_AMD_texture_texture4 GL_AMD_vertex_shader_layer GL_AMD_vertex_shader_viewport_index GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ARB_ES2_compatibility GL_ARB_ES3_1_compatibility GL_ARB_ES3_2_compatibility GL_ARB_ES3_compatibility GL_ARB_arrays_of_arrays GL_ARB_base_instance GL_ARB_blend_func_extended GL_ARB_buffer_storage GL_ARB_clear_buffer_object GL_ARB_clear_texture GL_ARB_clip_control GL_ARB_compressed_texture_pixel_storage GL_ARB_compute_shader GL_ARB_conditional_render_inverted GL_ARB_conservative_depth GL_ARB_copy_buffer GL_ARB_copy_image GL_ARB_cull_distance GL_ARB_debug_output GL_ARB_depth_buffer_float GL_ARB_depth_clamp GL_ARB_derivative_control GL_ARB_direct_state_access GL_ARB_draw_buffers GL_A
RB_draw_buffers_blend GL_ARB_draw_elements_base_vertex GL_ARB_draw_indirect GL_ARB_draw_instanced GL_ARB_enhanced_layouts GL_ARB_explicit_attrib_location GL_ARB_explicit_uniform_location GL_ARB_fragment_coord_conventions GL_ARB_fragment_layer_viewport GL_ARB_fragment_shader GL_ARB_framebuffer_no_attachments GL_ARB_framebuffer_object GL_ARB_framebuffer_sRGB GL_ARB_get_program_binary GL_ARB_get_texture_sub_image GL_ARB_gl_spirv GL_ARB_gpu_shader5 GL_ARB_gpu_shader_fp64 GL_ARB_gpu_shader_int64 GL_ARB_half_float_pixel GL_ARB_half_float_vertex GL_ARB_indirect_parameters GL_ARB_instanced_arrays GL_ARB_internalformat_query GL_ARB_internalformat_query2 GL_ARB_invalidate_subdata GL_ARB_map_buffer_alignment GL_ARB_map_buffer_range GL_ARB_multi_bind GL_ARB_multi_draw_indirect GL_ARB_occlusion_query2 GL_ARB_parallel_shader_compile GL_ARB_pipeline_statistics_query GL_ARB_pixel_buffer_object GL_ARB_point_sprite GL_ARB_polygon_offset_clamp GL_ARB_post_depth_coverage GL_ARB_program_interface_query GL_ARB_provoking_vertex GL
_ARB_query_buffer_object GL_ARB_robust_buffer_access_behavior GL_ARB_robustness GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_seamless_cubemap_per_texture GL_ARB_separate_shader_objects GL_ARB_shader_atomic_counter_ops GL_ARB_shader_atomic_counters GL_ARB_shader_ballot GL_ARB_shader_bit_encoding GL_ARB_shader_clock GL_ARB_shader_draw_parameters GL_ARB_shader_group_vote GL_ARB_shader_image_load_store GL_ARB_shader_image_size GL_ARB_shader_objects GL_ARB_shader_precision GL_ARB_shader_stencil_export GL_ARB_shader_storage_buffer_object GL_ARB_shader_subroutine GL_ARB_shader_texture_image_samples GL_ARB_shader_texture_lod GL_ARB_shader_viewport_layer_array GL_ARB_shading_language_420pack GL_ARB_shading_language_include GL_ARB_shading_language_packing GL_ARB_spirv_extensions GL_ARB_stencil_texturing GL_ARB_sync GL_ARB_tessellation_shader GL_ARB_texture_barrier GL_ARB_texture_border_clamp GL_ARB_texture_buffer_object GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_buffer_range GL_A
RB_texture_compression_bptc GL_ARB_texture_compression_rgtc GL_ARB_texture_cube_map_array GL_ARB_texture_filter_anisotropic GL_ARB_texture_filter_minmax GL_ARB_texture_float GL_ARB_texture_gather GL_ARB_texture_mirror_clamp_to_edge GL_ARB_texture_multisample GL_ARB_texture_non_power_of_two GL_ARB_texture_query_levels GL_ARB_texture_query_lod GL_ARB_texture_rectangle GL_ARB_texture_rg GL_ARB_texture_rgb10_a2ui GL_ARB_texture_stencil8 GL_ARB_texture_storage GL_ARB_texture_storage_multisample GL_ARB_texture_swizzle GL_ARB_texture_view GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_transform_feedback_instanced GL_ARB_transform_feedback_overflow_query GL_ARB_uniform_buffer_object GL_ARB_vertex_array_bgra GL_ARB_vertex_array_object GL_ARB_vertex_attrib_64bit GL_ARB_vertex_attrib_binding GL_ARB_vertex_buffer_object GL_ARB_vertex_shader GL_ARB_vertex_type_10f_11f_11f_rev GL_ARB_vertex_type_2_10_10_10_rev GL_ARB_viewport_array GL_ARM_shader_framebuffer_fetch_depth_stencil GL_ATI_blend
_equation_separate GL_ATI_meminfo GL_ATI_texture_float GL_ATI_texture_mirror_once GL_EXT_EGL_image_storage GL_EXT_EGL_image_storage_compression GL_EXT_EGL_sync GL_EXT_abgr GL_EXT_blend_equation_separate GL_EXT_debug_label GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_framebuffer_object GL_EXT_framebuffer_sRGB GL_EXT_memory_object GL_EXT_memory_object_fd GL_EXT_packed_depth_stencil GL_EXT_packed_float GL_EXT_pixel_buffer_object GL_EXT_polygon_offset_clamp GL_EXT_provoking_vertex GL_EXT_shader_framebuffer_fetch GL_EXT_shader_framebuffer_fetch_non_coherent GL_EXT_shader_image_load_formatted GL_EXT_shader_integer_mix GL_EXT_texture_array GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_compression_s3tc GL_EXT_texture_filter_anisotropic GL_EXT_texture_filter_minmax GL_EXT_texture_integer GL_EXT_texture_mirror_clamp GL_EXT_texture_sRGB GL_EXT_texture_sRGB_R8 GL_EXT_texture_sRGB_RG8 GL
_EXT_texture_sRGB_decode GL_EXT_texture_shadow_lod GL_EXT_texture_shared_exponent GL_EXT_texture_snorm GL_EXT_texture_storage GL_EXT_texture_swizzle GL_EXT_timer_query GL_EXT_transform_feedback GL_EXT_vertex_array_bgra GL_EXT_vertex_attrib_64bit GL_IBM_multimode_draw_arrays GL_INTEL_shader_atomic_float_minmax GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_KHR_context_flush_control GL_KHR_debug GL_KHR_no_error GL_KHR_parallel_shader_compile GL_KHR_robust_buffer_access_behavior GL_KHR_robustness GL_KHR_texture_compression_astc_ldr GL_KHR_texture_compression_astc_sliced_3d GL_MESA_framebuffer_flip_y GL_MESA_pack_invert GL_MESA_shader_integer_functions GL_MESA_texture_signed_rgba GL_MESA_ycbcr_texture GL_NVX_gpu_memory_info GL_NV_alpha_to_coverage_dither_control GL_NV_conditional_render GL_NV_copy_image GL_NV_depth_clamp GL_NV_packed_depth_stencil GL_NV_shader_atomic_float GL_NV_texture_barrier GL_OES_EGL_image GL_OVR_multiview GL_OVR_multiview2 GL_S3_s3tc
OPENGL LOG: Creating OpenGL 4.5 graphics device ; Context level  <OpenGL 4.5> ; Context handle 1048406352
FMOD failed to initialize any audio devices, running on emulated software output with no sound. Please check your audio drivers and/or hardware for malfunction.
Begin MonoManager ReloadAssembly
- Completed reload, in  0.061 seconds
Default vsync count 1
requesting resize 1280 x 720
resizing window to 1280 x 720
Desktop is 1280 x 1024 @ 0 Hz
Disable old input system
UnloadTime: 0.719822 ms
InvalidOperationException while resolving binding 'Look:DeltaWithButton' in action map 'CameraControl(Clone) (UnityEngine.InputSystem.InputActionAsset):Player Controls'
InvalidOperationException: No binding composite with name 'DeltaWithButton' has been registered
  at UnityEngine.InputSystem.InputBindingResolver.InstantiateBindingComposite (UnityEngine.InputSystem.InputBinding& binding, UnityEngine.InputSystem.InputActionMap actionMap) [0x0003d] in <2f105ad7dee34953b6e54cc8745300c6>:0 
  at UnityEngine.InputSystem.InputBindingResolver.AddActionMap (UnityEngine.InputSystem.InputActionMap actionMap) [0x00406] in <2f105ad7dee34953b6e54cc8745300c6>:0 
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
UnityEngine.InputSystem.InputBindingResolver:AddActionMap(InputActionMap)
UnityEngine.InputSystem.InputActionMap:ResolveBindings()
UnityEngine.InputSystem.InputActionMap:ResolveBindingsIfNecessary()
UnityEngine.InputSystem.InputActionMap:Enable()
Unity.RenderStreaming.InputReceiver:set_currentActionMap(InputActionMap)
Unity.RenderStreaming.InputReceiver:SwitchCurrentActionMap(String)
Unity.RenderStreaming.InputReceiver:ActivateInput()
Unity.RenderStreaming.InputReceiver:OnEnable()

Signaling: Connecting WS ws://127.0.0.1
Signaling: WS connected.
Signaling: Receiving message: {"from":"58992b39-5903-40d3-8f00-d4933999d10c","to":"","type":"offer","data":{"sdp":"v=0\r\no=- 166062637435595691 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS\r\nm=application 9 UDP/DTLS/SCTP webrtc-datachannel\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:aWML\r\na=ice-pwd:mCAEO6a5VpgmnyJMAyk3TXH2\r\na=ice-options:trickle\r\na=fingerprint:sha-256 9D:C2:07:E7:E6:FB:FF:A0:57:F5:4F:13:99:4D:24:BE:7D:B6:61:36:75:86:28:07:5F:DB:0E:36:D5:4E:28:31\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","datetime":1736318537750,"polite":false}}
Signaling: Receiving message: {"from":"58992b39-5903-40d3-8f00-d4933999d10c","to":"","type":"candidate","data":{"candidate":"candidate:1419777401 1 udp 2113937151 a065ecf2-8789-4313-989b-f9626d228145.local 45366 typ host generation 0 ufrag aWML network-cost 999","sdpMLineIndex":"0","sdpMid":0,"datetime":1736318537750}}
[impolite-PeerConnection ConnectionState:New IceConnectionState:New SignalingState:Stable GatheringState:New] this candidate can't accept on state.
Signaling: Receiving message: {"from":"58992b39-5903-40d3-8f00-d4933999d10c","to":"","type":"candidate","data":{"candidate":"candidate:3729736046 1 udp 1677729535 66.112.220.59 34891 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag aWML network-cost 999","sdpMLineIndex":"0","sdpMid":0,"datetime":1736318538414}}
Signaling: Sending WS data: {"from":"58992b39-5903-40d3-8f00-d4933999d10c","to":"","type":"candidate","data":{"connectionId":"58992b39-5903-40d3-8f00-d4933999d10c","candidate":"candidate:894848911 1 udp 2122260223 172.17.0.2 54486 typ host generation 0 ufrag pi9h network-id 1","sdpMid":"0","sdpMLineIndex":0}}
Signaling: Sending WS data: {"from":"58992b39-5903-40d3-8f00-d4933999d10c","to":"","type":"answer","data":{"connectionId":"58992b39-5903-40d3-8f00-d4933999d10c","sdp":"v=0\r\no=- 5545970630316896775 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS\r\nm=application 54486 UDP/DTLS/SCTP webrtc-datachannel\r\nc=IN IP4 172.17.0.2\r\na=candidate:894848911 1 udp 2122260223 172.17.0.2 54486 typ host generation 0 network-id 1\r\na=ice-ufrag:pi9h\r\na=ice-pwd:sGaRNQHYCJv4hAerT1sd+L9L\r\na=ice-options:trickle\r\na=fingerprint:sha-256 62:0F:8C:16:BC:D0:56:15:CA:56:55:8B:2B:A0:5E:A1:31:91:B1:39:DB:A0:DB:45:CA:50:A2:55:38:46:19:E9\r\na=setup:active\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"answer","polite":false}}
Signaling: Sending WS data: {"from":"58992b39-5903-40d3-8f00-d4933999d10c","to":"","type":"offer","data":{"connectionId":"58992b39-5903-40d3-8f00-d4933999d10c","sdp":"v=0\r\no=- 5545970630316896775 3 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0 1 2\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS\r\nm=application 54486 UDP/DTLS/SCTP webrtc-datachannel\r\nc=IN IP4 172.17.0.2\r\na=candidate:894848911 1 udp 2122260223 172.17.0.2 54486 typ host generation 0 network-id 1\r\na=ice-ufrag:pi9h\r\na=ice-pwd:sGaRNQHYCJv4hAerT1sd+L9L\r\na=ice-options:trickle\r\na=fingerprint:sha-256 62:0F:8C:16:BC:D0:56:15:CA:56:55:8B:2B:A0:5E:A1:31:91:B1:39:DB:A0:DB:45:CA:50:A2:55:38:46:19:E9\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\nm=audio 9 UDP/TLS/RTP/SAVPF 96 97 98 99 102 9 0 8 100 101 107 108 109 114 106 105 13 110 112 113 126\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:pi9h\r\na=ice-pwd:sGaRNQHYCJv4hAerT1sd+L9L\r\na=ice-options:trickle\r\na=fingerprint:sha-256 62:0F:8C:16:BC:D0:56:15:CA:56:55:8B:2B:A0:5E:A1:31:91:B1:39:DB:A0:DB:45:CA:50:A2:55:38:46:19:E9\r\na=setup:actpass\r\na=mid:1\r\na=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level\r\na=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid\r\na=sendonly\r\na=msid:- 7e2bb529-81ce-4221-b23c-29ccf90d2a33\r\na=rtcp-mux\r\na=rtpmap:96 opus/48000/2\r\na=rtcp-fb:96 transport-cc\r\na=fmtp:96 minptime=10;sprop-stereo=1;stereo=1;useinbandfec=1\r\na=rtpmap:97 red/48000/2\r\na=fmtp:97 96/96\r\na=rtpmap:98 multiopus/48000/6\r\na=fmtp:98 channel_mapping=0,4,1,2,3,5;coupled_streams=2;minptime=10;num_streams=4;useinbandfec=1\r\na=rtpmap:99 multiopus/48000/8\r\na=fmtp:99 channel_mapping=0,6,1,2,3,4,5,7;coupled_streams=3;minptime=10;num_streams=5;useinbandfec=1\r\na=rtpmap:102 ILBC/8000\r\na=rtpmap:9 G722/8000\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:100 L16/8000\r\na=rtpmap:101 L16/16000\r\na=rtpmap:107 L16/32000\r\na=rtpmap:108 L16/8000/2\r\na=rtpmap:109 L16/16000/2\r\na=rtpmap:114 L16/32000/2\r\na=rtpmap:106 CN/32000\r\na=rtpmap:105 CN/16000\r\na=rtpmap:13 CN/8000\r\na=rtpmap:110 telephone-event/48000\r\na=rtpmap:112 telephone-event/32000\r\na=rtpmap:113 telephone-event/16000\r\na=rtpmap:126 telephone-event/8000\r\na=ssrc:2215041656 cname:ARP4mJd5Qo6lpC/k\r\na=ssrc:2215041656 msid:- 7e2bb529-81ce-4221-b23c-29ccf90d2a33\r\nm=video 9 UDP/TLS/RTP/SAVPF 127 123 125 122 124 121 39 40 120 103 104\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:pi9h\r\na=ice-pwd:sGaRNQHYCJv4hAerT1sd+L9L\r\na=ice-options:trickle\r\na=fingerprint:sha-256 62:0F:8C:16:BC:D0:56:15:CA:56:55:8B:2B:A0:5E:A1:31:91:B1:39:DB:A0:DB:45:CA:50:A2:55:38:46:19:E9\r\na=setup:actpass\r\na=mid:2\r\na=extmap:14 urn:ietf:params:rtp-hdrext:toffset\r\na=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=extmap:13 urn:3gpp:video-orientation\r\na=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=extmap:5 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay\r\na=extmap:6 http://www.webrtc.org/experiments/rtp-hdrext/video-content-type\r\na=extmap:7 http://www.webrtc.org/experiments/rtp-hdrext/video-timing\r\na=extmap:8 http://www.webrtc.org/experiments/rtp-hdrext/color-space\r\na=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid\r\na=extmap:10 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id\r\na=extmap:11 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id\r\na=sendonly\r\na=msid:- aea25eef-d0af-4212-8408-9f866cdacc2e\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:127 VP8/90000\r\na=rtcp-fb:127 goog-remb\r\na=rtcp-fb:127 transport-cc\r\na=rtcp-fb:127 ccm fir\r\na=rtcp-fb:127 nack\r\na=rtcp-fb:127 nack pli\r\na=fmtp:127 implementation_name=Internal\r\na=rtpmap:123 rtx/90000\r\na=fmtp:123 apt=127\r\na=rtpmap:125 VP9/90000\r\na=rtcp-fb:125 goog-remb\r\na=rtcp-fb:125 transport-cc\r\na=rtcp-fb:125 ccm fir\r\na=rtcp-fb:125 nack\r\na=rtcp-fb:125 nack pli\r\na=fmtp:125 implementation_name=Internal;profile-id=0\r\na=rtpmap:122 rtx/90000\r\na=fmtp:122 apt=125\r\na=rtpmap:124 VP9/90000\r\na=rtcp-fb:124 goog-remb\r\na=rtcp-fb:124 transport-cc\r\na=rtcp-fb:124 ccm fir\r\na=rtcp-fb:124 nack\r\na=rtcp-fb:124 nack pli\r\na=fmtp:124 implementation_name=Internal;profile-id=2\r\na=rtpmap:121 rtx/90000\r\na=fmtp:121 apt=124\r\na=rtpmap:39 AV1/90000\r\na=rtcp-fb:39 goog-remb\r\na=rtcp-fb:39 transport-cc\r\na=rtcp-fb:39 ccm fir\r\na=rtcp-fb:39 nack\r\na=rtcp-fb:39 nack pli\r\na=fmtp:39 implementation_name=Internal\r\na=rtpmap:40 rtx/90000\r\na=fmtp:40 apt=39\r\na=rtpmap:120 red/90000\r\na=rtpmap:103 rtx/90000\r\na=fmtp:103 apt=120\r\na=rtpmap:104 ulpfec/90000\r\na=ssrc-group:FID 2668904575 1748889024\r\na=ssrc:2668904575 cname:ARP4mJd5Qo6lpC/k\r\na=ssrc:2668904575 msid:- aea25eef-d0af-4212-8408-9f866cdacc2e\r\na=ssrc:1748889024 cname:ARP4mJd5Qo6lpC/k\r\na=ssrc:1748889024 msid:- aea25eef-d0af-4212-8408-9f866cdacc2e\r\n","type":"offer","polite":false}}
Signaling: Receiving message: {"from":"58992b39-5903-40d3-8f00-d4933999d10c","to":"","type":"answer","data":{"sdp":"v=0\r\no=- 166062637435595691 3 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0 1 2\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS\r\nm=application 34891 UDP/DTLS/SCTP webrtc-datachannel\r\nc=IN IP4 66.112.220.59\r\na=candidate:1419777401 1 udp 2113937151 a065ecf2-8789-4313-989b-f9626d228145.local 45366 typ host generation 0 network-cost 999\r\na=candidate:3729736046 1 udp 1677729535 66.112.220.59 34891 typ srflx raddr 0.0.0.0 rport 0 generation 0 network-cost 999\r\na=ice-ufrag:aWML\r\na=ice-pwd:mCAEO6a5VpgmnyJMAyk3TXH2\r\na=ice-options:trickle\r\na=fingerprint:sha-256 9D:C2:07:E7:E6:FB:FF:A0:57:F5:4F:13:99:4D:24:BE:7D:B6:61:36:75:86:28:07:5F:DB:0E:36:D5:4E:28:31\r\na=setup:passive\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\nm=audio 9 UDP/TLS/RTP/SAVPF 96 97 9 0 8 13 110 126\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:aWML\r\na=ice-pwd:mCAEO6a5VpgmnyJMAyk3TXH2\r\na=ice-options:trickle\r\na=fingerprint:sha-256 9D:C2:07:E7:E6:FB:FF:A0:57:F5:4F:13:99:4D:24:BE:7D:B6:61:36:75:86:28:07:5F:DB:0E:36:D5:4E:28:31\r\na=setup:passive\r\na=mid:1\r\na=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level\r\na=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid\r\na=recvonly\r\na=rtcp-mux\r\na=rtpmap:96 opus/48000/2\r\na=rtcp-fb:96 transport-cc\r\na=fmtp:96 minptime=10;useinbandfec=1\r\na=rtpmap:97 red/48000/2\r\na=fmtp:97 96/96\r\na=rtpmap:9 G722/8000\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:13 CN/8000\r\na=rtpmap:110 telephone-event/48000\r\na=rtpmap:126 telephone-event/8000\r\nm=video 9 UDP/TLS/RTP/SAVPF 127 123 125 122 124 121 39 40 120 103 104\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:aWML\r\na=ice-pwd:mCAEO6a5VpgmnyJMAyk3TXH2\r\na=ice-options:trickle\r\na=fingerprint:sha-256 9D:C2:07:E7:E6:FB:FF:A0:57:F5:4F:13:99:4D:24:BE:7D:B6:61:36:75:86:28:07:5F:DB:0E:36:D5:4E:28:31\r\na=setup:passive\r\na=mid:2\r\na=extmap:14 urn:ietf:params:rtp-hdrext:toffset\r\na=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=extmap:13 urn:3gpp:video-orientation\r\na=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=extmap:5 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay\r\na=extmap:6 http://www.webrtc.org/experiments/rtp-hdrext/video-content-type\r\na=extmap:7 http://www.webrtc.org/experiments/rtp-hdrext/video-timing\r\na=extmap:8 http://www.webrtc.org/experiments/rtp-hdrext/color-space\r\na=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid\r\na=extmap:10 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id\r\na=extmap:11 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id\r\na=recvonly\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:127 VP8/90000\r\na=rtcp-fb:127 goog-remb\r\na=rtcp-fb:127 transport-cc\r\na=rtcp-fb:127 ccm fir\r\na=rtcp-fb:127 nack\r\na=rtcp-fb:127 nack pli\r\na=rtpmap:123 rtx/90000\r\na=fmtp:123 apt=127\r\na=rtpmap:125 VP9/90000\r\na=rtcp-fb:125 goog-remb\r\na=rtcp-fb:125 transport-cc\r\na=rtcp-fb:125 ccm fir\r\na=rtcp-fb:125 nack\r\na=rtcp-fb:125 nack pli\r\na=fmtp:125 profile-id=0\r\na=rtpmap:122 rtx/90000\r\na=fmtp:122 apt=125\r\na=rtpmap:124 VP9/90000\r\na=rtcp-fb:124 goog-remb\r\na=rtcp-fb:124 transport-cc\r\na=rtcp-fb:124 ccm fir\r\na=rtcp-fb:124 nack\r\na=rtcp-fb:124 nack pli\r\na=fmtp:124 profile-id=2\r\na=rtpmap:121 rtx/90000\r\na=fmtp:121 apt=124\r\na=rtpmap:39 AV1/90000\r\na=rtcp-fb:39 goog-remb\r\na=rtcp-fb:39 transport-cc\r\na=rtcp-fb:39 ccm fir\r\na=rtcp-fb:39 nack\r\na=rtcp-fb:39 nack pli\r\na=fmtp:39 level-idx=5;profile=0;tier=0\r\na=rtpmap:40 rtx/90000\r\na=fmtp:40 apt=39\r\na=rtpmap:120 red/90000\r\na=rtpmap:103 rtx/90000\r\na=fmtp:103 apt=120\r\na=rtpmap:104 ulpfec/90000\r\n","datetime":1736318539289}}

FMOD failed to initialize 哦,声音挂了,InputSystem啥啥啥的,输入也挂了……

一些链接

https://wiki.archlinux.org/title/Unity3D#No_window_opens:Desktop_is_0_x_0@_0_Hz
https://discussions.unity.com/t/linux-player-headless-xserver-has-0hz/1569617/7
https://askubuntu.com/questions/514479/how-do-i-install-the-latest-mesa-release
https://askubuntu.com/questions/1516040/mesa-and-glx-errors-when-running-glxinfo-ubuntu-24-04
https://blog.csdn.net/ph12345687/article/details/141873535
https://blog.csdn.net/weixin_58045467/article/details/135797420?spm=1001.2014.3001.5502

25.1.8 未完,不知道还续不续

25.1.9 容器里 top命令看了下,cpu 百分之一千多,gpu未使用……这没法用啊,弃了,这篇不续了

最后dockerfile和.sh文件

FROM ubuntu:24.04
RUN apt-get update && apt-get install -y xserver-xorg libx11-dev mesa-utils xvfb nano software-properties-common libnvidia-encode-565-server
RUN add-apt-repository ppa:kisak/kisak-mesa
RUN apt update 
RUN apt upgrade -y
EXPOSE 80
COPY ./unity /root/unity
RUN chmod -R 755 ./root/unity
WORKDIR /root/unity
ENTRYPOINT ["/root/unity/start.sh"]

#RUN apt-get update && apt-get install -y openssh-server
#RUN mkdir /var/run/sshd
#RUN echo 'root:123456' | chpasswd
#RUN sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config
#EXPOSE 22
#CMD ["/usr/sbin/sshd", "-D"]
#!/bin/bash

export XDG_RUNTIME_DIR=/unity
./webserver -p 80 &
xvfb-run ./Broadcast.x86_64 &
wait

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:/a/950627.html

如若内容造成侵权/违法违规/事实不符,请联系我们进行投诉反馈qq邮箱809451989@qq.com,一经查实,立即删除!

相关文章

Unity-Mirror网络框架-从入门到精通之AdditiveScenes 示例

文章目录 前言Additive Levels和Additive ScenesAdditive Levels场景介绍Portal传送门FadeInOut特效 Additive Scenes示例介绍ZoneHandlerSceneMassage 最后 前言 在现代游戏开发中&#xff0c;网络功能日益成为提升游戏体验的关键组成部分。Mirror是一个用于Unity的开源网络框…

Mac-docker配置

1.配置的文件路径 cd ~/.docker (base) zhangyaweimacbookair .docker % ls buildx cli-plugins config.json contexts daemon.json desktop-build mutagen run (base) zhangyaweimacbookair .docker % cat daemon.json## 重启docker服务 sudo systemctl daemon-reload sudo…

PHP进阶-在Ubuntu上搭建LAMP环境教程

本文将为您提供一个在Ubuntu服务器上搭建LAMP&#xff08;Linux, Apache, MySQL, PHP&#xff09;环境的完整指南。通过本文&#xff0c;您将学习如何安装和配置Apache、MySQL、PHP&#xff0c;并将您的PHP项目部署到服务器上。本文适用于Ubuntu 20.04及更高版本。 一、系统更新…

Elasticsearch(看这一篇就够了)

目录&#xff1a; Elasticsearch介绍正排索引和倒排索引Elasticsearch安装安装ES服务安装服务安装kibana 索引操作创建索引查询索引库修改索引库删除索引库 Elasticsearch常用操作文档操作新增文档查询文档删除文档根据id批量查询文档查询所有文档修改文档部分字段 域的属性分词…

嵌入式技术之Linux(Ubuntu) 一

一、Linux入门 1.硬件和操作系统以及用户的关系 一个传感器&#xff0c;获得数据后&#xff0c;需要向服务器发送数据。传感器传数据给上位机。 上位机需要一个程序来接收数据&#xff0c;那么这个上位机是什么机器&#xff1f; 我们的笔记本电脑就可以当成上位机。 两个手…

【实用技能】如何使用 .NET C# 中的 Azure Key Vault 中的 PFX 证书对 PDF 文档进行签名

TX Text Control 是一款功能类似于 MS Word 的文字处理控件&#xff0c;包括文档创建、编辑、打印、邮件合并、格式转换、拆分合并、导入导出、批量生成等功能。广泛应用于企业文档管理&#xff0c;网站内容发布&#xff0c;电子病历中病案模板创建、病历书写、修改历史、连续打…

oracle闪回恢复数据:(闪回查询,闪回表,闪回库,回收站恢复)

oracle的闪回查询&#xff0c;可以查询提交在表空间的闪回数据&#xff0c;并可以还原所查询的数据&#xff0c;用于恢复短时间内的delele 或者 update 误操作&#xff0c;非常方便&#xff0c;缺点是只能恢复大概几小时内的数据。 文章目录 概要闪回查询恢复数据的主要方法包括…

开放词汇检测新晋SOTA:地瓜机器人开源DOSOD实时检测算法

在计算机视觉领域&#xff0c;目标检测是一项关键技术&#xff0c;旨在识别图像或视频中感兴趣物体的位置与类别。传统的闭集检测长期占据主导地位&#xff0c;但近年来&#xff0c;开放词汇检测&#xff08;Open-Vocabulary Object Detection-OVOD 或者 Open-Set Object Detec…

【网络协议】静态路由详解

网络中的路由器通过以下两种方式之一发现远程网络&#xff1a; 静态配置路由动态路由协议 在本文&#xff0c;我们将学习关于静态路由的各种概念&#xff0c;例如如何配置静态路由、路由表如何进行决策、路由接口等相关知识。 文章目录 引言直连网络静态路由路由表原则原则1原…

(长期更新)《零基础入门 ArcGIS(ArcScene) 》实验七----城市三维建模与分析(超超超详细!!!)

城市三维建模与分析 三维城市模型已经成为一种非常普遍的地理空间数据资源,成为城市的必需品,对城市能化管理至关重要。语义信息丰富的三维城市模型可以有效实现不同领域数据与IS相信息的高层次集成及互操作,从而在城市规划、环境模拟、应急响应和辅助决策等众多领域公挥作用、…

计算机网络--路由器问题

一、路由器问题 1.计算下一跳 计算机网络--根据IP地址和路由表计算下一跳-CSDN博客 2.更新路由表 计算机网络--路由表的更新-CSDN博客 3.根据题目要求给出路由表 4.路由器收到某个分组&#xff0c;解释这个分组是如何被转发的 5.转发分组之路由器的选择 二、举个例子 …

通过Android Studio修改第三方jar包并重新生成jar包

最近接手了来自公司其他同事的一个Unity项目,里面有一个封装的jar包要改动一下,无奈关于这个jar包的原工程文件丢失了,于是自己动手来修改下jar包,并做下记录。 一、导入第三方jar包 1、新建项目EditJarDemo(项目名随便取) 2、新建libs文件夹,把你要修改的third.jar 复制…

33.3K 的Freqtrade:开启加密货币自动化交易之旅

“ 如何更高效、智能地进行交易成为众多投资者关注的焦点。” Freqtrade 是一款用 Python 编写的免费开源加密货币交易机器人。它就像一位不知疲倦的智能交易助手&#xff0c;能够连接到众多主流加密货币交易所&#xff0c;如 Binance、Bitmart、Bybit 等&#xff08;支…

计算机网络 (26)互联网的路由选择协议

一、路由选择协议的基本概念 路由选择协议是计算机网络中用于确定数据包在网络中传输路径的一种协议。它帮助路由器构建和维护路由表&#xff0c;以便根据目的地址将数据包转发到正确的下一跳路由器。路由选择协议分为静态路由选择协议和动态路由选择协议两大类。 二、静态路由…

【MySQL实战】Centos安装MySQL

在CentOS上安装MySQL以及进行性能分析&#xff1a;2种方式&#xff0c;第一种直接装&#xff1b;第二种用docker安装&#xff1a; 直接安装MySQL 首先&#xff0c;更新系统软件包列表&#xff1a; sudo yum update然后&#xff0c;安装MySQL服务器&#xff1a; sudo yum in…

centOS7

特殊权限 set_uid 赋予所有者身份 chmod us 文件 set_gid 赋予所有组身份 chmod gs 文件/目录 sticky_bit 防火墙 firewall-cmd 开启端口 firewall-cmd --zonepublic --add-port8080/tcp --permanent 重启防火墙 systemctl restart firewalld 查看开启的所有端口 fi…

Java后端开发单元测试

测试概览 测试是用于促进鉴定软件正确性、完整性、安全性和软件质量的过程。在开发的过程中测试是必不可少的&#xff0c;测试一般分为四个阶段&#xff1a;单元测试&#xff0c;集成测试&#xff0c;系统测试&#xff0c;验收测试&#xff1b;对于后端开发人员而言&#xff0…

LAMP搭建

LAMP搭建 引子&#xff1a;本篇文章为LAMP的搭建流程&#xff0c;其中L&#xff08;Ubuntu&#xff09;、A&#xff08;Apache&#xff09;、M&#xff08;Mysql&#xff09;、P&#xff08;PHP&#xff09;。 一、L → Ubuntu Step 1&#xff1a;在Vmware Workstation中使…

LabVIEW 系统诊断

LabVIEW 系统诊断是指通过各种工具和方法检测、评估、分析和解决 LabVIEW 程序和硬件系统中可能存在的故障和性能问题。系统诊断不仅涵盖软件层面的调试与优化&#xff0c;还包括硬件交互、数据传输、实时性能等方面的检查和分析。一个成功的系统诊断能够显著提升LabVIEW应用程…

基于 GEE 提取白莲种植范围

目录 1 方法原理 1.1 步骤一 1.2 步骤二 1.3 步骤三 1.4 步骤四 2 完整代码 3 运行结果 近年来&#xff0c;随着乡村振兴战略的提出&#xff0c;我国的农业种植模式呈现出多元化的趋势。白莲具有易种植、经济效益高的特点&#xff0c;由此被广泛种植&#xff0c;本文介绍…