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.pswp.cn/news/902216.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/902216.shtml
英文地址,請注明出處:http://en.pswp.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;請大家持續關注…