FS#79138 - [sniffnet] Consider adding sniffnet-glow package

Attached to Project: Arch Linux
Opened by helle vaanzinn (glitsj16) - Tuesday, 18 July 2023, 19:33 GMT
Last edited by Orhun Parmaksız (orhun) - Thursday, 20 July 2023, 11:42 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Orhun Parmaksız (orhun)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The current sniffnet package only builds the default renderer. On older hardware this results in an error and the package is useless. Upstream has a `glow-renderer` branch to support such older hardware, so it might be nice to see a package that works on such installations.

Additional info:
* package version(s)

$ pacman -Q sniffnet
sniffnet foo

* config and/or log files etc.
* link to upstream bug report, if any

https://github.com/GyulyVGC/sniffnet/issues/302

Steps to reproduce:

$ sudo pacman -S sniffnet
$ sniffnet
GraphicsAdapterNotFound
This task depends upon

Closed by  Orhun Parmaksız (orhun)
Thursday, 20 July 2023, 11:42 GMT
Reason for closing:  Won't implement
Comment by Toolybird (Toolybird) - Tuesday, 18 July 2023, 22:27 GMT
> older hardware

Where is the definition of that? Different branch? Maybe just create a variant and stick it in the AUR?
Comment by Orhun Parmaksız (orhun) - Wednesday, 19 July 2023, 09:35 GMT
I recommend creating an AUR package as well since the glow-renderer feature sits in a different branch.
Comment by helle vaanzinn (glitsj16) - Thursday, 20 July 2023, 11:41 GMT
The definition of 'older hardware' is a bit tedious to find. There's some info at https://github.com/GyulyVGC/sniffnet#troubleshooting in the `Rendering problems` section. A slightly more verbose version is on https://crates.io/crates/iced:

Troubleshooting

GraphicsAdapterNotFound

This occurs when the selected built-in renderer is not able to create a context.

Often this will occur while using iced_wgpu as the renderer without supported hardware (needs Vulkan, Metal or DX12). In this case, you could try using the iced_glow renderer...

I had hoped the Arch Linux devs could integrate both renderers in one package, but I do see the difficulties with that approach. Hopefully this situation will resolve itself when a newer iced release is cut, but I've added https://aur.archlinux.org/packages/sniffnet-glow to the AUR for now.

Thanks for the responses.

Loading...