display的一些学习记录

收集的SDM的log:

01-01 00:00:15.311   933   933 I SDM     : Creating Display HW Composer HAL
01-01 00:00:15.311   933   933 I SDM     : Scheduler priority settings completed
01-01 00:00:15.311   933   933 I SDM     : Configuring RPC threadpool
01-01 00:00:15.311   933   933 I SDM     : Configuring RPC threadpool...done!
01-01 00:00:15.311   933   933 I SDM     : Registering AidlComposer as a service
01-01 00:00:15.311   933   933 I SDM     : Creating AidlComposer extensions(QtiComposer3Client) service
01-01 00:00:15.313   933   933 I SDM     : HWCSession::Register: Set uevent listener = 0xb400007354823010
01-01 00:00:15.313   933   933 I SDM     : HWCSession::Init: builtin_powermode_override: 0
01-01 00:00:15.313   933   933 I SDM     : HWCSession::Init: DISABLE_VIRTUAL_DISPLAY: 1
01-01 00:00:15.313   933   933 I SDM     : HWCSession::Init: disable_get_screen_decorator_support: 1
01-01 00:00:15.335   933   933 E SDM     : DRMCrtc::ParseProperties: DRMCrtc::ParseProperties ACTIVE
01-01 00:00:15.336   933   933 E SDM     : DRMCrtc::ParseProperties: DRMCrtc::ParseProperties MODE_ID
01-01 00:00:15.336   933   933 E SDM     : DRMCrtc::ParseProperties: DRMCrtc::ParseProperties OUT_FENCE_PTR
01-01 00:00:15.336   933   933 E SDM     : DRMCrtc::ParseProperties: DRMCrtc::ParseProperties VRR_ENABLED
01-01 00:00:15.336   933   933 E SDM     : DRMCrtc::ParseProperties: DRMCrtc::ParseProperties input_fence_timeout
01-01 00:00:15.336   933   933 E SDM     : DRMCrtc::ParseProperties: DRMCrtc::ParseProperties output_fence
01-01 00:00:15.336   933   933 E SDM     : DRMCrtc::ParseProperties: DRMCrtc::ParseProperties output_fence_offset
01-01 00:00:15.336   933   933 E SDM     : DRMCrtc::ParseProperties: DRMCrtc::ParseProperties capabilities
01-01 00:00:15.336   933   933 E SDM     : DRMCrtc::ParseProperties: DRMCrtc::ParseProperties ACTIVE
01-01 00:00:15.336   933   933 E SDM     : DRMCrtc::ParseProperties: DRMCrtc::ParseProperties MODE_ID
01-01 00:00:15.336   933   933 E SDM     : DRMCrtc::ParseProperties: DRMCrtc::ParseProperties OUT_FENCE_PTR
01-01 00:00:15.336   933   933 E SDM     : DRMCrtc::ParseProperties: DRMCrtc::ParseProperties VRR_ENABLED
01-01 00:00:15.336   933   933 E SDM     : DRMCrtc::ParseProperties: DRMCrtc::ParseProperties input_fence_timeout
01-01 00:00:15.336   933   933 E SDM     : DRMCrtc::ParseProperties: DRMCrtc::ParseProperties output_fence
01-01 00:00:15.336   933   933 E SDM     : DRMCrtc::ParseProperties: DRMCrtc::ParseProperties output_fence_offset
01-01 00:00:15.336   933   933 E SDM     : DRMCrtc::ParseProperties: DRMCrtc::ParseProperties capabilities
01-01 00:00:15.336   933   933 I SDM     : HWInfoDRM::Init: Failed to acquire DRMMaster instance 1
01-01 00:00:15.337   933   933 I SDM     : HWInfoDRM::GetHWPlanesInfo: Adding DMA Pipe : Id 60, master_pipe_id : Id 0 block_sec_ui: 0 hw_block_mask: 0x1
01-01 00:00:15.337   933   933 I SDM     : HWInfoDRM::GetHWPlanesInfo: Adding DMA Pipe : Id 64, master_pipe_id : Id 0 block_sec_ui: 0 hw_block_mask: 0x1
01-01 00:00:15.337   933   933 I SDM     : HWInfoDRM::GetHWPlanesInfo: Adding DMA Pipe : Id 68, master_pipe_id : Id 0 block_sec_ui: 0 hw_block_mask: 0x2
01-01 00:00:15.337   933   933 I SDM     : HWInfoDRM::GetHWResourceInfo: Max plane width = 16384
01-01 00:00:15.337   933   933 I SDM     : HWInfoDRM::GetHWResourceInfo: Max cursor width = 128
01-01 00:00:15.337   933   933 I SDM     : HWInfoDRM::GetHWResourceInfo: Max plane upscale = 1
01-01 00:00:15.337   933   933 I SDM     : HWInfoDRM::GetHWResourceInfo: Max plane downscale = 1
01-01 00:00:15.337   933   933 I SDM     : HWInfoDRM::GetHWResourceInfo: Has Decimation = 1
01-01 00:00:15.337   933   933 I SDM     : HWInfoDRM::GetHWResourceInfo: Max Blending Stages = 2
01-01 00:00:15.337   933   933 I SDM     : HWInfoDRM::GetHWResourceInfo: Has Source Split = 1
01-01 00:00:15.337   933   933 I SDM     : HWInfoDRM::GetHWResourceInfo: Has QSEED3 = 1
01-01 00:00:15.337   933   933 I SDM     : HWInfoDRM::GetHWResourceInfo: Has UBWC = 1
01-01 00:00:15.337   933   933 I SDM     : HWInfoDRM::GetHWResourceInfo: Has Concurrent Writeback = 1
01-01 00:00:15.337   933   933 I SDM     : HWInfoDRM::GetHWResourceInfo: Has Src Tonemap = 2
01-01 00:00:15.337   933   933 I SDM     : HWInfoDRM::GetHWResourceInfo: Max Low Bw = 9600000
01-01 00:00:15.337   933   933 I SDM     : HWInfoDRM::GetHWResourceInfo: Max High Bw = 9600000
01-01 00:00:15.337   933   933 I SDM     : HWInfoDRM::GetHWResourceInfo: Max Pipe Bw = 4500000 KBps
01-01 00:00:15.337   933   933 I SDM     : HWInfoDRM::GetHWResourceInfo: MaxSDEClock = 412500000 Hz
01-01 00:00:15.337   933   933 I SDM     : HWInfoDRM::GetHWResourceInfo: Clock Fudge Factor = 1.050000
01-01 00:00:15.337   933   933 I SDM     : HWInfoDRM::GetHWResourceInfo: Prefill factors:
01-01 00:00:15.337   933   933 I SDM     : HWInfoDRM::GetHWResourceInfo: 	Tiled_NV12 = 0
01-01 00:00:15.337   933   933 I SDM     : HWInfoDRM::GetHWResourceInfo: 	Tiled = 0
01-01 00:00:15.337   933   933 I SDM     : HWInfoDRM::GetHWResourceInfo: 	Linear = 0
01-01 00:00:15.337   933   933 I SDM     : HWInfoDRM::GetHWResourceInfo: 	Scale = 0
01-01 00:00:15.337   933   933 I SDM     : HWInfoDRM::GetHWResourceInfo: 	Fudge_factor = 0
01-01 00:00:15.337   933   933 I SDM     : HWInfoDRM::GetHWResourceInfo: 	ib_fudge_factor = 0.000000
01-01 00:00:15.337   933   933 I SDM     : HWInfoDRM::GetHWRotatorInfo: V4L2 Rotator: Count = 0, Downscale = 0, Min_downscale = 2.000000,Downscale_compression = 0, Max_line_width = 0
01-01 00:00:15.337   933   933 I SDM     : PipeAllocDrm::Init: Smart DMA: Enabled
01-01 00:00:15.337   933   933 I SDM     : PipeAllocDrm::Init: Pipe Priority Order: Disabled
01-01 00:00:15.337   933   933 I SDM     : PipeAllocDrm::Init: Prefer multirect Disabled
01-01 00:00:15.337   933   933 I SDM     : PipeAllocDrm::Init: pipe->type = 3 Real pipe_id = 60 priority = 0 tonemap = 2
01-01 00:00:15.337   933   933 I SDM     : PipeAllocDrm::Init: pipe->type = 3 Real pipe_id = 64 priority = 1 tonemap = 2
01-01 00:00:15.337   933   933 I SDM     : PipeAllocDrm::Init: pipe->type = 3 Real pipe_id = 68 priority = 2 tonemap = 2
01-01 00:00:15.339   933   933 I SDM     : PipeAllocDrm::Init: Registered  Total Pipes = 3 SDma/virtual_pipes = 0
01-01 00:00:15.339   933   933 I SDM     : PipeAllocDrm::Init: pipe->type=3 Real pipe_id =68
01-01 00:00:15.339   933   933 I SDM     : PipeAllocDrm::Init: pipe->type=3 Real pipe_id =64
01-01 00:00:15.339   933   933 I SDM     : PipeAllocDrm::Init: pipe->type=3 Real pipe_id =60
01-01 00:00:15.341   933   933 I SDM     : HWInfoDRM::GetDisplaysStatus: display:   54-0, connected: true, primary: true
01-01 00:00:15.341   933   933 I SDM     : HWInfoDRM::GetDisplaysStatus: display:   57-0, connected: true, primary: false
01-01 00:00:15.341   933   933 I SDM     : CoreInterface::CreateCore: Open interface handle = 0xb4000073348269f0
01-01 00:00:15.341   933   933 I SDM     : HWInfoDRM::GetMaxDisplaysSupported: Max 2 concurrent displays.
01-01 00:00:15.341   933   933 I SDM     : HWInfoDRM::GetMaxDisplaysSupported: Max 2 concurrent displays of type 0 (BuiltIn).
01-01 00:00:15.341   933   933 I SDM     : HWInfoDRM::GetMaxDisplaysSupported: Max 0 concurrent displays of type 1 (Pluggable).
01-01 00:00:15.341   933   933 I SDM     : HWInfoDRM::GetMaxDisplaysSupported: Max 0 concurrent displays of type 2 (Virtual).
01-01 00:00:15.341   933   933 I SDM     : CPUHint::Init: Invalid CPU Hint Pre-enable Window -1
01-01 00:00:15.342   933   933 I SDM     : HWDeviceDRM::PopulateDisplayAttributes: Display attributes[0]: WxH: 2914x1134, DPI: 200.042160x200.024994, FPS: 60, LM_SPLIT: 0, V_BACK_PORCH: 0, V_FRONT_PORCH: 0, V_PULSE_WIDTH: 0, V_TOTAL: 1134, H_TOTAL: 2914, CLK: 198268KHZ, TOPOLOGY: 1, HW_SPLIT: 0
01-01 00:00:15.342   933   933 I SDM     : HWDeviceDRM::UpdateMixerAttributes: Mixer WxH 2914x1134-0 for Peripheral
01-01 00:00:15.342   933   933 I SDM     : ColorManager::CreateColorManagerProxy: PAV2 version is versions = 0, version = 0 
01-01 00:00:15.344   933   933 W SDM     : DisplayBase::Init: InitColorModes failed for display 54-0
01-01 00:00:15.344   933   933 I SDM     : StrategyImpl::SetIdleTimeoutMs: Idle timeout: active = 70, inactive = 520
01-01 00:00:15.347   933   933 I SDM     : Hdr10PlusModule():35 in the HDR10 Plus module
01-01 00:00:15.347   933   933 I SDM     : Init():118 HDR init done
01-01 00:00:15.347   933   933 I SDM     : HDRIntfClient::GetParameter: Version info is: 2.0
01-01 00:00:15.347   933   933 I SDM     : StrategyImpl::InitializeHdrInfo: HDRLib version = 2.0
01-01 00:00:15.347   933   933 I SDM     : Deinit():130 HDR De-init done
01-01 00:00:15.347   933   933 I SDM     : ColorIntfClient::Init: Init successful
01-01 00:00:15.347   933   933 I SDM     : ResourceImpl::RegisterDisplay: Registering display 54-0 with hw_block 0-0
01-01 00:00:15.347   933   933 I SDM     : Hdr10PlusModule():35 in the HDR10 Plus module
01-01 00:00:15.348   933   933 I SDM     : Init():118 HDR init done
01-01 00:00:15.348   933   933 I SDM     : HDRIntfClient::GetParameter: Version info is: 2.0
01-01 00:00:15.348   933   933 I SDM     : ColorIntfClient::Init: Init successful
01-01 00:00:15.348   933   933 I SDM     : DisplayBase::Init: disable_hw_recovery_dump_ set to 1
01-01 00:00:15.348   933   933 I SDM     : HWEventsDRM::Init: Setup event handler for display 54-0, CRTC 72, Connector 54
01-01 00:00:15.348   933   933 I SDM     : HWEventsDRM::RegisterIdlePowerCollapse: idle power collapse is not supported event
01-01 00:00:15.348   933   933 I SDM     : HWEventsDRM::Init: disable_hw_recovery_ set to 0
01-01 00:00:15.348   933   933 I SDM     : HWCDisplay::UpdateConfigs: num_configs = 1
01-01 00:00:15.348   933   933 I SDM     : HWCDisplay::Init: Display created with id: 0
01-01 00:00:15.348   933   933 W SDM     : HWCDisplay::PopulateColorModes: GetColorModeCount failed, use native color mode
01-01 00:00:15.348   933   933 I SDM     : HWCDisplayBuiltIn::Init: Drop redundant drawcycles 0
01-01 00:00:15.348   933   933 W SDM     : HWCDisplayBuiltIn::Init: File '/sys/class/lcd_bias/secure_mode' could not be opened. errno = 2, desc = No such file or directory
01-01 00:00:15.348   933   933 I SDM     : StrategyImpl::SetIdleTimeoutMs: Idle timeout: active = 70, inactive = 520
01-01 00:00:15.348   933   933 I SDM     : DisplayBase::SetFrameBufferConfig: New framebuffer resolution (2914x1134)
01-01 00:00:15.385   933   933 I SDM     : HWCDisplay::SetFrameBufferResolution: New framebuffer resolution (2914x1134)
01-01 00:00:15.385   933   933 I SDM     : HWCSession::CreatePrimaryDisplay: Create primary display type = 0, sdm id = 54, client id = 0
01-01 00:00:15.387   933   933 I SDM     : HWCColorManager::CreateColorManager: Successfully loaded libsdm-disp-vndapis.so
01-01 00:00:15.389   933   933 I SDM     : HWCSession::StartServices: IDisplayConfig service registration completed.
01-01 00:00:15.390   933   933 I SDM     : Successfully registered AidlComposer as a service
01-01 00:00:15.390   933   933 I SDM     : Registering DisplayConfig AIDL as a service
01-01 00:00:15.390   933   933 I SDM     : Successfully registered DisplayConfig AIDL as a service
01-01 00:00:15.390   933   933 I SDM     : ProcessState initialization completed
01-01 00:00:15.391   933   933 I SDM     : Joining RPC threadpool...
01-01 00:00:15.570   933   933 I SDM     : HWCSession::RegisterCallback: Hotplugging primary...
01-01 00:00:15.570   933   933 I SDM     : HWCSession::RegisterCallback: Handling built-in displays...
01-01 00:00:15.572   933   933 I SDM     : HWCSession::HandleBuiltInDisplays: Create builtin display, sdm id = 57, client id = 1
01-01 00:00:15.572   933   933 I SDM     : CPUHint::Init: Invalid CPU Hint Pre-enable Window -1
01-01 00:00:15.573   933   933 I SDM     : HWDeviceDRM::PopulateDisplayAttributes: Display attributes[0]: WxH: 2000x810, DPI: 196.138992x195.942856, FPS: 60, LM_SPLIT: 0, V_BACK_PORCH: 0, V_FRONT_PORCH: 0, V_PULSE_WIDTH: 0, V_TOTAL: 810, H_TOTAL: 2000, CLK: 97200KHZ, TOPOLOGY: 1, HW_SPLIT: 0
01-01 00:00:15.573   933   933 I SDM     : HWDeviceDRM::UpdateMixerAttributes: Mixer WxH 2000x810-0 for Peripheral
01-01 00:00:15.573   933   933 I SDM     : ColorManager::CreateColorManagerProxy: PAV2 version is versions = 0, version = 0 
01-01 00:00:15.573   933   933 W SDM     : DisplayBase::Init: InitColorModes failed for display 57-0
01-01 00:00:15.573   933   933 I SDM     : StrategyImpl::SetIdleTimeoutMs: Idle timeout: active = 70, inactive = 520
01-01 00:00:15.573   933   933 I SDM     : Init():118 HDR init done
01-01 00:00:15.573   933   933 I SDM     : HDRIntfClient::GetParameter: Version info is: 2.0
01-01 00:00:15.573   933   933 I SDM     : StrategyImpl::InitializeHdrInfo: HDRLib version = 2.0
01-01 00:00:15.573   933   933 I SDM     : Deinit():130 HDR De-init done
01-01 00:00:15.573   933   933 I SDM     : ColorIntfClient::Init: Init successful
01-01 00:00:15.574   933   933 I SDM     : ResourceImpl::RegisterDisplay: Registering display 57-0 with hw_block 1-0
01-01 00:00:15.574   933   933 I SDM     : Init():118 HDR init done
01-01 00:00:15.574   933   933 I SDM     : HDRIntfClient::GetParameter: Version info is: 2.0
01-01 00:00:15.574   933   933 I SDM     : ColorIntfClient::Init: Init successful
01-01 00:00:15.574   933   933 I SDM     : DisplayBase::Init: disable_hw_recovery_dump_ set to 1
01-01 00:00:15.574   933   933 I SDM     : HWEventsDRM::Init: Setup event handler for display 57-0, CRTC 74, Connector 57
01-01 00:00:15.574   933   933 I SDM     : HWEventsDRM::RegisterIdlePowerCollapse: idle power collapse is not supported event
01-01 00:00:15.574   933   933 I SDM     : HWEventsDRM::Init: disable_hw_recovery_ set to 0
01-01 00:00:15.574   933   933 I SDM     : HWCDisplay::UpdateConfigs: num_configs = 1
01-01 00:00:15.574   933   933 I SDM     : HWCDisplay::Init: Display created with id: 1
01-01 00:00:15.574   933   933 W SDM     : HWCDisplay::PopulateColorModes: GetColorModeCount failed, use native color mode
01-01 00:00:15.574   933   933 I SDM     : HWCDisplayBuiltIn::Init: Drop redundant drawcycles 1
01-01 00:00:15.574   933   933 W SDM     : HWCDisplayBuiltIn::Init: File '/sys/class/lcd_bias/secure_mode' could not be opened. errno = 2, desc = No such file or directory
01-01 00:00:15.574   933   933 I SDM     : StrategyImpl::SetIdleTimeoutMs: Idle timeout: active = 70, inactive = 520
01-01 00:00:15.574   933   933 I SDM     : DisplayBase::SetFrameBufferConfig: New framebuffer resolution (2000x810)
01-01 00:00:15.574   933   933 I SDM     : HWCDisplay::SetFrameBufferResolution: New framebuffer resolution (2000x810)
01-01 00:00:15.574   933   933 I SDM     : HWCSession::HandleBuiltInDisplays: Builtin display created: sdm id = 57, client id = 1
01-01 00:00:15.574   933   933 I SDM     : HWCSession::HandleBuiltInDisplays: Hotplugging builtin display, sdm id = 57, client id = 1
01-01 00:00:15.574   933   933 I SDM     : HWCSession::RegisterCallback: Handling pluggable displays...
01-01 00:00:15.574   933   933 I SDM     : HWCSession::HandlePluggableDisplays: Handling hotplug...
01-01 00:00:15.574   933   933 I SDM     : HWCSession::HandlePluggableDisplays: Handling hotplug... Done.
01-01 00:00:15.597   933  1075 I SDM     : HWCDisplay::GetColorModeCount: Supported color mode count = 1
01-01 00:00:15.598   933  1075 I SDM     : HWCDisplay::GetColorModes: Color mode = 0 is supported
01-01 00:00:15.601   933   933 I SDM     : HWCDisplay::GetColorModeCount: Supported color mode count = 1
01-01 00:00:15.601   933   933 I SDM     : HWCDisplay::GetColorModes: Color mode = 0 is supported
01-01 00:00:15.602   933  1075 I SDM     : HWCDisplay::GetRenderIntentCount: mode: 0 supported rendering intent count = 1
01-01 00:00:15.602   933  1075 I SDM     : HWCDisplay::GetRenderIntents: Color mode = 0 is supported with render intent = 0
01-01 00:00:15.658   933  1075 I SDM     : HWCDisplay::GetRenderIntentCount: mode: 0 supported rendering intent count = 1
01-01 00:00:15.658   933  1075 I SDM     : HWCDisplay::GetRenderIntents: Color mode = 0 is supported with render intent = 0
01-01 00:00:15.669   933  1075 I SDM     : DisplayBase::SetDisplayState: Set state = 1, display 54-0, teardown = 0
01-01 00:00:15.669   933  1075 I SDM     : StrategyImpl::SetIdleTimeoutMs: Idle timeout: active = 70, inactive = 520
01-01 00:00:15.671   933  1075 W SDM     : DisplayBase::SetVSyncState: Can't enable vsync when display 54-0 is powered off!! Defer it when display is active
01-29 19:18:14.305   933  1075 I SDM     : DisplayBuiltIn::Init: DPPS Interface init successfully
01-29 19:18:15.786   933  1075 I SDM     : DisplayBase::SetDisplayState: Set state = 1, display 57-0, teardown = 0
01-29 19:18:15.786   933  1075 I SDM     : StrategyImpl::SetIdleTimeoutMs: Idle timeout: active = 70, inactive = 520

里面透露了很多信息:

1. 两个display其实全是builtin类型,但是初始化时机不一样:

display_qcom\display\composer-aidl\hwc_session.cpp文件的注释里有说明:

  // Create primary display here. Remaining builtin displays will be created after client has set// display indexes which may happen sometime before callback is registered.status = CreatePrimaryDisplay();

从Log里总结的话,

I SDM     : HWCSession::CreatePrimaryDisplay: Create primary display type = 0, sdm id = 54, client id = 0
  • HWCSession::CreatePrimaryDisplay() 负责初始化主屏(SDM id = 54)

I SDM     : HWCSession::HandleBuiltInDisplays: Create builtin display, sdm id = 57, client id = 1
  • HWCSession::HandleBuiltInDisplays() 后续初始化 cluster 屏(SDM id = 57)

2.目前的配置,我们永远不可能从HWC得到output layer

一来,我已经知道cwb(concurrent writeback)没有enable:

I SDM     : HWInfoDRM::GetHWResourceInfo: Has Concurrent Writeback = 1

二来,Virtual display也是disable掉的:

HWCSession::Init: DISABLE_VIRTUAL_DISPLAY: 1

今天突然一下子反应过来,Virtual Display是依赖于CWB的。所以DISABLE_VIRTUAL_DISPLAY这个是我自己反应过来以后才去寻找证据,得到印证的。

3. 说明之前ScreenRecord只能走GPU合成路径。这个就不用验证了。

4. CRTC和物理display的对应关系:

HWEventsDRM::Init: Setup event handler for display 54-0, CRTC 72, Connector 54
HWEventsDRM::Init: Setup event handler for display 57-0, CRTC 74, Connector 57

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

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

【Rust 精进之路之第2篇-初体验】安装、配置与 Hello Cargo:踏出 Rust 开发第一步

系列: Rust 精进之路:构建可靠、高效软件的底层逻辑 **作者:**码觉客 发布日期: 2025-04-20 引言:磨刀不误砍柴工,装备先行! 在上一篇文章中,我们一起探索了 Rust 诞生的缘由&…

【深度学习】计算机视觉(17)——ViT理解与应用

文章目录 Embedding1 概念2 Q&A (1)3 Positional Encoding4 Q&A (2) ViT样例及Embedding可视化理解1 简化ViT练习2 CLS Token3 Embedding可视化4 多头注意力可视化 Embedding技术体系结构参考来源 在研究中对特征的编码和…

肖特基二极管详解:原理、作用、应用与选型要点

一、肖特基二极管的基本定义 肖特基二极管(Schottky Diode) 是一种基于金属-半导体结(肖特基势垒)的二极管,其核心特性是低正向压降(Vf≈0.3V)和超快开关速度。 结构特点:阳极采用金…

DeepSeek在数据仓库的10大应用场景

一、智能数据集成与清洗 多源数据整合:DeepSeek能够从多种数据源中提取、转换和加载数据,实现跨系统数据的高效整合。 数据清洗与标准化:通过智能算法自动识别并纠正数据中的错误、不一致性和缺失值,提升数据质量。 二、数据仓…

提示词构成要素对大语言模型跨模态内容生成质量的影响

提示词构成要素对大语言模型跨模态内容生成质量的影响 提示词清晰度、具象性与质量正相关 限定指向性要素优于引导指向性要素 大语言模型生成内容保真度偏差 以讯飞星火大模型为实验平台,选取100名具备技术素养的人员,从提示词分类、构成要素和实践原则归纳出7种提示词组…

BeautifulSoup 库的使用——python爬虫

文章目录 写在前面python 爬虫BeautifulSoup库是什么BeautifulSoup的安装解析器对比BeautifulSoup的使用BeautifulSoup 库中的4种类获取标签获取指定标签获取标签的的子标签获取标签的的父标签(上行遍历)获取标签的兄弟标签(平行遍历)获取注释根据条件查找标签根据CSS选择器查找…

关于MacOS使用Homebrew的详细介绍

Homebrew 是 macOS(和 Linux)上最流行的包管理工具(Package Manager),用于快速安装、更新和管理各种开发工具、命令行程序、开源软件等。它类似于: Ubuntu/Debian 的 aptCentOS/RHEL 的 yumWindows 的 Cho…

最新扣子空间实操指南

一、首先要先获取到内部测试的邀请码, 我们先打开扣子空间官网:https://space.coze.cn/ 输入邀请码后进入该页面: 它这里支持文件上传,扩展里面有很多插件,页支持MCP各种插件. 探索模式有两种,一种是ai自…

ubuntu22.04安装dukto

1.添加源 sudo add-apt-repository ppa:xuzhen666/dukto2.进行更新和安装 sudo apt update sudo apt install dukto3.报错 $ sudo apt install dukto 正在读取软件包列表... 完成 正在分析软件包的依赖关系树... 完成 正在读取状态信息... 完成 您也许需要…

Java编程基础(第四篇:字符串初次介绍)

前言 HelloWorld写的多了,语法熟悉一点了吧,其中有段代码还没介绍,它就是字符串 public class HelloWorld { public static void main(String[] args) { printBaby(); } static void printBaby() { System.out.print("baby"); } } …

安卓手机怎样配置数据加速

利用系统自带功能: 选择网络模式:进入手机 “设置”,找到 “网络” 或 “移动网络” 选项,点击 “高级设置”,选择合适的网络模式,如优先选择 4G 或 5G 网络,以获得更快的速度。开启网络加速功能…

Day3:个人中心页面布局前端项目uniapp壁纸实战

接下来我们来弄一下个人中心页面布局user.vue <template><view class"userLayout"><view class"userInfo"><view class"avatar"><image src"../../static/Kx.jpg" mode"aspectFill"></im…

线性回归之正则化(regularization)

文章目录 机器学习中的"防过拟合神器"&#xff1a;正则化全解析1. 正则化&#xff1a;不只是"规矩"那么简单1.1 鲁棒性案例说明 2. L1正则化&#xff1a;冷酷的特征选择器3. L2正则化&#xff1a;温柔的约束者4. L1 vs L2&#xff1a;兄弟间的较量5. 正则化…

mapbox基础,加载视频到地图

👨‍⚕️ 主页: gis分享者 👨‍⚕️ 感谢各位大佬 点赞👍 收藏⭐ 留言📝 加关注✅! 👨‍⚕️ 收录于专栏:mapbox 从入门到精通 文章目录 一、🍀前言1.1 ☘️mapboxgl.Map 地图对象1.2 ☘️mapboxgl.Map style属性1.3 ☘️raster 栅格图层 api二、🍀加载视频到…

Linux系统的远程终端登录、远程图形桌面访问、 X图形窗口访问

目录 一、配置Ubuntu系统的网络和用户 1、设置虚拟机网络为桥接模式 2.查看当前ip、子网掩码、网关 3.修改配置文件 二、远程终端登录Ubuntu 三、使用XShell远程连接 1、确保SSH服务已启动 2、检查SSH服务状态 3、获取树莓派IP地址 4、Xming安装好之后打开让它在后台…

多模态大语言模型arxiv论文略读(三十一)

From GPT-4 to Gemini and Beyond: Assessing the Landscape of MLLMs on Generalizability, Trustworthiness and Causality through Four Modalities ➡️ 论文标题&#xff1a;From GPT-4 to Gemini and Beyond: Assessing the Landscape of MLLMs on Generalizability, Tr…

基于Matlab求解矩阵电容等效容值

1需求 仿真测试8*10阶举证电容等效容值。 2模型搭建 2.1打开simscape 在打开simulink之后打开simscape库&#xff0c;Simscape库位置如下 2.2搭建模型 在库中寻找需要的元件搭建电路。 2.2.1基本元件 电阻电容电感等基础器件&#xff0c;搭建电路之后需要对其进行幅值&…

【C++】 —— 笔试刷题day_22

一、添加字符 题目解析 这道题&#xff0c;给定两个字符串A和B&#xff0c;字符串A的长度要小于B的长度&#xff1b; 现在我们要对A字符串添加字符&#xff0c;使得A字符串长度等于B字符串的长度&#xff0c;并且要求对应位置的字母尽量相等&#xff0c;然后求出来不相等的字符…

错误: 找不到或无法加载主类 HelloWorld,cmd窗口,java命令,提示

错误: 找不到或无法加载主类 HelloWorld 解决办法 检查classpath是否 .; 开头的

手撕LLM(五):从源码出发,探索多模态VL模型的推理全流程

前面我们分享了关于大语言模型的相关技术&#xff0c;包括前向推理、LoRa挂载、MoE模型、模型预训练等&#xff1b;后续还是会基于MiniMindLM模型继续分享关于大语言模型的SFT指令微调、LoRa微调、基于人类偏好的强化学习微调以及模型蒸馏相关的技术&#xff0c;请大家持续关注…