Closed japrogramer closed 5 years ago
It seems you started sway with some swaymsg options:
2018-12-31 01:24:26 - [sway/sway/main.c:322] Don't use options with the IPC client
Please try sway -d >sway.log 2>&1
instead.
sway does not crash
Here sway does not crash, It just refuses to start.
I had this issue just moments ago, it only gave that error when trying to open sway within sway but not when opening on another tty. Updating wlroots and sway to latest master made the problem go away.
I had to revert to the previous version of the linux kernel 4.19 @7415963987456321 which version of wlroots do you have.
@emersion look at my dmesg that is where the error is ...
[ 794.999608] amdgpu 0000:02:00.0: [gfxhub] VMC page fault (src_id:0 ring:221 vmid:1 pasid:32768, for process sway pid 4391 thread sway:cs0 pid 4392)
[ 794.999611] amdgpu 0000:02:00.0: in page starting at address 0x0000800100038000 from 27
[ 794.999614] [Hardware Error]: Deferred error, no action required.
[ 794.999618] [Hardware Error]: CPU:0 (17:11:0) MC20_STATUS[-|-|MiscV|-|AddrV|Deferred|-|SyndV
[ 794.999621] amdgpu 0000:02:00.0: VM_L2_PROTECTION_FAULT_STATUS:0x001009BA
[ 794.999621] |-|UECC]: 0x9c2030000001085b
[ 794.999626] [Hardware Error]: Error Addr: 0x00007ffcffffff00
[ 794.999627] [Hardware Error]: IPID: 0x0000002e00000000, Syndrome: 0x000000005b240203
[ 794.999631] [Hardware Error]: Coherent Slave Extended Error Code: 1
[ 794.999633] [Hardware Error]: Coherent Slave Error: Address violation.
[ 794.999636] [Hardware Error]: cache level: L3/GEN, mem/io: IO, mem-tx: IRD, part-proc: SRC (no timeout)
same thing happens with weston.
Seems like an amdgpu bug then. Please report it to them.
@emersion fixed it by adding iommu=soft to the boot options
config error.txt
dmesg.txt