rio
rio copied to clipboard
Crash rio / de if you call editor
If you don't select the default editor, then ctrl + shift + < will either hang rio or kill the DE/compositor job.
rioterm 0.2.12
OS: NixOS 24.11.716868.60e405b241ed (Vicuna) x86_64
GPU: AMD ATI Radeon RX 6700XT
niri 25.02
I was able to reproduce this problem 2 times, so the error type is repeated.
Error
[18609.584137] [drm:gfx_v10_0_priv_reg_irq [amdgpu]] *ERROR* Illegal register access in command stream
[18609.584430] amdgpu 0000:09:00.0: amdgpu: Dumping IP State
[18609.586594] amdgpu 0000:09:00.0: amdgpu: Dumping IP State Completed
[18609.596641] amdgpu 0000:09:00.0: amdgpu: ring gfx_0.0.0 timeout, signaled seq=7952479, emitted seq=7952481
[18609.596646] amdgpu 0000:09:00.0: amdgpu: Process information: process rio pid 269675 thread rio pid 269675
[18609.867524] amdgpu 0000:09:00.0: amdgpu: GPU reset begin!
[18610.198563] amdgpu 0000:09:00.0: amdgpu: MODE1 reset
[18610.198569] amdgpu 0000:09:00.0: amdgpu: GPU mode1 reset
[18610.198637] amdgpu 0000:09:00.0: amdgpu: GPU smu mode1 reset
[18610.700821] amdgpu 0000:09:00.0: amdgpu: GPU reset succeeded, trying to resume
[18610.701099] [drm] PCIE GART of 512M enabled (table at 0x0000008000300000).
[18610.701121] [drm] VRAM is lost due to GPU reset!
[18610.701123] amdgpu 0000:09:00.0: amdgpu: PSP is resuming...
[18610.778273] amdgpu 0000:09:00.0: amdgpu: reserve 0xa00000 from 0x82fd000000 for PSP TMR
[18610.857515] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[18610.857517] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[18610.879058] amdgpu 0000:09:00.0: amdgpu: RAS: optional ras ta ucode is not available
[18610.892636] amdgpu 0000:09:00.0: amdgpu: SECUREDISPLAY: securedisplay ta ucode is not available
[18610.892640] amdgpu 0000:09:00.0: amdgpu: SMU is resuming...
[18610.892644] amdgpu 0000:09:00.0: amdgpu: smu driver if version = 0x0000000e, smu fw if version = 0x00000012, smu fw program = 0, version = 0x00413e00 (65.62.0)
[18610.892648] amdgpu 0000:09:00.0: amdgpu: SMU driver if version not matched
[18610.892678] amdgpu 0000:09:00.0: amdgpu: use vbios provided pptable
[18610.951532] amdgpu 0000:09:00.0: amdgpu: SMU is resumed successfully!
[18610.952347] [drm] kiq ring mec 2 pipe 1 q 0
[18610.959069] [drm] DMUB hardware initialized: version=0x02020020
[18611.218382] amdgpu 0000:09:00.0: amdgpu: ring gfx_0.0.0 uses VM inv eng 0 on hub 0
[18611.218388] amdgpu 0000:09:00.0: amdgpu: ring gfx_0.1.0 uses VM inv eng 1 on hub 0
[18611.218390] amdgpu 0000:09:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 4 on hub 0
[18611.218392] amdgpu 0000:09:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 5 on hub 0
[18611.218394] amdgpu 0000:09:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 6 on hub 0
[18611.218396] amdgpu 0000:09:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 7 on hub 0
[18611.218398] amdgpu 0000:09:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 8 on hub 0
[18611.218400] amdgpu 0000:09:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 9 on hub 0
[18611.218402] amdgpu 0000:09:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 10 on hub 0
[18611.218404] amdgpu 0000:09:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 11 on hub 0
[18611.218406] amdgpu 0000:09:00.0: amdgpu: ring kiq_0.2.1.0 uses VM inv eng 12 on hub 0
[18611.218408] amdgpu 0000:09:00.0: amdgpu: ring sdma0 uses VM inv eng 13 on hub 0
[18611.218410] amdgpu 0000:09:00.0: amdgpu: ring sdma1 uses VM inv eng 14 on hub 0
[18611.218412] amdgpu 0000:09:00.0: amdgpu: ring vcn_dec_0 uses VM inv eng 0 on hub 8
[18611.218413] amdgpu 0000:09:00.0: amdgpu: ring vcn_enc_0.0 uses VM inv eng 1 on hub 8
[18611.218415] amdgpu 0000:09:00.0: amdgpu: ring vcn_enc_0.1 uses VM inv eng 4 on hub 8
[18611.218417] amdgpu 0000:09:00.0: amdgpu: ring jpeg_dec uses VM inv eng 5 on hub 8
[18611.222575] amdgpu 0000:09:00.0: amdgpu: GPU reset(2) succeeded!
[18882.455974] [drm:gfx_v10_0_priv_reg_irq [amdgpu]] *ERROR* Illegal register access in command stream
[18882.456296] amdgpu 0000:09:00.0: amdgpu: Dumping IP State
[18882.458394] amdgpu 0000:09:00.0: amdgpu: Dumping IP State Completed
[18882.468407] amdgpu 0000:09:00.0: amdgpu: ring gfx_0.0.0 timeout, signaled seq=8044569, emitted seq=8044572
[18882.468415] amdgpu 0000:09:00.0: amdgpu: Process information: process rio pid 293302 thread rio pid 293308
[18882.739849] amdgpu 0000:09:00.0: amdgpu: GPU reset begin!
[18883.067185] amdgpu 0000:09:00.0: amdgpu: MODE1 reset
[18883.067191] amdgpu 0000:09:00.0: amdgpu: GPU mode1 reset
[18883.067260] amdgpu 0000:09:00.0: amdgpu: GPU smu mode1 reset
[18883.568761] amdgpu 0000:09:00.0: amdgpu: GPU reset succeeded, trying to resume
[18883.569064] [drm] PCIE GART of 512M enabled (table at 0x0000008000300000).
[18883.569097] [drm] VRAM is lost due to GPU reset!
[18883.569100] amdgpu 0000:09:00.0: amdgpu: PSP is resuming...
[18883.646321] amdgpu 0000:09:00.0: amdgpu: reserve 0xa00000 from 0x82fd000000 for PSP TMR
[18883.747892] amdgpu 0000:09:00.0: amdgpu: RAS: optional ras ta ucode is not available
[18883.761681] amdgpu 0000:09:00.0: amdgpu: SECUREDISPLAY: securedisplay ta ucode is not available
[18883.761686] amdgpu 0000:09:00.0: amdgpu: SMU is resuming...
[18883.761690] amdgpu 0000:09:00.0: amdgpu: smu driver if version = 0x0000000e, smu fw if version = 0x00000012, smu fw program = 0, version = 0x00413e00 (65.62.0)
[18883.761694] amdgpu 0000:09:00.0: amdgpu: SMU driver if version not matched
[18883.761724] amdgpu 0000:09:00.0: amdgpu: use vbios provided pptable
[18883.819698] amdgpu 0000:09:00.0: amdgpu: SMU is resumed successfully!
I have the same issue.
OS: Arch Linux
Kernel: x86_64 Linux 6.13.8-arch1-1
Shell: zsh 5.9
DE: KDE
WM: KWin
When default editor is not configured, run rio from command line, press ctrl + shift + <, the rio window disappears, terminal output:
wl_display#1: error 1: invalid arguments for wl_surface#39.frame
Io error: Invalid argument (os error 22)
Io error: Invalid argument (os error 22)
Error trying to flush the wayland display: Invalid argument (os error 22)
Hey there thanks for the issue, I cannot reproduce on macos or windows. Will try to investigate on my linux this week