Open Weather-OS opened 6 months ago
I am facing an issue, It crashes my Desktop. I am using KDE 6.1 beta.
I'm experiencing the same situation. Using gamescope-git, KDE Plasma 6.1 Beta + 555.42. It freezes and crashes immediately after starting it.
Jun 10 14:26:38 archlinux kernel: [drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Cannot create sg_table for NvKmsKapiMemory 0x000000003d8ed40c
This error makes my journalctl logs almost 400MB
-` avsar@archlinux
.o+` ---------------
`ooo/ OS: Arch Linux x86_64
`+oooo: Host: Victus by HP Gaming Laptop 15-fa1xxx
`+oooooo: Kernel: Linux 6.9.3-arch1-1.1
-+oooooo+: Uptime: 25 mins
`/:-:++oooo+: Packages: 1254 (pacman)
`/++++/+++++++: Shell: zsh 5.9
`/++++++++++++++: Display (AUO2992): 1920x1080 @ 144Hz [Built-in]
`/+++ooooooooooooo/` DE: KDE Plasma 6.0.90
./ooosssso++osssssso+` WM: KWin (Wayland)
.oossssso-````/ossssss+` WM Theme: Relax-Blur-Aurorae-6
-osssssso. :ssssssso. Theme: kvantum-dark (RelaxDarkColor) [QT], Breeze-Dark [GTK2], Breeze [GTK3/4]
:osssssss/ osssso+++. Icons: breeze [QT], breeze [GTK2/3/4]
/ossssssss/ +ssssooo/- Font: Noto Sans (10pt) [QT], Noto Sans (10pt) [GTK2/3/4]
`/ossssso+/:- -:/+osssso+- Cursor: Gradient-Dark-Icons (24px)
`+sso+:-` `.-/+oso: Terminal: konsole 24.5.0
`++:. `-/+/ CPU: 13th Gen Intel(R) Core(TM) i5-13500H (16) @ 4.70 GHz
.` `/ GPU 1: NVIDIA GeForce RTX 3050 6GB Laptop GPU [Discrete]
GPU 2: Intel Iris Xe Graphics @ 1.45 GHz [Integrated]
Memory: 9.94 GiB / 15.26 GiB (65%)
Swap: 11.75 MiB / 4.00 GiB (0%)
Disk (/): 35.18 GiB / 98.00 GiB (36%) - btrfs
Local IP (eno1): 192.168.1.84/24 *
Battery: 100% [AC Connected]
Locale: en_US.UTF-8
████████████████████████
████████████████████████
I have a 4K120 display connected through a mini DP to HDMI converter (thank you HDMI forum for blocking 2.1):
gamescope -W 3840 -H 2160 -r 120 -f -e -- steam -bigpicture # screen corruption
gamescope -W 2560 -H 1440 -r 120 -f -e -- steam -bigpicture # works but not ideal
gamescope -W 3840 -H 2160 -r 120 --hdr-enabled -f -e -- env DXVK_HDR=1 steam -bigpicture # crash
gamescope -W 1920 -H 1080 -r 120 --hdr-enabled -f -e -- env DXVK_HDR=1 steam -bigpicture # crash
gamescope --hdr-enabled -f -e -- env DXVK_HDR=1 steam -bigpicture # works but it's 60 HZ
Works fine on Arch/Hyprland with 555 for me on a 3090.
Giving my two cents on this: On my system under Wayland with driver 555 gamescope will always work properly in any situation. On X11 sometimes the underlying nested Wayland system will crash with no error. It's consistent, but it's per-game. glxgears
boots fine, but I tried running Duckstation-rollback and it crashed, and really old Direct3D games really don't like it.
I have same problem as well with GTX 1050Ti
Launch command
gamescope --backend sdl -w 1920 -h 1080 -W 2560 -H 1440 -F fsr -r 165 -- vkcube
Logs
o CAP_SYS_NICE, falling back to regular-priority compute and threads.
Performance will be affected.
[gamescope] [Debug] vulkan: physical device 10de:1c82 compute queue doesn't support presenting on our surface, using graphics queue
[gamescope] [Info] vulkan: selecting physical device 'NVIDIA GeForce GTX 1050 Ti': queue family 0 (general queue family 0)
[gamescope] [Info] vulkan: physical device supports DRM format modifiers
[gamescope] [Info] wlserver: [backend/headless/backend.c:67] Creating headless backend
[gamescope] [Error] vulkan: vkGetPhysicalDeviceFormatProperties2 returned zero modifiers for DRM format 0x38344241 (VkResult: 0)
[gamescope] [Error] vulkan: vkGetPhysicalDeviceFormatProperties2 returned zero modifiers for DRM format 0x38344258 (VkResult: 0)
[gamescope] [Info] vulkan: supported DRM formats for sampling usage:
[gamescope] [Info] vulkan: AR24 (0x34325241)
[gamescope] [Info] vulkan: XR24 (0x34325258)
[gamescope] [Info] vulkan: AB24 (0x34324241)
[gamescope] [Info] vulkan: XB24 (0x34324258)
[gamescope] [Info] vulkan: RG16 (0x36314752)
[gamescope] [Info] vulkan: NV12 (0x3231564E)
[gamescope] [Info] vulkan: AB4H (0x48344241)
[gamescope] [Info] vulkan: XB4H (0x48344258)
[gamescope] [Info] vulkan: AB30 (0x30334241)
[gamescope] [Info] vulkan: XB30 (0x30334258)
[gamescope] [Info] vulkan: AR30 (0x30335241)
[gamescope] [Info] vulkan: XR30 (0x30335258)
[gamescope] [Info] vulkan: Creating Gamescope nested swapchain with format 64 and colorspace 0
[gamescope] [Info] wlserver: Using explicit sync when available
[gamescope] [Info] wlserver: Running compositor on wayland display 'gamescope-0'
[gamescope] [Info] wlserver: [backend/headless/backend.c:17] Starting headless backend
[gamescope] [Info] wlserver: Successfully initialized libei for input emulation!
[gamescope] [Info] wlserver: [xwayland/server.c:107] Starting Xwayland on :2
[gamescope] [Debug] wlserver: [types/wlr_compositor.c:771] New wlr_surface 0x5e50bf289be0 (res 0x5e50bf265720)
[gamescope] [Debug] wlserver: [xwayland/server.c:272] Xserver is ready
[gamescope] [Info] pipewire: stream state changed: connecting
[gamescope] [Info] pipewire: stream state changed: paused
[gamescope] [Info] pipewire: stream available on node ID: 72
[gamescope] [Info] vblank: Using timerfd.
[gamescope] [Info] vulkan: Creating Gamescope nested swapchain with format 64 and colorspace 0
[gamescope] [Debug] pipewire: renegotiating stream params (size: 1280x720)
Selected GPU 0: NVIDIA GeForce GTX 1050 Ti, type: DiscreteGpu
[gamescope] [Debug] wlserver: [types/wlr_compositor.c:771] New wlr_surface 0x5e50bf2379d0 (res 0x5e50bf265fa0)
[gamescope] [Warn] xwm: got the same buffer committed twice, ignoring.
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Unsupported maximum keycode 708, clipping.
> X11 cannot support keycodes above 255.
> Warning: Could not resolve keysym XF86KbdInputAssistPrevgrou
> Warning: Could not resolve keysym XF86KbdInputAssistNextgrou
Errors from xkbcomp are not fatal to the X server
[gamescope] [Info] vulkan: Creating Gamescope nested swapchain with format 64 and colorspace 0
[gamescope] [Debug] pipewire: renegotiating stream params (size: 912x998)
[gamescope] [Info] vulkan: Creating Gamescope nested swapchain with format 64 and colorspace 0
[gamescope] [Debug] pipewire: renegotiating stream params (size: 1280x720)
^C[gamescopereaper] [Info] reaper: Parent of gamescopereaper was killed. Killing children.
I'm having issues with Hunt: Showdown crashing gamescope after a while. It starts properly, but then crashes at some point. Sometimes it's in the menu, sometimes after half an our of play. Trying to get HDR to work properly, but it seems that even the minimal configuration without any HDR crashes, if I use the following command:
gamescope --fullscreen -w 3840 -h 2160 --adaptive-sync --force-grab-cursor --mouse-sensitivity 1.2 -- %command%
It's not the easiest to reproduce. glxgears and vkcube just seem to work. Forza Horizon 4 also does not seem to have any issues. Maybe this is something more game specific.
Log:
[gamescope] [Info] console: gamescope version 3.14.29
[gamescope] [Info] vulkan: selecting physical device 'NVIDIA GeForce RTX 2080 Ti': queue family 2 (general queue family 0)
[gamescope] [Info] vulkan: physical device supports DRM format modifiers
[gamescope] [Info] wlserver: [backend/headless/backend.c:67] Creating headless backend
[gamescope] [Info] xdg_backend: Seat name:
[gamescope] [Error] vulkan: vkGetPhysicalDeviceFormatProperties2 returned zero modifiers for DRM format 0x38344241 (VkResult: 0)
[gamescope] [Error] vulkan: vkGetPhysicalDeviceFormatProperties2 returned zero modifiers for DRM format 0x38344258 (VkResult: 0)
[gamescope] [Info] vulkan: supported DRM formats for sampling usage:
[gamescope] [Info] vulkan: AR24 (0x34325241)
[gamescope] [Info] vulkan: XR24 (0x34325258)
[gamescope] [Info] vulkan: AB24 (0x34324241)
[gamescope] [Info] vulkan: XB24 (0x34324258)
[gamescope] [Info] vulkan: RG16 (0x36314752)
[gamescope] [Info] vulkan: NV12 (0x3231564E)
[gamescope] [Info] vulkan: AB4H (0x48344241)
[gamescope] [Info] vulkan: XB4H (0x48344258)
[gamescope] [Info] vulkan: AB30 (0x30334241)
[gamescope] [Info] vulkan: XB30 (0x30334258)
[gamescope] [Info] vulkan: AR30 (0x30335241)
[gamescope] [Info] vulkan: XR30 (0x30335258)
[gamescope] [Info] wlserver: Running compositor on wayland display 'gamescope-0'
[gamescope] [Info] wlserver: [backend/headless/backend.c:17] Starting headless backend
[gamescope] [Info] wlserver: Successfully initialized libei for input emulation!
[gamescope] [Error] wlserver: [xwayland/sockets.c:64] Failed to bind socket @/tmp/.X11-unix/X0: Address already in use
[gamescope] [Info] wlserver: [xwayland/server.c:107] Starting Xwayland on :2
[gamescope] [Info] pipewire: stream state changed: connecting
[gamescope] [Info] pipewire: stream state changed: paused
[gamescope] [Info] pipewire: stream available on node ID: 93
[gamescope] [Info] xwm: Embedded, no cursor set. Using left_ptr by default.
[gamescope] [Info] vblank: Using timerfd.
[gamescope] [Info] xdg_backend: PreferredMetadata: Red: 0.64 0.33, Green: 0.3 0.6, Blue: 0.15 0.06, White: 0.3127 0.329, Max Luminance: 465 nits, Min Luminance: 0.0003 nits, Max Full Frame Luminance: 277 nits
[gamescope] [Info] edid: Patching res 800x1280 -> 3840x2160
[gamescope] [Info] xdg_backend: Changed refresh to: 240.000hz
[Gamescope WSI] Forcing on VK_EXT_swapchain_maintenance1.
[Gamescope WSI] Creating Gamescope surface: xid: 0x1400012
[Gamescope WSI] Atom of T was wrong type. Expected XCB_ATOM_CARDINAL.
[Gamescope WSI] Made gamescope surface for xid: 0x1400012
[Gamescope WSI] Surface state:
[Gamescope WSI] Creating swapchain for xid: 0x1400012 - minImageCount: 4 - format: VK_FORMAT_R8G8B8A8_UNORM - colorspace: VK_COLOR_SPACE_SRGB_NONLINEAR_KHR - flip: true
[Gamescope WSI] Created swapchain for xid: 0x1400012 - imageCount: 4
[Gamescope WSI] Creating swapchain for xid: 0x1400012 - minImageCount: 4 - format: VK_FORMAT_R8G8B8A8_UNORM - colorspace: VK_COLOR_SPACE_SRGB_NONLINEAR_KHR - flip: true
[Gamescope WSI] Created swapchain for xid: 0x1400012 - imageCount: 4
[Gamescope WSI] Swapchain recieved new refresh cycle: 4.17ms
[Gamescope WSI] Forcing on VK_EXT_swapchain_maintenance1.
[gamescope] [Warn] xwm: got the same buffer committed twice, ignoring.
[Gamescope WSI] Forcing on VK_EXT_swapchain_maintenance1.
[Gamescope WSI] Creating Gamescope surface: xid: 0x1a00043
[Gamescope WSI] Atom of T was wrong type. Expected XCB_ATOM_CARDINAL.
[Gamescope WSI] Made gamescope surface for xid: 0x1a00043
[Gamescope WSI] Surface state:
[Gamescope WSI] Creating swapchain for xid: 0x1a00043 - minImageCount: 3 - format: VK_FORMAT_R16G16B16A16_SFLOAT - colorspace: VK_COLOR_SPACE_EXTENDED_SRGB_LINEAR_EXT - flip: true
[Gamescope WSI] Created swapchain for xid: 0x1a00043 - imageCount: 3
[Gamescope WSI] Creating swapchain for xid: 0x1a00043 - minImageCount: 3 - format: VK_FORMAT_R16G16B16A16_SFLOAT - colorspace: VK_COLOR_SPACE_EXTENDED_SRGB_LINEAR_EXT - flip: true
[Gamescope WSI] Created swapchain for xid: 0x1a00043 - imageCount: 3
[gamescopereaper] [Info] reaper: Parent of gamescopereaper was killed. Killing children.
[gamescopereaper] [Info] reaper: Parent of gamescopereaper was killed. Killing children.
Still having crashing issues under the latest 565 drivers on Fedora KDE 41. It seems to be random &or varying depending on whether I make use of my actual HDR screen, or if I launch it on my SDR screen (still running HDR internally)
Happens under 565 too.
Status: Fully broken
Observed Behavior: Crashes instantly
Expected behavior: launch
Log messages: