Closed dependabot[bot] closed 5 months ago
I haven't been able to test this example because the JPEG decoder panics on data from my camera:
failed to decode JPEG: Format("scan makes use of unset dc huffman table")
A newer version of glium exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.
@raymanfx can you check this? The current winit 0.22
is ancient enough to not even run:
$ cargo r --example glium
Compiling v4l v0.14.0 (/newdata/Code/Rust/libv4l-rs)
Finished dev [unoptimized + debuginfo] target(s) in 1.55s
Running `target/debug/examples/glium`
Using device: /dev/video0
Active format:
width : 640
height : 480
fourcc : MJPG
field : progressive
stride : 0
size : 614400
colorspace : sRGB
quantization : default
transfer : sRGB transfer function
Active parameters:
capabilities : Capabilities(TIME_PER_FRAME)
modes : Modes(0x0)
interval : 1/5 [s]
interface 'wl_output' has no event 4
thread 'main' panicked at /home/marijn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winit-0.22.2/src/platform_impl/linux/wayland/event_loop.rs:405:10:
called `Result::unwrap()` on an `Err` value: Os { code: 0, kind: Uncategorized, message: "Success" }
stack backtrace:
0: rust_begin_unwind
at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:647:5
1: core::panicking::panic_fmt
at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/panicking.rs:72:14
2: core::result::unwrap_failed
at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/result.rs:1649:5
3: core::result::Result<T,E>::unwrap
at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/result.rs:1073:23
4: winit::platform_impl::platform::wayland::event_loop::EventLoop<T>::new
at /home/marijn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winit-0.22.2/src/platform_impl/linux/wayland/event_loop.rs:337:19
5: winit::platform_impl::platform::EventLoop<T>::new_wayland_any_thread
at /home/marijn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winit-0.22.2/src/platform_impl/linux/mod.rs:579:9
6: winit::platform_impl::platform::EventLoop<T>::new_any_thread
at /home/marijn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winit-0.22.2/src/platform_impl/linux/mod.rs:555:33
7: winit::platform_impl::platform::EventLoop<T>::new
at /home/marijn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winit-0.22.2/src/platform_impl/linux/mod.rs:533:9
8: winit::event_loop::EventLoop<T>::with_user_event
at /home/marijn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winit-0.22.2/src/event_loop.rs:129:25
9: winit::event_loop::EventLoop<()>::new
at /home/marijn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winit-0.22.2/src/event_loop.rs:115:9
10: glium::main
at ./examples/glium.rs:57:22
11: core::ops::function::FnOnce::call_once
at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
But with this upgrade decoding fails, which is likely unrelated but I'd like to make sure that it runs first.
I forgot that I have an old and slow laptop, where this works but is quite terrible on the CPU.
Updates the requirements on glium to permit the latest version.
Changelog
Sourced from glium's changelog.
... (truncated)
Commits
74a36a8
Merge pull request #2082 from est31/master1676f0d
Release 0.33.0aa86599
Changelog for 0.33d55006c
Merge pull request #2068 from justincredible/cargo-testcd5da9f
Merge pull request #2081 from joshlf/memoffset-0.9.03fbd243
Update memoffset to 0.9.0deaa714
Merge pull request #2079 from ben-sommer/patch-119f3e45
fix: breaking typo000fefe
Merge pull request #2078 from mykykh/patch-2ada9e24
fix typo in tuto-01-getting-started.mdDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show