ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@altlinux.org>
To: community@lists.altlinux.org
Cc: "Андрей Черепанов" <cas@altlinux.org>
Subject: [Comm] [обход] залипание amdgpu с  "flip_done timed out"
Date: Thu, 25 Dec 2025 00:34:18 +0300
Message-ID: <20251224213418.GF19218@imap.altlinux.org> (raw)

	Здравствуйте.
Поменял весной в своём эльбрусе видеокарту RX 580
на RX 7800XT и начал порой огребать клин под ядром 6.1
с подобным в dmesg:

[11052.991632] amdgpu 0000:07:00.0: amdgpu: GPU reset begin!
[...]
[11056.086048] amdgpu 0000:07:00.0: amdgpu: GPU reset(1) succeeded! 
[11066.214645] amdgpu 0000:07:00.0: [drm] *ERROR* flip_done timed out
[11066.214645] amdgpu 0000:07:00.0: [drm] *ERROR* [CRTC:67:crtc-0] flip_done timed out 
[11066.214655] amdgpu 0000:07:00.0: [drm] *ERROR* [CRTC:67:crtc-0] commit wait timed out

Ни разу не e2k-специфика, сообщений таких по x86 много:
http://gitlab.freedesktop.org/drm/amd/-/issues/1707
http://github.com/ROCm/amdgpu/issues/22

Попытка поставить сизифные firmware-linux не помогла,
равно как и отключение TearFree и прочие параметры ядра
вроде amdgpu.msi=0 и/или amdgpu.runpm=1.

Похоже, всё-таки помогло отключение DRI3 путём занесения
строчки export LIBGL_DRI3_DISABLE=1 в ~/.zshrc (по умолчанию
скорее в ~/.bashrc будет) и перезапуска графической сессии
при удобном случае; подсказку нашёл здесь, у человека intel:
http://community.frame.work/t/responded-flip-done-timed-out-errors-being-printed-to-console-after-ubuntu-update/40025/3

Вылезало в т.ч. на firefox и telegram-desktop, причём в не шибко
очевидные моменты (когда вроде бы им 3D не должно быть нужно --
скорее всего, какие-то подлые сайты пытались периодически лезть
к canvas на предмет "а где это мы оказались").

Похоже на гонку, параметры которой поменялись на более медленном
пути через код (драйвера и прошивки).

В sisyphus_e2k по другому поводу есть пакетик
setup-libgl-dri3-disable, могу его отправить и в sisyphus/p11,
если ещё кому понадобится (черкните тогда личной почтой).

PS: всё-таки не 100% обход, просто "выиграть" эту гонку стало
существенно сложней; при рецидивах приходится выждать, пока
драйвер/прошивка доресетят GPU, и прибивать/перезапускать иксы.

-- 
Michael Shigorin
http://altlinux.org/elbrus


                 reply	other threads:[~2025-12-24 21:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251224213418.GF19218@imap.altlinux.org \
    --to=mike@altlinux.org \
    --cc=cas@altlinux.org \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git