Code Monkey home page Code Monkey logo

Comments (2)

Konfekt avatar Konfekt commented on May 28, 2024

This is not an issue with the latest release on Ubuntu for the same screen

from display-switch.

Konfekt avatar Konfekt commented on May 28, 2024

However, on latest Opensuse Leap after building latest master the issue persists:


07:56:11 [INFO] Configuration loaded ("/home/konfekt/.config/display-switch/display-switch.ini"): Configuration { usb_device: "1a40:0101", default_input_sources: InputSources { on_usb_connect: Some(Hdmi1(0x11)), on_usb_disconnect: Some(DisplayPort1(0xf)), on_usb_connect_execute: None, on_usb_disconnect_execute: None }, monitor1: None, monitor2: None, monitor3: None, monitor4: None, monitor5: None, monitor6: None }
07:56:11 [ERROR] Failed to get current input for display 'DEL DELL U2719D BRK47R2 #1': DDC/CI I2C error: Remote I/O error (os error 121)
thread 'main' panicked at /home/konfekt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ddc-i2c-0.2.2/src/lib.rs:194:12:
index out of bounds: the len is 11 but the index is 11
stack backtrace:
   0:     0x55d09e7a4a47 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h3a3e14066d08445b
   1:     0x55d09e7dd780 - core::fmt::write::h635b969b0c73ca1c
   2:     0x55d09e7af79f - std::io::Write::write_fmt::h32a392dc332161f1
   3:     0x55d09e7a4814 - std::sys_common::backtrace::print::haebafeedddb3c231
   4:     0x55d09e7a551a - std::panicking::default_hook::{{closure}}::hbe6b35352e97edda
   5:     0x55d09e7a5232 - std::panicking::default_hook::ha3d28f6760dc7873
   6:     0x55d09e7a5a28 - std::panicking::rust_panic_with_hook::hbe5a76d502748239
   7:     0x55d09e7a590a - std::panicking::begin_panic_handler::{{closure}}::h4d6ed894446a10f5
   8:     0x55d09e7a4c76 - std::sys_common::backtrace::__rust_end_short_backtrace::h5a53e39732234b5b
   9:     0x55d09e7a5654 - rust_begin_unwind
  10:     0x55d09e624955 - core::panicking::panic_fmt::h09f37a9c2cf6ceee
  11:     0x55d09e624b32 - core::panicking::panic_bounds_check::h44378b56e4bac3cd
  12:     0x55d09e7412fe - <ddc_i2c::I2cDdc<I> as ddc::DdcCommandRaw>::execute_raw::ha01dd50799f262ff
                               at /home/konfekt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ddc-i2c-0.2.2/src/lib.rs:194:12
  13:     0x55d09e73ed28 - <D as ddc::DdcCommand>::execute::h5f9c711e7491527c
                               at /home/konfekt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ddc-0.2.2/src/lib.rs:271:13
  14:     0x55d09e73e8e8 - <D as ddc::Ddc>::get_vcp_feature::hd26d1618930475af
                               at /home/konfekt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ddc-0.2.2/src/lib.rs:213:3
  15:     0x55d09e743ccc - <ddc_hi::Handle as ddc::Ddc>::get_vcp_feature::hedbcf612f689bcb6
                               at /home/konfekt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ddc-hi-0.4.1/src/lib.rs:564:38
  16:     0x55d09e66e18a - display_switch::display_control::log_current_source::he6b5110e91d4327c
                               at /home/konfekt/Downloads/display-switch/src/display_control.rs:100:15
  17:     0x55d09e699d11 - display_switch::app::App::run::hca9fe9d6043f10e5
                               at /home/konfekt/Downloads/display-switch/src/app.rs:49:9
  18:     0x55d09e636fd6 - display_switch::main::hf4e0259fa859e3da
                               at /home/konfekt/Downloads/display-switch/src/main.rs:43:5
  19:     0x55d09e630efb - core::ops::function::FnOnce::call_once::h5fbb8bbbcdb794d4
                               at /home/abuild/rpmbuild/BUILD/rustc-1.77.0-src/library/core/src/ops/function.rs:250:5
  20:     0x55d09e66946e - std::sys_common::backtrace::__rust_begin_short_backtrace::h266c0382a840cfda
                               at /home/abuild/rpmbuild/BUILD/rustc-1.77.0-src/library/std/src/sys_common/backtrace.rs:155:18
  21:     0x55d09e625fd1 - std::rt::lang_start::{{closure}}::h076bb12082621267
                               at /home/abuild/rpmbuild/BUILD/rustc-1.77.0-src/library/std/src/rt.rs:166:18
  22:     0x55d09e7a5554 - std::panicking::try::hc5e5e383d6239b2d
  23:     0x55d09e7c0f3b - std::rt::lang_start_internal::h84480a904ea3543b
  24:     0x55d09e625faa - std::rt::lang_start::h9057fa19dab2a8b2
                               at /home/abuild/rpmbuild/BUILD/rustc-1.77.0-src/library/std/src/rt.rs:165:17
  25:     0x55d09e63713e - main
  26:     0x7fd014a7024d - __libc_start_main
  27:     0x55d09e624fca - _start
                               at /home/abuild/rpmbuild/BUILD/glibc-2.31/csu/../sysdeps/x86_64/start.S:120
  28:                0x0 - <unknown>

from display-switch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.