Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gamescopectl: Add HDR info to backend_info #1645

Open
flibitijibibo opened this issue Nov 29, 2024 · 0 comments
Open

gamescopectl: Add HDR info to backend_info #1645

flibitijibibo opened this issue Nov 29, 2024 · 0 comments

Comments

@flibitijibibo
Copy link

Feature request

Currently the backend_info dump is shared across all backends - it would be nice to get HDR-specific information for the DRM backend, for example this block here:

m_Mutable.HDR.bExposeHDRSupport = otHDRInfo->get_or( "supported", false );
m_Mutable.HDR.eOutputEncodingEOTF = otHDRInfo->get_or( "eotf", EOTF_Gamma22 );
m_Mutable.HDR.uMaxContentLightLevel = nits_to_u16( otHDRInfo->get_or( "max_content_light_level", 400.0f ) );
m_Mutable.HDR.uMaxFrameAverageLuminance = nits_to_u16( otHDRInfo->get_or( "max_frame_average_luminance", 400.0f ) );
m_Mutable.HDR.uMinContentLightLevel = nits_to_u16_dark( otHDRInfo->get_or( "min_content_light_level", 0.1f ) );

Anything that could help debug ValveSoftware/SteamOS#1384 will be very useful!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant