FreeBSDDesktop / kms-drm

the DRM part of the linuxkpi-based KMS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[amdgpu] quitting a compositor often locks the driver up

valpackett opened this issue · comments

Lockups on quitting the window server (making the window server completely unkillable) on amdgpu have been an issue since forever and it's still an issue on 5.2.

Currently the hanging stack trace when quitting wayfire looks like:

exit1fdescfree → … → linux_file_closedrm_releasedrm_file_freeamdgpu_driver_postclose_kmsamdgpu_vm_finidrm_sched_entity_destroydrm_sched_entity_flushlinux_wait_event_commonlinux_add_to_sleepqueuesleepq_wait_sigsleepq_catch_signalsmi_switch

upd: huh, drm_sched_entity_flush is the source of the infamous ==========> BUG: entity->rq->sched is NULL print

upd: so this is supposed to time out in 1000ms but doesn't

Landed as rS362829