Skip to content

Commit d5a4466

Browse files
Update vdd_settings.xml
1 parent a602844 commit d5a4466

File tree

1 file changed

+165
-163
lines changed

1 file changed

+165
-163
lines changed
Lines changed: 165 additions & 163 deletions
Original file line numberDiff line numberDiff line change
@@ -1,164 +1,166 @@
1-
<?xml version='1.0' encoding='utf-8'?>
2-
<!-- ===============================================================================
3-
Virtual Display Driver (HDR) - Configuration File
4-
Location: C:\VirtualDisplayDriver\vdd_settings.xml
5-
6-
EDID Profile: C:\VirtualDisplayDriver\EDID\monitor_profile.xml (optional)
7-
=============================================================================== -->
8-
<vdd_settings>
9-
10-
<!-- === BASIC DRIVER CONFIGURATION === -->
11-
<monitors>
12-
<count>1</count>
13-
</monitors>
14-
15-
<gpu>
16-
<friendlyname>default</friendlyname>
17-
</gpu>
18-
19-
<!-- === RESOLUTION CONFIGURATION === -->
20-
<global>
21-
<!-- Global refresh rates - applied to all resolutions -->
22-
<g_refresh_rate>60</g_refresh_rate>
23-
<g_refresh_rate>90</g_refresh_rate>
24-
<g_refresh_rate>120</g_refresh_rate>
25-
<g_refresh_rate>144</g_refresh_rate>
26-
<g_refresh_rate>165</g_refresh_rate>
27-
<g_refresh_rate>240</g_refresh_rate>
28-
</global>
29-
30-
<resolutions>
31-
<resolution>
32-
<width>1920</width>
33-
<height>1080</height>
34-
<refresh_rate>60</refresh_rate>
35-
</resolution>
36-
<resolution>
37-
<width>2560</width>
38-
<height>1440</height>
39-
<refresh_rate>60</refresh_rate>
40-
</resolution>
41-
<resolution>
42-
<width>3840</width>
43-
<height>2160</height>
44-
<refresh_rate>60</refresh_rate>
45-
</resolution>
46-
</resolutions>
47-
48-
<!-- === LOGGING CONFIGURATION === -->
49-
<logging>
50-
<SendLogsThroughPipe>true</SendLogsThroughPipe>
51-
<logging>false</logging>
52-
<debuglogging>false</debuglogging> <!-- WARNING: Debug logging creates large files -->
53-
</logging>
54-
55-
<!-- === COLOR FORMAT CONFIGURATION === -->
56-
<colour>
57-
<SDR10bit>false</SDR10bit>
58-
<HDRPlus>false</HDRPlus>
59-
<ColourFormat>RGB</ColourFormat> <!-- Options: RGB, YCbCr444, YCbCr422, YCbCr420 -->
60-
</colour>
61-
62-
<!-- === CURSOR CONFIGURATION === -->
63-
<cursor>
64-
<HardwareCursor>true</HardwareCursor>
65-
<CursorMaxX>128</CursorMaxX>
66-
<CursorMaxY>128</CursorMaxY>
67-
<AlphaCursorSupport>true</AlphaCursorSupport>
68-
<XorCursorSupportLevel>2</XorCursorSupportLevel>
69-
</cursor>
70-
71-
<!-- === CUSTOM EDID CONFIGURATION === -->
72-
<edid>
73-
<CustomEdid>false</CustomEdid> <!-- Use custom "user_edid.bin" file -->
74-
<PreventSpoof>false</PreventSpoof> <!-- Prevent manufacturer ID spoofing -->
75-
<EdidCeaOverride>false</EdidCeaOverride> <!-- Override CEA extension block -->
76-
</edid>
77-
78-
<!-- === EDID INTEGRATION SYSTEM === -->
79-
<edid_integration>
80-
<enabled>false</enabled> <!-- DISABLED: Enable when you have monitor_profile.xml -->
81-
<auto_configure_from_edid>false</auto_configure_from_edid> <!-- Auto-apply monitor_profile.xml -->
82-
<edid_profile_path>EDID/monitor_profile.xml</edid_profile_path>
83-
<override_manual_settings>false</override_manual_settings> <!-- false = manual settings take priority -->
84-
<fallback_on_error>true</fallback_on_error> <!-- Use manual settings if EDID fails -->
85-
</edid_integration>
86-
87-
<!-- === HDR CONFIGURATION === -->
88-
<hdr_advanced>
89-
<hdr10_static_metadata>
90-
<enabled>false</enabled> <!-- DISABLED: Enable for HDR10 support -->
91-
<max_display_mastering_luminance>1000.0</max_display_mastering_luminance>
92-
<min_display_mastering_luminance>0.05</min_display_mastering_luminance>
93-
<max_content_light_level>1000</max_content_light_level>
94-
<max_frame_avg_light_level>400</max_frame_avg_light_level>
95-
</hdr10_static_metadata>
96-
<color_primaries>
97-
<enabled>false</enabled> <!-- DISABLED: Enable for custom color primaries -->
98-
<red_x>0.640</red_x> <!-- sRGB color space (safe defaults) -->
99-
<red_y>0.330</red_y>
100-
<green_x>0.300</green_x>
101-
<green_y>0.600</green_y>
102-
<blue_x>0.150</blue_x>
103-
<blue_y>0.060</blue_y>
104-
<white_x>0.3127</white_x> <!-- D65 white point -->
105-
<white_y>0.3290</white_y>
106-
</color_primaries>
107-
<color_space>
108-
<enabled>false</enabled> <!-- DISABLED: Enable for advanced gamma -->
109-
<gamma_correction>2.2</gamma_correction> <!-- Standard sRGB gamma -->
110-
<primary_color_space>sRGB</primary_color_space> <!-- Safe default: sRGB -->
111-
<enable_matrix_transform>false</enable_matrix_transform>
112-
</color_space>
113-
</hdr_advanced>
114-
115-
<!-- === AUTO RESOLUTION SYSTEM === -->
116-
<auto_resolutions>
117-
<enabled>false</enabled> <!-- DISABLED: Enable for EDID mode generation -->
118-
<source_priority>manual</source_priority> <!-- Use manual resolutions only by default -->
119-
<edid_mode_filtering>
120-
<min_refresh_rate>24</min_refresh_rate>
121-
<max_refresh_rate>240</max_refresh_rate>
122-
<exclude_fractional_rates>false</exclude_fractional_rates>
123-
<min_resolution_width>640</min_resolution_width>
124-
<min_resolution_height>480</min_resolution_height>
125-
<max_resolution_width>7680</max_resolution_width>
126-
<max_resolution_height>4320</max_resolution_height>
127-
</edid_mode_filtering>
128-
<preferred_mode>
129-
<use_edid_preferred>false</use_edid_preferred> <!-- Use manual preferred mode -->
130-
<fallback_width>1920</fallback_width>
131-
<fallback_height>1080</fallback_height>
132-
<fallback_refresh>60</fallback_refresh>
133-
</preferred_mode>
134-
</auto_resolutions>
135-
136-
<!-- === ADVANCED COLOR PROCESSING === -->
137-
<color_advanced>
138-
<bit_depth_management>
139-
<auto_select_from_color_space>false</auto_select_from_color_space> <!-- Manual control -->
140-
<force_bit_depth>8</force_bit_depth> <!-- Safe default: 8-bit -->
141-
<fp16_surface_support>true</fp16_surface_support> <!-- Keep enabled for compatibility -->
142-
</bit_depth_management>
143-
<color_format_extended>
144-
<wide_color_gamut>false</wide_color_gamut> <!-- DISABLED: Standard color gamut -->
145-
<hdr_tone_mapping>false</hdr_tone_mapping> <!-- DISABLED: No HDR tone mapping -->
146-
<sdr_white_level>80.0</sdr_white_level> <!-- Standard SDR white level -->
147-
</color_format_extended>
148-
</color_advanced>
149-
150-
<!-- === MONITOR EMULATION === -->
151-
<monitor_emulation>
152-
<enabled>false</enabled> <!-- DISABLED: Basic virtual display -->
153-
<emulate_physical_dimensions>false</emulate_physical_dimensions>
154-
<physical_width_mm>510</physical_width_mm>
155-
<physical_height_mm>287</physical_height_mm>
156-
<manufacturer_emulation>
157-
<enabled>false</enabled>
158-
<manufacturer_name>Generic</manufacturer_name>
159-
<model_name>Virtual Display</model_name> <!-- Simple name for basic mode -->
160-
<serial_number>VDD-001</serial_number>
161-
</manufacturer_emulation>
162-
</monitor_emulation>
163-
1+
<?xml version='1.0' encoding='utf-8'?>
2+
<!-- ===============================================================================
3+
Virtual Display Driver (HDR) - Minimal Configuration File
4+
Contains ONLY functional settings (unused settings removed)
5+
6+
Original file contained 63 settings, this minimal version contains 52 functional settings
7+
Generated: August 16, 2025 based on driver code analysis
8+
=============================================================================== -->
9+
<vdd_settings>
10+
11+
<!-- === BASIC DRIVER CONFIGURATION === -->
12+
<monitors>
13+
<count>1</count>
14+
</monitors>
15+
16+
<gpu>
17+
<friendlyname>default</friendlyname>
18+
</gpu>
19+
20+
<!-- === RESOLUTION CONFIGURATION === -->
21+
<global>
22+
<!-- Global refresh rates - applied to all resolutions -->
23+
<g_refresh_rate>60</g_refresh_rate>
24+
<g_refresh_rate>90</g_refresh_rate>
25+
<g_refresh_rate>120</g_refresh_rate>
26+
<g_refresh_rate>144</g_refresh_rate>
27+
<g_refresh_rate>165</g_refresh_rate>
28+
<g_refresh_rate>240</g_refresh_rate>
29+
</global>
30+
31+
<resolutions>
32+
<resolution>
33+
<width>1920</width>
34+
<height>1080</height>
35+
<refresh_rate>60</refresh_rate>
36+
</resolution>
37+
<resolution>
38+
<width>2560</width>
39+
<height>1440</height>
40+
<refresh_rate>60</refresh_rate>
41+
</resolution>
42+
<resolution>
43+
<width>3840</width>
44+
<height>2160</height>
45+
<refresh_rate>60</refresh_rate>
46+
</resolution>
47+
</resolutions>
48+
49+
<!-- === LOGGING CONFIGURATION === -->
50+
<logging>
51+
<SendLogsThroughPipe>true</SendLogsThroughPipe>
52+
<logging>false</logging>
53+
<debuglogging>false</debuglogging> <!-- WARNING: Debug logging creates large files -->
54+
</logging>
55+
56+
<!-- === COLOR FORMAT CONFIGURATION === -->
57+
<colour>
58+
<SDR10bit>false</SDR10bit>
59+
<HDRPlus>false</HDRPlus>
60+
<ColourFormat>RGB</ColourFormat> <!-- Options: RGB, YCbCr444, YCbCr422, YCbCr420 -->
61+
</colour>
62+
63+
<!-- === CURSOR CONFIGURATION === -->
64+
<cursor>
65+
<HardwareCursor>true</HardwareCursor>
66+
<CursorMaxX>128</CursorMaxX>
67+
<CursorMaxY>128</CursorMaxY>
68+
<AlphaCursorSupport>true</AlphaCursorSupport>
69+
<!-- NOTE: XorCursorSupportLevel has implementation bug - loaded but not used -->
70+
<XorCursorSupportLevel>2</XorCursorSupportLevel>
71+
</cursor>
72+
73+
<!-- === CUSTOM EDID CONFIGURATION === -->
74+
<edid>
75+
<CustomEdid>false</CustomEdid> <!-- Use custom "user_edid.bin" file -->
76+
<PreventSpoof>false</PreventSpoof> <!-- Prevent manufacturer ID spoofing -->
77+
<EdidCeaOverride>false</EdidCeaOverride> <!-- Override CEA extension block -->
78+
</edid>
79+
80+
<!-- === EDID INTEGRATION SYSTEM === -->
81+
<edid_integration>
82+
<enabled>false</enabled> <!-- DISABLED: Enable when you have monitor_profile.xml -->
83+
<auto_configure_from_edid>false</auto_configure_from_edid> <!-- Auto-apply monitor_profile.xml -->
84+
<edid_profile_path>EDID/monitor_profile.xml</edid_profile_path>
85+
<override_manual_settings>false</override_manual_settings> <!-- false = manual settings take priority -->
86+
<fallback_on_error>true</fallback_on_error> <!-- Use manual settings if EDID fails -->
87+
</edid_integration>
88+
89+
<!-- === HDR CONFIGURATION === -->
90+
<hdr_advanced>
91+
<hdr10_static_metadata>
92+
<enabled>false</enabled> <!-- DISABLED: Enable for HDR10 support -->
93+
<max_display_mastering_luminance>1000.0</max_display_mastering_luminance>
94+
<min_display_mastering_luminance>0.05</min_display_mastering_luminance>
95+
<max_content_light_level>1000</max_content_light_level>
96+
<max_frame_avg_light_level>400</max_frame_avg_light_level>
97+
</hdr10_static_metadata>
98+
<color_primaries>
99+
<enabled>false</enabled> <!-- DISABLED: Enable for custom color primaries -->
100+
<red_x>0.640</red_x> <!-- sRGB color space (safe defaults) -->
101+
<red_y>0.330</red_y>
102+
<green_x>0.300</green_x>
103+
<green_y>0.600</green_y>
104+
<blue_x>0.150</blue_x>
105+
<blue_y>0.060</blue_y>
106+
<white_x>0.3127</white_x> <!-- D65 white point -->
107+
<white_y>0.3290</white_y>
108+
</color_primaries>
109+
<color_space>
110+
<enabled>false</enabled> <!-- DISABLED: Enable for advanced gamma -->
111+
<gamma_correction>2.2</gamma_correction> <!-- Standard sRGB gamma -->
112+
<primary_color_space>sRGB</primary_color_space> <!-- Safe default: sRGB -->
113+
<enable_matrix_transform>false</enable_matrix_transform>
114+
</color_space>
115+
</hdr_advanced>
116+
117+
<!-- === AUTO RESOLUTION SYSTEM === -->
118+
<auto_resolutions>
119+
<enabled>false</enabled> <!-- DISABLED: Enable for EDID mode generation -->
120+
<source_priority>manual</source_priority> <!-- Use manual resolutions only by default -->
121+
<edid_mode_filtering>
122+
<min_refresh_rate>24</min_refresh_rate>
123+
<max_refresh_rate>240</max_refresh_rate>
124+
<exclude_fractional_rates>false</exclude_fractional_rates>
125+
<min_resolution_width>640</min_resolution_width>
126+
<min_resolution_height>480</min_resolution_height>
127+
<max_resolution_width>7680</max_resolution_width>
128+
<max_resolution_height>4320</max_resolution_height>
129+
</edid_mode_filtering>
130+
<preferred_mode>
131+
<use_edid_preferred>false</use_edid_preferred> <!-- Use manual preferred mode -->
132+
<fallback_width>1920</fallback_width>
133+
<fallback_height>1080</fallback_height>
134+
<fallback_refresh>60</fallback_refresh>
135+
</preferred_mode>
136+
</auto_resolutions>
137+
138+
<!-- === ADVANCED COLOR PROCESSING === -->
139+
<color_advanced>
140+
<bit_depth_management>
141+
<auto_select_from_color_space>false</auto_select_from_color_space> <!-- Manual control -->
142+
<force_bit_depth>8</force_bit_depth> <!-- Safe default: 8-bit -->
143+
<fp16_surface_support>true</fp16_surface_support> <!-- Keep enabled for compatibility -->
144+
</bit_depth_management>
145+
<color_format_extended>
146+
<!-- NOTE: wide_color_gamut and hdr_tone_mapping are loaded but not implemented -->
147+
<sdr_white_level>80.0</sdr_white_level> <!-- Standard SDR white level -->
148+
</color_format_extended>
149+
</color_advanced>
150+
151+
<!-- === REMOVED SECTIONS ===
152+
153+
The following sections were present in the original vdd_settings.xml but have been
154+
removed because they are loaded but never used in the driver:
155+
156+
1. monitor_emulation (8 settings) - All settings loaded but unused
157+
- enabled, emulate_physical_dimensions, physical_width_mm, physical_height_mm
158+
- manufacturer_emulation/enabled, manufacturer_name, model_name, serial_number
159+
160+
2. color_format_extended partial (2 settings) - Loaded but unused
161+
- wide_color_gamut, hdr_tone_mapping
162+
163+
Driver uses hardcoded values instead of these XML settings.
164+
=== -->
165+
164166
</vdd_settings>

0 commit comments

Comments
 (0)