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

libdrm: keep modeprint and proptest too #8587

Closed
wants to merge 1 commit into from

Conversation

sky42src
Copy link
Contributor

@sky42src sky42src commented Feb 4, 2024

This will add around 12KB (i did try gzip -9) to the image.
The proptest is need to activate a Intel GPU 10 bin workaround.

@jernejsk
Copy link
Member

jernejsk commented Feb 4, 2024

Aren't modeprint and proptest just subset of modetest?

@sky42src
Copy link
Contributor Author

sky42src commented Feb 4, 2024

@jernejsk i have no idea. I learned from smp that i need proptest for the 10 bit max setting.

@jernejsk
Copy link
Member

jernejsk commented Feb 4, 2024

there is -w argument to modetest to write property

@sky42src
Copy link
Contributor Author

sky42src commented Feb 4, 2024

What would be the replacement for proptest 185 connector 191 10?
modetest -w 185:191:10 does not do the trick

@jernejsk
Copy link
Member

jernejsk commented Feb 4, 2024

Last part must be property name, not a property number.

@sky42src
Copy link
Contributor Author

sky42src commented Feb 4, 2024

How do i find the property name? I have absolutely no clue in how to use libdrm.
Found a replacement for finding the connector number with modetest -c | grep -E "[[:space:]]HDMI-A-1[[:space:]]" | awk '{ print $1 }' now i only need the right command to set the 10 bit.

@sky42src
Copy link
Contributor Author

sky42src commented Feb 4, 2024

modetest -w 185:"max bpc":10 does not complain. I will check.

@sky42src
Copy link
Contributor Author

sky42src commented Feb 4, 2024

Short test reveals i can make #8588 work with modetest that is already part of LE.

@sky42src sky42src closed this Feb 4, 2024
@sky42src
Copy link
Contributor Author

sky42src commented Feb 4, 2024

Thank you @jernejsk

@sky42src sky42src deleted the le12_proptest branch February 4, 2024 20:46
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

Successfully merging this pull request may close these issues.

2 participants