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

There is an issue with database entries, it seems to be empty. #8

Open
5iddy opened this issue Mar 12, 2023 · 3 comments
Open

There is an issue with database entries, it seems to be empty. #8

5iddy opened this issue Mar 12, 2023 · 3 comments

Comments

@5iddy
Copy link

5iddy commented Mar 12, 2023

I2cDevice 22785: Some("ACR") Some("VG280K")
Database {
    entries: {},
}
I2cDevice 22786: Some("ACR") Some("VG270 S")
Database {
    entries: {},
}

and the code I ran:

    use ddc_hi::{Ddc, Display};

    for mut display in Display::enumerate() {
        display.update_capabilities().unwrap();
        println!(
            "{:?} {}: {:?} {:?}",
            display.info.backend,
            display.info.id,
            display.info.manufacturer_id,
            display.info.model_name
        );
        println!("{:#?}", display.info.mccs_database);
    }

System Specs:
rust 1.68
arch linux
nvidia rtx 3050 8gb gpu
both monitors are connected via the gpu.

@arcnmx
Copy link
Owner

arcnmx commented Mar 25, 2023

Hm... is this 0.4.1?
Probably try running it with RUST_LOG=trace (assuming env-logger is available) for some more info - or try running RUST_LOG=trace ddcset capabilities and/or detect for comparison

@Bogpan
Copy link

Bogpan commented Jun 3, 2023

Same issue, everything is empty except for the backend (winapi) and the ID which is Generic PnP Monitor.
Running Windows 11 Pro 22H2, OS build 22621.1702.

@arcnmx
Copy link
Owner

arcnmx commented Jun 4, 2023

Besides the above suggestion, you can also try:

  • println!("{:?}", display.handle.capabilities_string().unwrap()); and share here to see if the caps string is invalid in some way
  • ddc-hi v0.5.x branch (or building ddcset main branch), which uses the newer mccs parser

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

3 participants