khonsulabs / cushy

An experimental cross-platform graphical user interface (GUI) crate for Rust.
Apache License 2.0
458 stars 18 forks source link

Possibility to control / tame logging output #169

Closed bluenote10 closed 1 week ago

bluenote10 commented 1 week ago

One of my use cases of using cushy is a kind of hybrid between terminal and GUI usage, e.g. running a cushy app from a Python REPL for data visualization purposes. Currently such use cases don't work so well, because there is a lot of logging output from winit / wgpu when running a cushy app:

Example log output of using cushy app for ~1 second ``` 2024-09-21T08:12:28.267313Z INFO winit::platform_impl::linux::x11::window: Guessed window scale factor: 1 2024-09-21T08:12:28.311642Z WARN wgpu_hal::vulkan::instance: InstanceFlags::VALIDATION requested, but unable to find layer: VK_LAYER_KHRONOS_validation 2024-09-21T08:12:28.311674Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] Searching for layer manifest files 2024-09-21T08:12:28.311682Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.311686Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] In following folders: 2024-09-21T08:12:28.311690Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.311694Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] /home/fabian/.config/vulkan/implicit_layer.d 2024-09-21T08:12:28.311701Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.311705Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] /etc/xdg/xdg-ubuntu/vulkan/implicit_layer.d 2024-09-21T08:12:28.311724Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.311731Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] /etc/xdg/vulkan/implicit_layer.d 2024-09-21T08:12:28.311735Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.311740Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] /etc/vulkan/implicit_layer.d 2024-09-21T08:12:28.311744Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.311748Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] /home/fabian/.local/share/vulkan/implicit_layer.d 2024-09-21T08:12:28.311751Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.311755Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] /usr/share/ubuntu/vulkan/implicit_layer.d 2024-09-21T08:12:28.311759Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.311763Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] /usr/share/gnome/vulkan/implicit_layer.d 2024-09-21T08:12:28.311766Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.311769Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] /home/fabian/.local/share/flatpak/exports/share/vulkan/implicit_layer.d 2024-09-21T08:12:28.311773Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.311776Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] /var/lib/flatpak/exports/share/vulkan/implicit_layer.d 2024-09-21T08:12:28.311779Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.311782Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] /usr/local/share/vulkan/implicit_layer.d 2024-09-21T08:12:28.311785Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.311788Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] /usr/share/vulkan/implicit_layer.d 2024-09-21T08:12:28.311792Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.311795Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] /var/lib/snapd/desktop/vulkan/implicit_layer.d 2024-09-21T08:12:28.311798Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.311853Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] Found the following files: 2024-09-21T08:12:28.311858Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.311861Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] /home/fabian/.local/share/vulkan/implicit_layer.d/steamfossilize_x86_64.json 2024-09-21T08:12:28.311864Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.311867Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] /home/fabian/.local/share/vulkan/implicit_layer.d/steamfossilize_i386.json 2024-09-21T08:12:28.311871Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.311874Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] /home/fabian/.local/share/vulkan/implicit_layer.d/steamoverlay_x86_64.json 2024-09-21T08:12:28.311877Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.311880Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] /home/fabian/.local/share/vulkan/implicit_layer.d/steamoverlay_i386.json 2024-09-21T08:12:28.311883Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.311889Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] /usr/share/vulkan/implicit_layer.d/nvidia_layers.json 2024-09-21T08:12:28.311893Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.311896Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] /usr/share/vulkan/implicit_layer.d/VkLayer_MESA_device_select.json 2024-09-21T08:12:28.311899Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.311916Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] Found manifest file /home/fabian/.local/share/vulkan/implicit_layer.d/steamfossilize_x86_64.json (file version "1.0.0") 2024-09-21T08:12:28.311920Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.311969Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] Found manifest file /home/fabian/.local/share/vulkan/implicit_layer.d/steamfossilize_i386.json (file version "1.0.0") 2024-09-21T08:12:28.311973Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.311991Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] Found manifest file /home/fabian/.local/share/vulkan/implicit_layer.d/steamoverlay_x86_64.json (file version "1.0.0") 2024-09-21T08:12:28.311996Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312012Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] Found manifest file /home/fabian/.local/share/vulkan/implicit_layer.d/steamoverlay_i386.json (file version "1.0.0") 2024-09-21T08:12:28.312017Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312034Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] Found manifest file /usr/share/vulkan/implicit_layer.d/nvidia_layers.json (file version "1.0.0") 2024-09-21T08:12:28.312038Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312054Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] Found manifest file /usr/share/vulkan/implicit_layer.d/VkLayer_MESA_device_select.json (file version "1.0.0") 2024-09-21T08:12:28.312058Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312080Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] Searching for layer manifest files 2024-09-21T08:12:28.312084Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312087Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] In following folders: 2024-09-21T08:12:28.312090Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312093Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] /home/fabian/.config/vulkan/explicit_layer.d 2024-09-21T08:12:28.312096Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312100Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] /etc/xdg/xdg-ubuntu/vulkan/explicit_layer.d 2024-09-21T08:12:28.312103Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312106Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] /etc/xdg/vulkan/explicit_layer.d 2024-09-21T08:12:28.312109Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312112Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] /etc/vulkan/explicit_layer.d 2024-09-21T08:12:28.312115Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312118Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] /home/fabian/.local/share/vulkan/explicit_layer.d 2024-09-21T08:12:28.312121Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312124Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] /usr/share/ubuntu/vulkan/explicit_layer.d 2024-09-21T08:12:28.312128Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312131Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] /usr/share/gnome/vulkan/explicit_layer.d 2024-09-21T08:12:28.312134Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312137Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] /home/fabian/.local/share/flatpak/exports/share/vulkan/explicit_layer.d 2024-09-21T08:12:28.312140Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312143Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] /var/lib/flatpak/exports/share/vulkan/explicit_layer.d 2024-09-21T08:12:28.312146Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312149Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] /usr/local/share/vulkan/explicit_layer.d 2024-09-21T08:12:28.312153Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312156Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] /usr/share/vulkan/explicit_layer.d 2024-09-21T08:12:28.312159Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312162Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] /var/lib/snapd/desktop/vulkan/explicit_layer.d 2024-09-21T08:12:28.312165Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312213Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] Found the following files: 2024-09-21T08:12:28.312217Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312221Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] /usr/share/vulkan/explicit_layer.d/VkLayer_MESA_overlay.json 2024-09-21T08:12:28.312224Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312227Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] /usr/share/vulkan/explicit_layer.d/VkLayer_INTEL_nullhw.json 2024-09-21T08:12:28.312230Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312244Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] Found manifest file /usr/share/vulkan/explicit_layer.d/VkLayer_MESA_overlay.json (file version "1.0.0") 2024-09-21T08:12:28.312248Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312263Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] Found manifest file /usr/share/vulkan/explicit_layer.d/VkLayer_INTEL_nullhw.json (file version "1.0.0") 2024-09-21T08:12:28.312267Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312282Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] Searching for driver manifest files 2024-09-21T08:12:28.312286Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312289Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] In following folders: 2024-09-21T08:12:28.312292Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312300Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] /home/fabian/.config/vulkan/icd.d 2024-09-21T08:12:28.312304Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312307Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] /etc/xdg/xdg-ubuntu/vulkan/icd.d 2024-09-21T08:12:28.312310Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312314Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] /etc/xdg/vulkan/icd.d 2024-09-21T08:12:28.312317Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312320Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] /etc/vulkan/icd.d 2024-09-21T08:12:28.312323Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312326Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] /home/fabian/.local/share/vulkan/icd.d 2024-09-21T08:12:28.312329Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312332Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] /usr/share/ubuntu/vulkan/icd.d 2024-09-21T08:12:28.312335Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312338Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] /usr/share/gnome/vulkan/icd.d 2024-09-21T08:12:28.312342Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312345Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] /home/fabian/.local/share/flatpak/exports/share/vulkan/icd.d 2024-09-21T08:12:28.312348Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312352Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] /var/lib/flatpak/exports/share/vulkan/icd.d 2024-09-21T08:12:28.312356Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312359Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] /usr/local/share/vulkan/icd.d 2024-09-21T08:12:28.312362Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312365Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] /usr/share/vulkan/icd.d 2024-09-21T08:12:28.312380Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312391Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] /var/lib/snapd/desktop/vulkan/icd.d 2024-09-21T08:12:28.312395Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312446Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] Found the following files: 2024-09-21T08:12:28.312450Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312453Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] /usr/share/vulkan/icd.d/radeon_icd.x86_64.json 2024-09-21T08:12:28.312457Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312461Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] /usr/share/vulkan/icd.d/lvp_icd.x86_64.json 2024-09-21T08:12:28.312464Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312467Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] /usr/share/vulkan/icd.d/intel_hasvk_icd.i686.json 2024-09-21T08:12:28.312470Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312473Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] /usr/share/vulkan/icd.d/lvp_icd.i686.json 2024-09-21T08:12:28.312476Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312480Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] /usr/share/vulkan/icd.d/intel_hasvk_icd.x86_64.json 2024-09-21T08:12:28.312483Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312487Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] /usr/share/vulkan/icd.d/intel_icd.i686.json 2024-09-21T08:12:28.312491Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312494Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] /usr/share/vulkan/icd.d/nvidia_icd.json 2024-09-21T08:12:28.312497Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312500Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] /usr/share/vulkan/icd.d/intel_icd.x86_64.json 2024-09-21T08:12:28.312503Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312506Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] /usr/share/vulkan/icd.d/radeon_icd.i686.json 2024-09-21T08:12:28.312509Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312522Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] Found ICD manifest file /usr/share/vulkan/icd.d/radeon_icd.x86_64.json, version "1.0.0" 2024-09-21T08:12:28.312526Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312547Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] Found ICD manifest file /usr/share/vulkan/icd.d/lvp_icd.x86_64.json, version "1.0.0" 2024-09-21T08:12:28.312551Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312569Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] Found ICD manifest file /usr/share/vulkan/icd.d/intel_hasvk_icd.i686.json, version "1.0.0" 2024-09-21T08:12:28.312573Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312586Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] /usr/lib/i386-linux-gnu/libvulkan_intel_hasvk.so: wrong ELF class: ELFCLASS32 2024-09-21T08:12:28.312590Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312594Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] loader_icd_scan: Failed to add ICD JSON /usr/lib/i386-linux-gnu/libvulkan_intel_hasvk.so. Skipping ICD JSON. 2024-09-21T08:12:28.312597Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312609Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] Found ICD manifest file /usr/share/vulkan/icd.d/lvp_icd.i686.json, version "1.0.0" 2024-09-21T08:12:28.312613Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312624Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] /usr/lib/i386-linux-gnu/libvulkan_lvp.so: wrong ELF class: ELFCLASS32 2024-09-21T08:12:28.312628Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312631Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] loader_icd_scan: Failed to add ICD JSON /usr/lib/i386-linux-gnu/libvulkan_lvp.so. Skipping ICD JSON. 2024-09-21T08:12:28.312634Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312646Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] Found ICD manifest file /usr/share/vulkan/icd.d/intel_hasvk_icd.x86_64.json, version "1.0.0" 2024-09-21T08:12:28.312650Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312667Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] Found ICD manifest file /usr/share/vulkan/icd.d/intel_icd.i686.json, version "1.0.0" 2024-09-21T08:12:28.312671Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312682Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] /usr/lib/i386-linux-gnu/libvulkan_intel.so: wrong ELF class: ELFCLASS32 2024-09-21T08:12:28.312686Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312689Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] loader_icd_scan: Failed to add ICD JSON /usr/lib/i386-linux-gnu/libvulkan_intel.so. Skipping ICD JSON. 2024-09-21T08:12:28.312693Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312705Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] Found ICD manifest file /usr/share/vulkan/icd.d/nvidia_icd.json, version "1.0.0" 2024-09-21T08:12:28.312708Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312729Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] Found ICD manifest file /usr/share/vulkan/icd.d/intel_icd.x86_64.json, version "1.0.0" 2024-09-21T08:12:28.312733Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312749Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] Found ICD manifest file /usr/share/vulkan/icd.d/radeon_icd.i686.json, version "1.0.0" 2024-09-21T08:12:28.312753Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312764Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] /usr/lib/i386-linux-gnu/libvulkan_radeon.so: wrong ELF class: ELFCLASS32 2024-09-21T08:12:28.312768Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.312772Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] loader_icd_scan: Failed to add ICD JSON /usr/lib/i386-linux-gnu/libvulkan_radeon.so. Skipping ICD JSON. 2024-09-21T08:12:28.312775Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.313026Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] Loading layer library libVkLayer_MESA_device_select.so 2024-09-21T08:12:28.313033Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.313037Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] Insert instance layer VK_LAYER_MESA_device_select (libVkLayer_MESA_device_select.so) 2024-09-21T08:12:28.313040Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.323112Z INFO wgpu_hal::vulkan::instance: Enabling debug utils 2024-09-21T08:12:28.328581Z INFO wgpu_hal::gles::egl: Using X11 platform 2024-09-21T08:12:28.331234Z WARN wgpu_hal::gles::egl: No config found! 2024-09-21T08:12:28.331249Z WARN wgpu_hal::gles::egl: EGL says it can present to the window but not natively 2024-09-21T08:12:28.364036Z WARN wgpu_hal::gles::adapter: Max vertex attribute stride unknown. Assuming it is 2048 2024-09-21T08:12:28.364090Z INFO wgpu_core::instance: Adapter Vulkan AdapterInfo { name: "NVIDIA GeForce GTX 980", vendor: 4318, device: 5056, device_type: DiscreteGpu, driver: "NVIDIA", driver_info: "535.183.01", backend: Vulkan } 2024-09-21T08:12:28.364873Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] Loading layer library libVkLayer_MESA_device_select.so 2024-09-21T08:12:28.364883Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.364890Z INFO wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)] Failed to find vkGetDeviceProcAddr in layer libVkLayer_MESA_device_select.so 2024-09-21T08:12:28.364893Z INFO wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x7f5574009ed0, name: ?) 2024-09-21T08:12:28.394675Z INFO naga::back::spv::writer: Skip function Some("ratio") 2024-09-21T08:12:28.495549Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 0 2024-09-21T08:12:28.601083Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 0 2024-09-21T08:12:28.602005Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 1 2024-09-21T08:12:28.605281Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 1 2024-09-21T08:12:28.606225Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 2 2024-09-21T08:12:30.422829Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 2 2024-09-21T08:12:30.423626Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 3 2024-09-21T08:12:30.456410Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 3 2024-09-21T08:12:30.457189Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 4 2024-09-21T08:12:30.462158Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 4 2024-09-21T08:12:30.462958Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 5 2024-09-21T08:12:30.466935Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 5 2024-09-21T08:12:30.467708Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 6 2024-09-21T08:12:30.471323Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 6 2024-09-21T08:12:30.472121Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 7 2024-09-21T08:12:30.475843Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 7 2024-09-21T08:12:30.476618Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 8 2024-09-21T08:12:30.480313Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 8 2024-09-21T08:12:30.481083Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 9 2024-09-21T08:12:30.484674Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 9 2024-09-21T08:12:30.485442Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 10 2024-09-21T08:12:30.488978Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 10 2024-09-21T08:12:30.490486Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 11 2024-09-21T08:12:30.494076Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 11 2024-09-21T08:12:30.497355Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 12 2024-09-21T08:12:30.501039Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 12 2024-09-21T08:12:30.504295Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 13 2024-09-21T08:12:30.507925Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 13 2024-09-21T08:12:30.511230Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 14 2024-09-21T08:12:30.514795Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 14 2024-09-21T08:12:30.518188Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 15 2024-09-21T08:12:30.521918Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 15 2024-09-21T08:12:30.525154Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 16 2024-09-21T08:12:30.528860Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 16 2024-09-21T08:12:30.532091Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 17 2024-09-21T08:12:30.535626Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 17 2024-09-21T08:12:30.539046Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 18 2024-09-21T08:12:30.542477Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 18 2024-09-21T08:12:30.545977Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 19 2024-09-21T08:12:30.589051Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 19 2024-09-21T08:12:30.589845Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 20 2024-09-21T08:12:30.593383Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 20 2024-09-21T08:12:30.594247Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 21 2024-09-21T08:12:30.597761Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 21 2024-09-21T08:12:30.598526Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 22 2024-09-21T08:12:30.602121Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 22 2024-09-21T08:12:30.602908Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 23 2024-09-21T08:12:30.606612Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 23 2024-09-21T08:12:30.607365Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 24 2024-09-21T08:12:30.610807Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 24 2024-09-21T08:12:30.611561Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 25 2024-09-21T08:12:30.615177Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 25 2024-09-21T08:12:30.615939Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 26 2024-09-21T08:12:30.619452Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 26 2024-09-21T08:12:30.622427Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 27 2024-09-21T08:12:30.626278Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 27 2024-09-21T08:12:30.629393Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 28 2024-09-21T08:12:30.633126Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 28 2024-09-21T08:12:30.636341Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 29 2024-09-21T08:12:30.640100Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 29 2024-09-21T08:12:30.643276Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 30 2024-09-21T08:12:30.646860Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 30 2024-09-21T08:12:30.650215Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 31 2024-09-21T08:12:30.653848Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 31 2024-09-21T08:12:30.657169Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 32 2024-09-21T08:12:30.660722Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 32 2024-09-21T08:12:30.664103Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 33 2024-09-21T08:12:30.721018Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 33 2024-09-21T08:12:30.721849Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 34 2024-09-21T08:12:30.729983Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 34 2024-09-21T08:12:30.730798Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 35 2024-09-21T08:12:30.734813Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 35 2024-09-21T08:12:30.735593Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 36 2024-09-21T08:12:30.739040Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 36 2024-09-21T08:12:30.739799Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 37 2024-09-21T08:12:30.743173Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 37 2024-09-21T08:12:30.743941Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 38 2024-09-21T08:12:30.747857Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 38 2024-09-21T08:12:30.748647Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 39 2024-09-21T08:12:30.752102Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 39 2024-09-21T08:12:30.754503Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 40 2024-09-21T08:12:30.758142Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 40 2024-09-21T08:12:30.761413Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 41 2024-09-21T08:12:30.765143Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 41 2024-09-21T08:12:30.768361Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 42 2024-09-21T08:12:30.772140Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 42 2024-09-21T08:12:30.775319Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 43 2024-09-21T08:12:30.779146Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 43 2024-09-21T08:12:30.782303Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 44 2024-09-21T08:12:30.785989Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 44 2024-09-21T08:12:30.789245Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 45 2024-09-21T08:12:30.792845Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 45 2024-09-21T08:12:30.796168Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 46 2024-09-21T08:12:30.799784Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 46 2024-09-21T08:12:30.803113Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 47 2024-09-21T08:12:30.836277Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 47 2024-09-21T08:12:30.837033Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 48 2024-09-21T08:12:30.842659Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 48 2024-09-21T08:12:30.843388Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 49 2024-09-21T08:12:30.851595Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 49 2024-09-21T08:12:30.852375Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 50 2024-09-21T08:12:30.856538Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 50 2024-09-21T08:12:30.857593Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 51 2024-09-21T08:12:30.861879Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 51 2024-09-21T08:12:30.862653Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 52 2024-09-21T08:12:30.866785Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 52 2024-09-21T08:12:30.867541Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 53 2024-09-21T08:12:30.871903Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 53 2024-09-21T08:12:30.872946Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 54 2024-09-21T08:12:30.876947Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 54 2024-09-21T08:12:30.879799Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 55 2024-09-21T08:12:30.883758Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 55 2024-09-21T08:12:30.886828Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 56 2024-09-21T08:12:30.890520Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 56 2024-09-21T08:12:30.893726Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 57 2024-09-21T08:12:30.897519Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 57 2024-09-21T08:12:30.900668Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 58 2024-09-21T08:12:30.904237Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 58 2024-09-21T08:12:30.907610Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 59 2024-09-21T08:12:30.934930Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 59 2024-09-21T08:12:30.935742Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 60 2024-09-21T08:12:30.941044Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 60 2024-09-21T08:12:30.941867Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 61 2024-09-21T08:12:30.945423Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 61 2024-09-21T08:12:30.946202Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 62 2024-09-21T08:12:30.949822Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 62 2024-09-21T08:12:30.950603Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 63 2024-09-21T08:12:30.954303Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 63 2024-09-21T08:12:30.955074Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 64 2024-09-21T08:12:30.958749Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 64 2024-09-21T08:12:30.959508Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 65 2024-09-21T08:12:30.963097Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 65 2024-09-21T08:12:30.963887Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 66 2024-09-21T08:12:30.967509Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 66 2024-09-21T08:12:30.970124Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 67 2024-09-21T08:12:30.974017Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 67 2024-09-21T08:12:30.977081Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 68 2024-09-21T08:12:30.981044Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 68 2024-09-21T08:12:30.984016Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 69 2024-09-21T08:12:30.987826Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 69 2024-09-21T08:12:30.990978Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 70 2024-09-21T08:12:30.994722Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 70 2024-09-21T08:12:30.997916Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 71 2024-09-21T08:12:31.001763Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 71 2024-09-21T08:12:31.004898Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 72 2024-09-21T08:12:31.008513Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 72 2024-09-21T08:12:31.011834Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 73 2024-09-21T08:12:31.015207Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 73 2024-09-21T08:12:31.018790Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 74 2024-09-21T08:12:31.035877Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 74 2024-09-21T08:12:31.036631Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 75 2024-09-21T08:12:31.040149Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 75 2024-09-21T08:12:31.040951Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 76 2024-09-21T08:12:31.044521Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 76 2024-09-21T08:12:31.045212Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 77 2024-09-21T08:12:31.048693Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 77 2024-09-21T08:12:31.049455Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 78 2024-09-21T08:12:31.052950Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 78 2024-09-21T08:12:31.053725Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 79 2024-09-21T08:12:31.057226Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 79 2024-09-21T08:12:31.060407Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 80 2024-09-21T08:12:31.064082Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 80 2024-09-21T08:12:31.067349Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 81 2024-09-21T08:12:31.071100Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 81 2024-09-21T08:12:31.074337Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 82 2024-09-21T08:12:31.078115Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 82 2024-09-21T08:12:31.081290Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 83 2024-09-21T08:12:31.085211Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 83 2024-09-21T08:12:31.088218Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 84 2024-09-21T08:12:31.092058Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 84 2024-09-21T08:12:31.095158Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 85 2024-09-21T08:12:31.098895Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 85 2024-09-21T08:12:31.102108Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 86 2024-09-21T08:12:31.105664Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 86 2024-09-21T08:12:31.109060Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 87 2024-09-21T08:12:31.112684Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 87 2024-09-21T08:12:31.116007Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 88 2024-09-21T08:12:31.119522Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 88 2024-09-21T08:12:31.122946Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 89 2024-09-21T08:12:31.155960Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 89 2024-09-21T08:12:31.156742Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 90 2024-09-21T08:12:31.161863Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 90 2024-09-21T08:12:31.162695Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 91 2024-09-21T08:12:31.166499Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 91 2024-09-21T08:12:31.167338Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 92 2024-09-21T08:12:31.171102Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 92 2024-09-21T08:12:31.171940Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 93 2024-09-21T08:12:31.175549Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 93 2024-09-21T08:12:31.176282Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 94 2024-09-21T08:12:31.180074Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 94 2024-09-21T08:12:31.180858Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 95 2024-09-21T08:12:31.184742Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 95 2024-09-21T08:12:31.185510Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 96 2024-09-21T08:12:31.189016Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 96 2024-09-21T08:12:31.192275Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 97 2024-09-21T08:12:31.196098Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 97 2024-09-21T08:12:31.199206Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 98 2024-09-21T08:12:31.202906Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 98 2024-09-21T08:12:31.206143Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 99 2024-09-21T08:12:31.209917Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 99 2024-09-21T08:12:31.213115Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 100 2024-09-21T08:12:31.216813Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 100 2024-09-21T08:12:31.220060Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 101 2024-09-21T08:12:31.223663Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 101 2024-09-21T08:12:31.226978Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 102 2024-09-21T08:12:31.230498Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 102 2024-09-21T08:12:31.233947Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 103 2024-09-21T08:12:31.261018Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 103 2024-09-21T08:12:31.261801Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 104 2024-09-21T08:12:31.265280Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 104 2024-09-21T08:12:31.266039Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 105 2024-09-21T08:12:31.269533Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 105 2024-09-21T08:12:31.270524Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 106 2024-09-21T08:12:31.274137Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 106 2024-09-21T08:12:31.275082Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 107 2024-09-21T08:12:31.278592Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 107 2024-09-21T08:12:31.279351Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 108 2024-09-21T08:12:31.283346Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 108 2024-09-21T08:12:31.284119Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 109 2024-09-21T08:12:31.287674Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 109 2024-09-21T08:12:31.289579Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 110 2024-09-21T08:12:31.293181Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 110 2024-09-21T08:12:31.296512Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 111 2024-09-21T08:12:31.300367Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 111 2024-09-21T08:12:31.303437Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 112 2024-09-21T08:12:31.307189Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 112 2024-09-21T08:12:31.310380Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 113 2024-09-21T08:12:31.314161Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 113 2024-09-21T08:12:31.317354Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 114 2024-09-21T08:12:31.321103Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 114 2024-09-21T08:12:31.324259Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 115 2024-09-21T08:12:31.328045Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 115 2024-09-21T08:12:31.331230Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 116 2024-09-21T08:12:31.334822Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 116 2024-09-21T08:12:31.338155Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 117 2024-09-21T08:12:31.341779Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 117 2024-09-21T08:12:31.345137Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 118 2024-09-21T08:12:31.373913Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 118 2024-09-21T08:12:31.374733Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 119 2024-09-21T08:12:31.379039Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 119 2024-09-21T08:12:31.379797Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 120 2024-09-21T08:12:31.383386Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 120 2024-09-21T08:12:31.384162Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 121 2024-09-21T08:12:31.387911Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 121 2024-09-21T08:12:31.388696Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 122 2024-09-21T08:12:31.392244Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 122 2024-09-21T08:12:31.393071Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 123 2024-09-21T08:12:31.396697Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 123 2024-09-21T08:12:31.397446Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 124 2024-09-21T08:12:31.401009Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 124 2024-09-21T08:12:31.401787Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 125 2024-09-21T08:12:31.405282Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 125 2024-09-21T08:12:31.407697Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 126 2024-09-21T08:12:31.411284Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 126 2024-09-21T08:12:31.414629Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 127 2024-09-21T08:12:31.418449Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 127 2024-09-21T08:12:31.421548Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 128 2024-09-21T08:12:31.425367Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 128 2024-09-21T08:12:31.428524Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 129 2024-09-21T08:12:31.432416Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 129 2024-09-21T08:12:31.435484Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 130 2024-09-21T08:12:31.439181Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 130 2024-09-21T08:12:31.442408Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 131 2024-09-21T08:12:31.446048Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 131 2024-09-21T08:12:31.449383Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 132 2024-09-21T08:12:31.452908Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 132 2024-09-21T08:12:31.456289Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 133 2024-09-21T08:12:31.459745Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 133 2024-09-21T08:12:31.463250Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 134 2024-09-21T08:12:31.482025Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 134 2024-09-21T08:12:31.482760Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 135 2024-09-21T08:12:31.486343Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 135 2024-09-21T08:12:31.487108Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 136 2024-09-21T08:12:31.490821Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 136 2024-09-21T08:12:31.491636Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 137 2024-09-21T08:12:31.495335Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 137 2024-09-21T08:12:31.496069Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 138 2024-09-21T08:12:31.499753Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 138 2024-09-21T08:12:31.500524Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 139 2024-09-21T08:12:31.504251Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 139 2024-09-21T08:12:31.505012Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 140 2024-09-21T08:12:31.508710Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 140 2024-09-21T08:12:31.509403Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 141 2024-09-21T08:12:31.513127Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 141 2024-09-21T08:12:31.513909Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 142 2024-09-21T08:12:31.517613Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 142 2024-09-21T08:12:31.518903Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 143 2024-09-21T08:12:31.522589Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 143 2024-09-21T08:12:31.525781Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 144 2024-09-21T08:12:31.529709Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 144 2024-09-21T08:12:31.532729Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 145 2024-09-21T08:12:31.536664Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 145 2024-09-21T08:12:31.539706Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 146 2024-09-21T08:12:31.543406Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 146 2024-09-21T08:12:31.546625Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 147 2024-09-21T08:12:31.550576Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 147 2024-09-21T08:12:31.553591Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 148 2024-09-21T08:12:31.557393Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 148 2024-09-21T08:12:31.560545Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 149 2024-09-21T08:12:31.564339Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 149 2024-09-21T08:12:31.567462Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 150 2024-09-21T08:12:31.571065Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 150 2024-09-21T08:12:31.574475Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 151 2024-09-21T08:12:31.577887Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 151 2024-09-21T08:12:31.581403Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 152 2024-09-21T08:12:31.597817Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 152 2024-09-21T08:12:31.598575Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 153 2024-09-21T08:12:31.602138Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 153 2024-09-21T08:12:31.602906Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 154 2024-09-21T08:12:31.606424Z INFO wgpu_core::device::resource: Device::maintain: waiting for submission index 154 ```

(The waiting for submission index messages occur during re-rendering, the rest is application startup.)

It would be great if it was possible to run a cushy app with basically zero output to stdout/stderr (of course unless the app really crashes) to avoid messing up the console output.

Typically the logging is setup not within libraries, but rather the main side, which I guess is either cushy or winit in this case, because my own main contains no logging setup whatsoever. Would it make sense to allow for controlling the logging setup from the client side, i.e., pass through logging setup information from the client to wherever the logging currently gets configuered?

Unfortuantely wgpu seems to make liberal use of WARN messages. From what I've seen so far, getting warnings during a winit startup seems to be the norm even though nothing actually harmful happens. This would mean that one has to set a log level of ERROR to actually silence the output, which is a bit of a pity. So perhaps it would even make sense to explicitly control the log level during the winit startup phase (setting it to ERROR temporarily), and revert it back to WARN afterwards? Not sure if something like that would be feasible.

ecton commented 1 week ago

Here's what you can do today: When building in release mode, tracing is initialized to only show errors levels or higher. If you install your own tracing_subscriber using init() before launching the Cushy application, your subscriber will override the one Cushy tries to install. Cushy uses try_init() and ignores the error, and tracing_subscriber's behavior in that situation is to keep the original global subscriber.

With all that being said, I too feel the current debug-build output is rather egregious, so I don't want to consider this resolved even though you can change its behavior today. I've also been daydreaming of changing the subscriber to being able to route logs into a Cushy's window to show the log output. Your suggestions and feedback are greatly appreciated!

I also wanted to justify why Cushy initializes logs out of the box: I'm trying to make Cushy an easy-to-use, all-inclusive application framework and logging is used inside of Cushy itself to report errors and warnings. Hiding this information from users who don't know how to configure logging seems like a very wrong approach. Since tracing_subscriber allows the first-initializer-to-win style setup, this seemed like a harmless thing to do out of the box since if wgpu fails to initialize, without logs there may not be any clue as to what is going on.

bluenote10 commented 1 week ago

Here's what you can do today

Thanks for the hint! That works pretty well already. Currently I'm just doing something like this:

tracing_subscriber::fmt()
    .with_env_filter(
        EnvFilter::from_default_env()
            .add_directive("info".parse().unwrap())
            .add_directive("winit=warn".parse().unwrap())
            .add_directive("naga=warn".parse().unwrap())
            .add_directive("wgpu=error".parse().unwrap()),
    )
    .init();

I also tried the idea of setting it to "error" only during the initialization, and changing it back to "warn" afterwards, but couldn't really get it to work. Perhaps related to an issue in tracing_subscriber itself, because the documentation examples on reloading don't work for me (open an upstream issue https://github.com/tokio-rs/tracing/issues/3085).

I also wanted to justify why Cushy initializes logs out of the box: I'm trying to make Cushy an easy-to-use, all-inclusive application framework and logging is used inside of Cushy itself to report errors and warnings.

I really like this "batteries included" philosophy of cushy!

ecton commented 1 week ago

I've added filtering to errors by default for all three of those crates. I still have more I want to do with logging eventually, but the current behavior is now documented on PendingApp and the default behavior is much nicer.

Thank you again for the feedback!