当前位置: 首页 > news >正文

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:     0GL_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:     0GL_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:     0GL_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-utilsroot@2d22a07c714e:~/unity# xvfb-run glxgears
MESA: error: ZINK: failed to choose pdev
glx: failed to create drisw screen17126 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:     0GL_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:80root@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:     0GL_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 registeredat 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/bashexport XDG_RUNTIME_DIR=/unity
./webserver -p 80 &
xvfb-run ./Broadcast.x86_64 &
wait

http://www.mrgr.cn/news/83101.html

相关文章:

  • 数据结构:包装类和泛型
  • js:日期对象和dom节点
  • XS5037C一款应用于专业安防摄像机的图像信号处理芯片,支持MIPI和 DVP 接口,内置高性能ISP处理器,支持3D降噪和数字宽动态
  • thinkphp6.0常用设计模式实例
  • 《Rust权威指南》学习笔记(三)
  • 黑马JavaWeb开发跟学(十五).Maven高级
  • 本地缓存:Guava Cache
  • Ubuntu平台虚拟机软件学习笔记
  • Linux驱动学习之第二个驱动程序(LED点亮关闭驱动程序-分层设计思想,使其能适应不同的板子-驱动程序模块为多个源文件怎么写Makefile)
  • 【深度学习】布匹寻边:抓边误差小于5px【附完整链接】
  • 【vue3封装element-plus的反馈组件el-drawer、el-dialog】
  • docker搭建atlassian-confluence:7.2.0
  • XS5037C一款应用于专业安防摄像机的图像信号处理芯片,支持MIPI和 DVP 接口,内置高性能ISP处理器,支持3D降噪和数字宽动态
  • Onedrive精神分裂怎么办(有变更却不同步)
  • 【Redis源码】 RedisObject结构体
  • 单片机-定时器中断
  • formik 的使用
  • 202305 青少年软件编程等级考试C/C++ 一级真题答案及解析(电子学会)
  • ESP32编译和双OTA分区问题
  • Ubuntu更改内核
  • 使用LinkedList手撕图的邻接表
  • eNSP之家----ACL实验入门实例详解(Access Control List访问控制列表)(重要重要重要的事说三遍)
  • (五)WebGL中vertexAttribPointer方法的使用详解
  • Linux系统中解决端口占用问题
  • STM32内置Flash
  • Vue3组件通讯——自定义事件(子->父)