Asek3 / Oculus

GNU Lesser General Public License v3.0
114 stars 60 forks source link

Crashes desktop when using Complementary Shaders #694

Closed fotnite-vevo closed 3 weeks ago

fotnite-vevo commented 2 months ago

Minecraft Version

Minecraft 1.20.1

Oculus Version

oculus-mc1.20.1-1.7.0.jar

Rubidium / Embeddium Version

embeddium-0.3.30+mc1.20.1.jar

Operating System

Fedora Linux 40 (Workstation Edition)

What is your GPU?

AMD Radeon RX 6800 XT

Java Version

Java 17

Reproduction Steps

  1. Enable Complementary Shaders
  2. Play game for an indeterminate amount of time (sometimes has taken multiple days to happen)

Crash Report file and latest.log

latest.log: https://mclo.gs/u8mkhHl

Additional context

Minecraft didn't generate a crash report, presumably since the crash is occurring with my Linux desktop (GNOME Wayland). A brief look at the Fedora bug report (which I can provide if necessary) indicates that the crash is occurring in AMD's OpenGL graphics drivers.

mpustovoi commented 2 months ago

It looks like the shader file is corrupted. Either it's just Linux.

gjerm commented 1 month ago

I'm getting what seems like a similar crash with:

Shaders: ComplementaryUnbound_r5.2.2.zip

Oculus version: oculus-mc1.20.1-1.7.0

Embeddium version: embeddium-0.3.31+mc1.20.1.jar

OS: OpenSUSE Tumbleweed (w/ KDE Wayland)

GPU: AMD Radeon RX 6800 XT

Java version: Java 17

Another data point: I was using Distant Horizons v2.1.2a, I haven't tried reproducing without it yet.

The computer just hangs with the image staying on my screens, forcing me to do a hard reboot. Logs from journalctl -b 1 -e:

okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu: [gfxhub] page fault (src_id:0 ring:24 vmid:4 pasid:32820)
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:  in process java pid 20999 thread java:cs0 pid 21046
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:   in page starting at address 0x000080004a564000 from client 0x1b (UTCL2)
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu: GCVM_L2_PROTECTION_FAULT_STATUS:0x00401031
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:          Faulty UTCL2 client ID: TCP (0x8)
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:          MORE_FAULTS: 0x1
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:          WALKER_ERROR: 0x0
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:          PERMISSION_FAULTS: 0x3
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:          MAPPING_ERROR: 0x0
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:          RW: 0x0
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu: [gfxhub] page fault (src_id:0 ring:24 vmid:4 pasid:32820)
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:  in process java pid 20999 thread java:cs0 pid 21046
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:   in page starting at address 0x000080004a564000 from client 0x1b (UTCL2)
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu: GCVM_L2_PROTECTION_FAULT_STATUS:0x00401031
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:          Faulty UTCL2 client ID: TCP (0x8)
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:          MORE_FAULTS: 0x1
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:          WALKER_ERROR: 0x0
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:          PERMISSION_FAULTS: 0x3
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:          MAPPING_ERROR: 0x0
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:          RW: 0x0
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu: [gfxhub] page fault (src_id:0 ring:24 vmid:4 pasid:32820)
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:  in process java pid 20999 thread java:cs0 pid 21046
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:   in page starting at address 0x000080004a565000 from client 0x1b (UTCL2)
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu: GCVM_L2_PROTECTION_FAULT_STATUS:0x00401031
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:          Faulty UTCL2 client ID: TCP (0x8)
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:          MORE_FAULTS: 0x1
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:          WALKER_ERROR: 0x0
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:          PERMISSION_FAULTS: 0x3
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:          MAPPING_ERROR: 0x0
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:          RW: 0x0
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu: [gfxhub] page fault (src_id:0 ring:24 vmid:4 pasid:32820)
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:  in process java pid 20999 thread java:cs0 pid 21046
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:   in page starting at address 0x000080004a568000 from client 0x1b (UTCL2)
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu: GCVM_L2_PROTECTION_FAULT_STATUS:0x00401031
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:          Faulty UTCL2 client ID: TCP (0x8)
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:          MORE_FAULTS: 0x1
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:          WALKER_ERROR: 0x0
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:          PERMISSION_FAULTS: 0x3
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:          MAPPING_ERROR: 0x0
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:          RW: 0x0
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu: [gfxhub] page fault (src_id:0 ring:24 vmid:4 pasid:32820)
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:  in process java pid 20999 thread java:cs0 pid 21046
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:   in page starting at address 0x000080004a565000 from client 0x1b (UTCL2)
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:          MORE_FAULTS: 0x1
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:          WALKER_ERROR: 0x0
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:          PERMISSION_FAULTS: 0x3
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:          MAPPING_ERROR: 0x0
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:          RW: 0x0
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu: [gfxhub] page fault (src_id:0 ring:24 vmid:4 pasid:32820)
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:  in process java pid 20999 thread java:cs0 pid 21046
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:   in page starting at address 0x000080004a566000 from client 0x1b (UTCL2)
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu: GCVM_L2_PROTECTION_FAULT_STATUS:0x00401031
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:          Faulty UTCL2 client ID: TCP (0x8)
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:          MORE_FAULTS: 0x1
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:          WALKER_ERROR: 0x0
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:          PERMISSION_FAULTS: 0x3
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:          MAPPING_ERROR: 0x0
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:          RW: 0x0
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu: [gfxhub] page fault (src_id:0 ring:24 vmid:4 pasid:32820)
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:  in process java pid 20999 thread java:cs0 pid 21046
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:   in page starting at address 0x000080004a569000 from client 0x1b (UTCL2)
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu: GCVM_L2_PROTECTION_FAULT_STATUS:0x00401031
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:          Faulty UTCL2 client ID: TCP (0x8)
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:          MORE_FAULTS: 0x1
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:          WALKER_ERROR: 0x0
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:          PERMISSION_FAULTS: 0x3
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:          MAPPING_ERROR: 0x0
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:          RW: 0x0
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu: [gfxhub] page fault (src_id:0 ring:24 vmid:4 pasid:32820)
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:  in process java pid 20999 thread java:cs0 pid 21046
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:   in page starting at address 0x000080004a566000 from client 0x1b (UTCL2)
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu: GCVM_L2_PROTECTION_FAULT_STATUS:0x00401031
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:          Faulty UTCL2 client ID: TCP (0x8)
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:          MORE_FAULTS: 0x1
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:          WALKER_ERROR: 0x0
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:          PERMISSION_FAULTS: 0x3
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:          MAPPING_ERROR: 0x0
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:          RW: 0x0
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu: [gfxhub] page fault (src_id:0 ring:24 vmid:4 pasid:32820)
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:  in process java pid 20999 thread java:cs0 pid 21046
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:   in page starting at address 0x000080004a566000 from client 0x1b (UTCL2)
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu: GCVM_L2_PROTECTION_FAULT_STATUS:0x00401031
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:          Faulty UTCL2 client ID: TCP (0x8)
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:          MORE_FAULTS: 0x1
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:          WALKER_ERROR: 0x0
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:          PERMISSION_FAULTS: 0x3
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:          MAPPING_ERROR: 0x0
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:          RW: 0x0
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu: [gfxhub] page fault (src_id:0 ring:24 vmid:4 pasid:32820)
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:  in process java pid 20999 thread java:cs0 pid 21046
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:   in page starting at address 0x000080004a567000 from client 0x1b (UTCL2)
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu: GCVM_L2_PROTECTION_FAULT_STATUS:0x00401031
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:          Faulty UTCL2 client ID: TCP (0x8)
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:          MORE_FAULTS: 0x1
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:          WALKER_ERROR: 0x0
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:          PERMISSION_FAULTS: 0x3
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:          MAPPING_ERROR: 0x0
okt. 06 11:28:24 localhost.localdomain kernel: amdgpu 0000:07:00.0: amdgpu:          RW: 0x0
okt. 06 11:28:34 localhost.localdomain kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx_0.1.0 timeout, signaled seq=1010133, emitted seq=1010135
okt. 06 11:28:34 localhost.localdomain kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* Process information: process kwin_wayland pid 2103 thread kwin_wayla:cs0 pid 2230

Is this the same issue?

DemianFlury commented 1 month ago

I have the same thing happening as fotnite-vevo. The issue has also persisted through multiple versions of the Shaders

Minecraft Version

I've had this issue with multiple Minecraft versions, but i distinctly remember 1.20.1, 1.18.2

Operating System

Linux Mint 21.3 Cinnamon

dima-dencep commented 3 weeks ago

Not an oculus bug