Skip to content

Comments

Use glow feature of iced to overcome unsupported graphics#155

Merged
GyulyVGC merged 3 commits intoGyulyVGC:glow-rendererfrom
philclifford:use-glow
Apr 17, 2023
Merged

Use glow feature of iced to overcome unsupported graphics#155
GyulyVGC merged 3 commits intoGyulyVGC:glow-rendererfrom
philclifford:use-glow

Conversation

@philclifford
Copy link

Faced with the following error on installing the latest release from github:

MESA-INTEL: warning: Ivy Bridge Vulkan support is incomplete
Error: GraphicsCreationFailed(GraphicsAdapterNotFound)

I checked in the ìced project and immediately saw a possible fix for my problem. As my first ever rust effort it seemed worthwhile to try a simple change to add the "glow" feature and amazingly I had just enough room to cargo build and can confirm the resulting binary works like a charm for me.

This was to run on an ancient junk laptop so you probably don't want to make this the default, but perhaps and alternate branch or build or at least a note in the docs might help others with the same issue. Hence I'm leaving this draft in the hope of feedback. There are separate commits for the trivial Cargo.toml edit I made and the Cargo.lock that resulted from the build.

@philclifford
Copy link
Author

FYI the problem junk laptop (with fabulous OS):

OS: Ubuntu MATE 22.10 x86_64
Host: Latitude E6530 01
Kernel: 5.19.0-38-generic
Uptime: 5 hours, 35 mins
Packages: 5000 (dpkg), 355 (nix-user), 47 (nix-default), 1 (flatpak), 34 (snap)
Shell: bash 5.2.2
Resolution: 1600x900
DE: MATE 1.26.0
WM: Metacity (Marco)
Theme: Yaru-MATE-Pink-dark [GTK2/3]
Icons: Yaru-MATE-Pink-dark [GTK2/3]
Terminal: mate-terminal
Terminal Font: Ubuntu Mono 13
CPU: Intel i7-3540M (4) @ 3.700GHz
GPU: Intel 3rd Gen Core processor Graphics Controller
GPU: NVIDIA NVS 5200M
Memory: 5133MiB / 7820MiB

@GyulyVGC
Copy link
Owner

First of all I'm happy you solved your issue.
Iced is currently going through major changes and in the future they'll release a new software renderer.
That being said, I could merge this PR into a new branch.
I don't think it's worth to have other builds though.

@GyulyVGC
Copy link
Owner

I disabled iced default features, which include the wgpu renderer.
glow also works on my PC, but I think it's risky to make it the default, since other architecture may not support it.
I'll merge into a new branch glow-renderer and I'll add a note on Sniffnet README, in the "Troubleshooting" section.
Thank you very much!

@GyulyVGC GyulyVGC changed the base branch from main to glow-renderer April 17, 2023 06:52
@GyulyVGC GyulyVGC marked this pull request as ready for review April 17, 2023 06:53
@GyulyVGC GyulyVGC merged commit 39be38c into GyulyVGC:glow-renderer Apr 17, 2023
@GyulyVGC GyulyVGC added dependencies Pull requests that update a dependency file renderer Problem related to the renderer used by the GUI library labels Apr 17, 2023
@GyulyVGC
Copy link
Owner

@all-contributors please add @philclifford for platform.

@allcontributors
Copy link
Contributor

@GyulyVGC

I've put up a pull request to add @philclifford! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file renderer Problem related to the renderer used by the GUI library

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants