veloren/Airshipper

Crash when the window is too big

Opened this issue · 0 comments

❯ RUST_BACKTRACE=full airshipper
wgpu error: Validation Error

Caused by:
    In a RenderPass
      note: encoder = `<CommandBuffer-(0, 1, Vulkan)>`
    In a set_scissor_rect command
    Invalid ScissorRect parameters


[ERROR] Airshipper panicked: 

Handling wgpu errors as fatal by default: panicked at 'Handling wgpu errors as fatal by default', /root/.cargo/registry/src/github.com-1ecc6299db9ec823/wgpu-0.7.0/src/backend/direct.rs:1896:5
thread 'main' panicked at 'Handling wgpu errors as fatal by default', /root/.cargo/registry/src/github.com-1ecc6299db9ec823/wgpu-0.7.0/src/backend/direct.rs:1896:5
stack backtrace:
   0:     0x562ae5d74140 - <unknown>
   1:     0x562ae598147d - <unknown>
   2:     0x562ae5d8c9e4 - <unknown>
   3:     0x562ae5d733a5 - <unknown>
   4:     0x562ae5d72a01 - <unknown>
   5:     0x562ae591aed8 - <unknown>
   6:     0x562ae5d72540 - <unknown>
   7:     0x562ae5f34ab3 - <unknown>
   8:     0x562ae5f34a8c - <unknown>
   9:     0x562ae579e48a - <unknown>
  10:     0x562ae5f10a18 - <unknown>
  11:     0x562ae5f10915 - <unknown>
  12:     0x562ae5f23e97 - <unknown>
  13:     0x562ae5a5abfa - <unknown>
  14:     0x562ae57a8ef2 - <unknown>
  15:     0x562ae588b56a - <unknown>
  16:     0x562ae583d650 - <unknown>
  17:     0x562ae5887537 - <unknown>
  18:     0x562ae5886b9c - <unknown>
  19:     0x562ae583d544 - <unknown>
  20:     0x562ae586f5be - <unknown>
  21:     0x562ae586c228 - <unknown>
  22:     0x562ae57cccc4 - <unknown>
  23:     0x562ae5918ca1 - <unknown>
  24:     0x562ae58c06e9 - <unknown>
  25:     0x562ae5839c63 - <unknown>
  26:     0x562ae58c03d2 - <unknown>
  27:     0x7f7a662a3b25 - __libc_start_main
  28:     0x562ae57a3f7a - <unknown>
  29:                0x0 - <unknown>
zsh: abort (core dumped)  RUST_BACKTRACE=full airshipper

Using i3wm without desktop environment on Archlinux.

As window manager will take all the in the screen that is available, airshipper crashes instantly when there are 1 or 0 windows, with vertical split (using a 1080p monitor).

However, it won't when there are at least 2 windows, and the airshipper is the third window (it can only take the third part of the screen at most). Nevertheless, it still crashes when moved to another workspace with no window (so it takes all the spaces that is available).

Solutions:

  • Disallow maximize
  • Add for_window [class="^airshipper$"] floating enable to your i3wm configuration file

Not urgent for a fix, but I'll put the solution here just in case anyone has the same issue : )