wallpaper-engine-kde-plugin
wallpaper-engine-kde-plugin copied to clipboard
HDR Wallpapers cause system crash
Describe the bug
This wallpaper causes the gpu to "lose context" in a crash that causes everything to freeze and you have to do a full restart to fix it.
After restarting it showed as a glowy mess with some identifiable parts and my machine started to lag
Workshop link
2826681794
I think there are others that cause this issue because I had it happen before just was not able to track it
System Information
- Kde: 5.26.2
- Qt: 5.15.7
- OS: Arch
- Mesa: 22.2.1
- Installation Source: Git
Additional context
here's what shows up right after choosing that wallpaper
used journalctl -r so start from the bottom and read up
the top 4 lines basically go on loop after the gpu tries to reset after the gpu reset it just spams the last line about CS has been cancelled with some odd and ends about properly restarting the gpu
Nov 04 00:07:03 kohai kwin_wayland_wrapper[856]: amdgpu: The CS has been cancelled because the context is lost.
Nov 04 00:06:53 kohai kernel: [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
Nov 04 00:06:53 kohai plasmashell[121006]: ERROR VulkanRender.cpp:393 VkResult is "VK_##str"
Nov 04 00:06:53 kohai plasmashell[121006]: radv/amdgpu: The CS has been cancelled because the context is lost.
Nov 04 00:06:53 kohai plasmashell[121006]: ERROR VulkanRender.cpp:395 VkResult is "VK_##str"
Nov 04 00:06:53 kohai kernel: [drm] reserve 0xa00000 from 0x80a6000000 for PSP TMR
Nov 04 00:06:53 kohai kernel: [drm] PSP is resuming...
Nov 04 00:06:53 kohai kernel: [drm] VRAM is lost due to GPU reset!
Nov 04 00:06:53 kohai kernel: [drm] PCIE GART of 512M enabled (table at 0x0000008000F00000).
Nov 04 00:06:53 kohai kernel: amdgpu 0000:07:00.0: amdgpu: GPU reset succeeded, trying to resume
Nov 04 00:06:52 kohai kernel: amdgpu 0000:07:00.0: amdgpu: GPU smu mode1 reset
Nov 04 00:06:52 kohai kernel: amdgpu 0000:07:00.0: amdgpu: GPU mode1 reset
Nov 04 00:06:52 kohai kernel: amdgpu 0000:07:00.0: amdgpu: MODE1 reset
Nov 04 00:06:52 kohai kernel: [drm] free PSP TMR buffer
Nov 04 00:06:52 kohai kernel: [drm:gfx_v10_0_hw_fini [amdgpu]] *ERROR* failed to halt cp gfx
Nov 04 00:06:52 kohai kernel: [drm:gfx_v10_0_hw_fini [amdgpu]] *ERROR* KGQ disable failed
Nov 04 00:06:52 kohai kernel: amdgpu 0000:07:00.0: [drm:amdgpu_ring_test_helper [amdgpu]] *ERROR* ring kiq_2.1.0 test failed (-110)
Nov 04 00:06:51 kohai kernel: amdgpu 0000:07:00.0: amdgpu: GPU reset begin!
Nov 04 00:06:51 kohai kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* Process information: process plasmashell pid 121006 thread plasmashel:cs0 pid 121030
Nov 04 00:06:51 kohai kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx_0.0.0 timeout, signaled seq=9432556, emitted seq=9432558
Nov 04 00:06:42 kohai plasmashell[121006]: ERROR VulkanRender.cpp:395 VkResult is "VK_##str"
Nov 04 00:06:41 kohai plasmashell[121006]: INFO new buffer block(0x7f45643a5dc0), size: 2097152, index: 0 / 1
Nov 04 00:06:41 kohai plasmashell[121006]: INFO new buffer block(0x7f456436f340), size: 2097152, index: 0 / 1
Nov 04 00:06:41 kohai plasmashell[121006]: INFO read json "default" not a key at ParseWPShader(WPShaderParser.cpp:125)
Nov 04 00:06:41 kohai plasmashell[121006]: ERROR WPSceneParser.cpp:877 effect 'Sharpen filter' failed to load
Nov 04 00:06:41 kohai plasmashell[121006]: INFO --- end ---
Nov 04 00:06:41 kohai plasmashell[121006]: ERROR: 2 compilation errors. No code generated.
Nov 04 00:06:41 kohai plasmashell[121006]: ERROR: 0:68: '' : compilation terminated
Nov 04 00:06:41 kohai plasmashell[121006]: ERROR Shader.cpp:112 glslang(parse): ERROR: 0:68: '=' : cannot convert from ' global highp 4-component vector of float' to ' temp highp float'
Nov 04 00:06:41 kohai plasmashell[121006]: ERROR Shader.cpp:111 shader source is at /tmp/4dbfa25815c0ca6300b2254b096a550a50c6b471
Nov 04 00:06:41 kohai plasmashell[121006]: INFO --- shader compile failed ---
Nov 04 00:06:41 kohai plasmashell[121006]: INFO PreShaderSrc User shadervalue not supported
Nov 04 00:06:41 kohai plasmashell[121006]: INFO PreShaderSrc User shadervalue not supported
Nov 04 00:06:41 kohai plasmashell[121006]: qml: JSON.parse: Parse error
Nov 04 00:06:41 kohai plasmashell[121006]: INFO cache folder: /home/jelgnum/.cache/wescene-renderer
Nov 04 00:06:41 kohai plasmashell[121006]: INFO pkg version: PKGV0017
Nov 04 00:06:41 kohai plasmashell[121006]: INFO muted, not init sound device
Nov 04 00:06:41 kohai plasmashell[121006]: INFO loading scene: /media/gaming/Steam/steamapps/workshop/content/431960/2826681794/scene.json
Nov 04 00:06:41 kohai plasmashell[121006]: INFO source: /media/gaming/Steam/steamapps/workshop/content/431960/2826681794/scene.json
Nov 04 00:06:41 kohai plasmashell[121006]: qml: JSON.parse: Parse error
Nov 04 00:06:47 kohai plasmashell[121006]: ERROR VulkanRender.cpp:395 VkResult is "VK_##str"
Nov 04 00:06:45 kohai plasmashell[121006]: ERROR VulkanRender.cpp:395 VkResult is "VK_##str"
Nov 04 00:06:44 kohai plasmashell[121006]: ERROR VulkanRender.cpp:395 VkResult is "VK_##str"
Nov 04 00:06:42 kohai plasmashell[121006]: ERROR VulkanRender.cpp:395 VkResult is "VK_##str"
Nov 04 00:06:41 kohai plasmashell[121006]: INFO new buffer block(0x7f45643a5dc0), size: 2097152, index: 0 / 1
Nov 04 00:06:41 kohai plasmashell[121006]: INFO new buffer block(0x7f456436f340), size: 2097152, index: 0 / 1
Nov 04 00:06:41 kohai plasmashell[121006]: INFO read json "default" not a key at ParseWPShader(WPShaderParser.cpp:125)
Nov 04 00:06:41 kohai plasmashell[121006]: ERROR WPSceneParser.cpp:877 effect 'Sharpen filter' failed to load
Nov 04 00:06:41 kohai plasmashell[121006]: INFO --- end ---
Nov 04 00:06:41 kohai plasmashell[121006]: ERROR: 2 compilation errors. No code generated.
Nov 04 00:06:41 kohai plasmashell[121006]: ERROR: 0:68: '' : compilation terminated
Nov 04 00:06:41 kohai plasmashell[121006]: ERROR Shader.cpp:112 glslang(parse): ERROR: 0:68: '=' : cannot convert from ' global highp 4-component vector of float' to ' temp highp float'
Nov 04 00:06:41 kohai plasmashell[121006]: ERROR Shader.cpp:111 shader source is at /tmp/4dbfa25815c0ca6300b2254b096a550a50c6b471
Nov 04 00:06:41 kohai plasmashell[121006]: INFO --- shader compile failed ---
Nov 04 00:06:41 kohai plasmashell[121006]: INFO PreShaderSrc User shadervalue not supported
Nov 04 00:06:41 kohai plasmashell[121006]: INFO PreShaderSrc User shadervalue not supported
Nov 04 00:06:41 kohai plasmashell[121006]: qml: JSON.parse: Parse error
Start Here /\
So I accidentally forgot to unsubscribe from this wallpaper and random just landed on it this time it crashed so hard that the screen says the lib isn't installed
EDIT: this was probably related to the MPV update, I do think I updated it and hadn't restarted before the crash
After some thinking and research this definitely has to do with HDR, which linux doesn't support yet, but vulkan 1.1 and opengl do have support for it. So it travels from the wallpaper through your transition layer fine. I think there needs to be a check added somewhere to catch this before it attempts to render. Just because of how devastating the crash is.