terrapkg / packages

Monorepo for Terra Packages
https://terra.fyralabs.com
GNU General Public License v3.0
78 stars 21 forks source link

[BUG] terra-gamescope crashes due to DMABUF bug #1909

Open korewaChino opened 2 months ago

korewaChino commented 2 months ago

Describe the bug

gamescope: types/wlr_linux_dmabuf_v1.c:532: feedback_compile: Assertion `table_len > 0' failed

To Reproduce Steps to reproduce the behavior:

  1. Install terra-gamescope
  2. Try to launch gamescope

Expected behavior Gamescope launches properly and selects a GPU, launching successfully

Screenshots image

Affected (please complete the following information):

Additional context Might be caused by one of the patches,

inxi -G output:

Graphics:
  Device-1: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]
    driver: amdgpu v: kernel
  Display: wayland server: X.org v: 1.20.14 with: Xwayland v: 24.1.2
    compositor: kwin_wayland driver: N/A resolution: 1920x1080
  API: EGL v: 1.5 drivers: kms_swrast,radeonsi,swrast
    platforms: gbm,wayland,x11,surfaceless,device
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.1.5 renderer: AMD
    Radeon RX 580 Series (radeonsi polaris10 LLVM 18.1.6 DRM 3.57
    6.10.3-200.fc40.x86_64)
  API: Vulkan v: 1.3.283 drivers: N/A surfaces: xcb,xlib,wayland
linear[bot] commented 2 months ago

FYRA-66 [BUG] terra-gamescope crashes due to DMABUF bug

korewaChino commented 2 months ago

Oops, Already reported here. Turns out to be a hardware-specific bug: https://github.com/ValveSoftware/gamescope/issues/1348 https://github.com/ValveSoftware/gamescope/issues/1218

korewaChino commented 2 months ago

I'm going to package a legacy build of gamescope with Bazzite patches and rename the binary gamescope-legacy. Please do not add an update script to that package.

korewaChino commented 1 month ago

Problem still has not been solved properly, waiting for upstream devs to figure out.

Unfortunately they do not have Polaris GPUs to test.